Created at 2025-11-27 15:51:33 , with PHPMetrics v2.9.1 (Jean-François Lépine).
Average weighted method count by class (CC)
8.89
Average cyclomatic complexity by class
7.51
Average relative System complexity
43.75
Average bugs by class(Halstead)
0.12
average defects by class (Kan)
0.7
Class WMC Class cycl. Max method cycl. Relative system complexity Relative data complexity Relative structural complexity Bugs Defects
MyVisitor 1 1 1 1 1 0 0 0.15
Hal\Component\Tree\Edge 2 1 1 2.75 1.75 1 0.01 0.15
Hal\Component\Tree\Graph 19 12 5 121.88 0.88 121 0.13 1.65
Hal\Component\Tree\Node 7 4 4 26.25 1.25 25 0.05 0.52
Hal\Component\Tree\HashMap 6 2 2 5.87 1.87 4 0.02 0.15
Hal\Component\Tree\GraphException 0 1 0 0 0 0 0 0.15
Hal\Component\Tree\Operator\CycleDetector 11 10 7 81.55 0.55 81 0.08 1.12
Hal\Component\Tree\Operator\SizeOfTree 20 16 7 64.78 0.78 64 0.19 1.77
Hal\Component\Tree\GraphDeduplicated 2 2 2 10 1 9 0.02 0.22
Hal\Component\File\Finder 7 6 6 2.5 2.5 0 0.1 0.68
Hal\Component\Output\CliOutput 16 12 7 6.56 2.56 4 0.17 0.51
Hal\Component\Output\ProgressBar 6 3 2 9.13 0.13 9 0.05 0.29
Hal\Component\Issue\Issuer 14 8 7 17.47 1.47 16 0.19 0.89
Hal\Component\Ast\Php8NodeTraverser 1 1 1 1 0 1 0 0.15
Hal\Component\Ast\NodeTyper 7 6 4 5 5 0 0.01 0.29
Hal\Component\Ast\Php7NodeTraverser 0 1 0 0 0 0 0 0.15
Hal\Component\Ast\Traverser 18 17 14 17 1 16 0.14 1.56
Hal\Component\Ast\ParserFactoryBridge 4 4 4 10 1 9 0.02 0.36
Hal\Component\Ast\Php5NodeTraverser 3 1 1 9.83 0.83 9 0.01 0.15
Hal\Component\Ast\NodeTraverser 0 1 0 0 0 0 0 0.15
Hal\Component\Ast\ParserTraverserVisitorsAssigner 3 3 3 2 1 1 0.01 0.45
Hal\Search\Searches 4 2 2 5.58 1.58 4 0.01 0.15
Hal\Search\Search 38 32 15 102.14 2.14 100 0.36 2.63
Hal\Search\PatternSearcher 4 4 4 36.43 0.43 36 0.03 0.52
Hal\Search\SearchesValidator 11 11 11 16.2 0.2 16 0.08 0.73
Hal\Search\SearchesFactory 2 2 2 2 1 1 0.01 0.38
Hal\Report\Html\Reporter 30 26 13 169.59 0.59 169 1.17 2.4
Hal\Report\Cli\SummaryWriter 6 6 6 16.2 0.2 16 0.15 0.82
Hal\Report\Cli\Reporter 3 2 2 9.63 0.63 9 0.02 0.22
Hal\Report\Cli\SearchReporter 11 9 6 64.3 0.3 64 0.11 0.89
Hal\Report\SummaryProvider 4 3 3 16.3 0.3 16 0.06 0.29
Hal\Report\Json\SummaryWriter 1 1 1 1 1 0 0.14 0.15
Hal\Report\Json\SummaryReporter 6 5 5 9.88 0.88 9 0.04 0.36
Hal\Report\Json\Reporter 6 5 5 5.17 1.17 4 0.04 0.36
Hal\Report\Csv\Reporter 11 10 10 25.58 0.58 25 0.09 0.96
Hal\Report\Violations\Xml\Reporter 9 8 8 225.22 0.22 225 0.19 0.82
Hal\Application\Application 13 13 13 729.04 0.04 729 0.23 1.26
Hal\Application\Analyze 4 3 3 484.17 0.17 484 0.14 0.38
Hal\Application\Config\Validator 19 17 16 25.56 0.56 25 0.29 1.61
Hal\Application\Config\Parser 13 13 13 9.75 0.75 9 0.13 1.26
Hal\Application\Config\File\ConfigFileReaderFactory 7 7 7 4 4 0 0.02 0.44
Hal\Application\Config\File\ConfigFileReaderJson 21 19 17 16.45 0.45 16 0.29 1.59
Hal\Application\Config\File\ConfigFileReaderIni 3 3 3 1.5 0.5 1 0.02 0.45
Hal\Application\Config\File\ConfigFileReaderYaml 2 2 2 1.5 0.5 1 0.01 0.22
Hal\Application\Config\Config 6 3 2 6 2 4 0.02 0.38
Hal\Application\Config\ConfigException 0 1 0 0 0 0 0 0.15
Hal\Violation\Search\SearchShouldNotBeFoundPrinciple 6 3 3 9.81 0.81 9 0.02 0.22
Hal\Violation\Violations 5 2 2 2.63 1.63 1 0.02 0.38
Hal\Violation\ViolationParser 3 3 3 9.5 0.5 9 0.01 0.61
Hal\Violation\Package\StableDependenciesPrinciple 7 4 3 26.04 1.04 25 0.1 0.29
Hal\Violation\Package\StableAbstractionsPrinciple 7 4 3 16.85 0.85 16 0.04 0.29
Hal\Violation\Class_\TooLong 6 3 3 10.06 1.06 9 0.03 0.29
Hal\Violation\Class_\TooDependent 6 3 3 10.31 1.31 9 0.03 0.29
Hal\Violation\Class_\TooComplexClassCode 6 3 3 10.06 1.06 9 0.03 0.29
Hal\Violation\Class_\TooComplexMethodCode 6 3 3 10.31 1.31 9 0.03 0.29
Hal\Violation\Class_\Blob 9 6 6 10.06 1.06 9 0.06 0.5
Hal\Violation\Class_\ProbablyBugged 6 3 3 10.31 1.31 9 0.04 0.29
Hal\Metric\FunctionMetric 0 1 0 0 0 0 0 0.15
Hal\Metric\PackageMetric 31 15 4 65.39 1.39 64 0.24 0.71
Hal\Metric\Group\Group 4 3 3 9.94 0.94 9 0.03 0.45
Hal\Metric\Registry 2 1 1 2 2 0 0.2 0.15
Hal\Metric\SearchMetric 0 1 0 0 0 0 0 0.15
Hal\Metric\BagTrait 8 3 2 10.94 1.94 9 0.04 0.38
Hal\Metric\FileMetric 0 1 0 0 0 0 0 0.15
Hal\Metric\ClassMetric 0 1 0 0 0 0 0 0.15
Hal\Metric\System\Changes\GitChanges 20 18 18 64.48 0.48 64 0.48 1.82
Hal\Metric\System\Packages\Composer\Packagist 10 9 8 3.5 2.5 1 0.31 0.8
Hal\Metric\System\Packages\Composer\Composer 23 20 8 64.56 0.56 64 0.33 1.56
Hal\Metric\System\Coupling\DepthOfInheritanceTree 6 6 6 81.1 0.1 81 0.06 0.82
Hal\Metric\System\Coupling\Coupling 12 12 12 196.07 0.07 196 0.13 1.56
Hal\Metric\System\Coupling\PageRank 13 12 9 25.42 0.42 25 0.24 2.13
Hal\Metric\InterfaceMetric 0 1 0 0 0 0 0 0.15
Hal\Metric\Metrics 5 2 2 10.4 1.4 9 0.02 0.15
Hal\Metric\Helper\RoleOfMethodDetector 11 11 11 9 9 0 0.15 0.87
Hal\Metric\Consolidated 18 18 18 121.51 0.51 121 0.59 2.43
Hal\Metric\ProjectMetric 0 1 0 0 0 0 0 0.15
Hal\Metric\Package\PackageDistance 5 5 5 16.2 0.2 16 0.02 0.45
Hal\Metric\Package\PackageAbstraction 4 4 4 25.17 0.17 25 0.03 0.68
Hal\Metric\Package\PackageDependencies 13 11 6 196.44 0.44 196 0.12 0.96
Hal\Metric\Package\PackageCollectingVisitor 10 9 8 36.14 0.14 36 0.11 0.5
Hal\Metric\Package\PackageInstability 5 5 5 64.33 0.33 64 0.07 0.68
Hal\Metric\Class_\Complexity\KanDefectVisitor 7 7 7 9.25 0.25 9 0.07 0.44
Hal\Metric\Class_\Complexity\CyclomaticComplexityVisitor 27 27 27 16.4 0.4 16 0.19 1.48
Hal\Metric\Class_\Component\MaintainabilityIndexVisitor 10 10 10 36.14 0.14 36 0.2 0.78
Hal\Metric\Class_\Coupling\ExternalsVisitor 29 28 26 49.29 0.29 49 0.27 2.94
Hal\Metric\Class_\Structural\LcomVisitor 19 18 16 121.42 0.42 121 0.19 1.54
Hal\Metric\Class_\Structural\SystemComplexityVisitor 14 14 14 16.2 0.2 16 0.26 0.95
Hal\Metric\Class_\Text\LengthVisitor 7 7 7 36.29 0.29 36 0.14 0.66
Hal\Metric\Class_\Text\HalsteadVisitor 24 24 24 25.33 0.33 25 0.44 0.64
Hal\Metric\Class_\ClassEnumVisitor 15 15 15 121.08 0.08 121 0.23 1.16