Fork me on GitHub

Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
226 0 0 9 96.018% 23.641

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.update 6 0 0 0 100% 2.44
org.owasp.dependencycheck.dependency 26 0 0 0 100% 0.002
org.owasp.dependencycheck.data.nexus 4 0 0 4 0% 0.001
org.owasp.dependencycheck.data.composer 4 0 0 0 100% 0.003
org.owasp.dependencycheck.suppression 36 0 0 0 100% 0.001
org.owasp.dependencycheck.data.nuget 3 0 0 0 100% 0
org.owasp.dependencycheck.utils 13 0 0 0 100% 0.002
org.owasp.dependencycheck.analyzer 73 0 0 5 93.151% 18.188
org.owasp.dependencycheck.data.cpe 1 0 0 0 100% 0
org.owasp.dependencycheck.data.lucene 10 0 0 0 100% 0.869
org.owasp.dependencycheck.data.cwe 1 0 0 0 100% 0.01
org.owasp.dependencycheck.data.update.nvd 14 0 0 0 100% 1.128
org.owasp.dependencycheck.xml.pom 23 0 0 0 100% 0.001
org.owasp.dependencycheck.data.nvdcve 7 0 0 0 100% 0.605
org.owasp.dependencycheck.data.central 5 0 0 0 100% 0.391

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

org.owasp.dependencycheck.data.update

Class Tests Errors Failures Skipped Success Rate Time
BaseUpdaterTest 4 0 0 0 100% 2.173
EngineVersionCheckTest 2 0 0 0 100% 0.267

org.owasp.dependencycheck.dependency

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

org.owasp.dependencycheck.data.nexus

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

org.owasp.dependencycheck.data.composer

Class Tests Errors Failures Skipped Success Rate Time
ComposerLockParserTest 4 0 0 0 100% 0.003

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.001
SuppressionParserTest 1 0 0 0 100% 0
SuppressionRuleTest 30 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

org.owasp.dependencycheck.utils

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

org.owasp.dependencycheck.analyzer

Class Tests Errors Failures Skipped Success Rate Time
AbstractFileTypeAnalyzerTest 1 0 0 0 100% 1.134
AbstractSuppressionAnalyzerTest 4 0 0 0 100% 0.568
AnalyzerServiceTest 1 0 0 0 100% 0.1
ArchiveAnalyzerTest 1 0 0 1 0% 0
AssemblyAnalyzerTest 5 0 0 1 80% 1.03
AutoconfAnalyzerTest 6 0 0 0 100% 0.034
CMakeAnalyzerTest 5 0 0 0 100% 1.002
ComposerLockAnalyzerTest 3 0 0 0 100% 0.14
DependencyBundlingAnalyzerTest 5 0 0 0 100% 0
FalsePositiveAnalyzerTest 3 0 0 0 100% 0.001
FileNameAnalyzerTest 5 0 0 0 100% 0
HintAnalyzerTest 3 0 0 0 100% 5.932
JarAnalyzerTest 4 0 0 0 100% 0.195
NodePackageAnalyzerTest 3 0 0 0 100% 0.001
NuspecAnalyzerTest 3 0 0 0 100% 0.001
OpenSSLAnalyzerTest 4 0 0 0 100% 0.001
PythonDistributionAnalyzerTest 8 0 0 0 100% 2.043
PythonPackageAnalyzerTest 3 0 0 0 100% 1.993
RubyBundleAuditAnalyzerTest 3 0 0 3 0% 2.015
RubyGemspecAnalyzerTest 3 0 0 0 100% 1.998

org.owasp.dependencycheck.data.cpe

Class Tests Errors Failures Skipped Success Rate Time
IndexEntryTest 1 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.23
UrlTokenizingFilterTest 3 0 0 0 100% 0.639

org.owasp.dependencycheck.data.cwe

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

org.owasp.dependencycheck.data.update.nvd

Class Tests Errors Failures Skipped Success Rate Time
DownloadTaskTest 2 0 0 0 100% 1.128
NvdCveInfoTest 5 0 0 0 100% 0
NvdCve_1_2_HandlerTest 1 0 0 0 100% 0
NvdCve_2_0_HandlerTest 1 0 0 0 100% 0
UpdateableNvdCveTest 5 0 0 0 100% 0

org.owasp.dependencycheck.xml.pom

Class Tests Errors Failures Skipped Success Rate Time
ModelTest 22 0 0 0 100% 0
PomUtilsTest 1 0 0 0 100% 0.001

org.owasp.dependencycheck.data.nvdcve

Class Tests Errors Failures Skipped Success Rate Time
ConnectionFactoryTest 1 0 0 0 100% 0.538
DriverLoaderTest 6 0 0 0 100% 0.067

org.owasp.dependencycheck.data.central

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

Test Cases

[Summary] [Package List] [Test Cases]

AbstractFileTypeAnalyzerTest

testNewHashSet 0.023

AbstractSuppressionAnalyzerTest

testFailureToLocateSuppressionFileAnywhere 0.331
testGetRulesFromSuppressionFileFromURL 0.19
testGetRulesFromSuppressionFileInClasspath 0.045
testGetSupportedExtensions 0

AnalyzerServiceTest

testGetAnalyzers 0.097

ArchiveAnalyzerTest

testZippableExtensions 0
skipped

AssemblyAnalyzerTest

testGetName 0.425
testAnalysis 0.187
testWithSettingMono 0
skipped
testNonexistent 0.13
testLog4Net 0.215

AutoconfAnalyzerTest

testAnalyzeReadableConfigureScript 0
testGetName 0
testSupportsFileExtension 0
testAnalyzeConfigureScript 0.024
testAnalyzeConfigureAC1 0.004
testAnalyzeConfigureAC2 0.004

CMakeAnalyzerTest

testAnalyzeCMakeListsZlib 0
testAnalyzeCMakeListsOpenCV 0
testGetName 0
testAnalyzeCMakeListsOpenCV3rdParty 1
testAccept 0

ComposerLockAnalyzerTest

testGetName 0
testAnalyzePackageJson 0.14
testSupportsFiles 0

DependencyBundlingAnalyzerTest

testAnalyze 0
testGetAnalysisPhase 0
testGetName 0
testFirstPathIsShortest 0
testIsCore 0

FalsePositiveAnalyzerTest

testAnalyze 0
testGetAnalysisPhase 0
testGetName 0

FileNameAnalyzerTest

testAnalyze 0
testClose 0
testGetAnalysisPhase 0
testGetName 0
testInitialize 0

HintAnalyzerTest

testAnalyze 5.93
testGetAnalysisPhase 0
testGetName 0.001

JarAnalyzerTest

testAnalyze 0.145
testGetName 0.002
testAcceptSupportedExtensions 0.001
testParseManifest 0.047

NodePackageAnalyzerTest

testGetName 0
testAnalyzePackageJson 0
testSupportsFiles 0

NuspecAnalyzerTest

testSupportsFileExtensions 0
testGetAnalysisPhaze 0
testGetAnalyzerName 0

OpenSSLAnalyzerTest

testGetName 0
testVersionConstantExamples 0
testOpenSSLVersionHeaderFile 0
testAccept 0.001

PythonDistributionAnalyzerTest

testAnalyzeEggFolder 0
testGetName 0
testAnalyzeEggArchive 0
testAnalyzeEggArchiveNamedZip 0.01
testAnalyzeWheel 0.019
testAnalyzeEggInfoFolder 0.007
testAnalyzeSitePackage 0
testSupportsFiles 0.002

PythonPackageAnalyzerTest

testAnalyzeSourceMetadata 0
testGetName 0
testSupportsFileExtension 0

RubyBundleAuditAnalyzerTest

testGetName 0
skipped
testAnalysis 0
skipped
testSupportsFiles 0
skipped

RubyGemspecAnalyzerTest

testGetName 0
testAnalyzePackageJson 0
testSupportsFiles 0

CentralSearchTest

testMultipleReturns 0.256
testNullSha1 0.001
testMalformedSha1 0
testValidSha1 0.076
testMissingSha1 0.055

ComposerLockParserTest

testNotPackagesArray 0.001
testValidComposerLock 0
testNotComposer 0.001
testNotJSON 0.001

IndexEntryTest

testSetName 0

CweDBTest

testGetCweName 0

FieldAnalyzerTest

testAnalyzers 0

LuceneUtilsTest

testAppendEscapedLuceneQuery 0
testEscapeLuceneQuery 0
testEscapeLuceneQuery_null 0
testAppendEscapedLuceneQuery_null 0

TokenPairConcatenatingFilterTest

testClear 0.06
testExamples 0.008

UrlTokenizingFilterTest

testEmptyTerm 0.016
testRandomStrings 0.592
testExamples 0.004

XPathNuspecParserTest

testGoodDocument 0
testMissingDocument 0
testNotNuspec 0

ConnectionFactoryTest

testInitialize 0.538

DriverLoaderTest

testLoad_String 0
testLoad_String_ex 0
testLoad_String_String_badClassName 0
testLoad_String_String_badPath 0
testLoad_String_String 0.021
testLoad_String_String_multiple_paths 0.046

BaseUpdaterTest

testGetCveDB 0
testOpenDataStores 1.082
testGetProperties 0.551
testCloseDataStores 0.539

EngineVersionCheckTest

testShouldUpdate 0.246
testGetCurrentReleaseVersion 0.021

DownloadTaskTest

testIsXML 0
testCall 1.083

NvdCveInfoTest

testSetGetTimestamp 0
testSetGetNeedsUpdate 0
testSetGetOldSchemaVersionUrl 0
testSetGetUrl 0
testSetGetId 0

NvdCve_1_2_HandlerTest

testParse 0

NvdCve_2_0_HandlerTest

testParse 0

UpdateableNvdCveTest

testClear 0
testAdd_3args 0
testAdd_4args 0
testIsUpdateNeeded 0
testIterator 0

DependencyTest

testGetEvidenceUsed 0
testGetSha1sum 0
testGetProductEvidence 0
testGetActualFilePath 0
testAddAsEvidence 0
testAddAsEvidenceWithEmptyArtefact 0
testGetIdentifiers 0
testSetSha1sum 0
testAddIdentifier 0
testGetVendorEvidence 0
testSetFileName 0
testSetFilePath 0
testGetFileName 0
testGetFilePath 0
testSetMd5sum 0
testGetMd5sum 0
testGetEvidence 0
testSetIdentifiers 0
testGetVersionEvidence 0
testSetActualFilePath 0

EvidenceTest

testCompareTo 0
testHashcodeContract 0
testEquals 0

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
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

DateUtilTest

testWithinDateRange 0

DependencyVersionTest

testSetVersionParts 0
testMatchesAtLeastThreeLevels 0
testToString 0
testCompareTo 0
testParseVersion 0
testHashCode 0
testEquals 0.001
testGetVersionParts 0
testIterator 0

DependencyVersionUtilTest

testParseVersion 0

FilterTest

testFilter_Iterable 0
testPasses 0

ModelTest

testGetLicenses 0
testSetGroupId 0
testSetParentArtifactId 0
testSetVersion 0
testSetArtifactId 0
testGetOrganization 0
testGetParentGroupId 0
testGetParentVersion 0
testSetDescription 0
testSetOrganization 0
testGetName 0
testGetParentArtifactId 0
testGetGroupId 0
testGetVersion 0
testGetDescription 0
testInterpolateString 0
testProcessProperties 0
testSetParentGroupId 0
testSetParentVersion 0
testAddLicense 0
testSetName 0
testGetArtifactId 0

PomUtilsTest

testReadPom_File 0

Failure Details

[Summary] [Package List] [Test Cases]


testZippableExtensions
skipped: skipped
testWithSettingMono
skipped: skipped
testGetName
skipped: skipped
testAnalysis
skipped: skipped
testSupportsFiles
skipped: skipped
testNullSha1
skipped: skipped
testMalformedSha1
skipped: skipped
testValidSha1
skipped: skipped
testMissingSha1
skipped: skipped