parent
8908442f9e
commit
fc88c62719
|
@ -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
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,31 +1,38 @@
|
||||||
|
|
||||||
th {
|
th {
|
||||||
|
background-color: #555;
|
||||||
|
border: 1px solid #555;
|
||||||
|
color: white;
|
||||||
font-size: 80%;
|
font-size: 80%;
|
||||||
color:#ffffff;
|
|
||||||
background-color:#555555;
|
|
||||||
border:1px solid #555555;
|
|
||||||
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;
|
||||||
padding:5px;
|
font-size: 80%;
|
||||||
padding-top:7px;
|
padding: 7px 5px;
|
||||||
padding-bottom:7px;
|
|
||||||
vertical-align: top;
|
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;
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue