Prefix:
blib/lib/JSONAPI/
Top SCAR
Document/Builder/Compound.pm 21.4
- CC
- 28
- Cov
- 90%
- build_relationships
- 15.8
- build_nested_from_resultset
- 7.0
- build_nested_relationship
- 5.0
CRAP
8.5
Document/Builder/Role/Attributes.pm 19.8
- CC
- 11
- Cov
- 92%
- get_attributes
- 10.1
- kebab_case
- 2.0
- BEGIN
- 1.0
CRAP
7.2
Document.pm 17.3
- CC
- 17
- Cov
- 93%
- resource_document
- 11.1
- compound_resource_document
- 5.1
- __ANON__
- 2.1
CRAP
5.7
Document/Builder/Relationships.pm 12.5
- CC
- 10
- Cov
- 87%
- build_links_document
- 5.1
- build_document
- 4.0
- build
- 3.0
CRAP
3.5
Document/Builder/Role/Type.pm 4.8
- CC
- 3
- Cov
- 87%
- format_type
- 2.1
- __ANON__
- 2.0
- document_type
- 1.0
CRAP
1.6
< 75%
75-90%
90-100%
at 100%
| File | Statementstmt | Branchbran | Conditioncond | MC/DCmcdc | Subroutinesub | Podpod | totaltotal | CC | SCAR |
|---|---|---|---|---|---|---|---|---|---|
| (root) | 98.5 67 / 68 | 75.0 9 / 12 | 84.2 16 / 19 | 70.0 7 / 10 | 100 13 / 13 | 0.0 0 / 3 | 89.6 112 / 125 | 17 |
17.3
CRAP
5.7
|
| Document.pm | 98.5 67 / 68 | 75.0 9 / 12 | 84.2 16 / 19 | 70.0 7 / 10 | 100 13 / 13 | 0.0 0 / 3 | 89.6 112 / 125 | 17 |
17.3
CRAP
5.7
|
| Document | 100 19 / 19 | n/a | 100 2 / 2 | 100 1 / 1 | 100 4 / 4 | 100 2 / 2 | 100 28 / 28 | 2 |
3.4
CRAP
1.4
|
| Builder.pm | 100 19 / 19 | n/a | 100 2 / 2 | 100 1 / 1 | 100 4 / 4 | 100 2 / 2 | 100 28 / 28 | 2 |
3.4
CRAP
1.4
|
| Document/Builder | 96.1 148 / 154 | 66.6 28 / 42 | 50.0 2 / 4 | 0.0 0 / 2 | 89.4 17 / 19 | 50.0 4 / 8 | 86.9 199 / 229 | 37 |
19.5
CRAP
7.1
|
| Compound.pm | 98.1 103 / 105 | 64.2 18 / 28 | 50.0 2 / 4 | 0.0 0 / 2 | 91.6 11 / 12 | 75.0 3 / 4 | 88.3 137 / 155 | 28 |
21.4
CRAP
8.5
|
| Relationships.pm | 91.8 45 / 49 | 71.4 10 / 14 | n/a | n/a | 85.7 6 / 7 | 25.0 1 / 4 | 83.7 62 / 74 | 10 |
12.5
CRAP
3.5
|
| Document/Builder/Role | 94.2 66 / 70 | 75.0 12 / 16 | 83.3 5 / 6 | 50.0 2 / 4 | 92.3 12 / 13 | 75.0 3 / 4 | 88.5 100 / 113 | 13 |
15.9
CRAP
4.9
|
| Attributes.pm | 97.0 33 / 34 | 83.3 10 / 12 | 83.3 5 / 6 | 50.0 2 / 4 | 100 5 / 5 | 50.0 1 / 2 | 88.8 56 / 63 | 11 |
19.8
CRAP
7.2
|
| Type.pm | 92.3 24 / 26 | 50.0 2 / 4 | n/a | n/a | 100 5 / 5 | 100 2 / 2 | 89.1 33 / 37 | 3 |
4.8
CRAP
1.6
|
| Parameters.pm | 90.0 9 / 10 | n/a | n/a | n/a | 66.6 2 / 3 | n/a | 84.6 11 / 13 | 1 |
0.4
CRAP
1.0
|
| Document/Role | 100 6 / 6 | n/a | n/a | n/a | 100 1 / 1 | n/a | 100 7 / 7 | 1 |
0.0
CRAP
1.0
|
| Attributes.pm | 100 6 / 6 | n/a | n/a | n/a | 100 1 / 1 | n/a | 100 7 / 7 | 1 |
0.0
CRAP
1.0
|