Debian Codegraph @

t/features/metrics/number_of_public_methods.feature

raw
1 Feature: number of public methods metric
2 As a software developer
3 I want to calculate the number of public methods 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/<sample>/<language>
8 When I run "analizo metrics ."
9 Then analizo must report that module <module> has npm = <npm>
10 Examples:
11 | sample | language | module | npm |
12 | polygons | cpp | CPolygon | 2 |
13 | polygons | cpp | CTetragon | 1 |
14 | polygons | java | Polygon | 3 |
15 | polygons | csharp | Polygon | 2 |
16 | animals | cpp | Animal | 1 |
17 | animals | cpp | Cat | 2 |
18 | animals | cpp | Dog | 2 |
19 | animals | java | Animal | 1 |
20 | animals | java | Cat | 2 |
21 | animals | java | Dog | 2 |
22 | animals | csharp | Animal | 1 |
23 | animals | csharp | Cat | 2 |
24 | animals | csharp | Dog | 2 |