Created at 2025-11-27 15:51:33 , with PHPMetrics v2.9.1 (Jean-François Lépine).

Coupling

Afferent coupling (AC) is the number of classes affected by given class.
Efferent coupling (EC) is the number of classes from which given class receives effects.
Class Afferent coupling Efferent coupling Instability ClassRank
MyVisitor 0 2 1 0
Hal\Component\Tree\Edge 2 1 0.33 0.36
Hal\Component\Tree\Graph 3 4 0.57 0
Hal\Component\Tree\Node 9 1 0.1 0.33
Hal\Component\Tree\HashMap 0 4 1 0
Hal\Component\Tree\GraphException 1 1 0.5 0
Hal\Component\Tree\Operator\CycleDetector 1 2 0.67 0
Hal\Component\Tree\Operator\SizeOfTree 1 4 0.8 0
Hal\Component\Tree\GraphDeduplicated 3 2 0.4 0
Hal\Component\File\Finder 2 3 0.6 0
Hal\Component\Output\CliOutput 1 1 0.5 0
Hal\Component\Output\ProgressBar 1 1 0.5 0
Hal\Component\Issue\Issuer 2 2 0.5 0
Hal\Component\Ast\Php8NodeTraverser 0 1 1 0
Hal\Component\Ast\NodeTyper 9 0 0 0.01
Hal\Component\Ast\Php7NodeTraverser 0 1 1 0
Hal\Component\Ast\Traverser 1 1 0.5 0
Hal\Component\Ast\ParserFactoryBridge 1 1 0.5 0
Hal\Component\Ast\Php5NodeTraverser 0 3 1 0
Hal\Component\Ast\NodeTraverser 1 1 0.5 0
Hal\Component\Ast\ParserTraverserVisitorsAssigner 1 1 0.5 0
Hal\Search\Searches 3 1 0.25 0
Hal\Search\Search 3 3 0.5 0.01
Hal\Search\PatternSearcher 1 2 0.67 0
Hal\Search\SearchesValidator 1 3 0.75 0
Hal\Search\SearchesFactory 1 2 0.67 0
Hal\Report\Html\Reporter 1 5 0.83 0
Hal\Report\Cli\SummaryWriter 1 1 0.5 0
Hal\Report\Cli\Reporter 1 5 0.83 0
Hal\Report\Cli\SearchReporter 1 3 0.75 0
Hal\Report\SummaryProvider 2 3 0.6 0.01
Hal\Report\Json\SummaryWriter 1 1 0.5 0
Hal\Report\Json\SummaryReporter 1 6 0.86 0
Hal\Report\Json\Reporter 1 4 0.8 0
Hal\Report\Csv\Reporter 1 5 0.83 0
Hal\Report\Violations\Xml\Reporter 1 4 0.8 0
Hal\Application\Application 0 16 1 0
Hal\Application\Analyze 1 29 0.97 0
Hal\Application\Config\Validator 1 6 0.86 0
Hal\Application\Config\Parser 1 2 0.67 0
Hal\Application\Config\File\ConfigFileReaderFactory 1 4 0.8 0
Hal\Application\Config\File\ConfigFileReaderJson 2 4 0.67 0
Hal\Application\Config\File\ConfigFileReaderIni 1 3 0.75 0
Hal\Application\Config\File\ConfigFileReaderYaml 1 4 0.8 0
Hal\Application\Config\Config 17 0 0 0.01
Hal\Application\Config\ConfigException 3 1 0.25 0
Hal\Violation\Search\SearchShouldNotBeFoundPrinciple 1 2 0.67 0
Hal\Violation\Violations 1 4 0.8 0
Hal\Violation\ViolationParser 1 11 0.92 0
Hal\Violation\Package\StableDependenciesPrinciple 1 2 0.67 0
Hal\Violation\Package\StableAbstractionsPrinciple 1 2 0.67 0
Hal\Violation\Class_\TooLong 1 2 0.67 0
Hal\Violation\Class_\TooDependent 1 2 0.67 0
Hal\Violation\Class_\TooComplexClassCode 1 2 0.67 0
Hal\Violation\Class_\TooComplexMethodCode 1 2 0.67 0
Hal\Violation\Class_\Blob 1 2 0.67 0
Hal\Violation\Class_\ProbablyBugged 1 2 0.67 0
Hal\Metric\FunctionMetric 3 2 0.4 0
Hal\Metric\PackageMetric 1 2 0.67 0
Hal\Metric\Group\Group 1 1 0.5 0
Hal\Metric\Registry 4 0 0 0
Hal\Metric\SearchMetric 1 2 0.67 0
Hal\Metric\BagTrait 0 0 0 0
Hal\Metric\FileMetric 1 2 0.67 0
Hal\Metric\ClassMetric 2 2 0.5 0
Hal\Metric\System\Changes\GitChanges 1 6 0.86 0
Hal\Metric\System\Packages\Composer\Packagist 1 1 0.5 0
Hal\Metric\System\Packages\Composer\Composer 1 5 0.83 0
Hal\Metric\System\Coupling\DepthOfInheritanceTree 1 5 0.83 0
Hal\Metric\System\Coupling\Coupling 1 3 0.75 0
Hal\Metric\System\Coupling\PageRank 1 1 0.5 0
Hal\Metric\InterfaceMetric 1 1 0.5 0
Hal\Metric\Metrics 32 1 0.03 0.03
Hal\Metric\Helper\RoleOfMethodDetector 3 0 0 0
Hal\Metric\Consolidated 4 1 0.2 0.01
Hal\Metric\ProjectMetric 3 2 0.4 0
Hal\Metric\Package\PackageDistance 1 1 0.5 0
Hal\Metric\Package\PackageAbstraction 1 1 0.5 0
Hal\Metric\Package\PackageDependencies 1 2 0.67 0
Hal\Metric\Package\PackageCollectingVisitor 1 4 0.8 0
Hal\Metric\Package\PackageInstability 1 1 0.5 0
Hal\Metric\Class_\Complexity\KanDefectVisitor 1 4 0.8 0
Hal\Metric\Class_\Complexity\CyclomaticComplexityVisitor 1 6 0.86 0
Hal\Metric\Class_\Component\MaintainabilityIndexVisitor 1 5 0.83 0
Hal\Metric\Class_\Coupling\ExternalsVisitor 1 5 0.83 0
Hal\Metric\Class_\Structural\LcomVisitor 1 7 0.88 0
Hal\Metric\Class_\Structural\SystemComplexityVisitor 1 5 0.83 0
Hal\Metric\Class_\Text\LengthVisitor 1 6 0.86 0
Hal\Metric\Class_\Text\HalsteadVisitor 1 5 0.83 0
Hal\Metric\Class_\ClassEnumVisitor 1 8 0.89 0