github.com/google/syzkaller@v0.0.0-20251211124644-a066d2bc4b02/pkg/cover/templates/cover-table.html (about) 1 <!DOCTYPE html> 2 <html> 3 <head> 4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> 5 <style> 6 body { 7 background: white; 8 } 9 #content { 10 color: rgb(70, 70, 70); 11 margin-top: 50px; 12 } 13 th, td { 14 text-align: left; 15 border: 1px solid black; 16 } 17 th { 18 background: gray; 19 } 20 tr:nth-child(2n+1) { 21 background: #CCC 22 } 23 table { 24 border-collapse: collapse; 25 border: 1px solid black; 26 margin-bottom: 20px; 27 } 28 </style> 29 </head> 30 <body> 31 <div> 32 <table> 33 <thead> 34 <tr> 35 <th>Name</th> 36 <th>Covered / Total Lines / %</th> 37 <th>Covered / Total PCs in File / %</th> 38 <th>Covered / Total PCs in Function / %</th> 39 <th>Covered / Total PCs in Covered Function / %</th> 40 <th>Covered / Total Functions / %</th> 41 </tr> 42 </thead> 43 <tbody id="content"> 44 {{range $i, $p := .}} 45 <tr> 46 <td>{{$p.name}}</td> 47 <td>{{$p.lines}}</td> 48 <td>{{$p.PCsInFiles}}</td> 49 <td>{{$p.PCsInFuncs}}</td> 50 <td>{{$p.PCsInCoveredFuncs}}</td> 51 <td>{{$p.Funcs}}</td> 52 </tr> 53 {{end}} 54 </tbody> 55 </table> 56 </div> 57 </body> 58 </html>