PHP Classes

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

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 51 All time: 10,677 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: 21 packages by
Country: France France
Age: ???
All time rank: 289780 in France France
Week rank: 4 Up1 in France France Up
Innovation award
Innovation award
Nominee: 15x

Winner: 2x

  Files folder image Files (12)  
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 (12)  /  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 (12)  /  src  /  Commands  
File Role Description
  Plain text file InspectCommand.php Class Class source

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

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 100%
Total:51
This week:0
All time:10,677
This week:560Up