Skip to content

Commit

Permalink
Add some intro to the stat page
Browse files Browse the repository at this point in the history
  • Loading branch information
sangkilc committed Oct 9, 2020
1 parent a527af0 commit 3c859d0
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 7 deletions.
10 changes: 9 additions & 1 deletion index.html
Expand Up @@ -101,7 +101,15 @@ <h5 class="modal-title">Fuzzers Stats</h5>
</div>
<div class="modal-body" id="js-stats-body">
<div class="container">
<div id="js-stats-body__summary"></div>
<div id="js-stats-body__summary">
<p>
You can see here all the fuzzers in our DB, and can use
specific keyword(s) you are interested in to filter out the entries
in the lists. Our DB includes fuzzers published in top-tier
venues. To see more detailed inclusion criteria, please see
<a href="https://github.com/SoftSec-KAIST/Fuzzing-Survey/blob/master/CONTRIBUTING.md">this</a>.
</p>
</div>
<div class="pb-3">
<input type="search" class="stats-body__filter"
id="js-stats-body__filter"
Expand Down
12 changes: 6 additions & 6 deletions js/asefuzz.js
Expand Up @@ -515,11 +515,11 @@ function makeAccordionElm(data, handle, myid, header, fuzzers, fnLink) {

function fuzzerToString(fuzzer) {
let s = fuzzer.name;
if (fuzzer.year !== undefined) s += fuzzer.year;
if (fuzzer.author !== undefined) s += fuzzer.author.join();
if (fuzzer.title !== undefined) s += fuzzer.title;
if (fuzzer.booktitle !== undefined) s += fuzzer.booktitle;
if (fuzzer.targets !== undefined) s += fuzzer.targets.join();
if (fuzzer.year !== undefined) s += " " + fuzzer.year;
if (fuzzer.author !== undefined) s += " " + fuzzer.author.join();
if (fuzzer.title !== undefined) s += " " + fuzzer.title;
if (fuzzer.booktitle !== undefined) s += " " + fuzzer.booktitle;
if (fuzzer.targets !== undefined) s += " " + fuzzer.targets.join();
return s;
}

Expand Down Expand Up @@ -610,7 +610,7 @@ function initStats(data) {
v.targets.forEach(function (t) { addStatItem(targets, t, v.name); });
});
d3.select("#js-stats-body__summary").append("p")
.text("There are a total of "
.text("Currently, there are a total of "
+ data.length
+ " fuzzers and "
+ Object.keys(authors).length
Expand Down

0 comments on commit 3c859d0

Please sign in to comment.