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    
Last Updated Ratings Unique User Downloads Download Rankings
2020-06-24 (2 months ago) RSS 2.0 feedNot yet rated by the usersTotal: 45 All time: 9,900 This week: 260Up
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: 9 packages by
Country: France France
Age: ???
All time rank: 340089 in France France
Week rank: 54 Up4 in France France Up
Innovation award
Innovation award
Nominee: 5x

  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:45
This week:0
All time:9,900
This week:260Up

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