PHP Classes

PHP Myers Cyclomatic Complexity Inspector: Evaluate PHP code complexity using Myers extension

Recommend this page to a friend!
  Info   View files View files (12)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 51 This week: 1All time: 10,634 This week: 560Up
Version License PHP version Categories
myersinspector 1.0.0The PHP License7Tools, Parsers, PHP 7
Description 

Author

This package can evaluate PHP code complexity using Myers extension.

It uses the Nikita Popov PHP parser written in pure PHP to determine the complexity of a given PHP script code passed to the PHP command line version.

The package can output the console the results of the analysis by showing if the code is too complex or good enough.

Innovation Award
PHP Programming Innovation award nominee
June 2020
Number 3
The complexity of a piece of code is associated to the difficulty to maintain that code to implement improvements and bug fixes.

Evaluating the complexity of a project with many code files can be useful to evaluate the time that is necessary to maintain that code.

This package implements the Myers extension to the cyclomatic complexity software metric to evaluate the complexity of a PHP code project.

Manuel Lemos
Picture of DeGraciaMathieu
  Performance   Level  
Name: DeGraciaMathieu <contact>
Classes: 16 packages by
Country: France France
Age: ???
All time rank: 297081 in France France
Week rank: 109 Up5 in France France Up
Innovation award
Innovation award
Nominee: 11x

Winner: 1x

  Files folder image Files  
File Role Description
Files folder imagesrc (4 files, 2 directories)
Accessible without login Plain text file .travis.yml Data Auxiliary data
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file composer.lock Data Auxiliary data
Accessible without login Plain text file myersinspector.php Example Example script
Accessible without login Plain text file phpunit.xml Data Auxiliary data
Accessible without login Plain text file README.md Data Read me

  Files folder image Files  /  src  
File Role Description
Files folder imageCommands (1 file)
Files folder imageUtilities (1 file)
  Plain text file FileParser.php Class Class source
  Plain text file Inspected.php Class Class source
  Plain text file Inspector.php Class Class source
  Plain text file Printer.php Class Class source

  Files folder image Files  /  src  /  Commands  
File Role Description
  Plain text file InspectCommand.php Class Class source

  Files folder image Files  /  src  /  Utilities  
File Role Description
  Plain text file Arr.php Class Class source

 Version Control Unique User Downloads Download Rankings  
 100%
Total:51
This week:1
All time:10,634
This week:560Up