forked from theshadowco/sonar-helper
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
648 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"--token": "2ef785ca946170b7086668132175eb01386943a1", | ||
"--server": "http://my.sonar.server:9000", | ||
"--projects": "bsp,mdm", | ||
"--total-metrics": "ncloc,bugs,sqale_index", | ||
"--report-path": "rep.json", | ||
"--report-format": "JSON" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,104 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
|
||
<head> | ||
<meta charset="utf-8"> | ||
<title>Отчет sonar-helper</title> | ||
<meta name="description" content="Отчет sonar-helper"> | ||
</head> | ||
<style> | ||
table { | ||
margin: 20px 0; | ||
text-align: left; | ||
border: 1px solid gray; | ||
border-spacing: 0px; | ||
border-radius: 3px; | ||
font-size: 14px; | ||
width: auto; | ||
} | ||
|
||
td, | ||
th { | ||
border: 1px solid gray; | ||
padding: 3px; | ||
} | ||
|
||
table#head { | ||
margin: 20px 0; | ||
text-align: left; | ||
border: 0px; | ||
border-spacing: 0px; | ||
font-size: 14px; | ||
width: auto; | ||
} | ||
|
||
table#head td { | ||
border: 0px; | ||
padding: 3px; | ||
} | ||
</style> | ||
<body> | ||
<h1>Отчеты по проектам</h1> | ||
<h2>Данные формирования</h2> | ||
<table id="head"> | ||
<tr> | ||
<td><b>Адрес сервера:</b></td> | ||
<td>http://my.sonar.server:9000</td> | ||
</tr> | ||
<tr> | ||
<td><b>Дата формирования:</b></td> | ||
<td>06.05.2019 14:17:17</td> | ||
</tr> | ||
<tr> | ||
<td><b>Количество отчетов:</b></td> | ||
<td>2</td> | ||
</tr> | ||
</table> | ||
<h2>Отчеты по проектам</h2> | ||
<div> | ||
<table> | ||
<caption><b>Проект: </b>bsp</caption> | ||
<tr> | ||
<th>Метрика</th> | ||
<th>Значение</th> | ||
</tr> | ||
<tr> | ||
<td>Ошибки</td> | ||
<td>0</td> | ||
</tr> | ||
<tr> | ||
<td>Технический долг</td> | ||
<td>16734</td> | ||
</tr> | ||
<tr> | ||
<td>Строки кода</td> | ||
<td>112092</td> | ||
</tr> | ||
|
||
</table> | ||
</div> | ||
<div> | ||
<table> | ||
<caption><b>Проект: </b>mdm</caption> | ||
<tr> | ||
<th>Метрика</th> | ||
<th>Значение</th> | ||
</tr> | ||
<tr> | ||
<td>Строки кода</td> | ||
<td>147102</td> | ||
</tr> | ||
<tr> | ||
<td>Ошибки</td> | ||
<td>110</td> | ||
</tr> | ||
<tr> | ||
<td>Технический долг</td> | ||
<td>30632</td> | ||
</tr> | ||
|
||
</table> | ||
</div> | ||
|
||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
{ | ||
"ДатаФормирования": "2019-05-06T14:17:17.5125591", | ||
"СерверSonarQube": "http:\/\/my.sonar.server:9000", | ||
"Количество": 2, | ||
"Отчеты": [{ | ||
"КлючПроекта": "bsp", | ||
"Метрики": { | ||
"Технический_долг": "16734", | ||
"sqale_index": "16734", | ||
"Ошибки": "0", | ||
"bugs": "0", | ||
"Строки_кода": "112092", | ||
"ncloc": "112092" | ||
} | ||
}, | ||
{ | ||
"КлючПроекта": "mdm", | ||
"Метрики": { | ||
"Технический_долг": "30632", | ||
"sqale_index": "30632", | ||
"Строки_кода": "147102", | ||
"ncloc": "147102", | ||
"Ошибки": "110", | ||
"bugs": "110" | ||
} | ||
} | ||
] | ||
} |
Oops, something went wrong.