Skip to content

Commit 3db22ba

Browse files
committed
Add Java coverage report files
1 parent f093526 commit 3db22ba

File tree

3 files changed

+57
-1
lines changed

3 files changed

+57
-1
lines changed
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
package,sink,source,summary,sink:bean-validation,sink:create-file,sink:header-splitting,sink:ldap,sink:open-url,sink:set-hostname-verifier,sink:url-open-stream,sink:xss,source:remote,summary:taint,summary:value
2+
android.util,,16,,,,,,,,,,16,,
3+
android.webkit,3,2,,,,,,,,,3,2,,
4+
com.esotericsoftware.kryo.io,,,1,,,,,,,,,,1,
5+
com.google.common.base,,,27,,,,,,,,,,22,5
6+
com.google.common.io,6,,69,,,,,,,6,,,68,1
7+
com.unboundid.ldap.sdk,17,,,,,,17,,,,,,,
8+
java.beans,,,1,,,,,,,,,,1,
9+
java.io,3,,20,,3,,,,,,,,20,
10+
java.lang,,,1,,,,,,,,,,1,
11+
java.net,2,3,4,,,,,2,,,,3,4,
12+
java.nio,10,,2,,10,,,,,,,,2,
13+
java.util,,,13,,,,,,,,,,13,
14+
javax.naming.directory,1,,,,,,1,,,,,,,
15+
javax.net.ssl,2,,,,,,,,2,,,,,
16+
javax.servlet,4,21,2,,,3,,,,,1,21,2,
17+
javax.validation,1,1,,1,,,,,,,,1,,
18+
javax.ws.rs.core,1,,,,,1,,,,,,,,
19+
javax.xml.transform.sax,,,4,,,,,,,,,,4,
20+
javax.xml.transform.stream,,,2,,,,,,,,,,2,
21+
org.apache.commons.codec,,,2,,,,,,,,,,2,
22+
org.apache.commons.io,,,22,,,,,,,,,,22,
23+
org.apache.commons.lang3,,,313,,,,,,,,,,299,14
24+
org.apache.commons.text,,,203,,,,,,,,,,203,
25+
org.apache.directory.ldap.client.api,1,,,,,,1,,,,,,,
26+
org.apache.hc.core5.function,,,1,,,,,,,,,,1,
27+
org.apache.hc.core5.http,1,2,39,,,,,,,,1,2,39,
28+
org.apache.hc.core5.net,,,2,,,,,,,,,,2,
29+
org.apache.hc.core5.util,,,22,,,,,,,,,,18,4
30+
org.apache.http,2,3,66,,,,,,,,2,3,59,7
31+
org.springframework.ldap.core,14,,,,,,14,,,,,,,
32+
org.springframework.web.client,,3,,,,,,,,,,3,,
33+
org.springframework.web.context.request,,8,,,,,,,,,,8,,
34+
org.springframework.web.multipart,,12,,,,,,,,,,12,,
35+
org.xml.sax,,,1,,,,,,,,,,1,
36+
org.xmlpull.v1,,3,,,,,,,,,,3,,
37+
play.mvc,,4,,,,,,,,,,4,,
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
Java framework & library support
2+
================================
3+
4+
.. csv-table::
5+
:header-rows: 1
6+
:class: fullWidthTable
7+
:widths: auto
8+
9+
Framework / library,Package,Remote flow sources,Taint & value steps,Sinks (total),`CWE‑022` :sub:`Path injection`,`CWE‑036` :sub:`Path traversal`,`CWE‑079` :sub:`Cross-site scripting`,`CWE‑089` :sub:`SQL injection`,`CWE‑090` :sub:`LDAP injection`,`CWE‑094` :sub:`Code injection`,`CWE‑319` :sub:`Cleartext transmission`
10+
Android,``android.*``,18,,3,,,3,,,,
11+
Apache,``org.apache.*``,5,648,4,,,3,,1,,
12+
`Apache Commons IO <https://commons.apache.org/proper/commons-io/>`_,``org.apache.commons.io``,,22,,,,,,,,
13+
Google,``com.google.common.*``,,96,6,,6,,,,,
14+
Java Standard Library,``java.*``,3,41,15,13,,,,,,2
15+
Java extensions,``javax.*``,22,8,9,,,1,,1,1,
16+
`Spring <https://spring.io/>`_,``org.springframework.*``,23,,14,,,,,14,,
17+
Others,"``com.esotericsoftware.kryo.io``, ``com.unboundid.ldap.sdk``, ``org.xml.sax``, ``org.xmlpull.v1``, ``play.mvc``",7,2,17,,,,,17,,
18+
Totals,,78,817,68,13,6,7,,33,1,2
19+

misc/scripts/library-coverage/generate-report.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ def __init__(self, lang, capitalized_lang, ext, ql_path):
255255
rst_file.write(
256256
config.capitalized_lang + " framework & library support\n")
257257
rst_file.write("================================\n\n")
258-
rst_file.write(".. csv-table:: \n")
258+
rst_file.write(".. csv-table::\n")
259259
rst_file.write(" :header-rows: 1\n")
260260
rst_file.write(" :class: fullWidthTable\n")
261261
rst_file.write(" :widths: auto\n\n")

0 commit comments

Comments
 (0)