triage: cleanup.

[ci skip]
This commit is contained in:
XhmikosR 2016-07-12 02:58:03 +03:00
parent 8908442f9e
commit fc88c62719
2 changed files with 29 additions and 25 deletions

View File

@ -1,14 +1,11 @@
This folder is for triage data of cppcheck results. This folder is for triage data of cppcheck results.
You can scan these projects with arbitrary cppcheck version and get triaged reports. You can scan these projects with arbitrary cppcheck version and get triaged reports.
Usage: Usage:
1. Pick a project.. for example linux-3.11. 1. Pick a project, for example linux-3.11.
2. Scan linux-3.11 on your computer with cppcheck (arbitrary version). 2. Scan linux-3.11 on your computer with cppcheck (arbitrary version).
3. run the triage.py script: 3. run the triage.py script:
python triage.py linux-3.11 path-to-cppcheck-results.txt python triage.py linux-3.11 path-to-cppcheck-results.txt
4. A report.html is generated 4. A report.html is generated

View File

@ -1,31 +1,38 @@
th { th {
font-size:80%; background-color: #555;
color:#ffffff; border: 1px solid #555;
background-color:#555555; color: white;
border:1px solid #555555; font-size: 80%;
padding:3px; padding: 3px;
vertical-align:top; text-align: left;
text-align:left; vertical-align: top;
} }
td { td {
font-size:80%; border: 1px solid #d4d4d4;
border:1px solid #d4d4d4; font-size: 80%;
padding:5px; padding: 7px 5px;
padding-top:7px; vertical-align: top;
padding-bottom:7px;
vertical-align:top;
} }
.code { .code {
font-family:courier; background-color: lightgray;
background-color:lightgray; border: 1px solid gray;
border:1px solid gray; font-family: courier;
} }
.tp { color:red; } .tp {
.fp { color:green; } color: red;
.notfound { color:blue; } }
.untriaged { color:black; }
.fp {
color: green;
}
.notfound {
color: blue;
}
.untriaged {
color: black;
}