Fork me on GitHub

Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
184 0 0 2 98.913% 46.5

Note: failures are anticipated and checked for with assertions while errors are unanticipated.


Package List

[Summary] [Package List] [Test Cases]


Package Tests Errors Failures Skipped Success Rate Time
org.owasp.dependencycheck.reporting 2 0 0 0 100% 1.942
org.owasp.dependencycheck.data.cwe 1 0 0 0 100% 0
org.owasp.dependencycheck.data.nuget 3 0 0 0 100% 0.226
org.owasp.dependencycheck.data.nexus 4 0 0 2 50% 0
org.owasp.dependencycheck.dependency 23 0 0 0 100% 0.001
org.owasp.dependencycheck.utils 29 0 0 0 100% 0.036
org.owasp.dependencycheck.data.update.xml 2 0 0 0 100% 0.038
org.owasp.dependencycheck.analyzer 50 0 0 0 100% 43.191
org.owasp.dependencycheck.data.update 10 0 0 0 100% 0
org.owasp.dependencycheck.data.nvdcve 14 0 0 0 100% 0.388
org.owasp.dependencycheck.suppression 35 0 0 0 100% 0
org.owasp.dependencycheck.data.lucene 10 0 0 0 100% 0.678
org.owasp.dependencycheck.data.cpe 1 0 0 0 100% 0

Note: package statistics are not computed recursively, they only sum up all of its testsuites numbers.

org.owasp.dependencycheck.reporting

Class Tests Errors Failures Skipped Success Rate Time
ReportGeneratorTest 2 0 0 0 100% 1.942

org.owasp.dependencycheck.data.cwe

Class Tests Errors Failures Skipped Success Rate Time
CweDBTest 1 0 0 0 100% 0

org.owasp.dependencycheck.data.nuget

Class Tests Errors Failures Skipped Success Rate Time
XPathNuspecParserTest 3 0 0 0 100% 0.226

org.owasp.dependencycheck.data.nexus

Class Tests Errors Failures Skipped Success Rate Time
NexusSearchTest 4 0 0 2 50% 0

org.owasp.dependencycheck.dependency

Class Tests Errors Failures Skipped Success Rate Time
DependencyTest 20 0 0 0 100% 0.001
VulnerableSoftwareTest 3 0 0 0 100% 0

org.owasp.dependencycheck.utils

Class Tests Errors Failures Skipped Success Rate Time
ChecksumTest 6 0 0 0 100% 0.036
DependencyVersionTest 7 0 0 0 100% 0
DependencyVersionUtilTest 1 0 0 0 100% 0
DownloaderTest 1 0 0 0 100% 0
FileUtilsTest 2 0 0 0 100% 0
FilterTest 2 0 0 0 100% 0
SettingsTest 10 0 0 0 100% 0

org.owasp.dependencycheck.data.update.xml

Class Tests Errors Failures Skipped Success Rate Time
NvdCve_1_2_HandlerTest 1 0 0 0 100% 0
NvdCve_2_0_HandlerTest 1 0 0 0 100% 0.038

org.owasp.dependencycheck.analyzer

Class Tests Errors Failures Skipped Success Rate Time
AbstractAnalyzerTest 1 0 0 0 100% 0.016
AnalyzerServiceTest 1 0 0 0 100% 0.709
ArchiveAnalyzerTest 10 0 0 0 100% 33.247
CPEAnalyzerTest 4 0 0 0 100% 8.08
DependencyBundlingAnalyzerTest 6 0 0 0 100% 0
FalsePositiveAnalyzerTest 5 0 0 0 100% 0
FileNameAnalyzerTest 7 0 0 0 100% 0.01
JarAnalyzerTest 5 0 0 0 100% 1.124
JavaScriptAnalyzerTest 7 0 0 0 100% 0.005
NuspecAnalyzerTest 4 0 0 0 100% 0

org.owasp.dependencycheck.data.update

Class Tests Errors Failures Skipped Success Rate Time
NvdCveInfoTest 5 0 0 0 100% 0
UpdateableNvdCveTest 5 0 0 0 100% 0

org.owasp.dependencycheck.data.nvdcve

Class Tests Errors Failures Skipped Success Rate Time
CveDBTest 3 0 0 0 100% 0.283
DatabasePropertiesTest 5 0 0 0 100% 0.021
DriverLoaderTest 6 0 0 0 100% 0.084

org.owasp.dependencycheck.suppression

Class Tests Errors Failures Skipped Success Rate Time
PropertyTypeTest 4 0 0 0 100% 0
SuppressionHandlerTest 1 0 0 0 100% 0
SuppressionParserTest 1 0 0 0 100% 0
SuppressionRuleTest 29 0 0 0 100% 0

org.owasp.dependencycheck.data.lucene

Class Tests Errors Failures Skipped Success Rate Time
FieldAnalyzerTest 1 0 0 0 100% 0
LuceneUtilsTest 4 0 0 0 100% 0
TokenPairConcatenatingFilterTest 2 0 0 0 100% 0.087
UrlTokenizingFilterTest 3 0 0 0 100% 0.591

org.owasp.dependencycheck.data.cpe

Class Tests Errors Failures Skipped Success Rate Time
IndexEntryTest 1 0 0 0 100% 0

Test Cases

[Summary] [Package List] [Test Cases]

AbstractAnalyzerTest

testNewHashSet 0.016

AnalyzerServiceTest

testGetAnalyzers 0.709

ArchiveAnalyzerTest

testAnalyzeTar 4.005
testAnalyzeTgz 26.799
testAnalyze 0.496
testGetAnalysisPhase 0.001
testGetName 0
testAnalyze_badZip 0.009
testInitialize 0.005
testAnalyzeTarGz 1.932
testSupportsExtension 0
testGetSupportedExtensions 0

CPEAnalyzerTest

testSearchCPE 0.669
testDetermineCPE 1.503
testDetermineCPE_full 5.906
testBuildSearch 0.002

DependencyBundlingAnalyzerTest

testAnalyze 0
testGetAnalysisPhase 0
testGetName 0
testSupportsExtension 0
testIsCore 0
testGetSupportedExtensions 0

FalsePositiveAnalyzerTest

testAnalyze 0
testGetAnalysisPhase 0
testGetName 0
testSupportsExtension 0
testGetSupportedExtensions 0

FileNameAnalyzerTest

testAnalyze 0.01
testClose 0
testGetAnalysisPhase 0
testGetName 0
testInitialize 0
testSupportsExtension 0
testGetSupportedExtensions 0

JarAnalyzerTest

testAnalyze 0.301
testGetName 0.224
testInterpolateString 0.218
testSupportsExtension 0.207
testGetSupportedExtensions 0.174

JavaScriptAnalyzerTest

testAnalyze 0.004
testClose 0
testGetAnalysisPhase 0
testGetName 0.001
testInitialize 0
testSupportsExtension 0
testGetSupportedExtensions 0

NuspecAnalyzerTest

testGetAnalysisPhaze 0
testSupportsExtension 0
testGetAnalyzerName 0
testGetSupportedExtensions 0

IndexEntryTest

testSetName 0

CweDBTest

testGetCweName 0

FieldAnalyzerTest

testAnalyzers 0

LuceneUtilsTest

testAppendEscapedLuceneQuery 0
testEscapeLuceneQuery 0
testEscapeLuceneQuery_null 0
testAppendEscapedLuceneQuery_null 0

TokenPairConcatenatingFilterTest

testExamples 0.065
testClear 0.022

UrlTokenizingFilterTest

testEmptyTerm 0.007
testExamples 0.028
testRandomStrings 0.556

NexusSearchTest

testNullSha1 0
testMalformedSha1 0
testValidSha1 0
skipped
testMissingSha1 0
skipped

XPathNuspecParserTest

testGoodDocument 0.202
testMissingDocument 0.016
testNotNuspec 0.008

CveDBTest

testOpen 0
testGetCPEs 0
testGetVulnerabilities 0.283

DatabasePropertiesTest

testSave 0.005
testGetProperty_String_String 0.005
testGetProperties 0.004
testGetProperty_String 0.003
testIsEmpty 0.004

DriverLoaderTest

testLoad_String 0
testLoad_String_ex 0
testLoad_String_String_badClassName 0
testLoad_String_String_badPath 0
testLoad_String_String 0.056
testLoad_String_String_multiple_paths 0.028

NvdCveInfoTest

testSetGetTimestamp 0
testSetGetNeedsUpdate 0
testSetGetOldSchemaVersionUrl 0
testSetGetUrl 0
testSetGetId 0

UpdateableNvdCveTest

testClear 0
testAdd_3args 0
testAdd_4args 0
testIsUpdateNeeded 0
testIterator 0

NvdCve_1_2_HandlerTest

testParse 0

NvdCve_2_0_HandlerTest

testParse 0.038

DependencyTest

testGetEvidenceUsed 0
testGetSha1sum 0
testGetProductEvidence 0
testGetActualFilePath 0
testSetFileExtension 0
testGetIdentifiers 0
testSetSha1sum 0
testAddIdentifier 0
testGetVendorEvidence 0
testSetFileName 0
testSetFilePath 0
testGetFileName 0
testGetFilePath 0
testGetFileExtension 0
testSetMd5sum 0
testGetMd5sum 0
testGetEvidence 0
testSetIdentifiers 0
testGetVersionEvidence 0
testSetActualFilePath 0.001

VulnerableSoftwareTest

testCompareTo 0
testHashCode 0
testEquals 0

ReportGeneratorTest

testGenerateXMLReport 1.942
testGenerateReport 0

PropertyTypeTest

testSetGetValue 0
testMatches 0
testIsRegex 0
testIsCaseSensitive 0

SuppressionHandlerTest

testHandler 0

SuppressionParserTest

testParseSuppressionRules 0

SuppressionRuleTest

testCpeHasNoVersion 0
testCpe 0
testCve 0
testCwe 0
testSha1 0
testCpeMatches 0
testHasCvssBelow 0
testProcess 0
testGetSha1 0
testAddCvssBelow 0
testFilePath 0
testGetCvssBelow 0
testSetFilePath 0
testGetFilePath 0
testAddCpe 0
testAddCve 0
testAddCwe 0
testGetCpe 0
testGetCve 0
testGetCwe 0
testHasCpe 0
testHasCve 0
testHasCwe 0
testSetCvssBelow 0
testSetSha1 0
testSetCpe 0
testSetCve 0
testSetCwe 0
testCountCharacter 0

ChecksumTest

testGetChecksum_NoSuchAlgorithm 0.033
testGetChecksum 0.003
testGetMD5Checksum 0
testGetChecksum_FileNotFound 0
testGetHex 0
testGetSHA1Checksum 0

DependencyVersionTest

testMatchesAtLeastThreeLevels 0
testToString 0
testCompareTo 0
testParseVersion 0
testHashCode 0
testEquals 0
testIterator 0

DependencyVersionUtilTest

testParseVersionFromFileName 0

DownloaderTest

testGetLastModified_file 0

FileUtilsTest

testGetFileExtension 0
testDelete 0

FilterTest

testFilter_Iterable 0
testPasses 0

SettingsTest

testMergeProperties_String 0
testGetDataFile 0
testGetLong 0
testGetBoolean 0
testRemoveProperty 0
testSetString 0
testGetInt 0
testGetString_String 0
testGetString 0
testGetString_String_String 0

Failure Details

[Summary] [Package List] [Test Cases]


testValidSha1
skipped: skipped
testMissingSha1
skipped: skipped