Skip to content

Commit 9ecf9a8

Browse files
Fix Javadoc comments
1 parent 66d88cb commit 9ecf9a8

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

codebase-graph-builder/src/main/java/org/hjug/graphbuilder/metrics/DisharmonyDetector.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -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 &gt; FEW AND LAA &lt; ONE_THIRD AND FDP &lt;= 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 &gt; SHORT_MEMORY_CAP AND CDISP &lt; HALF
418+
* Branch 2: CINT &gt; FEW AND CDISP &lt; ONE_QUARTER
419+
* Both branches require MAXNESTING &gt; 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 &gt; SHORT_MEMORY_CAP AND CDISP &gt;= HALF AND MAXNESTING &gt; 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 &gt; SHORT_MEMORY_CAP(7) AND CC &gt; MANY(7)
441441
* Only foreign callers (outside the method's own class) are counted.
442442
*/
443443
public boolean hasShotgunSurgery(MethodMetrics metrics) {

0 commit comments

Comments
 (0)