cve-bin-tool icon indicating copy to clipboard operation
cve-bin-tool copied to clipboard

feat: add go parser (#1881)

Open XDRAGON2002 opened this issue 3 years ago • 1 comments

Closes #1881

XDRAGON2002 avatar Aug 10 '22 14:08 XDRAGON2002

Codecov Report

Merging #1882 (c5b7ed4) into main (7cb08b4) will decrease coverage by 8.96%. The diff coverage is 98.07%.

@@            Coverage Diff             @@
##             main    #1882      +/-   ##
==========================================
- Coverage   87.38%   78.42%   -8.97%     
==========================================
  Files         317      319       +2     
  Lines        7153     7318     +165     
  Branches     1153     1197      +44     
==========================================
- Hits         6251     5739     -512     
- Misses        616     1323     +707     
+ Partials      286      256      -30     
Flag Coverage Δ
longtests 78.42% <98.07%> (?)
win-longtests ?

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
cve_bin_tool/parsers/__init__.py 95.00% <ø> (ø)
test/test_language_scanner.py 90.00% <92.30%> (+0.34%) :arrow_up:
cve_bin_tool/parsers/go.py 100.00% <100.00%> (ø)
cve_bin_tool/parsers/parse.py 100.00% <100.00%> (ø)
test/test_requirements.py 0.00% <0.00%> (-89.88%) :arrow_down:
cve_bin_tool/data_sources/curl_source.py 39.56% <0.00%> (-56.05%) :arrow_down:
cve_bin_tool/nvd_api.py 24.00% <0.00%> (-52.80%) :arrow_down:
cve_bin_tool/data_sources/nvd_source.py 29.18% <0.00%> (-50.82%) :arrow_down:
test/test_nvd_api.py 50.87% <0.00%> (-40.36%) :arrow_down:
test/test_source_nvd.py 60.71% <0.00%> (-39.29%) :arrow_down:
... and 30 more

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

codecov-commenter avatar Aug 10 '22 14:08 codecov-commenter

BTW, the 3.7 issues did indeed vanish when I re-ran things. If they occur again, we should probably file an issue about them.

terriko avatar Aug 17 '22 18:08 terriko

Noting some 3.7 failures here for my own purposes before I re-run the failed jobs:

=========================== short test summary info ============================
FAILED test/test_extractor.py::TestExtractFileRpm::test_extract_file_rpm - Ru...
FAILED test/test_extractor.py::TestExtractFileRpmWithZstd::test_extract_file_rpm
FAILED test/test_helper_script.py::TestHelperScript::test_scan_files_single
===== 3 failed, 360 passed, 344 skipped, 114 warnings in 101.39s (0:01:41) =====

terriko avatar Aug 31 '22 20:08 terriko