Debian Codegraph @

t/features/metrics/coupling_between_objects.feature

raw
1 Feature: coupling between objects
2 As a software developer
3 I want analizo to report the value of CBO metric in my code
4 So that I can evaluate it
5
6 Scenario: "Hello, world" project
7 Given I am in t/samples/hello_world/<language>
8 When I run "analizo metrics ."
9 Then analizo must report that module <module> has cbo = 1
10 Examples:
11 | language | module |
12 | c | main |
13 | cpp | main |
14 | java | Main |
15 | csharp | main |
16
17 Scenario: "Animals" project
18 Given I am in t/samples/animals/<language>
19 When I run "analizo metrics ."
20 Then analizo must report that module <module> has cbo = <value>
21 Examples:
22 | language | module | value |
23 | cpp | main | 1 |
24 | cpp | mammal | 0 |
25 | java | Main | 1 |
26 | java | Mammal | 0 |
27 | csharp | main | 1 |
28 | csharp | Mammal | 0 |