## dependency-check-core

## Surefire Report

## Summary

[Summary] [Package List] [Test Cases]

Tests | Errors | Failures | Skipped | Success Rate | Time
--- | --- | --- | --- | --- | ---
125 | 0 | 0 | 0 | 100% | 59.712

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% | 28.466
org.owasp.dependencycheck.data.cwe | 1 | 0 | 0 | 0 | 100% | 0
org.owasp.dependencycheck.dependency | 23 | 0 | 0 | 0 | 100% | 0.001
org.owasp.dependencycheck.utils | 29 | 0 | 0 | 0 | 100% | 0.082
org.owasp.dependencycheck.concurrency | 3 | 0 | 0 | 0 | 100% | 9.507
org.owasp.dependencycheck.analyzer | 29 | 0 | 0 | 0 | 100% | 15.018
org.owasp.dependencycheck.data.update | 21 | 0 | 0 | 0 | 100% | 3.779
org.owasp.dependencycheck.data.nvdcve | 5 | 0 | 0 | 0 | 100% | 1.502
org.owasp.dependencycheck.data.lucene | 10 | 0 | 0 | 0 | 100% | 1.357
org.owasp.dependencycheck.data.cpe | 2 | 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% | 28.466

### org.owasp.dependencycheck.data.cwe

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

### org.owasp.dependencycheck.dependency

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

### org.owasp.dependencycheck.utils

| Class | Tests | Errors | Failures | Skipped | Success Rate | Time
--- | --- | --- | --- | --- | --- | --- | ---
| ChecksumTest | 6 | 0 | 0 | 0 | 100% | 0.042
| DependencyVersionTest | 7 | 0 | 0 | 0 | 100% | 0.04
| 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.concurrency

| Class | Tests | Errors | Failures | Skipped | Success Rate | Time
--- | --- | --- | --- | --- | --- | --- | ---
| DirectorySpinLockTest | 3 | 0 | 0 | 0 | 100% | 9.507

### org.owasp.dependencycheck.analyzer

| Class | Tests | Errors | Failures | Skipped | Success Rate | Time
--- | --- | --- | --- | --- | --- | --- | ---
| AbstractAnalyzerTest | 1 | 0 | 0 | 0 | 100% | 0.024
| AnalyzerServiceTest | 1 | 0 | 0 | 0 | 100% | 0.516
| ArchiveAnalyzerTest | 10 | 0 | 0 | 0 | 100% | 5.631
| CPEAnalyzerTest | 5 | 0 | 0 | 0 | 100% | 7.492
| FileNameAnalyzerTest | 7 | 0 | 0 | 0 | 100% | 0.037
| JarAnalyzerTest | 5 | 0 | 0 | 0 | 100% | 1.318

### org.owasp.dependencycheck.data.update

| Class | Tests | Errors | Failures | Skipped | Success Rate | Time
--- | --- | --- | --- | --- | --- | --- | ---
| AbstractUpdateTaskTest | 4 | 0 | 0 | 0 | 100% | 0.252
| BatchUpdateTaskTest | 2 | 0 | 0 | 0 | 100% | 3.527
| DataStoreMetaInfoTest | 5 | 0 | 0 | 0 | 100% | 0
| NvdCveInfoTest | 5 | 0 | 0 | 0 | 100% | 0
| UpdateableTest | 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% | 1.154
| NvdCve_1_2_HandlerTest | 1 | 0 | 0 | 0 | 100% | 0.052
| NvdCve_2_0_HandlerTest | 1 | 0 | 0 | 0 | 100% | 0.296

### org.owasp.dependencycheck.data.lucene

| Class | Tests | Errors | Failures | Skipped | Success Rate | Time
--- | --- | --- | --- | --- | --- | --- | ---
| FieldAnalyzerTest | 1 | 0 | 0 | 0 | 100% | 0.104
| LuceneUtilsTest | 4 | 0 | 0 | 0 | 100% | 0
| TokenPairConcatenatingFilterTest | 2 | 0 | 0 | 0 | 100% | 0.059
| UrlTokenizingFilterTest | 3 | 0 | 0 | 0 | 100% | 1.194

### org.owasp.dependencycheck.data.cpe

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

## Test Cases

[Summary] [Package List] [Test Cases]

### AbstractAnalyzerTest

| testNewHashSet | 0.024

### AnalyzerServiceTest

| testGetAnalyzers | 0.516

### ArchiveAnalyzerTest

| testAnalyzeTar | 0.256
| testAnalyzeTgz | 2.259
| testAnalyze | 0.279
| testGetAnalysisPhase | 0.001
| testGetName | 0
| testAnalyze_badZip | 0.008
| testInitialize | 0
| testAnalyzeTarGz | 2.828
| testSupportsExtension | 0
| testGetSupportedExtensions | 0

### CPEAnalyzerTest

| testSearchCPE | 1.636
| testDetermineCPE | 1.769
| testOpen | 0.163
| testDetermineCPE_full | 3.923
| testBuildSearch | 0.001

### FileNameAnalyzerTest

| testAnalyze | 0.036
| testClose | 0
| testGetAnalysisPhase | 0
| testGetName | 0
| testInitialize | 0
| testSupportsExtension | 0
| testGetSupportedExtensions | 0.001

### JarAnalyzerTest

| testAnalyze | 0.289
| testGetName | 0.213
| testInterpolateString | 0.349
| testSupportsExtension | 0.245
| testGetSupportedExtensions | 0.222

### DirectorySpinLockTest

| testObtainSharedLock | 2.003
| testObtainSharedLock_withContention | 6.001
| testObtainExclusiveLock | 1.503

### BaseIndexTest

| testGetDataDirectory | 0

### IndexEntryTest

| testSetName | 0

### CweDBTest

| testGetCweName | 0

### FieldAnalyzerTest

| testAnalyzers | 0.104

### LuceneUtilsTest

| testAppendEscapedLuceneQuery | 0
| testEscapeLuceneQuery | 0
| testEscapeLuceneQuery_null | 0
| testAppendEscapedLuceneQuery_null | 0

### TokenPairConcatenatingFilterTest

| testClear | 0.041
| testExamples | 0.018

### UrlTokenizingFilterTest

| testRandomStrings | 1.194
| testExamples | 0
| testEmptyTerm | 0

### CveDBTest

| testOpen | 0.356
| testGetCPEs | 0.267
| testGetVulnerabilities | 0.531

### NvdCve_1_2_HandlerTest

| testParse | 0.052

### NvdCve_2_0_HandlerTest

| testParse | 0.296

### AbstractUpdateTaskTest

| testOpenDataStores | 0.197
| testSetDeleteAndRecreate | 0
| testWithinRange | 0.001
| testDeleteExistingData | 0.054

### BatchUpdateTaskTest

| testSetDoBatchUpdate | 0.194
| testUpdate | 3.333

### DataStoreMetaInfoTest

| testIsBatchUpdateMode | 0
| testSave | 0
| testGetPropertiesFile | 0
| testGetProperty_String_String | 0
| testIsEmpty | 0

### NvdCveInfoTest

| testSetGetTimestamp | 0
| testSetGetNeedsUpdate | 0
| testSetGetOldSchemaVersionUrl | 0
| testSetGetUrl | 0
| testSetGetId | 0

### UpdateableTest

| testClear | 0
| testAdd_3args | 0
| testAdd_4args | 0
| testIsUpdateNeeded | 0
| testIterator | 0

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

### VulnerableSoftwareTest

| testCompareTo | 0
| testHashCode | 0
| testEquals | 0.001

### ReportGeneratorTest

| testGenerateXMLReport | 28.466
| testGenerateReport | 0

### ChecksumTest

| testGetChecksum_NoSuchAlgorithm | 0.042
| testGetChecksum | 0
| testGetMD5Checksum | 0
| testGetChecksum_FileNotFound | 0
| testGetHex | 0
| testGetSHA1Checksum | 0

### DependencyVersionTest

| testMatchesAtLeastThreeLevels | 0
| testToString | 0
| testCompareTo | 0.04
| 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
| testGetFile | 0
| testGetLong | 0
| testGetBoolean | 0
| testRemoveProperty | 0
| testSetString | 0
| testGetInt | 0
| testGetString_String | 0
| testGetString | 0
| testGetString_String_String | 0