Author: Manuel Lemos
Package: Yii2 CodeStat
If you write complex code, it would be good if you could improve the way you write your code to make it less complicated.
Measuring the complexity and other aspects of the quality of your code can be helpful for you to have an idea of how good is the code you write and what parts you need to improve.
This package combines several other packages that measure different aspects of your code and generate a report that you can analyze and discover opportunities to make your code better.
About the Yii2 CodeStat Package
The package Yii2 CodeStat is one of the few PHP packages that was considered notable recently because it does something that is worth paying attention.
The basic purpose is: Analyse and display statistics about PHP code
Here follows in more detail what it does:
This package can analyze and display statistics about PHP code.
It uses several packages that analyze the code files of a project and then displays a table in the terminal console with the statistics of those files.
Currently, it displays the statistics in several groups files with numbers for:
- Classes
- Methods
- Methods per class
- Lines
- Lines of code (LOC)
- Lines of code per method
- Complexity
- Complexity per class
Conclusion
The Yii2 CodeStat can be downloaded from download page or be installed using the PHP Composer tool following instructions in the Composer install instructions page.
This package was considered notable for implementing its benefits in a way that is worth noticing.
Notable PHP packages can be often considered innovative. If this package is also innovative, it can be nominated to the PHP Innovation Award and the author may win prizes and recognition for sharing innovative packages.
If you also developed your own notable or innovative packages consider sharing them, so you can also earn more visibility for your package as well nice prizes.
One nice prize that many PHP developers want and you may like is the PHP elePHPant mascot plush.
You need to be a registered user or login to post a comment
1,616,107 PHP developers registered to the PHP Classes site.
Be One of Us!
Login Immediately with your account on:
Comments:
No comments were submitted yet.