@@ -18,7 +18,7 @@ class FunctionMetrics extends Function {
1818 int getNumberOfLinesOfDocStrings ( ) { py_docstringlines ( this , result ) }
1919
2020 /**
21- * Cyclomatic complexity:
21+ * Gets the cyclomatic complexity of the function :
2222 * The number of linearly independent paths through the source code.
2323 * Computed as E - N + 2P,
2424 * where
@@ -130,13 +130,13 @@ class ClassMetrics extends Class {
130130 }
131131
132132 /**
133- * The afferent coupling of a class is the number of classes that
133+ * Gets the afferent coupling of a class -- the number of classes that
134134 * directly depend on it.
135135 */
136136 int getAfferentCoupling ( ) { result = count ( ClassMetrics t | t .dependsOn ( this ) ) }
137137
138138 /**
139- * The efferent coupling of a class is the number of classes that
139+ * Gets the efferent coupling of a class -- the number of classes that
140140 * it directly depends on.
141141 */
142142 int getEfferentCoupling ( ) { result = count ( ClassMetrics t | this .dependsOn ( t ) ) }
@@ -273,13 +273,13 @@ class ModuleMetrics extends Module {
273273 int getNumberOfLinesOfDocStrings ( ) { py_docstringlines ( this , result ) }
274274
275275 /**
276- * The afferent coupling of a class is the number of classes that
276+ * Gets the afferent coupling of a class -- the number of classes that
277277 * directly depend on it.
278278 */
279279 int getAfferentCoupling ( ) { result = count ( ModuleMetrics t | t .dependsOn ( this ) ) }
280280
281281 /**
282- * The efferent coupling of a class is the number of classes that
282+ * Gets the efferent coupling of a class -- the number of classes that
283283 * it directly depends on.
284284 */
285285 int getEfferentCoupling ( ) { result = count ( ModuleMetrics t | this .dependsOn ( t ) ) }
0 commit comments