PHP Class Trismegiste\Mondrian\Analysis\DependCentrality
* The bottleneck effect
Do you remeber this project where everytime you made a change somewhere,
THAT class need to be modified too ? The "dependRank" method finds this
kind of problems. It searchs for the depencencies, but not only direct
dependencies but also the combination of dependencies accross all the
vertices of a digraph. My recomandation : abstract this component first :
make multiple interfaces, explode it with strategy pattern, decorator,
CoR etc... All bugs are "drown" to this component like a blackhole.
Exibir arquivo
Open project: trismegiste/mondrian
Public Methods
Method |
Description |
|
decorate ( ) |
Add dependency centrality information on each vertex
(edge effect on this digraph) |
|
Method Details
Add dependency centrality information on each vertex
(edge effect on this digraph)