1.2.169. Collect Classes Dependencies

This rule collects class dependencies. Each call to one or the other resource put forward by a class creates a link between two points in the code.

Class dependencies are based on typehint, calls (static or normal), instanceof, catch, attributes, extends.

The result is a graph of dependencies : some classes depends on others, and vice-versa.

1.2.169.1. Specs

Short name

Dump/CollectClassesDependencies

Rulesets

All, CE, Classdependencies, Dump

Exakat since

2.1.8

PHP Version

All

Severity

Minor

Time To Fix

Quick (30 mins)

Precision

Very high

Available in

Entreprise Edition, Community Edition, Exakat Cloud