Commit 9d74012
Extend java coverage reports to include non-covered files (#9658)
Jacoco is used for code coverage report generation of JVM projects. It
will make use of the dumped class file to generate the report. But only
java classes covered by at least one fuzzer will be included in the
report, other files in the project will be ignored. This PR aims to
point the Jacoco class file discovery folder to the original compiled
project jar file in order to force Jacoco to generate coverage report
with source for all java class of the project.
This came as a need from Fuzz Introspector where we noticed some
discrepancies between the static analysis and the code coverage reports.
Signed-off-by: Arthur Chan <arthur.chan@adalogics.com>
---------
Signed-off-by: Arthur Chan <arthur.chan@adalogics.com>
Signed-off-by: David Korczynski <david@adalogics.com>
Co-authored-by: jonathanmetzman <31354670+jonathanmetzman@users.noreply.github.com>
Co-authored-by: David Korczynski <david@adalogics.com>1 parent d9270d0 commit 9d74012
1 file changed
+29
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
442 | 442 | | |
443 | 443 | | |
444 | 444 | | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
| 463 | + | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
| 468 | + | |
| 469 | + | |
| 470 | + | |
| 471 | + | |
| 472 | + | |
| 473 | + | |
445 | 474 | | |
446 | 475 | | |
447 | 476 | | |
| |||
0 commit comments