Propchange: lucene/tika/site/checkstyle.rss
------------------------------------------------------------------------------
    svn:eol-style = native

Added: lucene/tika/site/cpd.html
URL: http://svn.apache.org/viewvc/lucene/tika/site/cpd.html?rev=756051&view=auto
==============================================================================
--- lucene/tika/site/cpd.html (added)
+++ lucene/tika/site/cpd.html Thu Mar 19 15:43:09 2009
@@ -0,0 +1,292 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
+
+
+
+
+
+
+
+
+
+
+
+<html xmlns="http://www.w3.org/1999/xhtml";>
+  <head>
+    <title>Apache Tika - CPD Results</title>
+    <style type="text/css" media="all">
+      @import url("./css/maven-base.css");
+      @import url("./css/maven-theme.css");
+      @import url("./css/site.css");
+    </style>
+    <link rel="stylesheet" href="./css/print.css" type="text/css" 
media="print" />
+        <meta http-equiv="Content-Type" content="text/html; 
charset=ISO-8859-1" />
+                                                    
+<link href="http://lucene.apache.org/tika/tikaNoText16.png"; type="image/png" 
rel="icon"/>
+                    </head>
+  <body class="composite">
+    <div id="banner">
+                  <a href="" id="bannerLeft">
+    
+                                            <img src="tika.png" alt="Apache 
Tika" />
+    
+            </a>
+                        <a href="../" id="bannerRight">
+    
+                                            <img 
src="../images/lucene_green_300.gif" alt="Apache Lucene" />
+    
+            </a>
+            <div class="clear">
+        <hr/>
+      </div>
+    </div>
+    <div id="breadcrumbs">
+          
+  
+
+  
+    
+  
+  
+    
+              <div class="xright">            <a href="http://www.apache.org/"; 
class="externalLink">Apache</a>
+            |
+                <a href="../">Lucene</a>
+            
+  
+
+  
+    
+  
+  
+    
+  </div>
+      <div class="clear">
+        <hr/>
+      </div>
+    </div>
+    <div id="leftColumn">
+      <div id="navcolumn">
+           
+  
+
+  
+    
+  
+  
+    
+                   <h5>Apache Tika</h5>
+            <ul>
+              
+    <li class="none">
+                    <a href="index.html">Introduction</a>
+          </li>
+              
+    <li class="none">
+                    <a href="download.html">Download</a>
+          </li>
+              
+    <li class="none">
+                    <a href="documentation.html">Documentation</a>
+          </li>
+              
+    <li class="none">
+                    <a href="formats.html">Supported Formats</a>
+          </li>
+              
+    <li class="none">
+                    <a href="gettingstarted.html">Getting Started</a>
+          </li>
+          </ul>
+              <h5>Project Documentation</h5>
+            <ul>
+              
+                
+              
+      
+            
+      
+            
+      
+            
+      
+            
+      
+            
+      
+            
+      
+            
+      
+              
+        <li class="collapsed">
+                    <a href="project-info.html">Project Information</a>
+                </li>
+              
+                
+              
+      
+            
+            
+            
+      
+            
+      
+            
+      
+            
+      
+            
+      
+            
+      
+            
+      
+              
+            <li class="expanded">
+                    <a href="project-reports.html">Project Reports</a>
+                  <ul>
+                  
+    <li class="none">
+                    <a href="checkstyle.html">Checkstyle</a>
+          </li>
+                  
+    <li class="none">
+              <strong>CPD Report</strong>
+        </li>
+                  
+    <li class="none">
+                    <a href="findbugs.html">FindBugs Report</a>
+          </li>
+                  
+    <li class="none">
+                    <a href="apidocs/index.html">JavaDocs</a>
+          </li>
+                  
+    <li class="none">
+                    <a href="surefire-report.html">Maven Surefire Report</a>
+          </li>
+                  
+    <li class="none">
+                    <a href="pmd.html">PMD Report</a>
+          </li>
+                  
+    <li class="none">
+                    <a href="rat-report.html">RAT Report</a>
+          </li>
+                  
+    <li class="none">
+                    <a href="xref/index.html">Source Xref</a>
+          </li>
+                  
+    <li class="none">
+                    <a href="xref-test/index.html">Test Source Xref</a>
+          </li>
+              </ul>
+        </li>
+          </ul>
+                                           <a href="http://maven.apache.org/"; 
title="Built by Maven" class="poweredBy">
+            <img alt="Built by Maven" 
src="./images/logos/maven-feather.png"></img>
+          </a>
+                       
+  
+
+  
+    
+  
+  
+    
+        </div>
+    </div>
+    <div id="bodyColumn">
+      <div id="contentBox">
+        <div class="section"><h2>CPD Results</h2>
+<p>The following document contains the results of PMD's  <a 
href="http://pmd.sourceforge.net/cpd.html"; class="externalLink">CPD</a>
+ 4.2.2.</p>
+</div>
+<div class="section"><h2>Duplications</h2>
+<p><table class="bodyTable"><tr class="a"><th>File</th>
+<th>Line</th>
+</tr>
+<tr class="b"><td>org/apache/tika/parser/pkg/bzip2/CBZip2InputStream.java</td>
+<td><a 
href="./xref/org/apache/tika/parser/pkg/bzip2/CBZip2InputStream.html#606">606</a>
+</td>
+</tr>
+<tr class="a"><td>org/apache/tika/parser/pkg/bzip2/CBZip2InputStream.java</td>
+<td><a 
href="./xref/org/apache/tika/parser/pkg/bzip2/CBZip2InputStream.html#686">686</a>
+</td>
+</tr>
+<tr class="b"><td colspan='2'><div class="source"><pre>                if 
(groupPos == 0) {
+                    groupPos    = G_SIZE - 1;
+                    zt          = selector[++groupNo] &amp; 0xff;
+                    base_zt     = base[zt];
+                    limit_zt    = limit[zt];
+                    perm_zt     = perm[zt];
+                    minLens_zt  = minLens[zt];
+                } else {
+                    groupPos--;
+                }
+
+                int zn = minLens_zt;
+
+                // Inlined:
+                // int zvec = bsR(zn);
+                while (bsLiveShadow &lt; zn) {
+                    final int thech = inShadow.read();
+                    if (thech &gt;= 0) {
+                        bsBuffShadow = (bsBuffShadow &lt;&lt; 8) | thech;
+                        bsLiveShadow += 8;
+                        continue;
+                    } else {
+                        throw new IOException(&quot;unexpected end of 
stream&quot;);
+                    }
+                }
+                int zvec = (bsBuffShadow &gt;&gt; (bsLiveShadow - zn)) &amp; 
((1 &lt;&lt; zn) - 1);
+                bsLiveShadow -= zn;
+
+                while (zvec &gt; limit_zt[zn]) {
+                    zn++;
+                    while (bsLiveShadow &lt; 1) {
+                        final int thech = inShadow.read();
+                        if (thech &gt;= 0) {
+                            bsBuffShadow = (bsBuffShadow &lt;&lt; 8) | thech;
+                            bsLiveShadow += 8;
+                            continue;
+                        } else {
+                            throw new IOException(&quot;unexpected end of 
stream&quot;);
+                        }
+                    }
+                    bsLiveShadow--;
+                    zvec = (zvec &lt;&lt; 1) | ((bsBuffShadow &gt;&gt; 
bsLiveShadow) &amp; 1);
+                }
+                nextSym = perm_zt[zvec - base_zt[zn]];
+            }</pre>
+</div>
+</td></tr>
+<table class="bodyTable"></p>
+</div>
+
+      </div>
+    </div>
+    <div class="clear">
+      <hr/>
+    </div>
+    <div id="footer">
+      <div class="xright">&#169;  
+          2009
+    
+          The Apache Software Foundation
+          
+  
+
+  
+    
+  
+  
+    
+  </div>
+      <div class="clear">
+        <hr/>
+      </div>
+    </div>
+  </body>
+</html>

Added: lucene/tika/site/cpd.xml
URL: http://svn.apache.org/viewvc/lucene/tika/site/cpd.xml?rev=756051&view=auto
==============================================================================
--- lucene/tika/site/cpd.xml (added)
+++ lucene/tika/site/cpd.xml Thu Mar 19 15:43:09 2009
@@ -0,0 +1,56 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<pmd-cpd>
+<duplication lines="45" tokens="220">
+<file line="606" 
path="/Users/mattmann/src/tika/trunk/src/main/java/org/apache/tika/parser/pkg/bzip2/CBZip2InputStream.java"/>
+<file line="686" 
path="/Users/mattmann/src/tika/trunk/src/main/java/org/apache/tika/parser/pkg/bzip2/CBZip2InputStream.java"/>
+<codefragment>
+<![CDATA[
+                if (groupPos == 0) {
+                    groupPos    = G_SIZE - 1;
+                    zt          = selector[++groupNo] & 0xff;
+                    base_zt     = base[zt];
+                    limit_zt    = limit[zt];
+                    perm_zt     = perm[zt];
+                    minLens_zt  = minLens[zt];
+                } else {
+                    groupPos--;
+                }
+
+                int zn = minLens_zt;
+
+                // Inlined:
+                // int zvec = bsR(zn);
+                while (bsLiveShadow < zn) {
+                    final int thech = inShadow.read();
+                    if (thech >= 0) {
+                        bsBuffShadow = (bsBuffShadow << 8) | thech;
+                        bsLiveShadow += 8;
+                        continue;
+                    } else {
+                        throw new IOException("unexpected end of stream");
+                    }
+                }
+                int zvec = (bsBuffShadow >> (bsLiveShadow - zn)) & ((1 << zn) 
- 1);
+                bsLiveShadow -= zn;
+
+                while (zvec > limit_zt[zn]) {
+                    zn++;
+                    while (bsLiveShadow < 1) {
+                        final int thech = inShadow.read();
+                        if (thech >= 0) {
+                            bsBuffShadow = (bsBuffShadow << 8) | thech;
+                            bsLiveShadow += 8;
+                            continue;
+                        } else {
+                            throw new IOException("unexpected end of stream");
+                        }
+                    }
+                    bsLiveShadow--;
+                    zvec = (zvec << 1) | ((bsBuffShadow >> bsLiveShadow) & 1);
+                }
+                nextSym = perm_zt[zvec - base_zt[zn]];
+            }
+]]>
+</codefragment>
+</duplication>
+</pmd-cpd>
\ No newline at end of file


Reply via email to