https://github.com/bronek89/code-complexity
Class for check code complexity score of php code.
https://github.com/bronek89/code-complexity
analysis code-complexity php
Last synced: 4 months ago
JSON representation
Class for check code complexity score of php code.
- Host: GitHub
- URL: https://github.com/bronek89/code-complexity
- Owner: bronek89
- Created: 2017-09-04T20:52:22.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-09-05T14:11:27.000Z (over 8 years ago)
- Last Synced: 2025-02-09T13:19:47.995Z (about 1 year ago)
- Topics: analysis, code-complexity, php
- Language: PHP
- Homepage:
- Size: 3.91 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# code-complexity
Class for check code complexity score of php code.
## Install
```
composer require bronek/code-complexity
```
## Usage
```php
calculate(file_get_contents('file.php'));
echo "Code Complexity of file file.php is $complexityScore"
```