Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sebastianbergmann/complexity
Library for calculating the complexity of PHP code units
https://github.com/sebastianbergmann/complexity
cyclomatic-complexity software-metrics
Last synced: 4 days ago
JSON representation
Library for calculating the complexity of PHP code units
- Host: GitHub
- URL: https://github.com/sebastianbergmann/complexity
- Owner: sebastianbergmann
- License: bsd-3-clause
- Created: 2020-07-10T12:05:34.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-09-29T06:57:46.000Z (3 months ago)
- Last Synced: 2024-10-29T14:55:20.247Z (2 months ago)
- Topics: cyclomatic-complexity, software-metrics
- Language: PHP
- Homepage:
- Size: 69.1 MB
- Stars: 1,138
- Watchers: 8
- Forks: 10
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: ChangeLog.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Security: SECURITY.md
Awesome Lists containing this project
README
[![Latest Stable Version](https://poser.pugx.org/sebastian/complexity/v)](https://packagist.org/packages/sebastian/complexity)
[![CI Status](https://github.com/sebastianbergmann/complexity/workflows/CI/badge.svg)](https://github.com/sebastianbergmann/complexity/actions)
[![codecov](https://codecov.io/gh/sebastianbergmann/complexity/branch/main/graph/badge.svg)](https://codecov.io/gh/sebastianbergmann/complexity)# sebastian/complexity
Library for calculating the complexity of PHP code units.
## Installation
You can add this library as a local, per-project dependency to your project using [Composer](https://getcomposer.org/):
```
composer require sebastian/complexity
```If you only need this library during development, for instance to run your project's test suite, then you should add it as a development-time dependency:
```
composer require --dev sebastian/complexity
```