Fork me on GitHub

Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
161 0 0 5 96.894% 13.648

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.data.cwe 1 0 0 0 100% 0
org.owasp.dependencycheck.data.nexus 4 0 0 4 0% 0
org.owasp.dependencycheck.dependency 25 0 0 0 100% 0.046
org.owasp.dependencycheck.data.central 5 0 0 0 100% 0.27
org.owasp.dependencycheck.analyzer 43 0 0 1 97.674% 10.606
org.owasp.dependencycheck.data.update.xml 2 0 0 0 100% 0.199
org.owasp.dependencycheck.data.update 12 0 0 0 100% 0.224
org.owasp.dependencycheck.suppression 37 0 0 0 100% 0.012
org.owasp.dependencycheck.data.cpe 1 0 0 0 100% 0
org.owasp.dependencycheck.data.nuget 3 0 0 0 100% 0.038
org.owasp.dependencycheck.utils 11 0 0 0 100% 0
org.owasp.dependencycheck.data.update.task 1 0 0 0 100% 1.097
org.owasp.dependencycheck.data.nvdcve 6 0 0 0 100% 0.114
org.owasp.dependencycheck.data.lucene 10 0 0 0 100% 1.042

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

org.owasp.dependencycheck.data.cwe

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

org.owasp.dependencycheck.data.nexus

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

org.owasp.dependencycheck.dependency

Class Tests Errors Failures Skipped Success Rate Time
DependencyTest 22 0 0 0 100% 0.046
VulnerableSoftwareTest 3 0 0 0 100% 0

org.owasp.dependencycheck.data.central

Class Tests Errors Failures Skipped Success Rate Time
CentralSearchTest 5 0 0 0 100% 0.27

org.owasp.dependencycheck.analyzer

Class Tests Errors Failures Skipped Success Rate Time
AbstractFileTypeAnalyzerTest 1 0 0 0 100% 0.022
AbstractSuppressionAnalyzerTest 4 0 0 0 100% 0.508
AnalyzerServiceTest 1 0 0 0 100% 0.491
AssemblyAnalyzerTest 5 0 0 1 80% 0.528
DependencyBundlingAnalyzerTest 5 0 0 0 100% 0
FalsePositiveAnalyzerTest 3 0 0 0 100% 0
FileNameAnalyzerTest 5 0 0 0 100% 0.072
HintAnalyzerTest 3 0 0 0 100% 7.804
JarAnalyzerTest 5 0 0 0 100% 1.171
JavaScriptAnalyzerTest 7 0 0 0 100% 0.01
NuspecAnalyzerTest 4 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.038
NvdCve_2_0_HandlerTest 1 0 0 0 100% 0.161

org.owasp.dependencycheck.data.update

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

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 31 0 0 0 100% 0.012

org.owasp.dependencycheck.data.cpe

Class Tests Errors Failures Skipped Success Rate Time
IndexEntryTest 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.038

org.owasp.dependencycheck.utils

Class Tests Errors Failures Skipped Success Rate Time
DateUtilTest 1 0 0 0 100% 0
DependencyVersionTest 7 0 0 0 100% 0
DependencyVersionUtilTest 1 0 0 0 100% 0
FilterTest 2 0 0 0 100% 0

org.owasp.dependencycheck.data.update.task

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

org.owasp.dependencycheck.data.nvdcve

Class Tests Errors Failures Skipped Success Rate Time
DriverLoaderTest 6 0 0 0 100% 0.114

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.06
UrlTokenizingFilterTest 3 0 0 0 100% 0.982

Test Cases

[Summary] [Package List] [Test Cases]

AbstractFileTypeAnalyzerTest

testNewHashSet 0.022

AbstractSuppressionAnalyzerTest

testFailureToLocateSuppressionFileAnywhere 0.362
testGetRulesFromSuppressionFileFromURL 0.123
testGetRulesFromSuppressionFileInClasspath 0.023
testGetSupportedExtensions 0

AnalyzerServiceTest

testGetAnalyzers 0.491

AssemblyAnalyzerTest

testGetName 0.197
testAnalysis 0.101
testWithSettingMono 0
skipped
testNonexistent 0.082
testLog4Net 0.148

DependencyBundlingAnalyzerTest

testAnalyze 0
testGetAnalysisPhase 0
testGetName 0
testFirstPathIsShortest 0
testIsCore 0

FalsePositiveAnalyzerTest

testAnalyze 0
testGetAnalysisPhase 0
testGetName 0

FileNameAnalyzerTest

testAnalyze 0.07
testClose 0
testGetAnalysisPhase 0.001
testGetName 0
testInitialize 0.001

HintAnalyzerTest

testAnalyze 7.801
testGetAnalysisPhase 0.002
testGetName 0.001

JarAnalyzerTest

testAnalyze 0.29
testGetName 0.25
testInterpolateString 0.222
testSupportsExtension 0.206
testGetSupportedExtensions 0.203

JavaScriptAnalyzerTest

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

NuspecAnalyzerTest

testGetAnalysisPhaze 0
testSupportsExtension 0
testGetAnalyzerName 0
testGetSupportedExtensions 0

CentralSearchTest

testMultipleReturns 0.17
testNullSha1 0.001
testMalformedSha1 0
testValidSha1 0.053
testMissingSha1 0.046

IndexEntryTest

testSetName 0

CweDBTest

testGetCweName 0

FieldAnalyzerTest

testAnalyzers 0

LuceneUtilsTest

testAppendEscapedLuceneQuery 0
testEscapeLuceneQuery 0
testEscapeLuceneQuery_null 0
testAppendEscapedLuceneQuery_null 0

TokenPairConcatenatingFilterTest

testExamples 0.051
testClear 0.009

UrlTokenizingFilterTest

testRandomStrings 0.971
testExamples 0.006
testEmptyTerm 0.005

XPathNuspecParserTest

testGoodDocument 0
testMissingDocument 0.021
testNotNuspec 0.017

DriverLoaderTest

testLoad_String 0
testLoad_String_ex 0
testLoad_String_String_badClassName 0.001
testLoad_String_String_badPath 0.005
testLoad_String_String 0.047
testLoad_String_String_multiple_paths 0.061

EngineVersionCheckTest

testShouldUpdate 0.173
testGetCurrentReleaseVersion 0.051

NvdCveInfoTest

testSetGetTimestamp 0
testSetGetNeedsUpdate 0
testSetGetOldSchemaVersionUrl 0
testSetGetUrl 0
testSetGetId 0

DownloadTaskTest

testCall 1.097

UpdateableNvdCveTest

testClear 0
testAdd_3args 0
testAdd_4args 0
testIsUpdateNeeded 0
testIterator 0

NvdCve_1_2_HandlerTest

testParse 0.038

NvdCve_2_0_HandlerTest

testParse 0.161

DependencyTest

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

VulnerableSoftwareTest

testCompareTo 0
testHashCode 0
testEquals 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
testBase 0
testSha1 0
testCpeMatches 0
testHasCvssBelow 0
testProcess 0
testGetSha1 0
testProcessGAV 0.002
testAddCvssBelow 0
testFilePath 0.002
testGetCvssBelow 0
testSetFilePath 0
testGetFilePath 0.002
testAddCpe 0.001
testAddCve 0
testAddCwe 0
testGetCpe 0
testGetCve 0
testGetCwe 0
testHasCpe 0
testHasCve 0
testHasCwe 0
testSetCvssBelow 0.001
testSetSha1 0.001
testSetCpe 0
testSetCve 0.001
testSetCwe 0.001
testCountCharacter 0.001

DateUtilTest

testWithinDateRange 0

DependencyVersionTest

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

DependencyVersionUtilTest

testParseVersion 0

FilterTest

testFilter_Iterable 0
testPasses 0

Failure Details

[Summary] [Package List] [Test Cases]


testWithSettingMono
skipped: skipped
testNullSha1
skipped: skipped
testMalformedSha1
skipped: skipped
testValidSha1
skipped: skipped
testMissingSha1
skipped: skipped