We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0de6e7d commit f412a39Copy full SHA for f412a39
src/Node/File.php
@@ -540,21 +540,6 @@ private function calcAndApplyClassAggregate(
540
$classOrTrait['executedBranches'] += $numExexutedBranches;
541
$this->numTestedBranches += $numExexutedBranches;
542
}
543
-
544
- // @todo - Are these needed for both path and branches, or just paths?
545
- if ($method['executableLines'] > 0) {
546
- $method['coverage'] = ($method['executedLines'] /
547
- $method['executableLines']) * 100;
548
- } else {
549
- $method['coverage'] = 100;
550
- }
551
552
- $method['crap'] = $this->crap(
553
- $method['ccn'],
554
- $method['coverage']
555
- );
556
557
- $classOrTrait['ccn'] += $method['ccn'];
558
559
560
unset($method);
0 commit comments