Cognitive complexity
66.7 %
Correct
6/9
33.3 %
Warning
3/9
(threshold : 10)
0 %
Error
0/9
(threshold : 20)
Cyclomatic complexity
100 %
Correct
9/9
0 %
Warning
0/9
(threshold : 5)
0 %
Error
0/9
(threshold : 10)
Methods of json.service.ts
prettifyJson | Complexity Index | 7.1 | Cyclomatic complexity | 1 |
---|---|---|---|---|
|
addProperties | Complexity Index | 18.9 | Cyclomatic complexity | 2 |
---|---|---|---|---|
|
deleteUndefinedProperties | Complexity Index | 5.1 | Cyclomatic complexity | 3 |
---|---|---|---|---|
|
getStringProperty | Complexity Index | 5.6 | Cyclomatic complexity | 1 |
---|---|---|---|---|
|
convertCodeToString | Complexity Index | 4.9 | Cyclomatic complexity | 1 |
---|---|---|---|---|
|
comma | Complexity Index | 3.2 | Cyclomatic complexity | 1 |
---|---|---|---|---|
|
jsonArray | Complexity Index | 11.2 | Cyclomatic complexity | 2 |
---|---|---|---|---|
|
jsonObject | Complexity Index | 4 | Cyclomatic complexity | 1 |
---|---|---|---|---|
|
astPropertyNames | Complexity Index | 16.2 | Cyclomatic complexity | 3 |
---|---|---|---|---|
|