At the moment, a lot of PHP code has been written and many of the projects contain a lot of legacy architecture that can be improved. One way to find architecture issues is to use code quality metrics such as Lack of Cohesion in Methods 4 or Instability.
Right now, I'm developing the analyzer for calculating various metrics in PHP code that could process huge codebases in a little time. At the moment, this is about 80k lines of code per second on the Core i7.
Currently only supported:
- Afferent couplings:
- Efferent couplings:
- Instability:
- Lack of Cohesion in Methods;
- Lack of Cohesion in Methods 4.
However, I am very interested to know what metrics do you consider important and necessary for this kind of analyzer?
Thank you for your time. 🤗
Top comments (0)