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

Recommend this page to a friend!
  Info   View files (12)   Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2020-06-24 (1 month ago) Not yet rated by the usersTotal: 45 All time: 9,861 This week: 260
Version License PHP version Categories
myersinspector 1.0.0The PHP License7Utilities and Tools, 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: 8 packages by
Country: France France
Age: ???
All time rank: 348189 in France France
Week rank: 762 22 in France France
Innovation award
Innovation award
Nominee: 4x

File Role Description
src (4 files, 2 directories)
.travis.yml Data Auxiliary data
composer.json Data Auxiliary data
composer.lock Data Auxiliary data
myersinspector.php Example Example script
phpunit.xml Data Auxiliary data Data Read me

  Files  /  src  
File Role Description
Commands (1 file)
Utilities (1 file)
   FileParser.php Class Class source
   Inspected.php Class Class source
   Inspector.php Class Class source
   Printer.php Class Class source

  Files  /  src  /  Commands  
File Role Description
   InspectCommand.php Class Class source

  Files  /  src  /  Utilities  
File Role Description
   Arr.php Class Class source

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:9,861
This week:260

For more information send a message to info at phpclasses dot org.