@@ -130,8 +130,8 @@ module CppMetrics {
130130 override int getValue ( ) { result = count ( Call c ) }
131131 }
132132
133- class SucceededCalls extends SuccessMetric {
134- SucceededCalls ( ) { this = "calls with a target" }
133+ class CallsWithExplicitTarget extends SuccessMetric {
134+ CallsWithExplicitTarget ( ) { this = "calls with an explicit target" }
135135
136136 override int getValue ( ) {
137137 result = count ( Call c | not c .getTarget ( ) .getADeclarationEntry ( ) .isImplicit ( ) )
@@ -221,32 +221,32 @@ module CppMetrics {
221221 }
222222
223223 class SucceededIncludeCount extends Metric {
224- string include_text ;
224+ string includeText ;
225225
226226 SucceededIncludeCount ( ) {
227227 exists ( Include i |
228- i .getIncludeText ( ) = include_text and
228+ i .getIncludeText ( ) = includeText and
229229 exists ( i .getFile ( ) .getRelativePath ( ) ) // Only report includes from the repo
230230 ) and
231- this = "Successfully included " + include_text
231+ this = "Successfully included " + includeText
232232 }
233233
234- int getValue ( ) { result = count ( Include i | i .getIncludeText ( ) = include_text ) }
234+ int getValue ( ) { result = count ( Include i | i .getIncludeText ( ) = includeText ) }
235235
236- string getIncludeText ( ) { result = include_text }
236+ string getIncludeText ( ) { result = includeText }
237237 }
238238
239239 class MissingIncludeCount extends Metric {
240- string include_text ;
240+ string includeText ;
241241
242242 MissingIncludeCount ( ) {
243- exists ( CannotOpenFileError e | e .getIncludedFile ( ) = include_text ) and
244- this = "Failed to include '" + include_text + "'"
243+ exists ( CannotOpenFileError e | e .getIncludedFile ( ) = includeText ) and
244+ this = "Failed to include '" + includeText + "'"
245245 }
246246
247- int getValue ( ) { result = count ( CannotOpenFileError e | e .getIncludedFile ( ) = include_text ) }
247+ int getValue ( ) { result = count ( CannotOpenFileError e | e .getIncludedFile ( ) = includeText ) }
248248
249- string getIncludeText ( ) { result = include_text }
249+ string getIncludeText ( ) { result = includeText }
250250 }
251251
252252 class CompilerErrors extends ExtractionMetric {
0 commit comments