Author: Manuel Lemos
Updated on: 2023-02-09
Posted on: 2023-02-09
Package: PHP Smelly Code Detector
Complexity can be evaluated in terms of hints like the code inside the functions, the number of function arguments, and the number of lines of code.
This package provides a tool written in PHP that can evaluate all those complex aspects.
This way, developers can have an idea of what code is too complex so they can improve the code to simplify it to lower the complexity grades that this tool provides.
About the PHP Smelly Code Detector Package
The package PHP Smelly Code Detector 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: Analyze PHP code to evaluate quality factors
Here follows in more detail what it does:
This package can analyze PHP code to evaluate quality factors.
It provides a script that calls the package classes, analyzes the quality factors, and displays the results in a console terminal.
Currently, this package can analyze the following:
- The complexity of the code of functions
- The number of arguments of functions
- The number of lines of code
The PHP Smelly Code Detector 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,606,150 PHP developers registered to the PHP Classes site.
Be One of Us!
Login Immediately with your account on:
No comments were submitted yet.