Fork me on GitHub

Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
486 0 0 8 98.4% 22.20 s

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 3 0 0 0 100% 0.478 s
org.owasp.dependencycheck.reporting 7 0 0 0 100% 0.014 s
org.owasp.dependencycheck.dependency 33 0 0 0 100% 0.084 s
org.owasp.dependencycheck.data.nexus 10 0 0 8 20.0% 0.011 s
org.owasp.dependencycheck.data.artifactory 9 0 0 0 100% 1.632 s
org.owasp.dependencycheck.data.composer 5 0 0 0 100% 0.056 s
org.owasp.dependencycheck.data.elixir 2 0 0 0 100% 0.020 s
org.owasp.dependencycheck.xml.hints 12 0 0 0 100% 0.035 s
org.owasp.dependencycheck.data.golang 1 0 0 0 100% 0.009 s
org.owasp.dependencycheck.data.nodeaudit 4 0 0 0 100% 0.334 s
org.owasp.dependencycheck.analyzer 210 0 0 0 100% 10.30 s
org.owasp.dependencycheck.xml 5 0 0 0 100% 0.004 s
org.owasp.dependencycheck.xml.assembly 2 0 0 0 100% 0.009 s
org.owasp.dependencycheck.data.cwe 2 0 0 0 100% 0.030 s
org.owasp.dependencycheck.data.central 5 0 0 0 100% 1.475 s
org.owasp.dependencycheck.data.update.nvd.api 4 0 0 0 100% 0.270 s
org.owasp.dependencycheck.resources 1 0 0 0 100% 0.109 s
org.owasp.dependencycheck.data.nuget 3 0 0 0 100% 0.053 s
org.owasp.dependencycheck.utils 41 0 0 0 100% 0.003 s
org.owasp.dependencycheck.data.update.cisa 1 0 0 0 100% 0.126 s
org.owasp.dependencycheck.data.cpe 8 0 0 0 100% 3.088 s
org.owasp.dependencycheck.data.lucene 15 0 0 0 100% 1.015 s
org.owasp.dependencycheck.xml.pom 33 0 0 0 100% 0.059 s
org.owasp.dependencycheck.data.nvdcve 8 0 0 0 100% 0.187 s
org.owasp.dependencycheck.data.update.cpe 4 0 0 0 100% 0.005 s
org.owasp.dependencycheck 6 0 0 0 100% 2.486 s
org.owasp.dependencycheck.xml.suppression 40 0 0 0 100% 0.238 s
org.owasp.dependencycheck.data.nvd.ecosystem 11 0 0 0 100% 0.058 s
org.owasp.dependencycheck.data.cache 1 0 0 0 100% 0.013 s

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
NvdApiDataSourceTest 1 0 0 0 100% 0.020 s
EngineVersionCheckTest 2 0 0 0 100% 0.458 s

org.owasp.dependencycheck.reporting

- Class Tests Errors Failures Skipped Success Rate Time
EscapeToolTest 7 0 0 0 100% 0.014 s

org.owasp.dependencycheck.dependency

- Class Tests Errors Failures Skipped Success Rate Time
VulnerabilityTest 2 0 0 0 100% 0.020 s
EvidenceTest 3 0 0 0 100% 0 s
CweSetTest 5 0 0 0 100% 0.001 s
VulnerableSoftwareTest 4 0 0 0 100% 0.005 s
DependencyTest 19 0 0 0 100% 0.058 s

org.owasp.dependencycheck.data.nexus

- Class Tests Errors Failures Skipped Success Rate Time
NexusV2SearchTest 4 0 0 4 0% 0.001 s
NexusV3SearchTest 4 0 0 4 0% 0.002 s
MavenArtifactTest 2 0 0 0 100% 0.008 s

org.owasp.dependencycheck.data.artifactory

- Class Tests Errors Failures Skipped Success Rate Time
ArtifactorySearchTest 9 0 0 0 100% 1.632 s

org.owasp.dependencycheck.data.composer

- Class Tests Errors Failures Skipped Success Rate Time
ComposerLockParserTest 5 0 0 0 100% 0.056 s

org.owasp.dependencycheck.data.elixir

- Class Tests Errors Failures Skipped Success Rate Time
MixAuditJsonParserTest 2 0 0 0 100% 0.020 s

org.owasp.dependencycheck.xml.hints

- Class Tests Errors Failures Skipped Success Rate Time
EvidenceMatcherTest 7 0 0 0 100% 0.001 s
HintParserTest 4 0 0 0 100% 0.034 s
HintHandlerTest 1 0 0 0 100% 0 s

org.owasp.dependencycheck.data.golang

- Class Tests Errors Failures Skipped Success Rate Time
GoModJsonParserTest 1 0 0 0 100% 0.009 s

org.owasp.dependencycheck.data.nodeaudit

- Class Tests Errors Failures Skipped Success Rate Time
NpmPayloadBuilderTest 4 0 0 0 100% 0.334 s

org.owasp.dependencycheck.analyzer

- Class Tests Errors Failures Skipped Success Rate Time
AbstractSuppressionAnalyzerTest 5 0 0 0 100% 0.679 s
LibmanAnalyzerTest 4 0 0 0 100% 0.019 s
ElixirMixAuditAnalyzerTest 2 0 0 0 100% 0 s
MSBuildProjectAnalyzerTest 5 0 0 0 100% 0.105 s
NodeAuditAnalyzerTest 2 0 0 0 100% 0 s
RubyGemspecAnalyzerTest 3 0 0 0 100% 0.008 s
AnalyzerServiceTest 3 0 0 0 100% 0.064 s
CentralAnalyzerTest 3 0 0 0 100% 0.400 s
DependencyBundlingAnalyzerTest 7 0 0 0 100% 0.233 s
SwiftAnalyzersTest 14 0 0 0 100% 0.029 s
VersionFilterAnalyzerTest 7 0 0 0 100% 0.009 s
CMakeAnalyzerTest 10 0 0 0 100% 0.289 s
JarAnalyzerTest 10 0 0 0 100% 0.109 s
PipfilelockAnalyzerTest 3 0 0 0 100% 0.085 s
CPEAnalyzerTest 7 0 0 0 100% 0 s
FalsePositiveAnalyzerTest 5 0 0 0 100% 0.011 s
NpmCPEAnalyzerTest 2 0 0 0 100% 0.049 s
NugetconfAnalyzerTest 3 0 0 0 100% 0.028 s
ComposerLockAnalyzerTest 3 0 0 0 100% 0.088 s
DependencyMergingAnalyzerTest 11 0 0 0 100% 0.059 s
OpenSSLAnalyzerTest 4 0 0 0 100% 0 s
RubyBundlerAnalyzerTest 3 0 0 0 100% 0.001 s
AssemblyAnalyzerTest 5 0 0 0 100% 2.230 s
PnpmAuditAnalyzerTest 2 0 0 0 100% 0.004 s
NuspecAnalyzerTest 4 0 0 0 100% 0.010 s
DartAnalyzerTest 6 0 0 0 100% 0.083 s
FileNameAnalyzerTest 5 0 0 0 100% 0.024 s
AbstractFileTypeAnalyzerTest 1 0 0 0 100% 0.002 s
NodePackageAnalyzerTest 8 0 0 0 100% 0.130 s
RetireJsAnalyzerFiltersTest 1 0 0 0 100% 2.349 s
PipAnalyzerTest 3 0 0 0 100% 0.072 s
ArchiveAnalyzerTest 2 0 0 0 100% 0.002 s
PoetryAnalyzerTest 5 0 0 0 100% 0.102 s
HintAnalyzerTest 4 0 0 0 100% 1.765 s
PipfileAnalyzerTest 3 0 0 0 100% 0.087 s
DependencyCheckPropertiesTest 1 0 0 0 100% 0.060 s
PinnedMavenInstallAnalyzerTest 5 0 0 0 100% 0.169 s
PythonDistributionAnalyzerTest 8 0 0 0 100% 0.065 s
PythonPackageAnalyzerTest 3 0 0 0 100% 0 s
GolangModAnalyzerTest 3 0 0 0 100% 0.120 s
AutoconfAnalyzerTest 6 0 0 0 100% 0.009 s
OssIndexAnalyzerTest 5 0 0 0 100% 0.614 s
PEAnalyzerTest 2 0 0 0 100% 0.016 s
GolangDepAnalyzerTest 3 0 0 0 100% 0.105 s
YarnAuditAnalyzerTest 2 0 0 0 100% 0 s
PerlCpanfileAnalyzerTest 7 0 0 0 100% 0.018 s

org.owasp.dependencycheck.xml

- Class Tests Errors Failures Skipped Success Rate Time
XmlInputStreamTest 4 0 0 0 100% 0.003 s
XmlEntityTest 1 0 0 0 100% 0.001 s

org.owasp.dependencycheck.xml.assembly

- Class Tests Errors Failures Skipped Success Rate Time
GrokHandlerTest 1 0 0 0 100% 0.003 s
GrokParserTest 1 0 0 0 100% 0.006 s

org.owasp.dependencycheck.data.cwe

- Class Tests Errors Failures Skipped Success Rate Time
CweDBTest 2 0 0 0 100% 0.030 s

org.owasp.dependencycheck.data.central

- Class Tests Errors Failures Skipped Success Rate Time
CentralSearchTest 5 0 0 0 100% 1.475 s

org.owasp.dependencycheck.data.update.nvd.api

- Class Tests Errors Failures Skipped Success Rate Time
NvdApiProcessorTest 4 0 0 0 100% 0.270 s

org.owasp.dependencycheck.resources

- Class Tests Errors Failures Skipped Success Rate Time
DependencyCheckBaseSuppressionTest 1 0 0 0 100% 0.109 s

org.owasp.dependencycheck.data.nuget

- Class Tests Errors Failures Skipped Success Rate Time
XPathNuspecParserTest 3 0 0 0 100% 0.053 s

org.owasp.dependencycheck.utils

- Class Tests Errors Failures Skipped Success Rate Time
UrlStringUtilsTest 3 0 0 0 100% 0.001 s
ExtractionUtilTest 3 0 0 0 100% 0 s
SeverityUtilTest 1 0 0 0 100% 0 s
CvssUtilTest 4 0 0 0 100% 0 s
UtilsTest 1 0 0 0 100% 0.001 s
DependencyVersionTest 9 0 0 0 100% 0 s
DateUtilTest 4 0 0 0 100% 0 s
DependencyVersionUtilTest 3 0 0 0 100% 0 s
InterpolationUtilTest 4 0 0 0 100% 0 s
SemverTest 2 0 0 0 100% 0 s
PyPACoreMetadataParserTest 5 0 0 0 100% 0.001 s
FilterTest 2 0 0 0 100% 0 s

org.owasp.dependencycheck.data.update.cisa

- Class Tests Errors Failures Skipped Success Rate Time
KnownExploitedVulnerabilityParserTest 1 0 0 0 100% 0.126 s

org.owasp.dependencycheck.data.cpe

- Class Tests Errors Failures Skipped Success Rate Time
IndexEntryTest 1 0 0 0 100% 0.007 s
CpeMemoryIndexTest 7 0 0 0 100% 3.081 s

org.owasp.dependencycheck.data.lucene

- Class Tests Errors Failures Skipped Success Rate Time
SearchFieldAnalyzerTest 1 0 0 0 100% 0.001 s
FieldAnalyzerTest 1 0 0 0 100% 0.082 s
AlphaNumericFilterTest 4 0 0 0 100% 0.379 s
LuceneUtilsTest 5 0 0 0 100% 0.007 s
UrlTokenizingFilterTest 3 0 0 0 100% 0.258 s
TokenPairConcatenatingFilterTest 1 0 0 0 100% 0.288 s

org.owasp.dependencycheck.xml.pom

- Class Tests Errors Failures Skipped Success Rate Time
ModelTest 21 0 0 0 100% 0.004 s
PomProjectInputStreamTest 2 0 0 0 100% 0 s
PomUtilsTest 3 0 0 0 100% 0.033 s
PomParserTest 7 0 0 0 100% 0.022 s

org.owasp.dependencycheck.data.nvdcve

- Class Tests Errors Failures Skipped Success Rate Time
DatabaseManagerTest 1 0 0 0 100% 0.127 s
DriverLoaderTest 6 0 0 0 100% 0.057 s
CveItemOperatorTest 1 0 0 0 100% 0.003 s

org.owasp.dependencycheck.data.update.cpe

- Class Tests Errors Failures Skipped Success Rate Time
CpeEcosystemCacheTest 4 0 0 0 100% 0.005 s

org.owasp.dependencycheck

- Class Tests Errors Failures Skipped Success Rate Time
AnalysisTaskTest 5 0 0 0 100% 0.204 s
EngineTest 1 0 0 0 100% 2.282 s

org.owasp.dependencycheck.xml.suppression

- Class Tests Errors Failures Skipped Success Rate Time
SuppressionRuleTest 31 0 0 0 100% 0.018 s
SuppressionParserTest 4 0 0 0 100% 0.214 s
PropertyTypeTest 4 0 0 0 100% 0.004 s
SuppressionHandlerTest 1 0 0 0 100% 0.002 s

org.owasp.dependencycheck.data.nvd.ecosystem

- Class Tests Errors Failures Skipped Success Rate Time
CveEcosystemMapperTest 1 0 0 0 100% 0.010 s
UrlEcosystemMapperTest 4 0 0 0 100% 0.021 s
DescriptionEcosystemMapperTest 6 0 0 0 100% 0.027 s

org.owasp.dependencycheck.data.cache

- Class Tests Errors Failures Skipped Success Rate Time
DataCacheFactoryTest 1 0 0 0 100% 0.013 s

Test Cases

[Summary] [Package List] [Test Cases]

AbstractSuppressionAnalyzerTest

testGetRulesFromMultipleSuppressionFiles 0.370 s
testFailureToLocateSuppressionFileAnywhere 0.065 s
testGetRulesFromSuppressionFileFromURL 0.125 s
testGetRulesFromSuppressionFileInClasspath 0.117 s
testGetSupportedExtensions 0.001 s

LibmanAnalyzerTest

testSupportedFileNames 0.004 s
testLibmanAnalysis 0.008 s
testGetAnalyzerName 0.004 s
testGetAnalyzerEnabledSettingKey 0 s

ElixirMixAuditAnalyzerTest

testGetName 0 s
testSupportsFiles 0 s

UrlStringUtilsTest

testIsUrl 0 s
testContainsUrl 0 s
testExtractImportantUrlData 0 s

ExtractionUtilTest

testExtractFiles_File_File 0 s
testExtractFiles_3args 0 s
testExtractFilesUsingFilter 0 s

MSBuildProjectAnalyzerTest

testSupportsFileExtensions 0 s
testGetAnalysisPhaze 0 s
testMSBuildProjectAnalysis_WithImports 0.089 s
testMSBuildProjectAnalysis 0.015 s
testGetAnalyzerName 0 s

NodeAuditAnalyzerTest

testGetName 0 s
testSupportsFiles 0 s

SeverityUtilTest

testEstimateCvssV2 0 s

NexusV2SearchTest

testNullSha1 0 s
- skipped -
testMalformedSha1 0 s
- skipped -
testValidSha1 0 s
- skipped -
testMissingSha1 0 s
- skipped -

VulnerabilityTest

testDuplicateVersions 0 s
compareTo_proper_sorting 0.019 s

AnalysisTaskTest

shouldAnalyzeReturnsFalseIfTheFileTypeAnalyzerDoesNotAcceptTheDependency 0.196 s
taskDoesNothingIfItShouldNotAnalyze 0.002 s
shouldAnalyzeReturnsTrueForNonFileTypeAnalyzers 0.001 s
shouldAnalyzeReturnsTrueIfTheFileTypeAnalyzersAcceptsTheDependency 0.002 s
taskAnalyzes 0.002 s

RubyGemspecAnalyzerTest

testGetName 0 s
testAnalyzePackageJson 0.005 s
testSupportsFiles 0.001 s

AnalyzerServiceTest

testGetAnalyzers_SpecificPhases 0.018 s
testGetAnalyzers 0.022 s
testGetExperimentalAnalyzers 0.023 s

CentralAnalyzerTest

testFetchMavenArtifactsWithoutException 0.388 s
testFetchMavenArtifactsAlwaysThrowsIOException 0.009 s
testFetchMavenArtifactsRethrowsFileNotFoundException 0.002 s

CvssUtilTest

testVectorToCvssV2 0 s
testVectorToCvssV3 0 s
testCvssV3ScoreToSeverity 0 s
testCvssV2ScoreToSeverity 0 s

IndexEntryTest

testSetName 0.005 s

DependencyBundlingAnalyzerTest

testAnalyze 0.222 s
testGetAnalysisPhase 0.002 s
testGetName 0.001 s
testIsShaded 0.001 s
testIsWebJar 0.002 s
testFirstPathIsShortest 0.001 s
testIsCore 0.001 s

CveEcosystemMapperTest

testGetEcosystem 0.008 s

UrlEcosystemMapperTest

testGetEcosystemMustHandleNullCveReferences 0.008 s
testGetEcosystemMustHandleNullCveItem 0.004 s
testGetEcosystemMustHandleNullCve 0.004 s
testUrlHostEcosystemMapper 0.004 s

DataCacheFactoryTest

testGetCache 0.012 s

UtilsTest

testParseUpdate 0 s

CentralSearchTest

testMultipleReturns 1.137 s
testNullSha1 0.001 s
testMalformedSha1 0.001 s
testValidSha1 0.228 s
testMissingSha1 0.101 s

SearchFieldAnalyzerTest

testGetStopWords 0 s

NexusV3SearchTest

testNullSha1 0 s
- skipped -
testMalformedSha1 0 s
- skipped -
testValidSha1 0 s
- skipped -
testMissingSha1 0 s
- skipped -

ComposerLockParserTest

testNotPackagesArray 0.004 s
testValidComposerLock 0.020 s
testNotComposer 0.013 s
testComposerLockSkipDev 0.010 s
testNotJSON 0.002 s

DependencyVersionTest

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

FieldAnalyzerTest

testAnalyzers 0.081 s

SwiftAnalyzersTest

testSPMGetName 0 s
testSPMResolvedAnalyzerV1 0.006 s
testSPMResolvedAnalyzerV2 0.003 s
testSPMResolvedAnalyzerV3 0.002 s
testCocoaPodsPodfileAnalyzer 0.003 s
testPodsGetName 0 s
testIsEnabledIsTrueByDefault 0.001 s
testCarthageSupportsFiles 0 s
testCarthageGetName 0.001 s
testSPMSupportsFiles 0 s
testPodsSupportsFiles 0.001 s
testCarthageCartfileResolvedAnalyzer 0.002 s
testSPMAnalyzer 0.001 s
testCocoaPodsPodspecAnalyzer 0.005 s

AlphaNumericFilterTest

testRandomStrings 0.300 s
testGarbage 0.010 s
testEmptyTerm 0.007 s
testIncrementToken 0.010 s

VersionFilterAnalyzerTest

testAnalyzeDependencyPomManifest 0.001 s
testGetAnalysisPhase 0.001 s
testGetName 0 s
testAnalyzeDependency 0.001 s
testAnalyzeDependencyFilePom 0.001 s
testAnalyzeDependencyFileManifest 0.001 s
testGetAnalyzerEnabledSettingKey 0 s

CMakeAnalyzerTest

testAnalyzeCMakeInfiniteLoop 0.028 s
testRemoveSelfReferences 0.022 s
testAnalyzeCMakeListsZlib 0.024 s
testAnalyzeCMakeListsOpenCV 0.068 s
testAnalyzeCMakeListsPython 0.027 s
testGetName 0.021 s
testAnalyzeCMakeTempVariable 0.029 s
testAnalyzeCMakeListsOpenCV3rdParty 0.027 s
testAccept 0.021 s
testRemoveSelfReferences2 0.022 s

XPathNuspecParserTest

testGoodDocument 0.025 s
testMissingDocument 0.014 s
testNotNuspec 0.010 s

JarAnalyzerTest

testAnalyze 0.065 s
testGetAnalysisPhase 0 s
testGetName 0.001 s
testAcceptSupportedExtensions 0 s
testClassInformation 0 s
testAnalyzeDependency_SkipsMacOSMetaDataFile 0.011 s
testAddMatchingValues 0.001 s
testParseManifest 0.021 s
testGetAnalyzerEnabledSettingKey 0 s
testAnalyseDependency_SkipsNonZipFile 0.007 s

DateUtilTest

testGetEpochValueInSeconds 0 s
testWithinDateRange 0 s
testParseXmlDate 0 s
testWithinZonedDateRange 0 s

GoModJsonParserTest

testProcess 0.008 s

ModelTest

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

PipfilelockAnalyzerTest

testGetName 0.022 s
testAnalyzePackageLock 0.039 s
testSupportsFiles 0.022 s

LuceneUtilsTest

testAppendEscapedLuceneQuery 0.003 s
testIsKeyword 0.001 s
testEscapeLuceneQuery 0 s
testEscapeLuceneQuery_null 0.001 s
testAppendEscapedLuceneQuery_null 0.001 s

CPEAnalyzerTest

testCollectTerms 0 s
testBuildSearchBlank 0 s
testGetAnalysisPhase 0 s
testGetName 0 s
testAddEvidenceWithoutDuplicateTerms 0 s
testBuildSearch 0 s
testGetAnalyzerEnabledSettingKey 0 s

FalsePositiveAnalyzerTest

testRemoveBadMatches 0.001 s
testGetAnalysisPhase 0 s
testGetName 0 s
testAnalyzeDependency 0.001 s
testGetAnalyzerEnabledSettingKey 0 s

SuppressionRuleTest

testProcessVulnerabilityNames 0.004 s
testCpeHasNoVersion 0.001 s
testCpe 0 s
testCve 0 s
testCwe 0 s
testBase 0.001 s
testSha1 0 s
testCpeMatches 0.001 s
testHasCvssBelow 0 s
testProcess 0.002 s
testGetSha1 0 s
testProcessGAV 0.001 s
testAddCvssBelow 0 s
testFilePath 0 s
testGetCvssBelow 0.001 s
testSetFilePath 0 s
testGetFilePath 0 s
testAddCpe 0 s
testAddCve 0 s
testAddCwe 0 s
testGetCpe 0 s
testGetCve 0 s
testGetCwe 0.001 s
testHasCpe 0 s
testHasCve 0 s
testHasCwe 0 s
testSetCvssBelow 0.001 s
testSetSha1 0 s
testSetCpe 0 s
testSetCve 0.001 s
testSetCwe 0 s

EvidenceMatcherTest

testRegExWildcardSourceWildcardConfidenceFourMatching 0 s
testRegExWildcardSourceMatching 0 s
testRegExMatching 0 s
testRegExWildcardSourceWildcardConfidenceMatching 0 s
testWildcardConfidenceMatching 0 s
testExactMatching 0.001 s
testWildcardSourceMatching 0 s

CpeMemoryIndexTest

testGetDocument 1.853 s
testParseQuery 0.029 s
testSearch_String_int 0.770 s
testIsOpen 0.352 s
testNumDocs 0.022 s
testGetInstance 0.022 s
testSearch_Query_int 0.024 s

NpmCPEAnalyzerTest

testGetName 0.023 s
testGetAnalyzerEnabledSettingKey 0.022 s

NugetconfAnalyzerTest

testSupportedFileNames 0 s
testNugetconfAnalysis 0.027 s
testGetAnalyzerName 0 s

ComposerLockAnalyzerTest

testGetName 0.017 s
testAnalyzePackageJson 0.047 s
testSupportsFiles 0.022 s

DatabaseManagerTest

testInitialize 0.126 s

NpmPayloadBuilderTest

testSanitizer 0.007 s
testSkippedDependencies 0.002 s
testSanitizePackage 0.225 s
testPayloadWithLockAndPackage 0.098 s

DependencyVersionUtilTest

testParseVersion_String_boolean 0 s
testParsePreVersion 0 s
testParseVersion_String 0 s

DependencyMergingAnalyzerTest

testGetAnalysisPhase 0 s
testGetName 0 s
testMergeDependencies 0 s
testEvaluateDependencies 0 s
testIsSameSwiftPackage 0 s
testGetMainDotnetDependency 0.009 s
testGetMainAndroidDependency 0.045 s
testGetMainSwiftDependency 0.001 s
testGetAnalyzerEnabledSettingKey 0 s
testIsSameRubyGem 0 s
testGetMainGemspecDependency 0 s

InterpolationUtilTest

testInterpolateMSBuild 0 s
testInterpolateNonexistentErasedMSBuild 0 s
testInterpolateNonexistentErased 0 s
testInterpolate 0 s

XmlInputStreamTest

testToString 0 s
testRead_0args 0.001 s
testRead_3args 0 s
testLength 0 s

OpenSSLAnalyzerTest

testGetName 0 s
testVersionConstantExamples 0 s
testOpenSSLVersionHeaderFile 0 s
testAccept 0 s

DescriptionEcosystemMapperTest

testJspLinksDoNotCountScoring 0.014 s
testSubsetFileExtensionsDoNotMatch 0.003 s
testPhpLinksDoNotCountScoring 0.001 s
testSubsetKeywordsDoNotMatch 0.002 s
testDescriptionEcosystemMapper 0.004 s
testScoring 0.002 s

EscapeToolTest

testCsvCpeConfidence 0.012 s
testCsv 0 s
testUrl 0 s
testXml 0.001 s
testHtml 0 s
testJson 0 s
testCsvIdentifiers 0 s

RubyBundlerAnalyzerTest

testGetName 0 s
testAnalyzeGemspec 0 s
testSupportsFiles 0 s

SuppressionParserTest

testParseSuppressionRulesV1dot0 0.004 s
testParseSuppressionRulesV1dot1 0.008 s
testParseSuppressionRulesV1dot2 0.192 s
testParseSuppressionRulesV1dot3 0.008 s

AssemblyAnalyzerTest

testGetName 0.476 s
testAnalysis 0.514 s
testWithSettingMono 0.262 s
testNonexistent 0.462 s
testLog4Net 0.514 s

PnpmAuditAnalyzerTest

testNpmAuditParserCompatibility 0.001 s
testSupportsFiles 0 s

NuspecAnalyzerTest

testSupportsFileExtensions 0 s
testNuspecAnalysis 0.008 s
testGetAnalysisPhaze 0 s
testGetAnalyzerName 0.001 s

PropertyTypeTest

testSetGetValue 0.001 s
testMatches 0 s
testIsRegex 0.001 s
testIsCaseSensitive 0 s

DartAnalyzerTest

testDartPubspecLockAnalyzer 0.066 s
testDartPubspecYamlAnalyzer 0.011 s
testDartAnalyzerGetName 0 s
testIsEnabledIsTrueByDefault 0.001 s
testAnalyzerSupportsFiles 0.001 s
testDartPubspecYamlAnalyzerAddressbook 0.003 s

FileNameAnalyzerTest

testAnalyze 0.019 s
testClose 0.001 s
testGetAnalysisPhase 0.001 s
testGetName 0 s
testInitialize 0.001 s

KnownExploitedVulnerabilityParserTest

testParse 0.122 s

UrlTokenizingFilterTest

testEmptyTerm 0.008 s
testRandomStrings 0.196 s
testExamples 0.006 s

AbstractFileTypeAnalyzerTest

testNewHashSet 0 s

EvidenceTest

testCompareTo 0 s
testHashcodeContract 0 s
testEquals 0 s

NodePackageAnalyzerTest

testPackageLockV2 0.043 s
testPackageLockV3 0.013 s
testAnalyzePackageJsonWithShrinkwrap 0.024 s
testGetName 0.007 s
testLocalPackageDependency 0.010 s
testAnalyzeShrinkwrapJson 0.015 s
testWithoutLock 0.010 s
testSupportsFiles 0.007 s

SemverTest

testSemverComplex 0 s
testSemver 0 s

RetireJsAnalyzerFiltersTest

testFilters 2.348 s

MavenArtifactTest

getPomUrl 0.004 s
getPomUrlWithQualifier 0.001 s

PipAnalyzerTest

testGetName 0.020 s
testAnalyzePackageJson 0.029 s
testSupportsFiles 0.022 s

ArtifactorySearchTest

shouldProcessCorrectlyArtifactoryAnswerWithoutSha256 1.436 s
shouldProcessCorrectlyArtifactoryAnswerWithMultipleMatches 0.011 s
shouldProcessCorrectlyArtifactoryAnswerMisMatchSha256 0.022 s
shouldFailWhenHostUnknown 0.102 s
shouldProcessCorrectlyArtifactoryAnswerMisMatchMd5 0.009 s
shouldProcessCorrectlyArtifactoryAnswerMisMatchSha1 0.008 s
shouldHandleNoMatches 0.025 s
shouldThrowExceptionWhenPatternCannotBeParsed 0.007 s
shouldProcessCorrectlyArtifactoryAnswer 0.007 s

ArchiveAnalyzerTest

testRpmExtension 0 s
testZippableExtensions 0 s

CweSetTest

testGetFullCwes 0 s
testGetEntries 0 s
testToString 0 s
testAddCwe 0.001 s
testStream 0 s

PomProjectInputStreamTest

testFindSequence 0 s
testFilter 0 s

PoetryAnalyzerTest

testName 0.002 s
testPoetryLock 0.091 s
testPoetryToml 0.002 s
testPyprojectToml 0.003 s
testSupportsFiles 0.001 s

HintAnalyzerTest

testAnalyze 1.663 s
testAnalyze_1 0.056 s
testGetAnalysisPhase 0.022 s
testGetName 0.022 s

NvdApiDataSourceTest

testExtractUrlData 0.007 s

GrokHandlerTest

testHandler 0 s

PomUtilsTest

testReadPom_should_trim_version 0.002 s
testReadPom_String_File 0.006 s
testReadPom_File 0.024 s

PyPACoreMetadataParserTest

getProperties_should_support_colon_in_headerValue 0 s
getProperties_should_throw_exception_for_too_large_major 0 s
getProperties_should_support_folding_in_headerValue 0 s
getProperties_should_properly_parse_multiline_description 0 s
getProperties_should_support_newer_minors 0 s

PipfileAnalyzerTest

testGetName 0.019 s
testAnalyzePackageJson 0.046 s
testSupportsFiles 0.022 s

VulnerableSoftwareTest

testCompareTo 0 s
testcompareUpdateAttributes 0.002 s
testCompareVersionRange 0.002 s
testEquals 0 s

NvdApiProcessorTest

processValidStructure 0.143 s
doesNotExistFile 0.043 s
unspecifiedFileName 0.034 s
invalidFileContent 0.044 s

HintParserTest

testParseHintsXSDSelection 0.008 s
testParseHints_File 0.006 s
testParseHints_InputStream 0.006 s
testParseHintsWithRegex 0.006 s

DependencyCheckPropertiesTest

should_each_analyzer_have_default_enabled_property 0.059 s

PinnedMavenInstallAnalyzerTest

testAnalyzeOtherInstallJson 0.025 s
testAnalyzePinnedInstallJsonV2 0.068 s
testGetName 0.021 s
testAnalyzePinnedInstallJsonV010 0.032 s
testSupportsFiles 0.022 s

TokenPairConcatenatingFilterTest

testEmptyTerm 0.028 s

HintHandlerTest

testHandler 0 s

CweDBTest

testGetFullName 0.028 s
testGetName 0.001 s

EngineTest

testScanFile 2.206 s

DependencyTest

testGetSha1sum 0.027 s
testGetSoftwareIdentifiers 0 s
testAddAsEvidenceWithExisting 0.013 s
testGetActualFilePath 0 s
testAddAsEvidence 0 s
testAddAsEvidenceWithEmptyArtifact 0.001 s
testSetSha256sum 0.001 s
testAddSoftwareIdentifiers 0.001 s
testSetSha1sum 0 s
testSetFileName 0 s
testSetFilePath 0.001 s
testGetFileName 0 s
testGetFilePath 0.001 s
testSetMd5sum 0 s
testGetMd5sum 0.001 s
testAddVulnerableSoftwareIdentifier 0.008 s
testGetEvidence 0.001 s
testGetSha256sum 0 s
testSetActualFilePath 0.001 s

XmlEntityTest

testFromNamedReference 0 s

SuppressionHandlerTest

testHandler 0.002 s

DependencyCheckBaseSuppressionTest

testAllSuppressionsHaveBaseAttribute 0.108 s

DriverLoaderTest

testLoad_String 0.003 s
testLoad_String_ex 0.001 s
testLoad_String_String_badClassName 0.005 s
testLoad_String_String_badPath 0.001 s
testLoad_String_String 0.029 s
testLoad_String_String_multiple_paths 0.013 s

FilterTest

testFilter_Iterable 0 s
testPasses 0 s

PythonDistributionAnalyzerTest

testAnalyzeEggFolder 0.002 s
testGetName 0 s
testAnalyzeEggArchive 0.048 s
testAnalyzeEggArchiveNamedZip 0.004 s
testAnalyzeWheel 0.005 s
testAnalyzeEggInfoFolder 0.001 s
testAnalyzeSitePackage 0.001 s
testSupportsFiles 0.001 s

PythonPackageAnalyzerTest

testAnalyzeSourceMetadata 0 s
testGetName 0 s
testSupportsFileExtension 0 s

GolangModAnalyzerTest

testGoMod 0.116 s
testName 0.001 s
testSupportsFiles 0.001 s

AutoconfAnalyzerTest

testAnalyzeReadableConfigureScript 0 s
testGetName 0.001 s
testSupportsFileExtension 0 s
testAnalyzeConfigureScript 0.006 s
testAnalyzeConfigureAC1 0.001 s
testAnalyzeConfigureAC2 0 s

OssIndexAnalyzerTest

should_analyzeDependency_only_warn_when_transport_error_from_sonatype 0.035 s
should_enrich_be_included_in_mutex_to_prevent_NPE 0.569 s
should_analyzeDependency_only_warn_when_socket_error_from_sonatype 0.005 s
should_analyzeDependency_fail_when_socket_error_from_sonatype 0.003 s
should_analyzeDependency_return_a_dedicated_error_message_when_403_response_from_sonatype 0.001 s

CpeEcosystemCacheTest

testGetEcosystem 0.002 s
testGetChanged 0 s
testIsEmpty 0 s
testSetCache 0 s

PEAnalyzerTest

testGetName 0 s
testAnalysis 0.015 s

GolangDepAnalyzerTest

testGopkgLock 0.100 s
testName 0 s
testSupportsFiles 0.001 s

YarnAuditAnalyzerTest

testGetName 0 s
testSupportsFiles 0 s

CveItemOperatorTest

testTestCveCpeStartWithFilter 0.002 s

PomParserTest

testParse_File 0 s
testParseWithoutDocTypeCleanup_InputStream 0.002 s
testParse_InputStream 0.002 s
testParseWithoutDocTypeCleanup_InputStreamWithDocType 0.003 s
testParseWithoutDocTypeCleanup 0.005 s
testParse_InputStreamWithDocType 0.002 s
testParseWithoutDocTypeCleanup_WithDocType 0.006 s

PerlCpanfileAnalyzerTest

testGetAnalysisPhase 0 s
testGetName 0.001 s
testProcessFileContents 0.004 s
testProcessDefaultZero 0.002 s
testPrepareContent 0.002 s
testProcessSingleFileContents 0.002 s
testGetAnalyzerEnabledSettingKey 0.001 s

EngineVersionCheckTest

testShouldUpdate 0.435 s
testGetCurrentReleaseVersion 0.008 s

GrokParserTest

testParseSuppressionRulesV1dot0 0.005 s

MixAuditJsonParserTest

testSingleResult 0.017 s
testEmptyResult 0.001 s

Failure Details

[Summary] [Package List] [Test Cases]


testNullSha1
- skipped: skipped
testMalformedSha1
- skipped: skipped
testValidSha1
- skipped: skipped
testMissingSha1
- skipped: skipped
testNullSha1
- skipped: skipped
testMalformedSha1
- skipped: skipped
testValidSha1
- skipped: skipped
testMissingSha1
- skipped: skipped