| 1 |
Feature: number of attributes metric |
| 2 |
As a software developer |
| 3 |
I want to calculate the number of attributes per module metric |
| 4 |
So that I can evaluate my code |
| 5 |
|
| 6 |
Scenario: number of attributes in the "Animals" project |
| 7 |
Given I am in t/samples/animals/<language> |
| 8 |
When I run "analizo metrics ." |
| 9 |
Then analizo must report that module Dog has noa = 1 |
| 10 |
And analizo must report that module Cat has noa = 1 |
| 11 |
And analizo must report that module <main_module> has noa = 0 |
| 12 |
Examples: |
| 13 |
| language | main_module | |
| 14 |
| cpp | main | |
| 15 |
| java | Main | |
| 16 |
| csharp | main | |