Skip to content

Commit c8ee553

Browse files
Fix
1 parent 4745cc5 commit c8ee553

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Node/File.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,7 @@ private function calculateStatistics(array $classes, array $traits, array $funct
378378
$trait->crap = (new CrapIndex($trait->ccn, $traitPathCoverage > 0 ? $traitPathCoverage : $traitLineCoverage))->asString();
379379

380380
if ($trait->executableLines > 0 && $trait->coverage === 100) {
381-
$this->numTestedClasses++;
381+
$this->numTestedTraits++;
382382
}
383383
}
384384

0 commit comments

Comments
 (0)