mirror of
https://github.com/ysoftdevs/DependencyCheck.git
synced 2026-01-15 16:23:37 +01:00
336 lines
12 KiB
HTML
336 lines
12 KiB
HTML
<!DOCTYPE html>
|
|
<!--
|
|
| Generated by Apache Maven Doxia at 2014-01-30
|
|
| 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="20140130" />
|
|
<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" />
|
|
<link rel="stylesheet" href="./css/site.css" />
|
|
<link rel="stylesheet" href="./css/print.css" media="print" />
|
|
|
|
|
|
<script type="text/javascript" src="./js/apache-maven-fluido-1.3.0.min.js"></script>
|
|
|
|
|
|
|
|
<style type="text/css">#bannerLeft { margin-top:50px !important }</style>
|
|
|
|
</head>
|
|
<body class="topBarDisabled">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a href="http://github.com/jeremylong/DependencyCheck">
|
|
<img style="position: absolute; top: 0; right: 0; border: 0; z-index: 10000;"
|
|
src="https://s3.amazonaws.com/github/ribbons/forkme_right_gray_6d6d6d.png"
|
|
alt="Fork me on GitHub">
|
|
</a>
|
|
|
|
|
|
|
|
|
|
<div class="container-fluid">
|
|
<div id="banner">
|
|
<div class="pull-left">
|
|
<div id="bannerLeft">
|
|
<h2>dependency-check-core</h2>
|
|
</div>
|
|
</div>
|
|
<div class="pull-right"> </div>
|
|
<div class="clear"><hr/></div>
|
|
</div>
|
|
|
|
<div id="breadcrumbs">
|
|
<ul class="breadcrumb">
|
|
|
|
|
|
<li class="">
|
|
<a href="../../../../../../../../../../../../c:/Users/jeremy/Documents/NetBeansProjects/DependencyCheck/target/site/1.1.1/#" title="">
|
|
</a>
|
|
</li>
|
|
<li class="divider ">/</li>
|
|
<li class="">
|
|
<a href="../index.html" title="dependency-check">
|
|
dependency-check</a>
|
|
</li>
|
|
<li class="divider ">/</li>
|
|
<li class="">CPD Results</li>
|
|
|
|
|
|
|
|
<li id="publishDate" class="pull-right">Last Published: 2014-01-30</li> <li class="divider pull-right">|</li>
|
|
<li id="projectVersion" class="pull-right">Version: 1.1.1</li>
|
|
|
|
</ul>
|
|
</div>
|
|
|
|
|
|
<div class="row-fluid">
|
|
<div id="leftColumn" class="span3">
|
|
<div class="well sidebar-nav">
|
|
|
|
|
|
<ul class="nav nav-list">
|
|
<li class="nav-header">Project Documentation</li>
|
|
|
|
<li>
|
|
|
|
<a href="project-info.html" title="Project Information">
|
|
<i class="icon-chevron-right"></i>
|
|
Project Information</a>
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<a href="project-reports.html" title="Project Reports">
|
|
<i class="icon-chevron-down"></i>
|
|
Project Reports</a>
|
|
<ul class="nav nav-list">
|
|
|
|
<li>
|
|
|
|
<a href="apidocs/index.html" title="JavaDocs">
|
|
<i class="none"></i>
|
|
JavaDocs</a>
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<a href="dependency-updates-report.html" title="Dependency Updates Report">
|
|
<i class="none"></i>
|
|
Dependency Updates Report</a>
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<a href="plugin-updates-report.html" title="Plugin Updates Report">
|
|
<i class="none"></i>
|
|
Plugin Updates Report</a>
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<a href="xref-test/index.html" title="Test Source Xref">
|
|
<i class="none"></i>
|
|
Test Source Xref</a>
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<a href="xref/index.html" title="Source Xref">
|
|
<i class="none"></i>
|
|
Source Xref</a>
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<a href="cobertura/index.html" title="Cobertura Test Coverage">
|
|
<i class="none"></i>
|
|
Cobertura Test Coverage</a>
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<a href="surefire-report.html" title="Surefire Report">
|
|
<i class="none"></i>
|
|
Surefire Report</a>
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<a href="failsafe-report.html" title="Failsafe Report">
|
|
<i class="none"></i>
|
|
Failsafe Report</a>
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<a href="taglist.html" title="Tag List">
|
|
<i class="none"></i>
|
|
Tag List</a>
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<a href="checkstyle.html" title="Checkstyle">
|
|
<i class="none"></i>
|
|
Checkstyle</a>
|
|
</li>
|
|
|
|
<li class="active">
|
|
|
|
<a href="#"><i class="none"></i>CPD Report</a>
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<a href="pmd.html" title="PMD Report">
|
|
<i class="none"></i>
|
|
PMD Report</a>
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<a href="findbugs.html" title="FindBugs Report">
|
|
<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>
|
|
|
|
|
|
|
|
<hr class="divider" />
|
|
|
|
<div id="poweredBy">
|
|
<div class="clear"></div>
|
|
<div class="clear"></div>
|
|
|
|
|
|
|
|
<div id="twitter">
|
|
|
|
<a href="https://twitter.com/ctxt" class="twitter-follow-button" data-show-count="true" data-align="left" data-size="medium" data-show-screen-name="true" data-lang="en">Follow ctxt</a>
|
|
<script type="text/javascript">!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
|
|
|
|
</div>
|
|
<div class="clear"></div>
|
|
<a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy">
|
|
<img class="builtBy" alt="Built by Maven" src="./images/logos/maven-feather.png" />
|
|
</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div id="bodyColumn" class="span9" >
|
|
|
|
<div class="section">
|
|
<h2>CPD Results<a name="CPD_Results"></a></h2>
|
|
<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>
|
|
<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#139">139</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>
|
|
|
|
<hr/>
|
|
|
|
<footer>
|
|
<div class="container-fluid">
|
|
<div class="row span12">Copyright © 2012-2014
|
|
<a href="http://www.owasp.org">OWASP</a>.
|
|
All Rights Reserved.
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
</footer>
|
|
</body>
|
|
</html>
|