Debian Codegraph @

t/features/metrics/number_of_methods.feature

raw
1 Feature: number of methods
2 As a software developer
3 I want analizo to report the number of methods of each module
4 So that I can evaluate it
5
6 Scenario: number of methods of the polygon java sample
7 Given I am in t/samples/<sample>/<language>
8 When I run "analizo metrics ."
9 Then analizo must report that module <module> has nom = <nom>
10 Examples:
11 | sample | language | module | nom |
12 | polygons | cpp | CPolygon | 3 |
13 | polygons | cpp | CTetragon | 2 |
14 | polygons | java | Polygon | 3 |
15 | polygons | csharp | Polygon | 2 |
16 | polygons | csharp | Tetragon | 2 |
17 | animals | cpp | Animal | 1 |
18 | animals | cpp | Cat | 2 |
19 | animals | cpp | Dog | 2 |
20 | animals | java | Animal | 1 |
21 | animals | java | Cat | 2 |
22 | animals | java | Dog | 2 |
23 | animals | csharp | Animal | 1 |
24 | animals | csharp | Cat | 2 |
25 | animals | csharp | Dog | 2 |
26
27 Scenario: not computes macro on C code as method definition
28 Given I am in t/samples/macro
29 When I run "analizo metrics ."
30 Then analizo must report that module using_macro has nom = 1