Fork me on GitHub

Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
260 0 0 13 95% 21.784

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.374
org.owasp.dependencycheck.dependency 34 0 0 0 100% 0.013
org.owasp.dependencycheck.data.nexus 4 0 0 4 0% 0.001
org.owasp.dependencycheck.data.composer 4 0 0 0 100% 0.001
org.owasp.dependencycheck.data.nuget 3 0 0 0 100% 0.001
org.owasp.dependencycheck.xml.hints 3 0 0 0 100% 0
org.owasp.dependencycheck.utils 13 0 0 0 100% 0.04
org.owasp.dependencycheck.analyzer 88 0 0 9 89.773% 14.659
org.owasp.dependencycheck.data.cpe 1 0 0 0 100% 0
org.owasp.dependencycheck.data.lucene 10 0 0 0 100% 0.623
org.owasp.dependencycheck.data.cwe 1 0 0 0 100% 0.015
org.owasp.dependencycheck.data.update.nvd 15 0 0 0 100% 1.641
org.owasp.dependencycheck.xml.pom 23 0 0 0 100% 0.002
org.owasp.dependencycheck.data.nvdcve 7 0 0 0 100% 0.768
org.owasp.dependencycheck 7 0 0 0 100% 1.396
org.owasp.dependencycheck.xml.suppression 36 0 0 0 100% 0.006
org.owasp.dependencycheck.data.central 5 0 0 0 100% 0.244

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.062
EngineVersionCheckTest 2 0 0 0 100% 0.312

org.owasp.dependencycheck.dependency

Class Tests Errors Failures Skipped Success Rate Time
DependencyTest 20 0 0 0 100% 0.003
EvidenceTest 3 0 0 0 100% 0.002
VulnerabilityTest 3 0 0 0 100% 0
VulnerableSoftwareTest 8 0 0 0 100% 0.008

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

org.owasp.dependencycheck.data.nuget

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

org.owasp.dependencycheck.xml.hints

Class Tests Errors Failures Skipped Success Rate Time
HintHandlerTest 1 0 0 0 100% 0
HintParserTest 2 0 0 0 100% 0

org.owasp.dependencycheck.utils

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

org.owasp.dependencycheck.analyzer

Class Tests Errors Failures Skipped Success Rate Time
AbstractFileTypeAnalyzerTest 1 0 0 0 100% 0.014
AbstractSuppressionAnalyzerTest 4 0 0 0 100% 0.653
AnalyzerServiceTest 2 0 0 0 100% 0.095
ArchiveAnalyzerTest 1 0 0 1 0% 0.004
AssemblyAnalyzerTest 5 0 0 5 0% 0.698
AutoconfAnalyzerTest 6 0 0 0 100% 0.153
CMakeAnalyzerTest 6 0 0 0 100% 1.03
ComposerLockAnalyzerTest 4 0 0 0 100% 0.195
DependencyBundlingAnalyzerTest 5 0 0 0 100% 0.088
FalsePositiveAnalyzerTest 3 0 0 0 100% 0.003
FileNameAnalyzerTest 5 0 0 0 100% 0.001
HintAnalyzerTest 3 0 0 0 100% 5.602
JarAnalyzerTest 4 0 0 0 100% 0.363
NodePackageAnalyzerTest 3 0 0 0 100% 0
NuspecAnalyzerTest 3 0 0 0 100% 0.004
OpenSSLAnalyzerTest 4 0 0 0 100% 0.002
PythonDistributionAnalyzerTest 8 0 0 0 100% 0.044
PythonPackageAnalyzerTest 3 0 0 0 100% 0.003
RubyBundleAuditAnalyzerTest 6 0 0 3 50% 5.7
RubyBundlerAnalyzerTest 3 0 0 0 100% 0.003
RubyGemspecAnalyzerTest 3 0 0 0 100% 0.001
SwiftAnalyzersTest 6 0 0 0 100% 0.003

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.002
TokenPairConcatenatingFilterTest 2 0 0 0 100% 0.259
UrlTokenizingFilterTest 3 0 0 0 100% 0.362

org.owasp.dependencycheck.data.cwe

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

org.owasp.dependencycheck.data.update.nvd

Class Tests Errors Failures Skipped Success Rate Time
DownloadTaskTest 2 0 0 0 100% 1.433
NvdCveInfoTest 5 0 0 0 100% 0.001
NvdCve_1_2_HandlerTest 1 0 0 0 100% 0
NvdCve_2_0_HandlerTest 2 0 0 0 100% 0.207
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.002
PomUtilsTest 1 0 0 0 100% 0

org.owasp.dependencycheck.data.nvdcve

Class Tests Errors Failures Skipped Success Rate Time
ConnectionFactoryTest 1 0 0 0 100% 0.479
DriverLoaderTest 6 0 0 0 100% 0.289

org.owasp.dependencycheck

Class Tests Errors Failures Skipped Success Rate Time
AnalysisTaskTest 5 0 0 0 100% 1.183
EngineTest 2 0 0 0 100% 0.213

org.owasp.dependencycheck.xml.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.006
SuppressionRuleTest 30 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.244

Test Cases

[Summary] [Package List] [Test Cases]

AnalysisTaskTest

shouldAnalyzeReturnsFalseIfTheFileTypeAnalyzerDoesNotAcceptTheDependency 0.615
taskDoesNothingIfItShouldNotAnalyze 0.06
shouldAnalyzeReturnsTrueForNonFileTypeAnalyzers 0.007
shouldAnalyzeReturnsTrueIfTheFileTypeAnalyzersAcceptsTheDependency 0.026
taskAnalyzes 0.042

AbstractFileTypeAnalyzerTest

testNewHashSet 0.005

AbstractSuppressionAnalyzerTest

testFailureToLocateSuppressionFileAnywhere 0.255
testGetRulesFromSuppressionFileFromURL 0.355
testGetRulesFromSuppressionFileInClasspath 0.037
testGetSupportedExtensions 0

AnalyzerServiceTest

testGetAnalyzers 0.086
testGetExperimentalAnalyzers 0.006

ArchiveAnalyzerTest

testZippableExtensions 0
skipped

AutoconfAnalyzerTest

testAnalyzeReadableConfigureScript 0.06
testGetName 0.001
testSupportsFileExtension 0.001
testAnalyzeConfigureScript 0.069
testAnalyzeConfigureAC1 0.011
testAnalyzeConfigureAC2 0.011

CMakeAnalyzerTest

testAnalyzeCMakeListsZlib 0
testAnalyzeCMakeListsOpenCV 0.011
testGetName 0.002
analyzerIsDisabledInCaseOfMissingMessageDigest 0.1
testAnalyzeCMakeListsOpenCV3rdParty 0.915
testAccept 0.001

ComposerLockAnalyzerTest

testGetName 0
analyzerIsDisabledInCaseOfMissingMessageDigest 0.05
testAnalyzePackageJson 0.141
testSupportsFiles 0

DependencyBundlingAnalyzerTest

testAnalyze 0.085
testGetAnalysisPhase 0.001
testGetName 0.001
testFirstPathIsShortest 0
testIsCore 0.001

FalsePositiveAnalyzerTest

testAnalyze 0
testGetAnalysisPhase 0
testGetName 0

FileNameAnalyzerTest

testAnalyze 0
testClose 0
testGetAnalysisPhase 0
testGetName 0
testInitialize 0

HintAnalyzerTest

testAnalyze 5.597
testGetAnalysisPhase 0
testGetName 0

JarAnalyzerTest

testAnalyze 0.297
testGetName 0
testAcceptSupportedExtensions 0
testParseManifest 0.065

NodePackageAnalyzerTest

testGetName 0
testAnalyzePackageJson 0
testSupportsFiles 0

NuspecAnalyzerTest

testSupportsFileExtensions 0
testGetAnalysisPhaze 0
testGetAnalyzerName 0

OpenSSLAnalyzerTest

testGetName 0.001
testVersionConstantExamples 0
testOpenSSLVersionHeaderFile 0
testAccept 0

PythonDistributionAnalyzerTest

testAnalyzeEggFolder 0
testGetName 0
testAnalyzeEggArchive 0
testAnalyzeEggArchiveNamedZip 0
testAnalyzeWheel 0.02
testAnalyzeEggInfoFolder 0.005
testAnalyzeSitePackage 0.009
testSupportsFiles 0.002

PythonPackageAnalyzerTest

testAnalyzeSourceMetadata 0
testGetName 0
testSupportsFileExtension 0

RubyBundleAuditAnalyzerTest

testMissingBundleAudit 0.599
testGetName 0.003
testAnalysis 0
skipped
testDependenciesPath 0
skipped
testAddCriticalityToVulnerability 0
skipped
testSupportsFiles 0

RubyBundlerAnalyzerTest

testGetName 0
testAnalyzeGemspec 0
testSupportsFiles 0

RubyGemspecAnalyzerTest

testGetName 0
testAnalyzePackageJson 0
testSupportsFiles 0

SwiftAnalyzersTest

testSPMGetName 0
testPodsGetName 0
testSPMSupportsFiles 0
testPodsSupportsFiles 0
testCocoaPodsAnalyzer 0
testSPMAnalyzer 0

CentralSearchTest

testMultipleReturns 0.148
testNullSha1 0
testMalformedSha1 0.001
testValidSha1 0.055
testMissingSha1 0.038

ComposerLockParserTest

testNotPackagesArray 0
testValidComposerLock 0.001
testNotComposer 0
testNotJSON 0

IndexEntryTest

testSetName 0

CweDBTest

testGetCweName 0

FieldAnalyzerTest

testAnalyzers 0

LuceneUtilsTest

testAppendEscapedLuceneQuery 0
testEscapeLuceneQuery 0
testEscapeLuceneQuery_null 0
testAppendEscapedLuceneQuery_null 0

TokenPairConcatenatingFilterTest

testExamples 0.052
testClear 0.007

UrlTokenizingFilterTest

testExamples 0.05
testEmptyTerm 0.005
testRandomStrings 0.291

XPathNuspecParserTest

testGoodDocument 0.001
testMissingDocument 0
testNotNuspec 0

ConnectionFactoryTest

testInitialize 0.479

DriverLoaderTest

testLoad_String 0
testLoad_String_ex 0
testLoad_String_String_badClassName 0
testLoad_String_String_badPath 0
testLoad_String_String 0.034
testLoad_String_String_multiple_paths 0.252

BaseUpdaterTest

testGetCveDB 0
testOpenDataStores 1.031
testGetProperties 0.498
testCloseDataStores 0.528

EngineVersionCheckTest

testShouldUpdate 0.265
testGetCurrentReleaseVersion 0.043

DownloadTaskTest

testIsXML 0.013
testCall 1.413

NvdCveInfoTest

testSetGetTimestamp 0
testSetGetNeedsUpdate 0
testSetGetOldSchemaVersionUrl 0
testSetGetUrl 0
testSetGetId 0

NvdCve_1_2_HandlerTest

testParse 0

NvdCve_2_0_HandlerTest

testParserWithPreviousVersion 0.017
testParse 0.189

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

VulnerabilityTest

testDuplicateVersions 0
testDpulicateVersionsWithPreviousVersion 0
testSoftwareSorting 0

VulnerableSoftwareTest

testEquals2 0
testCompareToNonNumerical 0
testCompareTo 0
testHashCode 0
testEqualsPreviousVersion 0
testEquals 0
testCompareToComplex 0
testParseCPE 0

EngineTest

exceptionDuringAnalysisTaskExecutionIsFatal 0.206
testScanFile 0.007

DateUtilTest

testWithinDateRange 0.001

DependencyVersionTest

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

DependencyVersionUtilTest

testParseVersion 0

FilterTest

testFilter_Iterable 0
testPasses 0

HintHandlerTest

testHandler 0

HintParserTest

testParseHints_File 0
testParseHints_InputStream 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

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

Failure Details

[Summary] [Package List] [Test Cases]


testZippableExtensions
skipped: skipped
testGetName
skipped: skipped
testAnalysis
skipped: skipped
testWithSettingMono
skipped: skipped
testNonexistent
skipped: skipped
testLog4Net
skipped: skipped
testAnalysis
skipped: skipped
testDependenciesPath
skipped: skipped
testAddCriticalityToVulnerability
skipped: skipped
testNullSha1
skipped: skipped
testMalformedSha1
skipped: skipped
testValidSha1
skipped: skipped
testMissingSha1
skipped: skipped