You are viewing a plain text version of this content. The canonical link for it is here.
Posted to site-dev@james.apache.org by rd...@apache.org on 2011/05/08 18:36:15 UTC
svn commit: r1100764 - /james/site/trunk/www/mailet/ai/
Author: rdonkin
Date: Sun May 8 16:36:14 2011
New Revision: 1100764
URL: http://svn.apache.org/viewvc?rev=1100764&view=rev
Log:
JAMES-1231 Added back in PMD report.
Added:
james/site/trunk/www/mailet/ai/cpd.html (with props)
james/site/trunk/www/mailet/ai/cpd.xml (with props)
james/site/trunk/www/mailet/ai/pmd.html (with props)
james/site/trunk/www/mailet/ai/pmd.xml (with props)
Modified:
james/site/trunk/www/mailet/ai/dependency-convergence.html
james/site/trunk/www/mailet/ai/dependency-management.html
james/site/trunk/www/mailet/ai/integration.html
james/site/trunk/www/mailet/ai/issue-tracking.html
james/site/trunk/www/mailet/ai/license.html
james/site/trunk/www/mailet/ai/mail-lists.html
james/site/trunk/www/mailet/ai/modules.html
james/site/trunk/www/mailet/ai/project-info.html
james/site/trunk/www/mailet/ai/project-reports.html
james/site/trunk/www/mailet/ai/project-summary.html
james/site/trunk/www/mailet/ai/rat-report.html
james/site/trunk/www/mailet/ai/source-repository.html
james/site/trunk/www/mailet/ai/surefire-report.html
james/site/trunk/www/mailet/ai/team-list.html
Added: james/site/trunk/www/mailet/ai/cpd.html
URL: http://svn.apache.org/viewvc/james/site/trunk/www/mailet/ai/cpd.html?rev=1100764&view=auto
==============================================================================
--- james/site/trunk/www/mailet/ai/cpd.html (added)
+++ james/site/trunk/www/mailet/ai/cpd.html Sun May 8 16:36:14 2011
@@ -0,0 +1,237 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<!-- Generated by Apache Maven Doxia at May 8, 2011 -->
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+ <head>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <title>Apache JAMES AI - CPD Results</title>
+ <style type="text/css" media="all">
+ @import url("./css/james.css");
+ @import url("./css/maven-base.css");
+ @import url("./css/maven-theme.css");
+ @import url("./css/site.css");
+ @import url("./js/jquery/css/custom-theme/jquery-ui-1.8.5.custom.css");
+ @import url("./js/jquery/css/print.css");
+ </style>
+ <script type="text/javascript" src="./js/jquery/js/jquery-1.4.2.min.js"></script>
+ <script type="text/javascript" src="./js/jquery/js/jquery-ui-1.8.5.custom.min.js"></script>
+ <link rel="stylesheet" href="./css/print.css" type="text/css" media="print" />
+ <meta name="Date-Revision-yyyymmdd" content="20110508" />
+ <meta http-equiv="Content-Language" content="en" />
+
+ <!-- Google Analytics -->
+ <script type="text/javascript">
+
+ var _gaq = _gaq || [];
+ _gaq.push(['_setAccount', 'UA-1384591-1']);
+ _gaq.push(['_trackPageview']);
+
+ (function() {
+ var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
+ ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
+ var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
+ })();
+
+ </script>
+ </head>
+ <body class="composite">
+ <div id="banner">
+ <a href="http://james.apache.org/mailet/ai/index.html" id="bannerLeft" title="james-ai-mailets-logo.png">
+
+
+ <img src="images/logos/james-ai-mailets-logo.png" alt="JAMES Artificial intelligence Mailets" />
+ </a>
+ <a href="http://www.apache.org/index.html" id="bannerRight">
+
+
+ <img src="images/logos/asf-logo-reduced.gif" alt="The Apache Software Foundation" />
+ </a>
+ <div class="clear">
+ <hr/>
+ </div>
+ </div>
+ <div id="breadcrumbs">
+
+
+ <div class="xleft">
+ <span id="publishDate">Last Published: 2011-05-08</span>
+ </div>
+ <div class="xright"> <a href="http://james.apache.org/index.html" class="externalLink" title="Home">Home</a>
+ |
+ <a href="http://james.apache.org/server/index.html" class="externalLink" title="Server">Server</a>
+ |
+ <a href="http://james.apache.org/hupa/index.html" class="externalLink" title="Hupa">Hupa</a>
+ |
+ <a href="http://james.apache.org/protocols/index.html" class="externalLink" title="Protocols">Protocols</a>
+ |
+ <a href="http://james.apache.org/imap/index.html" class="externalLink" title="IMAP">IMAP</a>
+ |
+ <a href="http://james.apache.org/mailet/index.html" class="externalLink" title="Mailets">Mailets</a>
+ |
+ <a href="http://james.apache.org/mailbox/index.html" class="externalLink" title="Mailbox">Mailbox</a>
+ |
+ <a href="http://james.apache.org/mime4j/index.html" class="externalLink" title="Mime4J">Mime4J</a>
+ |
+ <a href="http://james.apache.org/jsieve/index.html" class="externalLink" title="jSieve">jSieve</a>
+ |
+ <a href="http://james.apache.org/jspf/index.html" class="externalLink" title="jSPF">jSPF</a>
+ |
+ <a href="http://james.apache.org/jdkim/index.html" class="externalLink" title="jDKIM">jDKIM</a>
+ |
+ <a href="http://james.apache.org/mpt/index.html" class="externalLink" title="MPT">MPT</a>
+ |
+ <a href="http://james.apache.org/postage/index.html" class="externalLink" title="Postage">Postage</a>
+
+
+ </div>
+ <div class="clear">
+ <hr/>
+ </div>
+ </div>
+ <div id="leftColumn">
+ <div id="navcolumn">
+
+
+ <h5>Artificial Intelligence Mailets</h5>
+ <ul>
+ <li class="none">
+ <a href="index.html" title="Overview">Overview</a>
+ </li>
+ <li class="none">
+ <a href="apidocs/index.html" title="Javadocs">Javadocs</a>
+ </li>
+ <li class="none">
+ <a href="release-notes.html" title="Release Notes">Release Notes</a>
+ </li>
+ </ul>
+ <h5>Mailet</h5>
+ <ul>
+ <li class="none">
+ <a href="http://james.apache.org/mailet/api" title="API">API</a>
+ </li>
+ <li class="none">
+ <a href="http://james.apache.org/mailet/ai" title="AI">AI</a>
+ </li>
+ <li class="none">
+ <a href="http://james.apache.org/mailet/base" title="Basic Toolkit">Basic Toolkit</a>
+ </li>
+ <li class="none">
+ <a href="http://james.apache.org/mailet/crypto" title="Crypto">Crypto</a>
+ </li>
+ <li class="none">
+ <a href="http://james.apache.org/mailet/maven-mailetdocs-plugin" title="MailetDocs">MailetDocs</a>
+ </li>
+ <li class="none">
+ <a href="http://james.apache.org/jsieve/mailet/index.html" title="Sieve">Sieve</a>
+ </li>
+ <li class="none">
+ <a href="http://james.apache.org/mailet/standard" title="Standard">Standard</a>
+ </li>
+ </ul>
+ <h5>Project Documentation</h5>
+ <ul>
+ <li class="collapsed">
+ <a href="project-info.html" title="Project Information">Project Information</a>
+ </li>
+ <li class="expanded">
+ <a href="project-reports.html" title="Project Reports">Project Reports</a>
+ <ul>
+ <li class="none">
+ <strong>CPD Report</strong>
+ </li>
+ <li class="none">
+ <a href="pmd.html" title="PMD Report">PMD Report</a>
+ </li>
+ <li class="none">
+ <a href="rat-report.html" title="RAT Report">RAT Report</a>
+ </li>
+ <li class="none">
+ <a href="xref/index.html" title="Source Xref">Source Xref</a>
+ </li>
+ <li class="none">
+ <a href="surefire-report.html" title="Surefire Report">Surefire Report</a>
+ </li>
+ </ul>
+ </li>
+ </ul>
+ <h5>About James</h5>
+ <ul>
+ <li class="none">
+ <a href="http://james.apache.org/index.html" title="Overview">Overview</a>
+ </li>
+ <li class="none">
+ <a href="http://james.apache.org/newsarchive.html" title="News">News</a>
+ </li>
+ <li class="none">
+ <a href="http://james.apache.org/mail.html" title="Mailing Lists">Mailing Lists</a>
+ </li>
+ <li class="none">
+ <a href="http://james.apache.org/contribute.html" title="Contributing">Contributing</a>
+ </li>
+ <li class="none">
+ <a href="http://james.apache.org/guidelines.html" title="Guidelines">Guidelines</a>
+ </li>
+ <li class="none">
+ <a href="http://wiki.apache.org/james" title="Wiki">Wiki</a>
+ </li>
+ <li class="none">
+ <a href="http://james.apache.org/weare.html" title="Who We Are">Who We Are</a>
+ </li>
+ <li class="none">
+ <a href="http://james.apache.org/license.html" title="License">License</a>
+ </li>
+ </ul>
+ <h5>Download</h5>
+ <ul>
+ <li class="none">
+ <a href="http://james.apache.org/download.cgi" title="Releases">Releases</a>
+ </li>
+ <li class="none">
+ <a href="http://people.apache.org/builds/james/nightly/" title="Snapshots">Snapshots</a>
+ </li>
+ </ul>
+ <a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy">
+ <img class="poweredBy" alt="Built by Maven" src="./images/logos/maven-feather.png" />
+ </a>
+
+
+ </div>
+ </div>
+ <div id="bodyColumn">
+ <div id="contentBox">
+ <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> 4.2.5.</p></div><div class="section"><h2>Duplications<a name="Duplications"></a></h2><table border="0" class="bodyTable"><tr class="a"><th>File</th><th>Project</th><th>Line</th></tr><tr class="b"><td>org/apache/james/ai/classic/BayesianAnalyzer.java</td><td>Apache James Classic AI Mailets</td><td><a href="./xref/org/apache/james/ai/classic/BayesianAnalyzer.html#365">365</a></td></tr><tr class="a"><td>org/apache/james/ai/classic/BayesianAnalyzer.java</td><td>Apache James Classic AI Mailets</td><td><a href="./xref/org/apache/james/ai/classic/BayesianAnalyzer.html#412">412</a></td></tr><tr class="b"><td colspan='3'><div><pre> String token;
+ String header = "";
+
+ // Build a Map of tokens encountered.
+ while ((token = nextToken(stream)) != null) {
+ boolean endingLine = false;
+ if (token.length() > 0 && token.charAt(token.length() - 1) == '\n') {
+ endingLine = true;
+ token = token.substring(0, token.length() - 1);
+ }
+
+ if (token.length() > 0 && header.length() + token.length() < 90 && !allDigits(token)) {
+ if (token.equals("From:") || token.equals("Return-Path:") || token.equals("Subject:") || token.equals("To:")) {
+ header = token;
+ if (!endingLine) {
+ continue;
+ }
+ }
+
+ token = header + token;</pre></div></td></tr></table></div>
+ </div>
+ </div>
+ <div class="clear">
+ <hr/>
+ </div>
+ <div id="footer">
+ <div class="xright">Copyright © 2011
+ <a href="http://www.apache.org">The Apache Software Foundation</a>.
+ All Rights Reserved.
+
+ </div>
+ <div class="clear">
+ <hr/>
+ </div>
+ </div>
+ </body>
+</html>
Propchange: james/site/trunk/www/mailet/ai/cpd.html
------------------------------------------------------------------------------
svn:eol-style = native
Added: james/site/trunk/www/mailet/ai/cpd.xml
URL: http://svn.apache.org/viewvc/james/site/trunk/www/mailet/ai/cpd.xml?rev=1100764&view=auto
==============================================================================
--- james/site/trunk/www/mailet/ai/cpd.xml (added)
+++ james/site/trunk/www/mailet/ai/cpd.xml Sun May 8 16:36:14 2011
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<pmd-cpd>
+<duplication lines="20" tokens="149">
+<file line="365" path="/opt/development/2011/ai-workspace/classic/src/main/java/org/apache/james/ai/classic/BayesianAnalyzer.java"/>
+<file line="412" path="/opt/development/2011/ai-workspace/classic/src/main/java/org/apache/james/ai/classic/BayesianAnalyzer.java"/>
+<codefragment>
+<![CDATA[
+ String token;
+ String header = "";
+
+ // Build a Map of tokens encountered.
+ while ((token = nextToken(stream)) != null) {
+ boolean endingLine = false;
+ if (token.length() > 0 && token.charAt(token.length() - 1) == '\n') {
+ endingLine = true;
+ token = token.substring(0, token.length() - 1);
+ }
+
+ if (token.length() > 0 && header.length() + token.length() < 90 && !allDigits(token)) {
+ if (token.equals("From:") || token.equals("Return-Path:") || token.equals("Subject:") || token.equals("To:")) {
+ header = token;
+ if (!endingLine) {
+ continue;
+ }
+ }
+
+ token = header + token;
+]]>
+</codefragment>
+</duplication>
+</pmd-cpd>
\ No newline at end of file
Propchange: james/site/trunk/www/mailet/ai/cpd.xml
------------------------------------------------------------------------------
svn:eol-style = native
Modified: james/site/trunk/www/mailet/ai/dependency-convergence.html
URL: http://svn.apache.org/viewvc/james/site/trunk/www/mailet/ai/dependency-convergence.html?rev=1100764&r1=1100763&r2=1100764&view=diff
==============================================================================
--- james/site/trunk/www/mailet/ai/dependency-convergence.html (original)
+++ james/site/trunk/www/mailet/ai/dependency-convergence.html Sun May 8 16:36:14 2011
@@ -167,7 +167,7 @@
</li>
</ul>
</li>
- <li class="collapsed">
+ <li class="collapsed">
<a href="project-reports.html" title="Project Reports">Project Reports</a>
</li>
</ul>
Modified: james/site/trunk/www/mailet/ai/dependency-management.html
URL: http://svn.apache.org/viewvc/james/site/trunk/www/mailet/ai/dependency-management.html?rev=1100764&r1=1100763&r2=1100764&view=diff
==============================================================================
--- james/site/trunk/www/mailet/ai/dependency-management.html (original)
+++ james/site/trunk/www/mailet/ai/dependency-management.html Sun May 8 16:36:14 2011
@@ -167,7 +167,7 @@
</li>
</ul>
</li>
- <li class="collapsed">
+ <li class="collapsed">
<a href="project-reports.html" title="Project Reports">Project Reports</a>
</li>
</ul>
Modified: james/site/trunk/www/mailet/ai/integration.html
URL: http://svn.apache.org/viewvc/james/site/trunk/www/mailet/ai/integration.html?rev=1100764&r1=1100763&r2=1100764&view=diff
==============================================================================
--- james/site/trunk/www/mailet/ai/integration.html (original)
+++ james/site/trunk/www/mailet/ai/integration.html Sun May 8 16:36:14 2011
@@ -167,7 +167,7 @@
</li>
</ul>
</li>
- <li class="collapsed">
+ <li class="collapsed">
<a href="project-reports.html" title="Project Reports">Project Reports</a>
</li>
</ul>
Modified: james/site/trunk/www/mailet/ai/issue-tracking.html
URL: http://svn.apache.org/viewvc/james/site/trunk/www/mailet/ai/issue-tracking.html?rev=1100764&r1=1100763&r2=1100764&view=diff
==============================================================================
--- james/site/trunk/www/mailet/ai/issue-tracking.html (original)
+++ james/site/trunk/www/mailet/ai/issue-tracking.html Sun May 8 16:36:14 2011
@@ -167,7 +167,7 @@
</li>
</ul>
</li>
- <li class="collapsed">
+ <li class="collapsed">
<a href="project-reports.html" title="Project Reports">Project Reports</a>
</li>
</ul>
Modified: james/site/trunk/www/mailet/ai/license.html
URL: http://svn.apache.org/viewvc/james/site/trunk/www/mailet/ai/license.html?rev=1100764&r1=1100763&r2=1100764&view=diff
==============================================================================
--- james/site/trunk/www/mailet/ai/license.html (original)
+++ james/site/trunk/www/mailet/ai/license.html Sun May 8 16:36:14 2011
@@ -167,7 +167,7 @@
</li>
</ul>
</li>
- <li class="collapsed">
+ <li class="collapsed">
<a href="project-reports.html" title="Project Reports">Project Reports</a>
</li>
</ul>
Modified: james/site/trunk/www/mailet/ai/mail-lists.html
URL: http://svn.apache.org/viewvc/james/site/trunk/www/mailet/ai/mail-lists.html?rev=1100764&r1=1100763&r2=1100764&view=diff
==============================================================================
--- james/site/trunk/www/mailet/ai/mail-lists.html (original)
+++ james/site/trunk/www/mailet/ai/mail-lists.html Sun May 8 16:36:14 2011
@@ -167,7 +167,7 @@
</li>
</ul>
</li>
- <li class="collapsed">
+ <li class="collapsed">
<a href="project-reports.html" title="Project Reports">Project Reports</a>
</li>
</ul>
Modified: james/site/trunk/www/mailet/ai/modules.html
URL: http://svn.apache.org/viewvc/james/site/trunk/www/mailet/ai/modules.html?rev=1100764&r1=1100763&r2=1100764&view=diff
==============================================================================
--- james/site/trunk/www/mailet/ai/modules.html (original)
+++ james/site/trunk/www/mailet/ai/modules.html Sun May 8 16:36:14 2011
@@ -167,7 +167,7 @@
</li>
</ul>
</li>
- <li class="collapsed">
+ <li class="collapsed">
<a href="project-reports.html" title="Project Reports">Project Reports</a>
</li>
</ul>
Added: james/site/trunk/www/mailet/ai/pmd.html
URL: http://svn.apache.org/viewvc/james/site/trunk/www/mailet/ai/pmd.html?rev=1100764&view=auto
==============================================================================
--- james/site/trunk/www/mailet/ai/pmd.html (added)
+++ james/site/trunk/www/mailet/ai/pmd.html Sun May 8 16:36:14 2011
@@ -0,0 +1,218 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<!-- Generated by Apache Maven Doxia at May 8, 2011 -->
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+ <head>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <title>Apache JAMES AI - PMD Results</title>
+ <style type="text/css" media="all">
+ @import url("./css/james.css");
+ @import url("./css/maven-base.css");
+ @import url("./css/maven-theme.css");
+ @import url("./css/site.css");
+ @import url("./js/jquery/css/custom-theme/jquery-ui-1.8.5.custom.css");
+ @import url("./js/jquery/css/print.css");
+ </style>
+ <script type="text/javascript" src="./js/jquery/js/jquery-1.4.2.min.js"></script>
+ <script type="text/javascript" src="./js/jquery/js/jquery-ui-1.8.5.custom.min.js"></script>
+ <link rel="stylesheet" href="./css/print.css" type="text/css" media="print" />
+ <meta name="Date-Revision-yyyymmdd" content="20110508" />
+ <meta http-equiv="Content-Language" content="en" />
+
+ <!-- Google Analytics -->
+ <script type="text/javascript">
+
+ var _gaq = _gaq || [];
+ _gaq.push(['_setAccount', 'UA-1384591-1']);
+ _gaq.push(['_trackPageview']);
+
+ (function() {
+ var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
+ ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
+ var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
+ })();
+
+ </script>
+ </head>
+ <body class="composite">
+ <div id="banner">
+ <a href="http://james.apache.org/mailet/ai/index.html" id="bannerLeft" title="james-ai-mailets-logo.png">
+
+
+ <img src="images/logos/james-ai-mailets-logo.png" alt="JAMES Artificial intelligence Mailets" />
+ </a>
+ <a href="http://www.apache.org/index.html" id="bannerRight">
+
+
+ <img src="images/logos/asf-logo-reduced.gif" alt="The Apache Software Foundation" />
+ </a>
+ <div class="clear">
+ <hr/>
+ </div>
+ </div>
+ <div id="breadcrumbs">
+
+
+ <div class="xleft">
+ <span id="publishDate">Last Published: 2011-05-08</span>
+ </div>
+ <div class="xright"> <a href="http://james.apache.org/index.html" class="externalLink" title="Home">Home</a>
+ |
+ <a href="http://james.apache.org/server/index.html" class="externalLink" title="Server">Server</a>
+ |
+ <a href="http://james.apache.org/hupa/index.html" class="externalLink" title="Hupa">Hupa</a>
+ |
+ <a href="http://james.apache.org/protocols/index.html" class="externalLink" title="Protocols">Protocols</a>
+ |
+ <a href="http://james.apache.org/imap/index.html" class="externalLink" title="IMAP">IMAP</a>
+ |
+ <a href="http://james.apache.org/mailet/index.html" class="externalLink" title="Mailets">Mailets</a>
+ |
+ <a href="http://james.apache.org/mailbox/index.html" class="externalLink" title="Mailbox">Mailbox</a>
+ |
+ <a href="http://james.apache.org/mime4j/index.html" class="externalLink" title="Mime4J">Mime4J</a>
+ |
+ <a href="http://james.apache.org/jsieve/index.html" class="externalLink" title="jSieve">jSieve</a>
+ |
+ <a href="http://james.apache.org/jspf/index.html" class="externalLink" title="jSPF">jSPF</a>
+ |
+ <a href="http://james.apache.org/jdkim/index.html" class="externalLink" title="jDKIM">jDKIM</a>
+ |
+ <a href="http://james.apache.org/mpt/index.html" class="externalLink" title="MPT">MPT</a>
+ |
+ <a href="http://james.apache.org/postage/index.html" class="externalLink" title="Postage">Postage</a>
+
+
+ </div>
+ <div class="clear">
+ <hr/>
+ </div>
+ </div>
+ <div id="leftColumn">
+ <div id="navcolumn">
+
+
+ <h5>Artificial Intelligence Mailets</h5>
+ <ul>
+ <li class="none">
+ <a href="index.html" title="Overview">Overview</a>
+ </li>
+ <li class="none">
+ <a href="apidocs/index.html" title="Javadocs">Javadocs</a>
+ </li>
+ <li class="none">
+ <a href="release-notes.html" title="Release Notes">Release Notes</a>
+ </li>
+ </ul>
+ <h5>Mailet</h5>
+ <ul>
+ <li class="none">
+ <a href="http://james.apache.org/mailet/api" title="API">API</a>
+ </li>
+ <li class="none">
+ <a href="http://james.apache.org/mailet/ai" title="AI">AI</a>
+ </li>
+ <li class="none">
+ <a href="http://james.apache.org/mailet/base" title="Basic Toolkit">Basic Toolkit</a>
+ </li>
+ <li class="none">
+ <a href="http://james.apache.org/mailet/crypto" title="Crypto">Crypto</a>
+ </li>
+ <li class="none">
+ <a href="http://james.apache.org/mailet/maven-mailetdocs-plugin" title="MailetDocs">MailetDocs</a>
+ </li>
+ <li class="none">
+ <a href="http://james.apache.org/jsieve/mailet/index.html" title="Sieve">Sieve</a>
+ </li>
+ <li class="none">
+ <a href="http://james.apache.org/mailet/standard" title="Standard">Standard</a>
+ </li>
+ </ul>
+ <h5>Project Documentation</h5>
+ <ul>
+ <li class="collapsed">
+ <a href="project-info.html" title="Project Information">Project Information</a>
+ </li>
+ <li class="expanded">
+ <a href="project-reports.html" title="Project Reports">Project Reports</a>
+ <ul>
+ <li class="none">
+ <a href="cpd.html" title="CPD Report">CPD Report</a>
+ </li>
+ <li class="none">
+ <strong>PMD Report</strong>
+ </li>
+ <li class="none">
+ <a href="rat-report.html" title="RAT Report">RAT Report</a>
+ </li>
+ <li class="none">
+ <a href="xref/index.html" title="Source Xref">Source Xref</a>
+ </li>
+ <li class="none">
+ <a href="surefire-report.html" title="Surefire Report">Surefire Report</a>
+ </li>
+ </ul>
+ </li>
+ </ul>
+ <h5>About James</h5>
+ <ul>
+ <li class="none">
+ <a href="http://james.apache.org/index.html" title="Overview">Overview</a>
+ </li>
+ <li class="none">
+ <a href="http://james.apache.org/newsarchive.html" title="News">News</a>
+ </li>
+ <li class="none">
+ <a href="http://james.apache.org/mail.html" title="Mailing Lists">Mailing Lists</a>
+ </li>
+ <li class="none">
+ <a href="http://james.apache.org/contribute.html" title="Contributing">Contributing</a>
+ </li>
+ <li class="none">
+ <a href="http://james.apache.org/guidelines.html" title="Guidelines">Guidelines</a>
+ </li>
+ <li class="none">
+ <a href="http://wiki.apache.org/james" title="Wiki">Wiki</a>
+ </li>
+ <li class="none">
+ <a href="http://james.apache.org/weare.html" title="Who We Are">Who We Are</a>
+ </li>
+ <li class="none">
+ <a href="http://james.apache.org/license.html" title="License">License</a>
+ </li>
+ </ul>
+ <h5>Download</h5>
+ <ul>
+ <li class="none">
+ <a href="http://james.apache.org/download.cgi" title="Releases">Releases</a>
+ </li>
+ <li class="none">
+ <a href="http://people.apache.org/builds/james/nightly/" title="Snapshots">Snapshots</a>
+ </li>
+ </ul>
+ <a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy">
+ <img class="poweredBy" alt="Built by Maven" src="./images/logos/maven-feather.png" />
+ </a>
+
+
+ </div>
+ </div>
+ <div id="bodyColumn">
+ <div id="contentBox">
+ <div class="section"><h2>PMD Results<a name="PMD_Results"></a></h2><p>The following document contains the results of <a class="externalLink" href="http://pmd.sourceforge.net/">PMD</a> 4.2.5.</p></div><div class="section"><h2>Files<a name="Files"></a></h2><div class="section"><h3>Apache James Classic AI Mailets - org/apache/james/ai/classic/BayesianAnalysis.java<a name="Apache_James_Classic_AI_Mailets_-_orgapachejamesaiclassicBayesianAnalysis.java"></a></h3><table border="0" class="bodyTable"><tr class="a"><th>Violation</th><th>Line</th></tr><tr class="b"><td>These nested if statements could be combined</td><td><a href="./xref/org/apache/james/ai/classic/BayesianAnalysis.html#294">294</a> - <a href="./xref/org/apache/james/ai/classic/BayesianAnalysis.html#296">296</a></td></tr><tr class="a"><td>Avoid empty catch blocks</td><td><a href="./xref/org/apache/james/ai/classic/BayesianAnalysis.html#398">398</a> - <a href="./xref/org/apache/james/ai/classic/BayesianAnalysis.h
tml#399">399</a></td></tr></table></div><div class="section"><h3>Apache James Classic AI Mailets - org/apache/james/ai/classic/BayesianAnalysisFeeder.java<a name="Apache_James_Classic_AI_Mailets_-_orgapachejamesaiclassicBayesianAnalysisFeeder.java"></a></h3><table border="0" class="bodyTable"><tr class="b"><th>Violation</th><th>Line</th></tr><tr class="a"><td>Avoid empty catch blocks</td><td><a href="./xref/org/apache/james/ai/classic/BayesianAnalysisFeeder.html#324">324</a> - <a href="./xref/org/apache/james/ai/classic/BayesianAnalysisFeeder.html#325">325</a></td></tr><tr class="b"><td>Avoid empty catch blocks</td><td><a href="./xref/org/apache/james/ai/classic/BayesianAnalysisFeeder.html#338">338</a> - <a href="./xref/org/apache/james/ai/classic/BayesianAnalysisFeeder.html#339">339</a></td></tr></table></div><div class="section"><h3>Apache James Classic AI Mailets - org/apache/james/ai/classic/BayesianAnalyzer.java<a name="Apache_James_Classic_AI_Mailets_-_orgapachejamesai
classicBayesianAnalyzer.java"></a></h3><table border="0" class="bodyTable"><tr class="a"><th>Violation</th><th>Line</th></tr><tr class="b"><td>Avoid unused imports such as 'java.io.IOException'</td><td><a href="./xref/org/apache/james/ai/classic/BayesianAnalyzer.html#22">22</a></td></tr><tr class="a"><td>Avoid empty if statements</td><td><a href="./xref/org/apache/james/ai/classic/BayesianAnalyzer.html#495">495</a> - <a href="./xref/org/apache/james/ai/classic/BayesianAnalyzer.html#497">497</a></td></tr></table></div><div class="section"><h3>Apache James Classic AI Mailets - org/apache/james/ai/classic/JDBCBayesianAnalyzer.java<a name="Apache_James_Classic_AI_Mailets_-_orgapachejamesaiclassicJDBCBayesianAnalyzer.java"></a></h3><table border="0" class="bodyTable"><tr class="b"><th>Violation</th><th>Line</th></tr><tr class="a"><td>Avoid empty catch blocks</td><td><a href="./xref/org/apache/james/ai/classic/JDBCBayesianAnalyzer.html#212">212</a> - <a href="./xref/org/apache/jam
es/ai/classic/JDBCBayesianAnalyzer.html#213">213</a></td></tr><tr class="b"><td>Avoid empty catch blocks</td><td><a href="./xref/org/apache/james/ai/classic/JDBCBayesianAnalyzer.html#221">221</a> - <a href="./xref/org/apache/james/ai/classic/JDBCBayesianAnalyzer.html#222">222</a></td></tr><tr class="a"><td>Avoid empty catch blocks</td><td><a href="./xref/org/apache/james/ai/classic/JDBCBayesianAnalyzer.html#291">291</a> - <a href="./xref/org/apache/james/ai/classic/JDBCBayesianAnalyzer.html#292">292</a></td></tr><tr class="b"><td>Avoid empty catch blocks</td><td><a href="./xref/org/apache/james/ai/classic/JDBCBayesianAnalyzer.html#297">297</a> - <a href="./xref/org/apache/james/ai/classic/JDBCBayesianAnalyzer.html#298">298</a></td></tr><tr class="a"><td>Avoid empty catch blocks</td><td><a href="./xref/org/apache/james/ai/classic/JDBCBayesianAnalyzer.html#332">332</a> - <a href="./xref/org/apache/james/ai/classic/JDBCBayesianAnalyzer.html#333">333</a></td></tr><tr class="b"><
td>Avoid empty catch blocks</td><td><a href="./xref/org/apache/james/ai/classic/JDBCBayesianAnalyzer.html#341">341</a> - <a href="./xref/org/apache/james/ai/classic/JDBCBayesianAnalyzer.html#342">342</a></td></tr><tr class="a"><td>Avoid empty catch blocks</td><td><a href="./xref/org/apache/james/ai/classic/JDBCBayesianAnalyzer.html#434">434</a> - <a href="./xref/org/apache/james/ai/classic/JDBCBayesianAnalyzer.html#435">435</a></td></tr></table></div><div class="section"><h3>Apache James Classic AI Mailets - org/apache/james/ai/classic/JDBCUtil.java<a name="Apache_James_Classic_AI_Mailets_-_orgapachejamesaiclassicJDBCUtil.java"></a></h3><table border="0" class="bodyTable"><tr class="b"><th>Violation</th><th>Line</th></tr><tr class="a"><td>Avoid empty catch blocks</td><td><a href="./xref/org/apache/james/ai/classic/JDBCUtil.html#197">197</a> - <a href="./xref/org/apache/james/ai/classic/JDBCUtil.html#199">199</a></td></tr></table></div></div>
+ </div>
+ </div>
+ <div class="clear">
+ <hr/>
+ </div>
+ <div id="footer">
+ <div class="xright">Copyright © 2011
+ <a href="http://www.apache.org">The Apache Software Foundation</a>.
+ All Rights Reserved.
+
+ </div>
+ <div class="clear">
+ <hr/>
+ </div>
+ </div>
+ </body>
+</html>
Propchange: james/site/trunk/www/mailet/ai/pmd.html
------------------------------------------------------------------------------
svn:eol-style = native
Added: james/site/trunk/www/mailet/ai/pmd.xml
URL: http://svn.apache.org/viewvc/james/site/trunk/www/mailet/ai/pmd.xml?rev=1100764&view=auto
==============================================================================
--- james/site/trunk/www/mailet/ai/pmd.xml (added)
+++ james/site/trunk/www/mailet/ai/pmd.xml Sun May 8 16:36:14 2011
@@ -0,0 +1,55 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<pmd version="4.2.5" timestamp="2011-05-08T17:31:57.877">
+<file name="/opt/development/2011/ai-workspace/classic/src/main/java/org/apache/james/ai/classic/BayesianAnalysis.java">
+<violation beginline="294" endline="296" begincolumn="17" endcolumn="17" rule="CollapsibleIfStatements" ruleset="Basic Rules" package="org.apache.james.ai.classic" class="BayesianAnalysis" method="service" externalInfoUrl="http://pmd.sourceforge.net/rules/basic.html#CollapsibleIfStatements" priority="3">
+These nested if statements could be combined
+</violation>
+<violation beginline="398" endline="399" begincolumn="11" endcolumn="9" rule="EmptyCatchBlock" ruleset="Basic Rules" package="org.apache.james.ai.classic" class="BayesianAnalysis" method="appendToSubject" externalInfoUrl="http://pmd.sourceforge.net/rules/basic.html#EmptyCatchBlock" priority="3">
+Avoid empty catch blocks
+</violation>
+</file>
+<file name="/opt/development/2011/ai-workspace/classic/src/main/java/org/apache/james/ai/classic/BayesianAnalysisFeeder.java">
+<violation beginline="324" endline="325" begincolumn="15" endcolumn="13" rule="EmptyCatchBlock" ruleset="Basic Rules" package="org.apache.james.ai.classic" class="BayesianAnalysisFeeder" method="service" externalInfoUrl="http://pmd.sourceforge.net/rules/basic.html#EmptyCatchBlock" priority="3">
+Avoid empty catch blocks
+</violation>
+<violation beginline="338" endline="339" begincolumn="15" endcolumn="13" rule="EmptyCatchBlock" ruleset="Basic Rules" package="org.apache.james.ai.classic" class="BayesianAnalysisFeeder" method="clearAllHeaders" externalInfoUrl="http://pmd.sourceforge.net/rules/basic.html#EmptyCatchBlock" priority="3">
+Avoid empty catch blocks
+</violation>
+</file>
+<file name="/opt/development/2011/ai-workspace/classic/src/main/java/org/apache/james/ai/classic/BayesianAnalyzer.java">
+<violation beginline="22" endline="22" begincolumn="1" endcolumn="27" rule="UnusedImports" ruleset="Import Statement Rules" package="org.apache.james.ai.classic" externalInfoUrl="http://pmd.sourceforge.net/rules/imports.html#UnusedImports" priority="4">
+Avoid unused imports such as 'java.io.IOException'
+</violation>
+<violation beginline="495" endline="497" begincolumn="36" endcolumn="13" rule="EmptyIfStmt" ruleset="Basic Rules" package="org.apache.james.ai.classic" class="BayesianAnalyzer" method="nextToken" externalInfoUrl="http://pmd.sourceforge.net/rules/basic.html#EmptyIfStmt" priority="3">
+Avoid empty if statements
+</violation>
+</file>
+<file name="/opt/development/2011/ai-workspace/classic/src/main/java/org/apache/james/ai/classic/JDBCBayesianAnalyzer.java">
+<violation beginline="212" endline="213" begincolumn="19" endcolumn="17" rule="EmptyCatchBlock" ruleset="Basic Rules" package="org.apache.james.ai.classic" class="JDBCBayesianAnalyzer" method="loadHamNSpam" externalInfoUrl="http://pmd.sourceforge.net/rules/basic.html#EmptyCatchBlock" priority="3">
+Avoid empty catch blocks
+</violation>
+<violation beginline="221" endline="222" begincolumn="19" endcolumn="17" rule="EmptyCatchBlock" ruleset="Basic Rules" package="org.apache.james.ai.classic" class="JDBCBayesianAnalyzer" method="loadHamNSpam" externalInfoUrl="http://pmd.sourceforge.net/rules/basic.html#EmptyCatchBlock" priority="3">
+Avoid empty catch blocks
+</violation>
+<violation beginline="291" endline="292" begincolumn="19" endcolumn="17" rule="EmptyCatchBlock" ruleset="Basic Rules" package="org.apache.james.ai.classic" class="JDBCBayesianAnalyzer" method="setMessageCount" externalInfoUrl="http://pmd.sourceforge.net/rules/basic.html#EmptyCatchBlock" priority="3">
+Avoid empty catch blocks
+</violation>
+<violation beginline="297" endline="298" begincolumn="19" endcolumn="17" rule="EmptyCatchBlock" ruleset="Basic Rules" package="org.apache.james.ai.classic" class="JDBCBayesianAnalyzer" method="setMessageCount" externalInfoUrl="http://pmd.sourceforge.net/rules/basic.html#EmptyCatchBlock" priority="3">
+Avoid empty catch blocks
+</violation>
+<violation beginline="332" endline="333" begincolumn="19" endcolumn="17" rule="EmptyCatchBlock" ruleset="Basic Rules" package="org.apache.james.ai.classic" class="JDBCBayesianAnalyzer" method="updateTokens" externalInfoUrl="http://pmd.sourceforge.net/rules/basic.html#EmptyCatchBlock" priority="3">
+Avoid empty catch blocks
+</violation>
+<violation beginline="341" endline="342" begincolumn="19" endcolumn="17" rule="EmptyCatchBlock" ruleset="Basic Rules" package="org.apache.james.ai.classic" class="JDBCBayesianAnalyzer" method="updateTokens" externalInfoUrl="http://pmd.sourceforge.net/rules/basic.html#EmptyCatchBlock" priority="3">
+Avoid empty catch blocks
+</violation>
+<violation beginline="434" endline="435" begincolumn="19" endcolumn="17" rule="EmptyCatchBlock" ruleset="Basic Rules" package="org.apache.james.ai.classic" class="JDBCBayesianAnalyzer" method="deleteData" externalInfoUrl="http://pmd.sourceforge.net/rules/basic.html#EmptyCatchBlock" priority="3">
+Avoid empty catch blocks
+</violation>
+</file>
+<file name="/opt/development/2011/ai-workspace/classic/src/main/java/org/apache/james/ai/classic/JDBCUtil.java">
+<violation beginline="197" endline="199" begincolumn="11" endcolumn="9" rule="EmptyCatchBlock" ruleset="Basic Rules" package="org.apache.james.ai.classic" class="JDBCUtil" method="subclassLogWrapper" externalInfoUrl="http://pmd.sourceforge.net/rules/basic.html#EmptyCatchBlock" priority="3">
+Avoid empty catch blocks
+</violation>
+</file>
+</pmd>
\ No newline at end of file
Propchange: james/site/trunk/www/mailet/ai/pmd.xml
------------------------------------------------------------------------------
svn:eol-style = native
Modified: james/site/trunk/www/mailet/ai/project-info.html
URL: http://svn.apache.org/viewvc/james/site/trunk/www/mailet/ai/project-info.html?rev=1100764&r1=1100763&r2=1100764&view=diff
==============================================================================
--- james/site/trunk/www/mailet/ai/project-info.html (original)
+++ james/site/trunk/www/mailet/ai/project-info.html Sun May 8 16:36:14 2011
@@ -167,7 +167,7 @@
</li>
</ul>
</li>
- <li class="collapsed">
+ <li class="collapsed">
<a href="project-reports.html" title="Project Reports">Project Reports</a>
</li>
</ul>
Modified: james/site/trunk/www/mailet/ai/project-reports.html
URL: http://svn.apache.org/viewvc/james/site/trunk/www/mailet/ai/project-reports.html?rev=1100764&r1=1100763&r2=1100764&view=diff
==============================================================================
--- james/site/trunk/www/mailet/ai/project-reports.html (original)
+++ james/site/trunk/www/mailet/ai/project-reports.html Sun May 8 16:36:14 2011
@@ -132,10 +132,16 @@
<li class="collapsed">
<a href="project-info.html" title="Project Information">Project Information</a>
</li>
- <li class="expanded">
+ <li class="expanded">
<strong>Project Reports</strong>
<ul>
<li class="none">
+ <a href="cpd.html" title="CPD Report">CPD Report</a>
+ </li>
+ <li class="none">
+ <a href="pmd.html" title="PMD Report">PMD Report</a>
+ </li>
+ <li class="none">
<a href="rat-report.html" title="RAT Report">RAT Report</a>
</li>
<li class="none">
@@ -192,7 +198,7 @@
</div>
<div id="bodyColumn">
<div id="contentBox">
- <div class="section"><h2>Generated Reports<a name="Generated_Reports"></a></h2><p>This document provides an overview of the various reports that are automatically generated by <a class="externalLink" href="http://maven.apache.org">Maven</a> . Each report is briefly described below.</p><div class="section"><h3>Overview<a name="Overview"></a></h3><table border="0" class="bodyTable"><tr class="a"><th>Document</th><th>Description</th></tr><tr class="b"><td><a href="rat-report.html">RAT Report</a></td><td>Report on compliance to license related source code policies</td></tr><tr class="a"><td><a href="xref/index.html">Source Xref</a></td><td>HTML based, cross-reference version of Java source code.</td></tr><tr class="b"><td><a href="surefire-report.html">Surefire Report</a></td><td>Report on the test results of the project.</td></tr></table></div></div>
+ <div class="section"><h2>Generated Reports<a name="Generated_Reports"></a></h2><p>This document provides an overview of the various reports that are automatically generated by <a class="externalLink" href="http://maven.apache.org">Maven</a> . Each report is briefly described below.</p><div class="section"><h3>Overview<a name="Overview"></a></h3><table border="0" class="bodyTable"><tr class="a"><th>Document</th><th>Description</th></tr><tr class="b"><td><a href="cpd.html">CPD Report</a></td><td>Duplicate code detection.</td></tr><tr class="a"><td><a href="pmd.html">PMD Report</a></td><td>Verification of coding rules.</td></tr><tr class="b"><td><a href="rat-report.html">RAT Report</a></td><td>Report on compliance to license related source code policies</td></tr><tr class="a"><td><a href="xref/index.html">Source Xref</a></td><td>HTML based, cross-reference version of Java source code.</td></tr><tr class="b"><td><a href="surefire-report.html">Surefire Report</a></td><td>
Report on the test results of the project.</td></tr></table></div></div>
</div>
</div>
<div class="clear">
Modified: james/site/trunk/www/mailet/ai/project-summary.html
URL: http://svn.apache.org/viewvc/james/site/trunk/www/mailet/ai/project-summary.html?rev=1100764&r1=1100763&r2=1100764&view=diff
==============================================================================
--- james/site/trunk/www/mailet/ai/project-summary.html (original)
+++ james/site/trunk/www/mailet/ai/project-summary.html Sun May 8 16:36:14 2011
@@ -167,7 +167,7 @@
</li>
</ul>
</li>
- <li class="collapsed">
+ <li class="collapsed">
<a href="project-reports.html" title="Project Reports">Project Reports</a>
</li>
</ul>
Modified: james/site/trunk/www/mailet/ai/rat-report.html
URL: http://svn.apache.org/viewvc/james/site/trunk/www/mailet/ai/rat-report.html?rev=1100764&r1=1100763&r2=1100764&view=diff
==============================================================================
--- james/site/trunk/www/mailet/ai/rat-report.html (original)
+++ james/site/trunk/www/mailet/ai/rat-report.html Sun May 8 16:36:14 2011
@@ -132,10 +132,16 @@
<li class="collapsed">
<a href="project-info.html" title="Project Information">Project Information</a>
</li>
- <li class="expanded">
+ <li class="expanded">
<a href="project-reports.html" title="Project Reports">Project Reports</a>
<ul>
<li class="none">
+ <a href="cpd.html" title="CPD Report">CPD Report</a>
+ </li>
+ <li class="none">
+ <a href="pmd.html" title="PMD Report">PMD Report</a>
+ </li>
+ <li class="none">
<strong>RAT Report</strong>
</li>
<li class="none">
Modified: james/site/trunk/www/mailet/ai/source-repository.html
URL: http://svn.apache.org/viewvc/james/site/trunk/www/mailet/ai/source-repository.html?rev=1100764&r1=1100763&r2=1100764&view=diff
==============================================================================
--- james/site/trunk/www/mailet/ai/source-repository.html (original)
+++ james/site/trunk/www/mailet/ai/source-repository.html Sun May 8 16:36:14 2011
@@ -167,7 +167,7 @@
</li>
</ul>
</li>
- <li class="collapsed">
+ <li class="collapsed">
<a href="project-reports.html" title="Project Reports">Project Reports</a>
</li>
</ul>
Modified: james/site/trunk/www/mailet/ai/surefire-report.html
URL: http://svn.apache.org/viewvc/james/site/trunk/www/mailet/ai/surefire-report.html?rev=1100764&r1=1100763&r2=1100764&view=diff
==============================================================================
--- james/site/trunk/www/mailet/ai/surefire-report.html (original)
+++ james/site/trunk/www/mailet/ai/surefire-report.html Sun May 8 16:36:14 2011
@@ -132,10 +132,16 @@
<li class="collapsed">
<a href="project-info.html" title="Project Information">Project Information</a>
</li>
- <li class="expanded">
+ <li class="expanded">
<a href="project-reports.html" title="Project Reports">Project Reports</a>
<ul>
<li class="none">
+ <a href="cpd.html" title="CPD Report">CPD Report</a>
+ </li>
+ <li class="none">
+ <a href="pmd.html" title="PMD Report">PMD Report</a>
+ </li>
+ <li class="none">
<a href="rat-report.html" title="RAT Report">RAT Report</a>
</li>
<li class="none">
Modified: james/site/trunk/www/mailet/ai/team-list.html
URL: http://svn.apache.org/viewvc/james/site/trunk/www/mailet/ai/team-list.html?rev=1100764&r1=1100763&r2=1100764&view=diff
==============================================================================
--- james/site/trunk/www/mailet/ai/team-list.html (original)
+++ james/site/trunk/www/mailet/ai/team-list.html Sun May 8 16:36:14 2011
@@ -167,7 +167,7 @@
</li>
</ul>
</li>
- <li class="collapsed">
+ <li class="collapsed">
<a href="project-reports.html" title="Project Reports">Project Reports</a>
</li>
</ul>