]> source.dussan.org Git - sonarqube.git/blob
72d1c1669f8d87a0e57a9e6dbdb2b6750762aad3
[sonarqube.git] /
1 {
2   "paging": {
3     "pageIndex": 1,
4     "pageSize": 100,
5     "total": 3
6   },
7   "baseComponent": {
8     "key": "MY_PROJECT",
9     "name": "My Project",
10     "qualifier": "TRK",
11     "measures": [
12       {
13         "metric": "new_violations",
14         "period": {
15           "value": "255"
16         }
17       },
18       {
19         "metric": "complexity",
20         "value": "42"
21       },
22       {
23         "metric": "ncloc",
24         "value": "1984"
25       }
26     ]
27   },
28   "components": [
29     {
30       "key": "com.sonarsource:java-markdown:src/main/java/com/sonarsource/markdown/impl/ElementImpl.java",
31       "name": "ElementImpl.java",
32       "qualifier": "FIL",
33       "language": "java",
34       "path": "src/main/java/com/sonarsource/markdown/impl/ElementImpl.java",
35       "measures": [
36         {
37           "metric": "new_violations",
38           "period": {
39             "value": "25"
40           }
41         },
42         {
43           "metric": "complexity",
44           "value": "12"
45         },
46         {
47           "metric": "ncloc",
48           "value": "114"
49         }
50       ]
51     },
52     {
53       "key": "com.sonarsource:java-markdown:src/test/java/com/sonarsource/markdown/impl/ElementImplTest.java",
54       "name": "ElementImplTest.java",
55       "qualifier": "UTS",
56       "language": "java",
57       "path": "src/test/java/com/sonarsource/markdown/impl/ElementImplTest.java",
58       "measures": [
59         {
60           "metric": "new_violations",
61           "period": {
62             "value": "0"
63           }
64         }
65       ]
66     },
67     {
68       "key": "com.sonarsource:java-markdown:src/main/java/com/sonarsource/markdown/impl",
69       "name": "src/main/java/com/sonarsource/markdown/impl",
70       "qualifier": "DIR",
71       "path": "src/main/java/com/sonarsource/markdown/impl",
72       "measures": [
73         {
74           "metric": "new_violations",
75           "period": {
76             "value": "25"
77           }
78         },
79         {
80           "metric": "complexity",
81           "value": "35"
82         },
83         {
84           "metric": "ncloc",
85           "value": "217"
86         }
87       ]
88     }
89   ],
90   "metrics": [
91     {
92       "key": "complexity",
93       "name": "Complexity",
94       "description": "Cyclomatic complexity",
95       "domain": "Complexity",
96       "type": "INT",
97       "higherValuesAreBetter": false,
98       "qualitative": false,
99       "hidden": false
100     },
101     {
102       "key": "ncloc",
103       "name": "Lines of code",
104       "description": "Non Commenting Lines of Code",
105       "domain": "Size",
106       "type": "INT",
107       "higherValuesAreBetter": false,
108       "qualitative": false,
109       "hidden": false
110     },
111     {
112       "key": "new_violations",
113       "name": "New issues",
114       "description": "New Issues",
115       "domain": "Issues",
116       "type": "INT",
117       "higherValuesAreBetter": false,
118       "qualitative": true,
119       "hidden": false,
120       "bestValue": "0"
121     }
122   ],
123   "period": {
124     "mode": "previous_version",
125     "date": "2016-01-11T10:49:50+0100",
126     "parameter": "1.0-SNAPSHOT"
127   }
128 }