 |
|
Innovation award
 Nominee: 3x
Winner: 1x |
This class can evaluate the complexity of classes' code
It can can analyse a given class and provide a ranking of its methods based on their complexity.
Given existing unit tests, this class provides a to do list, consisting of all methods with incomplete or missing tests, again ordered by complexity.
This class complements PHPUnit's code coverage functionality and can be used for guiding test writing efforts.
It provides command line interface options, so it can be executed as a command from a shell.
|
|
| Name: |
Complexity Analyzer |
| Base name: |
complexity-analyzer |
| Description: |
Evaluate the complexity of classes' code |
| Version: |
- |
| PHP version: |
5.3 |
| License: |
Freely Distributable |
| All time users: |
310 users |
| All time rank: |
6050 |
| Week users: |
0 users |
| Week rank: |
2023  |
| |
|
 January 2012
Number 3
Prize: One copy of RadPHP XE2 |
Quality control is vital especially for complex projects.
Automated tests are useful to assure the quality of the projects by evaluating whether the code satisfies the project requirements, even after substantial changes are done.
Developing automated tests takes time and dedication of professionals that reckon the value of testing and know how to do it. However, sometimes it is not possible to implement all the tests that a project needs at once.
This class provides a solution that can aid in this problem. In can figure the complexity of the functions of a class and determine the ones that are missing tests.
It can produce lists of functions sorted by complexity, so a testing professional can start working first on those that are more complex.
This way he may give priority to adding tests for code that eventually is more important to satisfy the project requirements.
Manuel Lemos |
| There are not enough user ratings to display for this class. |
| |
Applications that use this class |
|
|
No application links were specified for this class.

If you know an application of this package, send a message to the
author to add a link here.
| |
Files |
|
|