mirror of
https://github.com/ysoftdevs/DependencyCheck.git
synced 2026-03-18 07:14:09 +01:00
version 1.1.0
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
<!DOCTYPE html>
|
||||
<!--
|
||||
| Generated by Apache Maven Doxia at 2014-01-16
|
||||
| Generated by Apache Maven Doxia at 2014-01-26
|
||||
| Rendered using Apache Maven Fluido Skin 1.3.0
|
||||
-->
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<meta name="Date-Revision-yyyymmdd" content="20140116" />
|
||||
<meta name="Date-Revision-yyyymmdd" content="20140126" />
|
||||
<meta http-equiv="Content-Language" content="en" />
|
||||
<title>dependency-check-core - CPD Results</title>
|
||||
<link rel="stylesheet" href="./css/apache-maven-fluido-1.3.0.min.css" />
|
||||
@@ -54,7 +54,7 @@
|
||||
|
||||
|
||||
<li class="">
|
||||
<a href="../../../../../../../../../../../../c:/Users/jeremy/Documents/NetBeansProjects/DependencyCheck/target/site/1.0.8/#" title="">
|
||||
<a href="../../../../../../../../../../../../c:/Users/jeremy/Documents/NetBeansProjects/DependencyCheck/target/site/1.1.0/#" title="">
|
||||
</a>
|
||||
</li>
|
||||
<li class="divider ">/</li>
|
||||
@@ -67,8 +67,8 @@
|
||||
|
||||
|
||||
|
||||
<li id="publishDate" class="pull-right">Last Published: 2014-01-16</li> <li class="divider pull-right">|</li>
|
||||
<li id="projectVersion" class="pull-right">Version: 1.0.8</li>
|
||||
<li id="publishDate" class="pull-right">Last Published: 2014-01-26</li> <li class="divider pull-right">|</li>
|
||||
<li id="projectVersion" class="pull-right">Version: 1.1.0</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
@@ -88,7 +88,7 @@
|
||||
<i class="icon-chevron-right"></i>
|
||||
Project Information</a>
|
||||
</li>
|
||||
|
||||
|
||||
<li>
|
||||
|
||||
<a href="project-reports.html" title="Project Reports">
|
||||
@@ -184,6 +184,13 @@
|
||||
<i class="none"></i>
|
||||
FindBugs Report</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
|
||||
<a href="javancss.html" title="JavaNCSS Report">
|
||||
<i class="none"></i>
|
||||
JavaNCSS Report</a>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
@@ -220,7 +227,92 @@
|
||||
<p>The following document contains the results of PMD's <a class="externalLink" href="http://pmd.sourceforge.net/cpd.html">CPD</a> 5.0.2.</p></div>
|
||||
<div class="section">
|
||||
<h2>Duplications<a name="Duplications"></a></h2>
|
||||
<p>CPD found no problems in your source code.</p></div>
|
||||
<table border="0" class="table table-striped">
|
||||
<tr class="a">
|
||||
<th>File</th>
|
||||
<th>Line</th></tr>
|
||||
<tr class="b">
|
||||
<td>org\owasp\dependencycheck\analyzer\JarAnalyzer.java</td>
|
||||
<td><a href="./xref/org/owasp/dependencycheck/analyzer/JarAnalyzer.html#580">580</a></td></tr>
|
||||
<tr class="a">
|
||||
<td>org\owasp\dependencycheck\analyzer\JarAnalyzer.java</td>
|
||||
<td><a href="./xref/org/owasp/dependencycheck/analyzer/JarAnalyzer.html#1195">1195</a></td></tr>
|
||||
<tr class="b"><td colspan='2'>
|
||||
<div>
|
||||
<pre> addMatchingValues(classes, description, dependency.getProductEvidence());
|
||||
}
|
||||
}
|
||||
|
||||
//license
|
||||
if (pom.getLicenses() != null) {
|
||||
String license = null;
|
||||
for (License lic : pom.getLicenses().getLicense()) {
|
||||
String tmp = null;
|
||||
if (lic.getName() != null) {
|
||||
tmp = interpolateString(lic.getName(), pomProperties);
|
||||
}
|
||||
if (lic.getUrl() != null) {
|
||||
if (tmp == null) {
|
||||
tmp = interpolateString(lic.getUrl(), pomProperties);
|
||||
} else {
|
||||
tmp += ": " + interpolateString(lic.getUrl(), pomProperties);
|
||||
}
|
||||
}
|
||||
if (tmp == null) {
|
||||
continue;
|
||||
}
|
||||
if (HTML_DETECTION_PATTERN.matcher(tmp).find()) {
|
||||
tmp = Jsoup.parse(tmp).text();
|
||||
}
|
||||
if (license == null) {
|
||||
license = tmp;
|
||||
} else {
|
||||
license += "\n" + tmp;
|
||||
}
|
||||
}
|
||||
if (license != null) {
|
||||
dependency.setLicense(license);
|
||||
}
|
||||
}</pre></div></td></tr></table>
|
||||
<table border="0" class="table table-striped">
|
||||
<tr class="a">
|
||||
<th>File</th>
|
||||
<th>Line</th></tr>
|
||||
<tr class="b">
|
||||
<td>org\owasp\dependencycheck\analyzer\ArchiveAnalyzer.java</td>
|
||||
<td><a href="./xref/org/owasp/dependencycheck/analyzer/ArchiveAnalyzer.html#132">132</a></td></tr>
|
||||
<tr class="a">
|
||||
<td>org\owasp\dependencycheck\analyzer\JarAnalyzer.java</td>
|
||||
<td><a href="./xref/org/owasp/dependencycheck/analyzer/JarAnalyzer.html#887">887</a></td></tr>
|
||||
<tr class="b"><td colspan='2'>
|
||||
<div>
|
||||
<pre> @Override
|
||||
public void initialize() throws Exception {
|
||||
final File baseDir = Settings.getTempDirectory();
|
||||
if (!baseDir.exists()) {
|
||||
if (!baseDir.mkdirs()) {
|
||||
final String msg = String.format("Unable to make a temporary folder '%s'", baseDir.getPath());
|
||||
throw new AnalysisException(msg);
|
||||
}
|
||||
}
|
||||
tempFileLocation = File.createTempFile("check", "tmp", baseDir);
|
||||
if (!tempFileLocation.delete()) {
|
||||
final String msg = String.format("Unable to delete temporary file '%s'.", tempFileLocation.getAbsolutePath());
|
||||
throw new AnalysisException(msg);
|
||||
}
|
||||
if (!tempFileLocation.mkdirs()) {
|
||||
final String msg = String.format("Unable to create directory '%s'.", tempFileLocation.getAbsolutePath());
|
||||
throw new AnalysisException(msg);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* The close method does nothing for this Analyzer.
|
||||
*
|
||||
* @throws Exception thrown if there is an exception deleting temporary files
|
||||
*/
|
||||
@Override
|
||||
public void close() throws Exception {</pre></div></td></tr></table></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user