@@ -371,7 +371,7 @@ public boolean isBrainMethod(MethodMetrics metrics) {
371371
372372 /**
373373 * Feature Envy (Fig. 5.4): method accesses more foreign data than local data.
374- * ATFD > FEW AND LAA < ONE_THIRD AND FDP < = FEW
374+ * ATFD > FEW AND LAA < ONE_THIRD AND FDP < = FEW
375375 */
376376 public boolean hasFeatureEnvy (MethodMetrics metrics ) {
377377 return metrics .getAccessToForeignData () > FEW
@@ -414,9 +414,9 @@ public boolean isBrainClass(ClassMetrics metrics) {
414414
415415 /**
416416 * Intensive Coupling (Fig. 6.3/6.4): method calls many methods concentrated in few classes.
417- * Branch 1: CINT > SHORT_MEMORY_CAP AND CDISP < HALF
418- * Branch 2: CINT > FEW AND CDISP < ONE_QUARTER
419- * Both branches require MAXNESTING > SHALLOW.
417+ * Branch 1: CINT > SHORT_MEMORY_CAP AND CDISP < HALF
418+ * Branch 2: CINT > FEW AND CDISP < ONE_QUARTER
419+ * Both branches require MAXNESTING > SHALLOW.
420420 */
421421 public boolean hasIntensiveCoupling (MethodMetrics metrics ) {
422422 int cint = metrics .getCouplingIntensity ();
@@ -427,7 +427,7 @@ public boolean hasIntensiveCoupling(MethodMetrics metrics) {
427427
428428 /**
429429 * Dispersed Coupling (Fig. 6.9/6.10): method calls many methods spread across many classes.
430- * CINT > SHORT_MEMORY_CAP AND CDISP > = HALF AND MAXNESTING > SHALLOW
430+ * CINT > SHORT_MEMORY_CAP AND CDISP > = HALF AND MAXNESTING > SHALLOW
431431 */
432432 public boolean hasDispersedCoupling (MethodMetrics metrics ) {
433433 int cint = metrics .getCouplingIntensity ();
@@ -437,7 +437,7 @@ public boolean hasDispersedCoupling(MethodMetrics metrics) {
437437
438438 /**
439439 * Shotgun Surgery (Fig. 6.14): method is called by too many methods from too many classes.
440- * CM > SHORT_MEMORY_CAP(7) AND CC > MANY(7)
440+ * CM > SHORT_MEMORY_CAP(7) AND CC > MANY(7)
441441 * Only foreign callers (outside the method's own class) are counted.
442442 */
443443 public boolean hasShotgunSurgery (MethodMetrics metrics ) {
0 commit comments