Download the PHP package geshan/pdepend-analyzer without Composer
On this page you can find all versions of the php package geshan/pdepend-analyzer. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download geshan/pdepend-analyzer
More information about geshan/pdepend-analyzer
Files in geshan/pdepend-analyzer
Package pdepend-analyzer
Short Description Pdepend Analyze is a command line tool that analyzes the summary xml file generated by PHP Depend like cyclomatic complexity and N-Path complexity
License MIT
Informations about the package pdepend-analyzer
pdepend analyzer
Pdepend Analyze is a command line tool that analyzes the summary xml file generated by Pdepend. For now it shows the methods that have the highest Cylcomatic Complexity and N-Path Complexity in the Pdepend summary XML file generated for any given code base. There is a pdepend process command line tool that formats the Pdepend summary xml as HTML, its very useful. This command line tool can be used as part of the tests or even as a pre-commit hook to lower down the software complexity.
Prerequisites
This library needs PHP 5.4+.
It has been tested using PHP 5.4 to PHP 5.6.
Installation
You can install the library directly with composer:
Usage
To you this command line tool, you will need to generate your code metrics using PDepend with command like below:
For more information about Pdepend refer to its docs.
After you have your summary.xml
file with the software metrics of your code base you can run the pdepend-analyzer in
in the following ways:
Run analyze with default params
Run analyze with custom params
Screen shot of usage with custom params
Tests
PHPUnit is used to test the command line tool. You will need composer to get the dependencies. To run tests locally, execute the following commands in project root:
Feedback
Add an issue, open a PR, drop us an email! We would love to hear from you!
All versions of pdepend-analyzer with dependencies
symfony/console Version 2.5.5
symfony/finder Version 2.5.5
symfony/dependency-injection Version 2.5.5
symfony/config Version 2.5.5
symfony/yaml Version 2.5.5
pdepend/pdepend Version 2.0.3
sebastian/pdepend-process Version 1.0.*@dev
monolog/monolog Version *