| 1 |
Feature: average cyclomatic complexity per method |
| 2 |
As a software developer |
| 3 |
I want to calculate the average cyclomatic complexity per method of my code |
| 4 |
So that I can spot the more complex modules and refactor them |
| 5 |
|
| 6 |
Scenario: my "conditionals" C project |
| 7 |
Given I am in t/samples/conditionals/<language> |
| 8 |
When I run "analizo metrics ." |
| 9 |
Then analizo must report that module cc1 has accm = 1 |
| 10 |
Then analizo must report that module cc2 has accm = 2 |
| 11 |
Then analizo must report that module cc3 has accm = 3 |
| 12 |
Then analizo must report that module cc4 has accm = 4 |
| 13 |
Examples: |
| 14 |
| language | |
| 15 |
| c | |
| 16 |
| csharp | |