commons-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brit...@apache.org
Subject svn commit: r949214 [23/35] - in /websites/production/commons/content/sandbox/commons-text: ./ apidocs/ apidocs/org/apache/commons/text/diff/ apidocs/org/apache/commons/text/diff/class-use/ apidocs/org/apache/commons/text/names/ apidocs/org/apache/comm...
Date Sun, 26 Apr 2015 10:18:28 GMT
Modified: websites/production/commons/content/sandbox/commons-text/jacoco/org.apache.commons.text.names/NameParseException.java.html
==============================================================================
--- websites/production/commons/content/sandbox/commons-text/jacoco/org.apache.commons.text.names/NameParseException.java.html (original)
+++ websites/production/commons/content/sandbox/commons-text/jacoco/org.apache.commons.text.names/NameParseException.java.html Sun Apr 26 10:18:25 2015
@@ -18,10 +18,8 @@ package org.apache.commons.text.names;
 
 /**
  * Name parse exception.
- *
- * @since 1.0
  */
-public class NameParseException extends RuntimeException {
+public final class NameParseException extends RuntimeException {
 
     /**
      * Serial UID.
@@ -32,8 +30,8 @@ public class NameParseException extends
      * Constructor.
      */
     public NameParseException() {
-<span class="nc" id="L35">        super();</span>
-<span class="nc" id="L36">    }</span>
+<span class="nc" id="L33">        super();</span>
+<span class="nc" id="L34">    }</span>
 
     /**
      * Contructor with message.
@@ -41,8 +39,8 @@ public class NameParseException extends
      * @param message message
      */
     public NameParseException(String message) {
-<span class="nc" id="L44">        super(message);</span>
-<span class="nc" id="L45">    }</span>
+<span class="nc" id="L42">        super(message);</span>
+<span class="nc" id="L43">    }</span>
 
     /**
      * Constructor with case.
@@ -50,8 +48,8 @@ public class NameParseException extends
      * @param cause cause
      */
     public NameParseException(Throwable cause) {
-<span class="nc" id="L53">        super(cause);</span>
-<span class="nc" id="L54">    }</span>
+<span class="nc" id="L51">        super(cause);</span>
+<span class="nc" id="L52">    }</span>
 
     /**
      * Constructor with message and cause.
@@ -60,8 +58,8 @@ public class NameParseException extends
      * @param cause cause
      */
     public NameParseException(String message, Throwable cause) {
-<span class="nc" id="L63">        super(message, cause);</span>
-<span class="nc" id="L64">    }</span>
+<span class="nc" id="L61">        super(message, cause);</span>
+<span class="nc" id="L62">    }</span>
 
     /**
      * Complete constructor.
@@ -73,8 +71,8 @@ public class NameParseException extends
      */
     public NameParseException(String message, Throwable cause,
             boolean enableSuppression, boolean writableStackTrace) {
-<span class="nc" id="L76">        super(message, cause, enableSuppression, writableStackTrace);</span>
-<span class="nc" id="L77">    }</span>
+<span class="nc" id="L74">        super(message, cause, enableSuppression, writableStackTrace);</span>
+<span class="nc" id="L75">    }</span>
 
 }
 </pre><div class="footer"><span class="right">Created with <a href="http://www.eclemma.org/jacoco">JaCoCo</a> 0.7.2.201409121644</span></div></body></html>
\ No newline at end of file

Added: websites/production/commons/content/sandbox/commons-text/jacoco/org.apache.commons.text.names/NameString.html
==============================================================================
--- websites/production/commons/content/sandbox/commons-text/jacoco/org.apache.commons.text.names/NameString.html (added)
+++ websites/production/commons/content/sandbox/commons-text/jacoco/org.apache.commons.text.names/NameString.html Sun Apr 26 10:18:25 2015
@@ -0,0 +1 @@
+<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml" lang="en"><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/><link rel="stylesheet" href="../.resources/report.css" type="text/css"/><link rel="shortcut icon" href="../.resources/report.gif" type="image/gif"/><title>NameString</title><script type="text/javascript" src="../.resources/sort.js"></script></head><body onload="initialSort(['breadcrumb'])"><div class="breadcrumb" id="breadcrumb"><span class="info"><a href="../.sessions.html" class="el_session">Sessions</a></span><a href="../index.html" class="el_report">Apache Commons Text</a> &gt; <a href="index.html" class="el_package">org.apache.commons.text.names</a> &gt; <span class="el_class">NameString</span></div><h1>NameString</h1><table class="coverage" cellspacing="0" id="coveragetable"><thead><tr><td class="sortable" id
 ="a" onclick="toggleSort(this)">Element</td><td class="down sortable bar" id="b" onclick="toggleSort(this)">Missed Instructions</td><td class="sortable ctr2" id="c" onclick="toggleSort(this)">Cov.</td><td class="sortable bar" id="d" onclick="toggleSort(this)">Missed Branches</td><td class="sortable ctr2" id="e" onclick="toggleSort(this)">Cov.</td><td class="sortable ctr1" id="f" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="g" onclick="toggleSort(this)">Cxty</td><td class="sortable ctr1" id="h" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="i" onclick="toggleSort(this)">Lines</td><td class="sortable ctr1" id="j" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="k" onclick="toggleSort(this)">Methods</td></tr></thead><tfoot><tr><td>Total</td><td class="bar">20 of 140</td><td class="ctr2">86%</td><td class="bar">4 of 14</td><td class="ctr2">71%</td><td class="ctr1">4</td><td class="ctr2">12</td><td class="ctr1">2</td><td clas
 s="ctr2">32</td><td class="ctr1">0</td><td class="ctr2">5</td></tr></tfoot><tbody><tr><td id="a1"><a href="NameString.java.html#L100" class="el_method">flip(String)</a></td><td class="bar" id="b0"><img src="../.resources/redbar.gif" width="27" height="10" title="14" alt="14"/><img src="../.resources/greenbar.gif" width="67" height="10" title="35" alt="35"/></td><td class="ctr2" id="c4">71%</td><td class="bar" id="d1"><img src="../.resources/redbar.gif" width="12" height="10" title="1" alt="1"/><img src="../.resources/greenbar.gif" width="36" height="10" title="3" alt="3"/></td><td class="ctr2" id="e0">75%</td><td class="ctr1" id="f1">1</td><td class="ctr2" id="g1">3</td><td class="ctr1" id="h0">1</td><td class="ctr2" id="i1">7</td><td class="ctr1" id="j0">0</td><td class="ctr2" id="k0">1</td></tr><tr><td id="a0"><a href="NameString.java.html#L64" class="el_method">chopWithRegex(String, int)</a></td><td class="bar" id="b1"><img src="../.resources/redbar.gif" width="11" height="10" ti
 tle="6" alt="6"/><img src="../.resources/greenbar.gif" width="108" height="10" title="56" alt="56"/></td><td class="ctr2" id="c3">90%</td><td class="bar" id="d0"><img src="../.resources/redbar.gif" width="36" height="10" title="3" alt="3"/><img src="../.resources/greenbar.gif" width="84" height="10" title="7" alt="7"/></td><td class="ctr2" id="e1">70%</td><td class="ctr1" id="f0">3</td><td class="ctr2" id="g0">6</td><td class="ctr1" id="h1">1</td><td class="ctr2" id="i0">17</td><td class="ctr1" id="j1">0</td><td class="ctr2" id="k1">1</td></tr><tr><td id="a4"><a href="NameString.java.html#L117" class="el_method">norm()</a></td><td class="bar" id="b2"><img src="../.resources/greenbar.gif" width="38" height="10" title="20" alt="20"/></td><td class="ctr2" id="c0">100%</td><td class="bar" id="d2"/><td class="ctr2" id="e2">n/a</td><td class="ctr1" id="f2">0</td><td class="ctr2" id="g2">1</td><td class="ctr1" id="h2">0</td><td class="ctr2" id="i2">4</td><td class="ctr1" id="j2">0</td><td 
 class="ctr2" id="k2">1</td></tr><tr><td id="a3"><a href="NameString.java.html#L40" class="el_method">NameString(String)</a></td><td class="bar" id="b3"><img src="../.resources/greenbar.gif" width="11" height="10" title="6" alt="6"/></td><td class="ctr2" id="c1">100%</td><td class="bar" id="d3"/><td class="ctr2" id="e3">n/a</td><td class="ctr1" id="f3">0</td><td class="ctr2" id="g3">1</td><td class="ctr1" id="h3">0</td><td class="ctr2" id="i3">3</td><td class="ctr1" id="j3">0</td><td class="ctr2" id="k3">1</td></tr><tr><td id="a2"><a href="NameString.java.html#L50" class="el_method">getWrappedString()</a></td><td class="bar" id="b4"><img src="../.resources/greenbar.gif" width="5" height="10" title="3" alt="3"/></td><td class="ctr2" id="c2">100%</td><td class="bar" id="d4"/><td class="ctr2" id="e4">n/a</td><td class="ctr1" id="f4">0</td><td class="ctr2" id="g4">1</td><td class="ctr1" id="h4">0</td><td class="ctr2" id="i4">1</td><td class="ctr1" id="j4">0</td><td class="ctr2" id="k4">1
 </td></tr></tbody></table><div class="footer"><span class="right">Created with <a href="http://www.eclemma.org/jacoco">JaCoCo</a> 0.7.2.201409121644</span></div></body></html>
\ No newline at end of file

Propchange: websites/production/commons/content/sandbox/commons-text/jacoco/org.apache.commons.text.names/NameString.html
------------------------------------------------------------------------------
    svn:eol-style = native

Added: websites/production/commons/content/sandbox/commons-text/jacoco/org.apache.commons.text.names/NameString.java.html
==============================================================================
--- websites/production/commons/content/sandbox/commons-text/jacoco/org.apache.commons.text.names/NameString.java.html (added)
+++ websites/production/commons/content/sandbox/commons-text/jacoco/org.apache.commons.text.names/NameString.java.html Sun Apr 26 10:18:25 2015
@@ -0,0 +1,123 @@
+<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml" lang="en"><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/><link rel="stylesheet" href="../.resources/report.css" type="text/css"/><link rel="shortcut icon" href="../.resources/report.gif" type="image/gif"/><title>NameString.java</title><link rel="stylesheet" href="../.resources/prettify.css" type="text/css"/><script type="text/javascript" src="../.resources/prettify.js"></script></head><body onload="window['PR_TAB_WIDTH']=4;prettyPrint()"><div class="breadcrumb" id="breadcrumb"><span class="info"><a href="../.sessions.html" class="el_session">Sessions</a></span><a href="../index.html" class="el_report">Apache Commons Text</a> &gt; <a href="index.source.html" class="el_package">org.apache.commons.text.names</a> &gt; <span class="el_source">NameString.java</span></div><h1>N
 ameString.java</h1><pre class="source lang-java linenums">/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the &quot;License&quot;); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an &quot;AS IS&quot; BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.commons.text.names;
+
+import java.util.regex.Matcher;
+import java.util.regex.Pattern;
+
+/**
+ * A wrapper around a String representing a Name to parse. Contains the logic
+ * for handling executing Regexes on the wrapped name string.
+ *
+ * &lt;p&gt;This class is not thread-safe.&lt;/p&gt;
+ */
+final class NameString {
+
+    /**
+     * Encapsulated string. Not immutable!
+     */
+    private String str;
+
+    /**
+     * Creates a new Name object.
+     *
+     * @param str encapsulated string.
+     */
+<span class="fc" id="L40">    NameString(String str) {</span>
+<span class="fc" id="L41">        this.str = str;</span>
+<span class="fc" id="L42">    }</span>
+
+    /**
+     * Gets the wrapped string.
+     *
+     * @return wrapped string
+     */
+    String getWrappedString() {
+<span class="fc" id="L50">        return str;</span>
+    }
+
+    /**
+     * Uses a regex to chop off and return part of the namestring.
+     * There are two parts: first, it returns the matched substring,
+     * and then it removes that substring from the encapsulated
+     * string and normalizes it.
+     *
+     * @param regex matches the part of the namestring to chop off
+     * @param submatchIndex which of the parenthesized submatches to use
+     * @return the part of the namestring that got chopped off
+     */
+    String chopWithRegex(String regex, int submatchIndex) {
+<span class="fc" id="L64">        String chopped = &quot;&quot;;</span>
+<span class="fc" id="L65">        Pattern pattern = Pattern.compile(regex);</span>
+<span class="fc" id="L66">        Matcher matcher = pattern.matcher(this.str);</span>
+
+        // workdaround for numReplacements in Java
+<span class="fc" id="L69">        int numReplacements = 0;</span>
+<span class="fc bfc" id="L70" title="All 2 branches covered.">        while (matcher.find()) {</span>
+<span class="fc" id="L71">            numReplacements++;</span>
+        }
+
+        // recreate or the groups are gone
+<span class="fc" id="L75">        pattern = Pattern.compile(regex);</span>
+<span class="fc" id="L76">        matcher = pattern.matcher(this.str);</span>
+<span class="fc bfc" id="L77" title="All 2 branches covered.">        if (matcher.find()) {</span>
+<span class="pc bpc" id="L78" title="1 of 2 branches missed.">            boolean subset = matcher.groupCount() &gt; submatchIndex;</span>
+<span class="pc bpc" id="L79" title="1 of 2 branches missed.">            if (subset) {</span>
+<span class="fc" id="L80">                this.str = this.str.replaceAll(regex, &quot; &quot;);</span>
+<span class="pc bpc" id="L81" title="1 of 2 branches missed.">                if (numReplacements &gt; 1) {</span>
+<span class="nc" id="L82">                    throw new NameParseException(&quot;The regex being used to find the name has multiple matches.&quot;);</span>
+                }
+<span class="fc" id="L84">                this.norm();</span>
+<span class="fc" id="L85">                return matcher.group(submatchIndex).trim();</span>
+            }
+        }
+<span class="fc" id="L88">        return chopped;</span>
+    }
+
+    /**
+     * Flips the front and back parts of a name with one another.
+     * Front and back are determined by a specified character somewhere in the
+     * middle of the string.
+     *
+     * @param flipAroundChar the character(s) demarcating the two halves you want to flip.
+     * @throws NameParseException if a regex fails or a condition is not expected
+     */
+    void flip(String flipAroundChar) {
+<span class="fc" id="L100">        String[] parts = this.str.split(flipAroundChar);</span>
+<span class="fc bfc" id="L101" title="All 2 branches covered.">        if (parts.length == 2) {</span>
+<span class="fc" id="L102">            this.str = String.format(&quot;%s %s&quot;, parts[1], parts[0]);</span>
+<span class="fc" id="L103">            this.norm();</span>
+<span class="pc bpc" id="L104" title="1 of 2 branches missed.">        } else if (parts.length &gt; 2) {</span>
+<span class="nc" id="L105">            throw new NameParseException(</span>
+                    &quot;Can't flip around multiple '&quot; + flipAroundChar + &quot;' characters in namestring.&quot;);
+        }
+<span class="fc" id="L108">    }</span>
+
+    /**
+     * &lt;p&gt;Removes extra whitespace and punctuation from {@code this.str}.&lt;/p&gt;
+     *
+     * &lt;p&gt;Strips whitespace chars from ends, strips redundant whitespace, converts
+     * whitespace chars to &quot; &quot;.&lt;/p&gt;
+     */
+    private void norm() {
+<span class="fc" id="L117">        this.str = this.str.trim();</span>
+<span class="fc" id="L118">        this.str = this.str.replaceAll(&quot;\\s+&quot;, &quot; &quot;);</span>
+<span class="fc" id="L119">        this.str = this.str.replaceAll(&quot;,$&quot;, &quot; &quot;);</span>
+<span class="fc" id="L120">    }</span>
+
+}
+</pre><div class="footer"><span class="right">Created with <a href="http://www.eclemma.org/jacoco">JaCoCo</a> 0.7.2.201409121644</span></div></body></html>
\ No newline at end of file

Propchange: websites/production/commons/content/sandbox/commons-text/jacoco/org.apache.commons.text.names/NameString.java.html
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: websites/production/commons/content/sandbox/commons-text/jacoco/org.apache.commons.text.names/index.html
==============================================================================
--- websites/production/commons/content/sandbox/commons-text/jacoco/org.apache.commons.text.names/index.html (original)
+++ websites/production/commons/content/sandbox/commons-text/jacoco/org.apache.commons.text.names/index.html Sun Apr 26 10:18:25 2015
@@ -1 +1 @@
-<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml" lang="en"><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/><link rel="stylesheet" href="../.resources/report.css" type="text/css"/><link rel="shortcut icon" href="../.resources/report.gif" type="image/gif"/><title>org.apache.commons.text.names</title><script type="text/javascript" src="../.resources/sort.js"></script></head><body onload="initialSort(['breadcrumb', 'coveragetable'])"><div class="breadcrumb" id="breadcrumb"><span class="info"><a href="index.source.html" class="el_source">Source Files</a><a href="../.sessions.html" class="el_session">Sessions</a></span><a href="../index.html" class="el_report">Apache Commons Text</a> &gt; <span class="el_package">org.apache.commons.text.names</span></div><h1>org.apache.commons.text.names</h1><table class="coverage" cellspacin
 g="0" id="coveragetable"><thead><tr><td class="sortable" id="a" onclick="toggleSort(this)">Element</td><td class="down sortable bar" id="b" onclick="toggleSort(this)">Missed Instructions</td><td class="sortable ctr2" id="c" onclick="toggleSort(this)">Cov.</td><td class="sortable bar" id="d" onclick="toggleSort(this)">Missed Branches</td><td class="sortable ctr2" id="e" onclick="toggleSort(this)">Cov.</td><td class="sortable ctr1" id="f" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="g" onclick="toggleSort(this)">Cxty</td><td class="sortable ctr1" id="h" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="i" onclick="toggleSort(this)">Lines</td><td class="sortable ctr1" id="j" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="k" onclick="toggleSort(this)">Methods</td><td class="sortable ctr1" id="l" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="m" onclick="toggleSort(this)">Classes</td></tr></thead><tfoot><t
 r><td>Total</td><td class="bar">68 of 474</td><td class="ctr2">86%</td><td class="bar">6 of 18</td><td class="ctr2">67%</td><td class="ctr1">14</td><td class="ctr2">32</td><td class="ctr1">16</td><td class="ctr2">87</td><td class="ctr1">8</td><td class="ctr2">23</td><td class="ctr1">1</td><td class="ctr2">3</td></tr></tfoot><tbody><tr><td id="a0"><a href="HumanNameParser.html" class="el_class">HumanNameParser</a></td><td class="bar" id="b0"><img src="../.resources/redbar.gif" width="9" height="10" title="25" alt="25"/><img src="../.resources/greenbar.gif" width="110" height="10" title="278" alt="278"/></td><td class="ctr2" id="c0">92%</td><td class="bar" id="d1"><img src="../.resources/redbar.gif" width="7" height="10" title="1" alt="1"/><img src="../.resources/greenbar.gif" width="7" height="10" title="1" alt="1"/></td><td class="ctr2" id="e1">50%</td><td class="ctr1" id="f2">4</td><td class="ctr2" id="g1">13</td><td class="ctr1" id="h1">4</td><td class="ctr2" id="i0">41</td><td cl
 ass="ctr1" id="j1">3</td><td class="ctr2" id="k0">12</td><td class="ctr1" id="l1">0</td><td class="ctr2" id="m0">1</td></tr><tr><td id="a2"><a href="NameParseException.html" class="el_class">NameParseException</a></td><td class="bar" id="b1"><img src="../.resources/redbar.gif" width="9" height="10" title="23" alt="23"/></td><td class="ctr2" id="c2">0%</td><td class="bar" id="d2"/><td class="ctr2" id="e2">n/a</td><td class="ctr1" id="f0">5</td><td class="ctr2" id="g2">5</td><td class="ctr1" id="h0">10</td><td class="ctr2" id="i2">10</td><td class="ctr1" id="j0">5</td><td class="ctr2" id="k2">5</td><td class="ctr1" id="l0">1</td><td class="ctr2" id="m1">1</td></tr><tr><td id="a1"><a href="Name.html" class="el_class">Name</a></td><td class="bar" id="b2"><img src="../.resources/redbar.gif" width="7" height="10" title="20" alt="20"/><img src="../.resources/greenbar.gif" width="50" height="10" title="128" alt="128"/></td><td class="ctr2" id="c1">86%</td><td class="bar" id="d0"><img src=".
 ./.resources/redbar.gif" width="37" height="10" title="5" alt="5"/><img src="../.resources/greenbar.gif" width="82" height="10" title="11" alt="11"/></td><td class="ctr2" id="e0">69%</td><td class="ctr1" id="f1">5</td><td class="ctr2" id="g0">14</td><td class="ctr1" id="h2">2</td><td class="ctr2" id="i1">36</td><td class="ctr1" id="j2">0</td><td class="ctr2" id="k1">6</td><td class="ctr1" id="l2">0</td><td class="ctr2" id="m2">1</td></tr></tbody></table><div class="footer"><span class="right">Created with <a href="http://www.eclemma.org/jacoco">JaCoCo</a> 0.7.2.201409121644</span></div></body></html>
\ No newline at end of file
+<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml" lang="en"><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/><link rel="stylesheet" href="../.resources/report.css" type="text/css"/><link rel="shortcut icon" href="../.resources/report.gif" type="image/gif"/><title>org.apache.commons.text.names</title><script type="text/javascript" src="../.resources/sort.js"></script></head><body onload="initialSort(['breadcrumb', 'coveragetable'])"><div class="breadcrumb" id="breadcrumb"><span class="info"><a href="index.source.html" class="el_source">Source Files</a><a href="../.sessions.html" class="el_session">Sessions</a></span><a href="../index.html" class="el_report">Apache Commons Text</a> &gt; <span class="el_package">org.apache.commons.text.names</span></div><h1>org.apache.commons.text.names</h1><table class="coverage" cellspacin
 g="0" id="coveragetable"><thead><tr><td class="sortable" id="a" onclick="toggleSort(this)">Element</td><td class="down sortable bar" id="b" onclick="toggleSort(this)">Missed Instructions</td><td class="sortable ctr2" id="c" onclick="toggleSort(this)">Cov.</td><td class="sortable bar" id="d" onclick="toggleSort(this)">Missed Branches</td><td class="sortable ctr2" id="e" onclick="toggleSort(this)">Cov.</td><td class="sortable ctr1" id="f" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="g" onclick="toggleSort(this)">Cxty</td><td class="sortable ctr1" id="h" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="i" onclick="toggleSort(this)">Lines</td><td class="sortable ctr1" id="j" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="k" onclick="toggleSort(this)">Methods</td><td class="sortable ctr1" id="l" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="m" onclick="toggleSort(this)">Classes</td></tr></thead><tfoot><t
 r><td>Total</td><td class="bar">149 of 542</td><td class="ctr2">73%</td><td class="bar">23 of 34</td><td class="ctr2">32%</td><td class="ctr1">21</td><td class="ctr2">38</td><td class="ctr1">18</td><td class="ctr2">84</td><td class="ctr1">7</td><td class="ctr2">21</td><td class="ctr1">1</td><td class="ctr2">4</td></tr></tfoot><tbody><tr><td id="a1"><a href="Name.html" class="el_class">Name</a></td><td class="bar" id="b0"><img src="../.resources/redbar.gif" width="43" height="10" title="91" alt="91"/><img src="../.resources/greenbar.gif" width="18" height="10" title="39" alt="39"/></td><td class="ctr2" id="c2">30%</td><td class="bar" id="d0"><img src="../.resources/redbar.gif" width="120" height="10" title="18" alt="18"/></td><td class="ctr2" id="e2">0%</td><td class="ctr1" id="f0">11</td><td class="ctr2" id="g0">18</td><td class="ctr1" id="h1">5</td><td class="ctr2" id="i2">19</td><td class="ctr1" id="j1">2</td><td class="ctr2" id="k0">9</td><td class="ctr1" id="l1">0</td><td class=
 "ctr2" id="m0">1</td></tr><tr><td id="a2"><a href="NameParseException.html" class="el_class">NameParseException</a></td><td class="bar" id="b1"><img src="../.resources/redbar.gif" width="11" height="10" title="23" alt="23"/></td><td class="ctr2" id="c3">0%</td><td class="bar" id="d3"/><td class="ctr2" id="e3">n/a</td><td class="ctr1" id="f1">5</td><td class="ctr2" id="g2">5</td><td class="ctr1" id="h0">10</td><td class="ctr2" id="i3">10</td><td class="ctr1" id="j0">5</td><td class="ctr2" id="k1">5</td><td class="ctr1" id="l0">1</td><td class="ctr2" id="m1">1</td></tr><tr><td id="a3"><a href="NameString.html" class="el_class">NameString</a></td><td class="bar" id="b2"><img src="../.resources/redbar.gif" width="9" height="10" title="20" alt="20"/><img src="../.resources/greenbar.gif" width="57" height="10" title="120" alt="120"/></td><td class="ctr2" id="c1">86%</td><td class="bar" id="d1"><img src="../.resources/redbar.gif" width="26" height="10" title="4" alt="4"/><img src="../.reso
 urces/greenbar.gif" width="66" height="10" title="10" alt="10"/></td><td class="ctr2" id="e0">71%</td><td class="ctr1" id="f2">4</td><td class="ctr2" id="g1">12</td><td class="ctr1" id="h2">2</td><td class="ctr2" id="i0">32</td><td class="ctr1" id="j2">0</td><td class="ctr2" id="k2">5</td><td class="ctr1" id="l2">0</td><td class="ctr2" id="m2">1</td></tr><tr><td id="a0"><a href="HumanNameParser.html" class="el_class">HumanNameParser</a></td><td class="bar" id="b3"><img src="../.resources/redbar.gif" width="7" height="10" title="15" alt="15"/><img src="../.resources/greenbar.gif" width="112" height="10" title="234" alt="234"/></td><td class="ctr2" id="c0">94%</td><td class="bar" id="d2"><img src="../.resources/redbar.gif" width="6" height="10" title="1" alt="1"/><img src="../.resources/greenbar.gif" width="6" height="10" title="1" alt="1"/></td><td class="ctr2" id="e1">50%</td><td class="ctr1" id="f3">1</td><td class="ctr2" id="g3">3</td><td class="ctr1" id="h3">1</td><td class="ctr2
 " id="i1">23</td><td class="ctr1" id="j3">0</td><td class="ctr2" id="k3">2</td><td class="ctr1" id="l3">0</td><td class="ctr2" id="m3">1</td></tr></tbody></table><div class="footer"><span class="right">Created with <a href="http://www.eclemma.org/jacoco">JaCoCo</a> 0.7.2.201409121644</span></div></body></html>
\ No newline at end of file

Modified: websites/production/commons/content/sandbox/commons-text/jacoco/org.apache.commons.text.names/index.source.html
==============================================================================
--- websites/production/commons/content/sandbox/commons-text/jacoco/org.apache.commons.text.names/index.source.html (original)
+++ websites/production/commons/content/sandbox/commons-text/jacoco/org.apache.commons.text.names/index.source.html Sun Apr 26 10:18:25 2015
@@ -1 +1 @@
-<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml" lang="en"><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/><link rel="stylesheet" href="../.resources/report.css" type="text/css"/><link rel="shortcut icon" href="../.resources/report.gif" type="image/gif"/><title>org.apache.commons.text.names</title><script type="text/javascript" src="../.resources/sort.js"></script></head><body onload="initialSort(['breadcrumb', 'coveragetable'])"><div class="breadcrumb" id="breadcrumb"><span class="info"><a href="index.html" class="el_class">Classes</a><a href="../.sessions.html" class="el_session">Sessions</a></span><a href="../index.html" class="el_report">Apache Commons Text</a> &gt; <span class="el_package">org.apache.commons.text.names</span></div><h1>org.apache.commons.text.names</h1><table class="coverage" cellspacing="0" id="cov
 eragetable"><thead><tr><td class="sortable" id="a" onclick="toggleSort(this)">Element</td><td class="down sortable bar" id="b" onclick="toggleSort(this)">Missed Instructions</td><td class="sortable ctr2" id="c" onclick="toggleSort(this)">Cov.</td><td class="sortable bar" id="d" onclick="toggleSort(this)">Missed Branches</td><td class="sortable ctr2" id="e" onclick="toggleSort(this)">Cov.</td><td class="sortable ctr1" id="f" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="g" onclick="toggleSort(this)">Cxty</td><td class="sortable ctr1" id="h" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="i" onclick="toggleSort(this)">Lines</td><td class="sortable ctr1" id="j" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="k" onclick="toggleSort(this)">Methods</td><td class="sortable ctr1" id="l" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="m" onclick="toggleSort(this)">Classes</td></tr></thead><tfoot><tr><td>Total</
 td><td class="bar">68 of 474</td><td class="ctr2">86%</td><td class="bar">6 of 18</td><td class="ctr2">67%</td><td class="ctr1">14</td><td class="ctr2">32</td><td class="ctr1">16</td><td class="ctr2">87</td><td class="ctr1">8</td><td class="ctr2">23</td><td class="ctr1">1</td><td class="ctr2">3</td></tr></tfoot><tbody><tr><td id="a0"><a href="HumanNameParser.java.html" class="el_source">HumanNameParser.java</a></td><td class="bar" id="b0"><img src="../.resources/redbar.gif" width="9" height="10" title="25" alt="25"/><img src="../.resources/greenbar.gif" width="110" height="10" title="278" alt="278"/></td><td class="ctr2" id="c0">92%</td><td class="bar" id="d1"><img src="../.resources/redbar.gif" width="7" height="10" title="1" alt="1"/><img src="../.resources/greenbar.gif" width="7" height="10" title="1" alt="1"/></td><td class="ctr2" id="e1">50%</td><td class="ctr1" id="f2">4</td><td class="ctr2" id="g1">13</td><td class="ctr1" id="h1">4</td><td class="ctr2" id="i0">41</td><td clas
 s="ctr1" id="j1">3</td><td class="ctr2" id="k0">12</td><td class="ctr1" id="l1">0</td><td class="ctr2" id="m0">1</td></tr><tr><td id="a2"><a href="NameParseException.java.html" class="el_source">NameParseException.java</a></td><td class="bar" id="b1"><img src="../.resources/redbar.gif" width="9" height="10" title="23" alt="23"/></td><td class="ctr2" id="c2">0%</td><td class="bar" id="d2"/><td class="ctr2" id="e2">n/a</td><td class="ctr1" id="f0">5</td><td class="ctr2" id="g2">5</td><td class="ctr1" id="h0">10</td><td class="ctr2" id="i2">10</td><td class="ctr1" id="j0">5</td><td class="ctr2" id="k2">5</td><td class="ctr1" id="l0">1</td><td class="ctr2" id="m1">1</td></tr><tr><td id="a1"><a href="Name.java.html" class="el_source">Name.java</a></td><td class="bar" id="b2"><img src="../.resources/redbar.gif" width="7" height="10" title="20" alt="20"/><img src="../.resources/greenbar.gif" width="50" height="10" title="128" alt="128"/></td><td class="ctr2" id="c1">86%</td><td class="bar"
  id="d0"><img src="../.resources/redbar.gif" width="37" height="10" title="5" alt="5"/><img src="../.resources/greenbar.gif" width="82" height="10" title="11" alt="11"/></td><td class="ctr2" id="e0">69%</td><td class="ctr1" id="f1">5</td><td class="ctr2" id="g0">14</td><td class="ctr1" id="h2">2</td><td class="ctr2" id="i1">36</td><td class="ctr1" id="j2">0</td><td class="ctr2" id="k1">6</td><td class="ctr1" id="l2">0</td><td class="ctr2" id="m2">1</td></tr></tbody></table><div class="footer"><span class="right">Created with <a href="http://www.eclemma.org/jacoco">JaCoCo</a> 0.7.2.201409121644</span></div></body></html>
\ No newline at end of file
+<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml" lang="en"><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/><link rel="stylesheet" href="../.resources/report.css" type="text/css"/><link rel="shortcut icon" href="../.resources/report.gif" type="image/gif"/><title>org.apache.commons.text.names</title><script type="text/javascript" src="../.resources/sort.js"></script></head><body onload="initialSort(['breadcrumb', 'coveragetable'])"><div class="breadcrumb" id="breadcrumb"><span class="info"><a href="index.html" class="el_class">Classes</a><a href="../.sessions.html" class="el_session">Sessions</a></span><a href="../index.html" class="el_report">Apache Commons Text</a> &gt; <span class="el_package">org.apache.commons.text.names</span></div><h1>org.apache.commons.text.names</h1><table class="coverage" cellspacing="0" id="cov
 eragetable"><thead><tr><td class="sortable" id="a" onclick="toggleSort(this)">Element</td><td class="down sortable bar" id="b" onclick="toggleSort(this)">Missed Instructions</td><td class="sortable ctr2" id="c" onclick="toggleSort(this)">Cov.</td><td class="sortable bar" id="d" onclick="toggleSort(this)">Missed Branches</td><td class="sortable ctr2" id="e" onclick="toggleSort(this)">Cov.</td><td class="sortable ctr1" id="f" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="g" onclick="toggleSort(this)">Cxty</td><td class="sortable ctr1" id="h" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="i" onclick="toggleSort(this)">Lines</td><td class="sortable ctr1" id="j" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="k" onclick="toggleSort(this)">Methods</td><td class="sortable ctr1" id="l" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="m" onclick="toggleSort(this)">Classes</td></tr></thead><tfoot><tr><td>Total</
 td><td class="bar">149 of 542</td><td class="ctr2">73%</td><td class="bar">23 of 34</td><td class="ctr2">32%</td><td class="ctr1">21</td><td class="ctr2">38</td><td class="ctr1">18</td><td class="ctr2">84</td><td class="ctr1">7</td><td class="ctr2">21</td><td class="ctr1">1</td><td class="ctr2">4</td></tr></tfoot><tbody><tr><td id="a1"><a href="Name.java.html" class="el_source">Name.java</a></td><td class="bar" id="b0"><img src="../.resources/redbar.gif" width="43" height="10" title="91" alt="91"/><img src="../.resources/greenbar.gif" width="18" height="10" title="39" alt="39"/></td><td class="ctr2" id="c2">30%</td><td class="bar" id="d0"><img src="../.resources/redbar.gif" width="120" height="10" title="18" alt="18"/></td><td class="ctr2" id="e2">0%</td><td class="ctr1" id="f0">11</td><td class="ctr2" id="g0">18</td><td class="ctr1" id="h1">5</td><td class="ctr2" id="i2">19</td><td class="ctr1" id="j1">2</td><td class="ctr2" id="k0">9</td><td class="ctr1" id="l1">0</td><td class="c
 tr2" id="m0">1</td></tr><tr><td id="a2"><a href="NameParseException.java.html" class="el_source">NameParseException.java</a></td><td class="bar" id="b1"><img src="../.resources/redbar.gif" width="11" height="10" title="23" alt="23"/></td><td class="ctr2" id="c3">0%</td><td class="bar" id="d3"/><td class="ctr2" id="e3">n/a</td><td class="ctr1" id="f1">5</td><td class="ctr2" id="g2">5</td><td class="ctr1" id="h0">10</td><td class="ctr2" id="i3">10</td><td class="ctr1" id="j0">5</td><td class="ctr2" id="k1">5</td><td class="ctr1" id="l0">1</td><td class="ctr2" id="m1">1</td></tr><tr><td id="a3"><a href="NameString.java.html" class="el_source">NameString.java</a></td><td class="bar" id="b2"><img src="../.resources/redbar.gif" width="9" height="10" title="20" alt="20"/><img src="../.resources/greenbar.gif" width="57" height="10" title="120" alt="120"/></td><td class="ctr2" id="c1">86%</td><td class="bar" id="d1"><img src="../.resources/redbar.gif" width="26" height="10" title="4" alt="4"
 /><img src="../.resources/greenbar.gif" width="66" height="10" title="10" alt="10"/></td><td class="ctr2" id="e0">71%</td><td class="ctr1" id="f2">4</td><td class="ctr2" id="g1">12</td><td class="ctr1" id="h2">2</td><td class="ctr2" id="i0">32</td><td class="ctr1" id="j2">0</td><td class="ctr2" id="k2">5</td><td class="ctr1" id="l2">0</td><td class="ctr2" id="m2">1</td></tr><tr><td id="a0"><a href="HumanNameParser.java.html" class="el_source">HumanNameParser.java</a></td><td class="bar" id="b3"><img src="../.resources/redbar.gif" width="7" height="10" title="15" alt="15"/><img src="../.resources/greenbar.gif" width="112" height="10" title="234" alt="234"/></td><td class="ctr2" id="c0">94%</td><td class="bar" id="d2"><img src="../.resources/redbar.gif" width="6" height="10" title="1" alt="1"/><img src="../.resources/greenbar.gif" width="6" height="10" title="1" alt="1"/></td><td class="ctr2" id="e1">50%</td><td class="ctr1" id="f3">1</td><td class="ctr2" id="g3">3</td><td class="ctr1
 " id="h3">1</td><td class="ctr2" id="i1">23</td><td class="ctr1" id="j3">0</td><td class="ctr2" id="k3">2</td><td class="ctr1" id="l3">0</td><td class="ctr2" id="m3">1</td></tr></tbody></table><div class="footer"><span class="right">Created with <a href="http://www.eclemma.org/jacoco">JaCoCo</a> 0.7.2.201409121644</span></div></body></html>
\ No newline at end of file

Modified: websites/production/commons/content/sandbox/commons-text/jacoco/org.apache.commons.text.similarity/CosineDistance.html
==============================================================================
--- websites/production/commons/content/sandbox/commons-text/jacoco/org.apache.commons.text.similarity/CosineDistance.html (original)
+++ websites/production/commons/content/sandbox/commons-text/jacoco/org.apache.commons.text.similarity/CosineDistance.html Sun Apr 26 10:18:25 2015
@@ -1 +1 @@
-<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml" lang="en"><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/><link rel="stylesheet" href="../.resources/report.css" type="text/css"/><link rel="shortcut icon" href="../.resources/report.gif" type="image/gif"/><title>CosineDistance</title><script type="text/javascript" src="../.resources/sort.js"></script></head><body onload="initialSort(['breadcrumb'])"><div class="breadcrumb" id="breadcrumb"><span class="info"><a href="../.sessions.html" class="el_session">Sessions</a></span><a href="../index.html" class="el_report">Apache Commons Text</a> &gt; <a href="index.html" class="el_package">org.apache.commons.text.similarity</a> &gt; <span class="el_class">CosineDistance</span></div><h1>CosineDistance</h1><table class="coverage" cellspacing="0" id="coveragetable"><thead><tr><td cl
 ass="sortable" id="a" onclick="toggleSort(this)">Element</td><td class="down sortable bar" id="b" onclick="toggleSort(this)">Missed Instructions</td><td class="sortable ctr2" id="c" onclick="toggleSort(this)">Cov.</td><td class="sortable bar" id="d" onclick="toggleSort(this)">Missed Branches</td><td class="sortable ctr2" id="e" onclick="toggleSort(this)">Cov.</td><td class="sortable ctr1" id="f" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="g" onclick="toggleSort(this)">Cxty</td><td class="sortable ctr1" id="h" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="i" onclick="toggleSort(this)">Lines</td><td class="sortable ctr1" id="j" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="k" onclick="toggleSort(this)">Methods</td></tr></thead><tfoot><tr><td>Total</td><td class="bar">0 of 43</td><td class="ctr2">100%</td><td class="bar">0 of 0</td><td class="ctr2">n/a</td><td class="ctr1">0</td><td class="ctr2">2</td><td class="ctr1">
 0</td><td class="ctr2">9</td><td class="ctr1">0</td><td class="ctr2">2</td></tr></tfoot><tbody><tr><td id="a0"><a href="CosineDistance.java.html#L46" class="el_method">apply(CharSequence, CharSequence)</a></td><td class="bar" id="b0"><img src="../.resources/greenbar.gif" width="120" height="10" title="30" alt="30"/></td><td class="ctr2" id="c0">100%</td><td class="bar" id="d0"/><td class="ctr2" id="e0">n/a</td><td class="ctr1" id="f0">0</td><td class="ctr2" id="g0">1</td><td class="ctr1" id="h0">0</td><td class="ctr2" id="i0">6</td><td class="ctr1" id="j0">0</td><td class="ctr2" id="k0">1</td></tr><tr><td id="a1"><a href="CosineDistance.java.html#L34" class="el_method">CosineDistance()</a></td><td class="bar" id="b1"><img src="../.resources/greenbar.gif" width="52" height="10" title="13" alt="13"/></td><td class="ctr2" id="c1">100%</td><td class="bar" id="d1"/><td class="ctr2" id="e1">n/a</td><td class="ctr1" id="f1">0</td><td class="ctr2" id="g1">1</td><td class="ctr1" id="h1">0</t
 d><td class="ctr2" id="i1">3</td><td class="ctr1" id="j1">0</td><td class="ctr2" id="k1">1</td></tr></tbody></table><div class="footer"><span class="right">Created with <a href="http://www.eclemma.org/jacoco">JaCoCo</a> 0.7.2.201409121644</span></div></body></html>
\ No newline at end of file
+<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml" lang="en"><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/><link rel="stylesheet" href="../.resources/report.css" type="text/css"/><link rel="shortcut icon" href="../.resources/report.gif" type="image/gif"/><title>CosineDistance</title><script type="text/javascript" src="../.resources/sort.js"></script></head><body onload="initialSort(['breadcrumb'])"><div class="breadcrumb" id="breadcrumb"><span class="info"><a href="../.sessions.html" class="el_session">Sessions</a></span><a href="../index.html" class="el_report">Apache Commons Text</a> &gt; <a href="index.html" class="el_package">org.apache.commons.text.similarity</a> &gt; <span class="el_class">CosineDistance</span></div><h1>CosineDistance</h1><table class="coverage" cellspacing="0" id="coveragetable"><thead><tr><td cl
 ass="sortable" id="a" onclick="toggleSort(this)">Element</td><td class="down sortable bar" id="b" onclick="toggleSort(this)">Missed Instructions</td><td class="sortable ctr2" id="c" onclick="toggleSort(this)">Cov.</td><td class="sortable bar" id="d" onclick="toggleSort(this)">Missed Branches</td><td class="sortable ctr2" id="e" onclick="toggleSort(this)">Cov.</td><td class="sortable ctr1" id="f" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="g" onclick="toggleSort(this)">Cxty</td><td class="sortable ctr1" id="h" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="i" onclick="toggleSort(this)">Lines</td><td class="sortable ctr1" id="j" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="k" onclick="toggleSort(this)">Methods</td></tr></thead><tfoot><tr><td>Total</td><td class="bar">0 of 43</td><td class="ctr2">100%</td><td class="bar">0 of 0</td><td class="ctr2">n/a</td><td class="ctr1">0</td><td class="ctr2">2</td><td class="ctr1">
 0</td><td class="ctr2">9</td><td class="ctr1">0</td><td class="ctr2">2</td></tr></tfoot><tbody><tr><td id="a0"><a href="CosineDistance.java.html#L39" class="el_method">apply(CharSequence, CharSequence)</a></td><td class="bar" id="b0"><img src="../.resources/greenbar.gif" width="120" height="10" title="30" alt="30"/></td><td class="ctr2" id="c0">100%</td><td class="bar" id="d0"/><td class="ctr2" id="e0">n/a</td><td class="ctr1" id="f0">0</td><td class="ctr2" id="g0">1</td><td class="ctr1" id="h0">0</td><td class="ctr2" id="i0">6</td><td class="ctr1" id="j0">0</td><td class="ctr2" id="k0">1</td></tr><tr><td id="a1"><a href="CosineDistance.java.html#L27" class="el_method">CosineDistance()</a></td><td class="bar" id="b1"><img src="../.resources/greenbar.gif" width="52" height="10" title="13" alt="13"/></td><td class="ctr2" id="c1">100%</td><td class="bar" id="d1"/><td class="ctr2" id="e1">n/a</td><td class="ctr1" id="f1">0</td><td class="ctr2" id="g1">1</td><td class="ctr1" id="h1">0</t
 d><td class="ctr2" id="i1">3</td><td class="ctr1" id="j1">0</td><td class="ctr2" id="k1">1</td></tr></tbody></table><div class="footer"><span class="right">Created with <a href="http://www.eclemma.org/jacoco">JaCoCo</a> 0.7.2.201409121644</span></div></body></html>
\ No newline at end of file

Modified: websites/production/commons/content/sandbox/commons-text/jacoco/org.apache.commons.text.similarity/CosineDistance.java.html
==============================================================================
--- websites/production/commons/content/sandbox/commons-text/jacoco/org.apache.commons.text.similarity/CosineDistance.java.html (original)
+++ websites/production/commons/content/sandbox/commons-text/jacoco/org.apache.commons.text.similarity/CosineDistance.java.html Sun Apr 26 10:18:25 2015
@@ -18,38 +18,31 @@ package org.apache.commons.text.similari
 
 import java.util.Map;
 
-import org.apache.commons.text.similarity.internal.Counter;
-import org.apache.commons.text.similarity.internal.RegexTokenizer;
-import org.apache.commons.text.similarity.internal.Tokenizer;
-
 /**
  * Measures the cosine distance between two character sequences.
  *
  * &lt;p&gt;It utilizes the CosineSimilarity to compute the distance. Character sequences
  * are converted into vectors through a simple tokenizer that works with &lt;/p&gt;
- *
- * @see org.apache.commons.text.similarity.internal.RegexTokenizer
- * @since 1.0
  */
-<span class="fc" id="L34">public class CosineDistance implements EditDistance&lt;Double&gt; {</span>
+<span class="fc" id="L27">public class CosineDistance implements EditDistance&lt;Double&gt; {</span>
     /**
      * Tokenizer used to convert the character sequence into a vector.
      */
-<span class="fc" id="L38">    private final Tokenizer&lt;CharSequence&gt; tokenizer = new RegexTokenizer();</span>
+<span class="fc" id="L31">    private final Tokenizer&lt;CharSequence&gt; tokenizer = new RegexTokenizer();</span>
     /**
      * Cosine similarity.
      */
-<span class="fc" id="L42">    private final CosineSimilarity cosineSimilarity = new CosineSimilarity();</span>
+<span class="fc" id="L35">    private final CosineSimilarity cosineSimilarity = new CosineSimilarity();</span>
 
     @Override
     public Double apply(CharSequence left, CharSequence right) {
-<span class="fc" id="L46">        CharSequence[] leftTokens = tokenizer.tokenize(left);</span>
-<span class="fc" id="L47">        CharSequence[] rightTokens = tokenizer.tokenize(right);</span>
+<span class="fc" id="L39">        CharSequence[] leftTokens = tokenizer.tokenize(left);</span>
+<span class="fc" id="L40">        CharSequence[] rightTokens = tokenizer.tokenize(right);</span>
 
-<span class="fc" id="L49">        Map&lt;CharSequence, Integer&gt; leftVector = Counter.of(leftTokens);</span>
-<span class="fc" id="L50">        Map&lt;CharSequence, Integer&gt; rightVector = Counter.of(rightTokens);</span>
-<span class="fc" id="L51">        double similarity = cosineSimilarity.cosineSimilarity(leftVector, rightVector);</span>
-<span class="fc" id="L52">        return 1.0 - similarity;</span>
+<span class="fc" id="L42">        Map&lt;CharSequence, Integer&gt; leftVector = Counter.of(leftTokens);</span>
+<span class="fc" id="L43">        Map&lt;CharSequence, Integer&gt; rightVector = Counter.of(rightTokens);</span>
+<span class="fc" id="L44">        double similarity = cosineSimilarity.cosineSimilarity(leftVector, rightVector);</span>
+<span class="fc" id="L45">        return 1.0 - similarity;</span>
     }
 
 }

Modified: websites/production/commons/content/sandbox/commons-text/jacoco/org.apache.commons.text.similarity/CosineSimilarity.html
==============================================================================
--- websites/production/commons/content/sandbox/commons-text/jacoco/org.apache.commons.text.similarity/CosineSimilarity.html (original)
+++ websites/production/commons/content/sandbox/commons-text/jacoco/org.apache.commons.text.similarity/CosineSimilarity.html Sun Apr 26 10:18:25 2015
@@ -1 +1 @@
-<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml" lang="en"><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/><link rel="stylesheet" href="../.resources/report.css" type="text/css"/><link rel="shortcut icon" href="../.resources/report.gif" type="image/gif"/><title>CosineSimilarity</title><script type="text/javascript" src="../.resources/sort.js"></script></head><body onload="initialSort(['breadcrumb'])"><div class="breadcrumb" id="breadcrumb"><span class="info"><a href="../.sessions.html" class="el_session">Sessions</a></span><a href="../index.html" class="el_report">Apache Commons Text</a> &gt; <a href="index.html" class="el_package">org.apache.commons.text.similarity</a> &gt; <span class="el_class">CosineSimilarity</span></div><h1>CosineSimilarity</h1><table class="coverage" cellspacing="0" id="coveragetable"><thead><tr>
 <td class="sortable" id="a" onclick="toggleSort(this)">Element</td><td class="down sortable bar" id="b" onclick="toggleSort(this)">Missed Instructions</td><td class="sortable ctr2" id="c" onclick="toggleSort(this)">Cov.</td><td class="sortable bar" id="d" onclick="toggleSort(this)">Missed Branches</td><td class="sortable ctr2" id="e" onclick="toggleSort(this)">Cov.</td><td class="sortable ctr1" id="f" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="g" onclick="toggleSort(this)">Cxty</td><td class="sortable ctr1" id="h" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="i" onclick="toggleSort(this)">Lines</td><td class="sortable ctr1" id="j" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="k" onclick="toggleSort(this)">Methods</td></tr></thead><tfoot><tr><td>Total</td><td class="bar">8 of 133</td><td class="ctr2">94%</td><td class="bar">4 of 14</td><td class="ctr2">71%</td><td class="ctr1">4</td><td class="ctr2">11</td><td class
 ="ctr1">2</td><td class="ctr2">25</td><td class="ctr1">0</td><td class="ctr2">4</td></tr></tfoot><tbody><tr><td id="a1"><a href="CosineSimilarity.java.html#L44" class="el_method">cosineSimilarity(Map, Map)</a></td><td class="bar" id="b0"><img src="../.resources/redbar.gif" width="11" height="10" title="8" alt="8"/><img src="../.resources/greenbar.gif" width="108" height="10" title="78" alt="78"/></td><td class="ctr2" id="c3">91%</td><td class="bar" id="d0"><img src="../.resources/redbar.gif" width="40" height="10" title="4" alt="4"/><img src="../.resources/greenbar.gif" width="80" height="10" title="8" alt="8"/></td><td class="ctr2" id="e1">67%</td><td class="ctr1" id="f0">4</td><td class="ctr2" id="g0">7</td><td class="ctr1" id="h0">2</td><td class="ctr2" id="i0">16</td><td class="ctr1" id="j0">0</td><td class="ctr2" id="k0">1</td></tr><tr><td id="a2"><a href="CosineSimilarity.java.html#L94" class="el_method">dot(Map, Map, Set)</a></td><td class="bar" id="b1"><img src="../.resource
 s/greenbar.gif" width="43" height="10" title="31" alt="31"/></td><td class="ctr2" id="c0">100%</td><td class="bar" id="d1"><img src="../.resources/greenbar.gif" width="20" height="10" title="2" alt="2"/></td><td class="ctr2" id="e0">100%</td><td class="ctr1" id="f1">0</td><td class="ctr2" id="g1">2</td><td class="ctr1" id="h1">0</td><td class="ctr2" id="i1">5</td><td class="ctr1" id="j1">0</td><td class="ctr2" id="k1">1</td></tr><tr><td id="a3"><a href="CosineSimilarity.java.html#L77" class="el_method">getIntersection(Map, Map)</a></td><td class="bar" id="b2"><img src="../.resources/greenbar.gif" width="18" height="10" title="13" alt="13"/></td><td class="ctr2" id="c1">100%</td><td class="bar" id="d2"/><td class="ctr2" id="e2">n/a</td><td class="ctr1" id="f2">0</td><td class="ctr2" id="g2">1</td><td class="ctr1" id="h2">0</td><td class="ctr2" id="i2">3</td><td class="ctr1" id="j2">0</td><td class="ctr2" id="k2">1</td></tr><tr><td id="a0"><a href="CosineSimilarity.java.html#L34" clas
 s="el_method">CosineSimilarity()</a></td><td class="bar" id="b3"><img src="../.resources/greenbar.gif" width="4" height="10" title="3" alt="3"/></td><td class="ctr2" id="c2">100%</td><td class="bar" id="d3"/><td class="ctr2" id="e3">n/a</td><td class="ctr1" id="f3">0</td><td class="ctr2" id="g3">1</td><td class="ctr1" id="h3">0</td><td class="ctr2" id="i3">1</td><td class="ctr1" id="j3">0</td><td class="ctr2" id="k3">1</td></tr></tbody></table><div class="footer"><span class="right">Created with <a href="http://www.eclemma.org/jacoco">JaCoCo</a> 0.7.2.201409121644</span></div></body></html>
\ No newline at end of file
+<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml" lang="en"><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/><link rel="stylesheet" href="../.resources/report.css" type="text/css"/><link rel="shortcut icon" href="../.resources/report.gif" type="image/gif"/><title>CosineSimilarity</title><script type="text/javascript" src="../.resources/sort.js"></script></head><body onload="initialSort(['breadcrumb'])"><div class="breadcrumb" id="breadcrumb"><span class="info"><a href="../.sessions.html" class="el_session">Sessions</a></span><a href="../index.html" class="el_report">Apache Commons Text</a> &gt; <a href="index.html" class="el_package">org.apache.commons.text.similarity</a> &gt; <span class="el_class">CosineSimilarity</span></div><h1>CosineSimilarity</h1><table class="coverage" cellspacing="0" id="coveragetable"><thead><tr>
 <td class="sortable" id="a" onclick="toggleSort(this)">Element</td><td class="down sortable bar" id="b" onclick="toggleSort(this)">Missed Instructions</td><td class="sortable ctr2" id="c" onclick="toggleSort(this)">Cov.</td><td class="sortable bar" id="d" onclick="toggleSort(this)">Missed Branches</td><td class="sortable ctr2" id="e" onclick="toggleSort(this)">Cov.</td><td class="sortable ctr1" id="f" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="g" onclick="toggleSort(this)">Cxty</td><td class="sortable ctr1" id="h" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="i" onclick="toggleSort(this)">Lines</td><td class="sortable ctr1" id="j" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="k" onclick="toggleSort(this)">Methods</td></tr></thead><tfoot><tr><td>Total</td><td class="bar">8 of 133</td><td class="ctr2">94%</td><td class="bar">4 of 14</td><td class="ctr2">71%</td><td class="ctr1">4</td><td class="ctr2">11</td><td class
 ="ctr1">2</td><td class="ctr2">25</td><td class="ctr1">0</td><td class="ctr2">4</td></tr></tfoot><tbody><tr><td id="a1"><a href="CosineSimilarity.java.html#L42" class="el_method">cosineSimilarity(Map, Map)</a></td><td class="bar" id="b0"><img src="../.resources/redbar.gif" width="11" height="10" title="8" alt="8"/><img src="../.resources/greenbar.gif" width="108" height="10" title="78" alt="78"/></td><td class="ctr2" id="c3">91%</td><td class="bar" id="d0"><img src="../.resources/redbar.gif" width="40" height="10" title="4" alt="4"/><img src="../.resources/greenbar.gif" width="80" height="10" title="8" alt="8"/></td><td class="ctr2" id="e1">67%</td><td class="ctr1" id="f0">4</td><td class="ctr2" id="g0">7</td><td class="ctr1" id="h0">2</td><td class="ctr2" id="i0">16</td><td class="ctr1" id="j0">0</td><td class="ctr2" id="k0">1</td></tr><tr><td id="a2"><a href="CosineSimilarity.java.html#L92" class="el_method">dot(Map, Map, Set)</a></td><td class="bar" id="b1"><img src="../.resource
 s/greenbar.gif" width="43" height="10" title="31" alt="31"/></td><td class="ctr2" id="c0">100%</td><td class="bar" id="d1"><img src="../.resources/greenbar.gif" width="20" height="10" title="2" alt="2"/></td><td class="ctr2" id="e0">100%</td><td class="ctr1" id="f1">0</td><td class="ctr2" id="g1">2</td><td class="ctr1" id="h1">0</td><td class="ctr2" id="i1">5</td><td class="ctr1" id="j1">0</td><td class="ctr2" id="k1">1</td></tr><tr><td id="a3"><a href="CosineSimilarity.java.html#L75" class="el_method">getIntersection(Map, Map)</a></td><td class="bar" id="b2"><img src="../.resources/greenbar.gif" width="18" height="10" title="13" alt="13"/></td><td class="ctr2" id="c1">100%</td><td class="bar" id="d2"/><td class="ctr2" id="e2">n/a</td><td class="ctr1" id="f2">0</td><td class="ctr2" id="g2">1</td><td class="ctr1" id="h2">0</td><td class="ctr2" id="i2">3</td><td class="ctr1" id="j2">0</td><td class="ctr2" id="k2">1</td></tr><tr><td id="a0"><a href="CosineSimilarity.java.html#L32" clas
 s="el_method">CosineSimilarity()</a></td><td class="bar" id="b3"><img src="../.resources/greenbar.gif" width="4" height="10" title="3" alt="3"/></td><td class="ctr2" id="c2">100%</td><td class="bar" id="d3"/><td class="ctr2" id="e3">n/a</td><td class="ctr1" id="f3">0</td><td class="ctr2" id="g3">1</td><td class="ctr1" id="h3">0</td><td class="ctr2" id="i3">1</td><td class="ctr1" id="j3">0</td><td class="ctr2" id="k3">1</td></tr></tbody></table><div class="footer"><span class="right">Created with <a href="http://www.eclemma.org/jacoco">JaCoCo</a> 0.7.2.201409121644</span></div></body></html>
\ No newline at end of file

Modified: websites/production/commons/content/sandbox/commons-text/jacoco/org.apache.commons.text.similarity/CosineSimilarity.java.html
==============================================================================
--- websites/production/commons/content/sandbox/commons-text/jacoco/org.apache.commons.text.similarity/CosineSimilarity.java.html (original)
+++ websites/production/commons/content/sandbox/commons-text/jacoco/org.apache.commons.text.similarity/CosineSimilarity.java.html Sun Apr 26 10:18:25 2015
@@ -28,10 +28,8 @@ import java.util.Set;
  * For further explanation about the Cosine Similarity, refer to
  * http://en.wikipedia.org/wiki/Cosine_similarity.
  * &lt;/p&gt;
- *
- * @since 1.0
  */
-<span class="fc" id="L34">public class CosineSimilarity {</span>
+<span class="fc" id="L32">public class CosineSimilarity {</span>
 
     /**
      * Calculates the cosine similarity for two given vectors.
@@ -41,28 +39,28 @@ import java.util.Set;
      * @return cosine similarity between the two vectors
      */
     public Double cosineSimilarity(Map&lt;CharSequence, Integer&gt; leftVector, Map&lt;CharSequence, Integer&gt; rightVector) {
-<span class="pc bpc" id="L44" title="2 of 4 branches missed.">        if (leftVector == null || rightVector == null) {</span>
-<span class="nc" id="L45">            throw new IllegalArgumentException(&quot;Vectors must not be null&quot;);</span>
+<span class="pc bpc" id="L42" title="2 of 4 branches missed.">        if (leftVector == null || rightVector == null) {</span>
+<span class="nc" id="L43">            throw new IllegalArgumentException(&quot;Vectors must not be null&quot;);</span>
         }
 
-<span class="fc" id="L48">        Set&lt;CharSequence&gt; intersection = getIntersection(leftVector, rightVector);</span>
+<span class="fc" id="L46">        Set&lt;CharSequence&gt; intersection = getIntersection(leftVector, rightVector);</span>
 
-<span class="fc" id="L50">        double dotProduct = dot(leftVector, rightVector, intersection);</span>
-<span class="fc" id="L51">        double d1 = 0.0d;</span>
-<span class="fc bfc" id="L52" title="All 2 branches covered.">        for (Integer value : leftVector.values()) {</span>
-<span class="fc" id="L53">            d1 += Math.pow(value, 2);</span>
-<span class="fc" id="L54">        }</span>
-<span class="fc" id="L55">        double d2 = 0.0d;</span>
-<span class="fc bfc" id="L56" title="All 2 branches covered.">        for (Integer value : rightVector.values()) {</span>
-<span class="fc" id="L57">            d2 += Math.pow(value, 2);</span>
-<span class="fc" id="L58">        }</span>
+<span class="fc" id="L48">        double dotProduct = dot(leftVector, rightVector, intersection);</span>
+<span class="fc" id="L49">        double d1 = 0.0d;</span>
+<span class="fc bfc" id="L50" title="All 2 branches covered.">        for (Integer value : leftVector.values()) {</span>
+<span class="fc" id="L51">            d1 += Math.pow(value, 2);</span>
+<span class="fc" id="L52">        }</span>
+<span class="fc" id="L53">        double d2 = 0.0d;</span>
+<span class="fc bfc" id="L54" title="All 2 branches covered.">        for (Integer value : rightVector.values()) {</span>
+<span class="fc" id="L55">            d2 += Math.pow(value, 2);</span>
+<span class="fc" id="L56">        }</span>
         double cosineSimilarity;
-<span class="pc bpc" id="L60" title="2 of 4 branches missed.">        if (d1 &lt;= 0.0 || d2 &lt;= 0.0) {</span>
-<span class="nc" id="L61">            cosineSimilarity = 0.0;</span>
+<span class="pc bpc" id="L58" title="2 of 4 branches missed.">        if (d1 &lt;= 0.0 || d2 &lt;= 0.0) {</span>
+<span class="nc" id="L59">            cosineSimilarity = 0.0;</span>
         } else {
-<span class="fc" id="L63">            cosineSimilarity = (double) (dotProduct / (double) (Math.sqrt(d1) * Math.sqrt(d2)));</span>
+<span class="fc" id="L61">            cosineSimilarity = (double) (dotProduct / (double) (Math.sqrt(d1) * Math.sqrt(d2)));</span>
         }
-<span class="fc" id="L65">        return cosineSimilarity;</span>
+<span class="fc" id="L63">        return cosineSimilarity;</span>
     }
 
     /**
@@ -74,9 +72,9 @@ import java.util.Set;
      */
     private Set&lt;CharSequence&gt; getIntersection(Map&lt;CharSequence, Integer&gt; leftVector,
             Map&lt;CharSequence, Integer&gt; rightVector) {
-<span class="fc" id="L77">        Set&lt;CharSequence&gt; intersection = new HashSet&lt;CharSequence&gt;(leftVector.keySet());</span>
-<span class="fc" id="L78">        intersection.retainAll(rightVector.keySet());</span>
-<span class="fc" id="L79">        return intersection;</span>
+<span class="fc" id="L75">        Set&lt;CharSequence&gt; intersection = new HashSet&lt;CharSequence&gt;(leftVector.keySet());</span>
+<span class="fc" id="L76">        intersection.retainAll(rightVector.keySet());</span>
+<span class="fc" id="L77">        return intersection;</span>
     }
 
     /**
@@ -91,11 +89,11 @@ import java.util.Set;
      */
     private double dot(Map&lt;CharSequence, Integer&gt; leftVector, Map&lt;CharSequence, Integer&gt; rightVector,
             Set&lt;CharSequence&gt; intersection) {
-<span class="fc" id="L94">        long dotProduct = 0;</span>
-<span class="fc bfc" id="L95" title="All 2 branches covered.">        for (CharSequence key : intersection) {</span>
-<span class="fc" id="L96">            dotProduct += leftVector.get(key) * rightVector.get(key);</span>
-<span class="fc" id="L97">        }</span>
-<span class="fc" id="L98">        return dotProduct;</span>
+<span class="fc" id="L92">        long dotProduct = 0;</span>
+<span class="fc bfc" id="L93" title="All 2 branches covered.">        for (CharSequence key : intersection) {</span>
+<span class="fc" id="L94">            dotProduct += leftVector.get(key) * rightVector.get(key);</span>
+<span class="fc" id="L95">        }</span>
+<span class="fc" id="L96">        return dotProduct;</span>
     }
 
 }

Added: websites/production/commons/content/sandbox/commons-text/jacoco/org.apache.commons.text.similarity/Counter.html
==============================================================================
--- websites/production/commons/content/sandbox/commons-text/jacoco/org.apache.commons.text.similarity/Counter.html (added)
+++ websites/production/commons/content/sandbox/commons-text/jacoco/org.apache.commons.text.similarity/Counter.html Sun Apr 26 10:18:25 2015
@@ -0,0 +1 @@
+<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml" lang="en"><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/><link rel="stylesheet" href="../.resources/report.css" type="text/css"/><link rel="shortcut icon" href="../.resources/report.gif" type="image/gif"/><title>Counter</title><script type="text/javascript" src="../.resources/sort.js"></script></head><body onload="initialSort(['breadcrumb'])"><div class="breadcrumb" id="breadcrumb"><span class="info"><a href="../.sessions.html" class="el_session">Sessions</a></span><a href="../index.html" class="el_report">Apache Commons Text</a> &gt; <a href="index.html" class="el_package">org.apache.commons.text.similarity</a> &gt; <span class="el_class">Counter</span></div><h1>Counter</h1><table class="coverage" cellspacing="0" id="coveragetable"><thead><tr><td class="sortable" id="a"
  onclick="toggleSort(this)">Element</td><td class="down sortable bar" id="b" onclick="toggleSort(this)">Missed Instructions</td><td class="sortable ctr2" id="c" onclick="toggleSort(this)">Cov.</td><td class="sortable bar" id="d" onclick="toggleSort(this)">Missed Branches</td><td class="sortable ctr2" id="e" onclick="toggleSort(this)">Cov.</td><td class="sortable ctr1" id="f" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="g" onclick="toggleSort(this)">Cxty</td><td class="sortable ctr1" id="h" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="i" onclick="toggleSort(this)">Lines</td><td class="sortable ctr1" id="j" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="k" onclick="toggleSort(this)">Methods</td></tr></thead><tfoot><tr><td>Total</td><td class="bar">3 of 49</td><td class="ctr2">94%</td><td class="bar">0 of 4</td><td class="ctr2">100%</td><td class="ctr1">1</td><td class="ctr2">4</td><td class="ctr1">2</td><td class="ctr2
 ">10</td><td class="ctr1">1</td><td class="ctr2">2</td></tr></tfoot><tbody><tr><td id="a0"><a href="Counter.java.html#L37" class="el_method">Counter()</a></td><td class="bar" id="b0"><img src="../.resources/redbar.gif" width="7" height="10" title="3" alt="3"/></td><td class="ctr2" id="c1">0%</td><td class="bar" id="d1"/><td class="ctr2" id="e1">n/a</td><td class="ctr1" id="f0">1</td><td class="ctr2" id="g1">1</td><td class="ctr1" id="h0">2</td><td class="ctr2" id="i1">2</td><td class="ctr1" id="j0">1</td><td class="ctr2" id="k0">1</td></tr><tr><td id="a1"><a href="Counter.java.html#L48" class="el_method">of(CharSequence[])</a></td><td class="bar" id="b1"><img src="../.resources/greenbar.gif" width="120" height="10" title="46" alt="46"/></td><td class="ctr2" id="c0">100%</td><td class="bar" id="d0"><img src="../.resources/greenbar.gif" width="120" height="10" title="4" alt="4"/></td><td class="ctr2" id="e0">100%</td><td class="ctr1" id="f1">0</td><td class="ctr2" id="g0">3</td><td cl
 ass="ctr1" id="h1">0</td><td class="ctr2" id="i0">8</td><td class="ctr1" id="j1">0</td><td class="ctr2" id="k1">1</td></tr></tbody></table><div class="footer"><span class="right">Created with <a href="http://www.eclemma.org/jacoco">JaCoCo</a> 0.7.2.201409121644</span></div></body></html>
\ No newline at end of file

Propchange: websites/production/commons/content/sandbox/commons-text/jacoco/org.apache.commons.text.similarity/Counter.html
------------------------------------------------------------------------------
    svn:eol-style = native

Added: websites/production/commons/content/sandbox/commons-text/jacoco/org.apache.commons.text.similarity/Counter.java.html
==============================================================================
--- websites/production/commons/content/sandbox/commons-text/jacoco/org.apache.commons.text.similarity/Counter.java.html (added)
+++ websites/production/commons/content/sandbox/commons-text/jacoco/org.apache.commons.text.similarity/Counter.java.html Sun Apr 26 10:18:25 2015
@@ -0,0 +1,61 @@
+<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml" lang="en"><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/><link rel="stylesheet" href="../.resources/report.css" type="text/css"/><link rel="shortcut icon" href="../.resources/report.gif" type="image/gif"/><title>Counter.java</title><link rel="stylesheet" href="../.resources/prettify.css" type="text/css"/><script type="text/javascript" src="../.resources/prettify.js"></script></head><body onload="window['PR_TAB_WIDTH']=4;prettyPrint()"><div class="breadcrumb" id="breadcrumb"><span class="info"><a href="../.sessions.html" class="el_session">Sessions</a></span><a href="../index.html" class="el_report">Apache Commons Text</a> &gt; <a href="index.source.html" class="el_package">org.apache.commons.text.similarity</a> &gt; <span class="el_source">Counter.java</span></div><h1>Co
 unter.java</h1><pre class="source lang-java linenums">/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the &quot;License&quot;); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an &quot;AS IS&quot; BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.commons.text.similarity;
+
+import java.util.HashMap;
+import java.util.Map;
+
+/**
+ * Java implementation of Python's collections Counter module.
+ *
+ * &lt;p&gt;It counts how many times each element provided occurred in an array and
+ * returns a dict with the element as key and the count as value.&lt;/p&gt;
+ *
+ * @see &lt;a href=&quot;https://docs.python.org/dev/library/collections.html#collections.Counter&quot;&gt;
+ * https://docs.python.org/dev/library/collections.html#collections.Counter&lt;/a&gt;
+ */
+final class Counter {
+
+    /**
+     * Hidden constructor.
+     */
+    private Counter() {
+<span class="nc" id="L37">        super();</span>
+<span class="nc" id="L38">    }</span>
+
+    /**
+     * It counts how many times each element provided occurred in an array and
+     * returns a dict with the element as key and the count as value.
+     *
+     * @param tokens array of tokens
+     * @return dict, where the elements are key, and the count the value
+     */
+    public static Map&lt;CharSequence, Integer&gt; of(CharSequence[] tokens) {
+<span class="fc" id="L48">        final Map&lt;CharSequence, Integer&gt; innerCounter = new HashMap&lt;CharSequence, Integer&gt;();</span>
+<span class="fc bfc" id="L49" title="All 2 branches covered.">        for (CharSequence token : tokens) {</span>
+<span class="fc bfc" id="L50" title="All 2 branches covered.">            if (innerCounter.containsKey(token)) {</span>
+<span class="fc" id="L51">                int value = innerCounter.get(token);</span>
+<span class="fc" id="L52">                innerCounter.put(token, ++value);</span>
+<span class="fc" id="L53">            } else {</span>
+<span class="fc" id="L54">                innerCounter.put(token, 1);</span>
+            }
+        }
+<span class="fc" id="L57">        return innerCounter;</span>
+    }
+
+}
+</pre><div class="footer"><span class="right">Created with <a href="http://www.eclemma.org/jacoco">JaCoCo</a> 0.7.2.201409121644</span></div></body></html>
\ No newline at end of file

Propchange: websites/production/commons/content/sandbox/commons-text/jacoco/org.apache.commons.text.similarity/Counter.java.html
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: websites/production/commons/content/sandbox/commons-text/jacoco/org.apache.commons.text.similarity/EditDistanceFrom.html
==============================================================================
--- websites/production/commons/content/sandbox/commons-text/jacoco/org.apache.commons.text.similarity/EditDistanceFrom.html (original)
+++ websites/production/commons/content/sandbox/commons-text/jacoco/org.apache.commons.text.similarity/EditDistanceFrom.html Sun Apr 26 10:18:25 2015
@@ -1 +1 @@
-<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml" lang="en"><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/><link rel="stylesheet" href="../.resources/report.css" type="text/css"/><link rel="shortcut icon" href="../.resources/report.gif" type="image/gif"/><title>EditDistanceFrom</title><script type="text/javascript" src="../.resources/sort.js"></script></head><body onload="initialSort(['breadcrumb'])"><div class="breadcrumb" id="breadcrumb"><span class="info"><a href="../.sessions.html" class="el_session">Sessions</a></span><a href="../index.html" class="el_report">Apache Commons Text</a> &gt; <a href="index.html" class="el_package">org.apache.commons.text.similarity</a> &gt; <span class="el_class">EditDistanceFrom</span></div><h1>EditDistanceFrom</h1><table class="coverage" cellspacing="0" id="coveragetable"><thead><tr>
 <td class="sortable" id="a" onclick="toggleSort(this)">Element</td><td class="down sortable bar" id="b" onclick="toggleSort(this)">Missed Instructions</td><td class="sortable ctr2" id="c" onclick="toggleSort(this)">Cov.</td><td class="sortable bar" id="d" onclick="toggleSort(this)">Missed Branches</td><td class="sortable ctr2" id="e" onclick="toggleSort(this)">Cov.</td><td class="sortable ctr1" id="f" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="g" onclick="toggleSort(this)">Cxty</td><td class="sortable ctr1" id="h" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="i" onclick="toggleSort(this)">Lines</td><td class="sortable ctr1" id="j" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="k" onclick="toggleSort(this)">Methods</td></tr></thead><tfoot><tr><td>Total</td><td class="bar">6 of 29</td><td class="ctr2">79%</td><td class="bar">0 of 2</td><td class="ctr2">100%</td><td class="ctr1">2</td><td class="ctr2">5</td><td class="
 ctr1">2</td><td class="ctr2">9</td><td class="ctr1">2</td><td class="ctr2">4</td></tr></tfoot><tbody><tr><td id="a3"><a href="EditDistanceFrom.java.html#L100" class="el_method">getLeft()</a></td><td class="bar" id="b0"><img src="../.resources/redbar.gif" width="22" height="10" title="3" alt="3"/></td><td class="ctr2" id="c2">0%</td><td class="bar" id="d1"/><td class="ctr2" id="e1">n/a</td><td class="ctr1" id="f0">1</td><td class="ctr2" id="g1">1</td><td class="ctr1" id="h0">1</td><td class="ctr2" id="i1">1</td><td class="ctr1" id="j0">1</td><td class="ctr2" id="k0">1</td></tr><tr><td id="a2"><a href="EditDistanceFrom.java.html#L109" class="el_method">getEditDistance()</a></td><td class="bar" id="b1"><img src="../.resources/redbar.gif" width="22" height="10" title="3" alt="3"/></td><td class="ctr2" id="c3">0%</td><td class="bar" id="d2"/><td class="ctr2" id="e2">n/a</td><td class="ctr1" id="f1">1</td><td class="ctr2" id="g2">1</td><td class="ctr1" id="h1">1</td><td class="ctr2" id="i
 2">1</td><td class="ctr1" id="j1">1</td><td class="ctr2" id="k1">1</td></tr><tr><td id="a1"><a href="EditDistanceFrom.java.html#L72" class="el_method">EditDistanceFrom(EditDistance, CharSequence)</a></td><td class="bar" id="b2"><img src="../.resources/greenbar.gif" width="120" height="10" title="16" alt="16"/></td><td class="ctr2" id="c0">100%</td><td class="bar" id="d0"><img src="../.resources/greenbar.gif" width="120" height="10" title="2" alt="2"/></td><td class="ctr2" id="e0">100%</td><td class="ctr1" id="f2">0</td><td class="ctr2" id="g0">2</td><td class="ctr1" id="h2">0</td><td class="ctr2" id="i0">6</td><td class="ctr1" id="j2">0</td><td class="ctr2" id="k2">1</td></tr><tr><td id="a0"><a href="EditDistanceFrom.java.html#L91" class="el_method">apply(CharSequence)</a></td><td class="bar" id="b3"><img src="../.resources/greenbar.gif" width="52" height="10" title="7" alt="7"/></td><td class="ctr2" id="c1">100%</td><td class="bar" id="d3"/><td class="ctr2" id="e3">n/a</td><td clas
 s="ctr1" id="f3">0</td><td class="ctr2" id="g3">1</td><td class="ctr1" id="h3">0</td><td class="ctr2" id="i3">1</td><td class="ctr1" id="j3">0</td><td class="ctr2" id="k3">1</td></tr></tbody></table><div class="footer"><span class="right">Created with <a href="http://www.eclemma.org/jacoco">JaCoCo</a> 0.7.2.201409121644</span></div></body></html>
\ No newline at end of file
+<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml" lang="en"><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/><link rel="stylesheet" href="../.resources/report.css" type="text/css"/><link rel="shortcut icon" href="../.resources/report.gif" type="image/gif"/><title>EditDistanceFrom</title><script type="text/javascript" src="../.resources/sort.js"></script></head><body onload="initialSort(['breadcrumb'])"><div class="breadcrumb" id="breadcrumb"><span class="info"><a href="../.sessions.html" class="el_session">Sessions</a></span><a href="../index.html" class="el_report">Apache Commons Text</a> &gt; <a href="index.html" class="el_package">org.apache.commons.text.similarity</a> &gt; <span class="el_class">EditDistanceFrom</span></div><h1>EditDistanceFrom</h1><table class="coverage" cellspacing="0" id="coveragetable"><thead><tr>
 <td class="sortable" id="a" onclick="toggleSort(this)">Element</td><td class="down sortable bar" id="b" onclick="toggleSort(this)">Missed Instructions</td><td class="sortable ctr2" id="c" onclick="toggleSort(this)">Cov.</td><td class="sortable bar" id="d" onclick="toggleSort(this)">Missed Branches</td><td class="sortable ctr2" id="e" onclick="toggleSort(this)">Cov.</td><td class="sortable ctr1" id="f" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="g" onclick="toggleSort(this)">Cxty</td><td class="sortable ctr1" id="h" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="i" onclick="toggleSort(this)">Lines</td><td class="sortable ctr1" id="j" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="k" onclick="toggleSort(this)">Methods</td></tr></thead><tfoot><tr><td>Total</td><td class="bar">6 of 29</td><td class="ctr2">79%</td><td class="bar">0 of 2</td><td class="ctr2">100%</td><td class="ctr1">2</td><td class="ctr2">5</td><td class="
 ctr1">2</td><td class="ctr2">9</td><td class="ctr1">2</td><td class="ctr2">4</td></tr></tfoot><tbody><tr><td id="a3"><a href="EditDistanceFrom.java.html#L99" class="el_method">getLeft()</a></td><td class="bar" id="b0"><img src="../.resources/redbar.gif" width="22" height="10" title="3" alt="3"/></td><td class="ctr2" id="c2">0%</td><td class="bar" id="d1"/><td class="ctr2" id="e1">n/a</td><td class="ctr1" id="f0">1</td><td class="ctr2" id="g1">1</td><td class="ctr1" id="h0">1</td><td class="ctr2" id="i1">1</td><td class="ctr1" id="j0">1</td><td class="ctr2" id="k0">1</td></tr><tr><td id="a2"><a href="EditDistanceFrom.java.html#L108" class="el_method">getEditDistance()</a></td><td class="bar" id="b1"><img src="../.resources/redbar.gif" width="22" height="10" title="3" alt="3"/></td><td class="ctr2" id="c3">0%</td><td class="bar" id="d2"/><td class="ctr2" id="e2">n/a</td><td class="ctr1" id="f1">1</td><td class="ctr2" id="g2">1</td><td class="ctr1" id="h1">1</td><td class="ctr2" id="i2
 ">1</td><td class="ctr1" id="j1">1</td><td class="ctr2" id="k1">1</td></tr><tr><td id="a1"><a href="EditDistanceFrom.java.html#L71" class="el_method">EditDistanceFrom(EditDistance, CharSequence)</a></td><td class="bar" id="b2"><img src="../.resources/greenbar.gif" width="120" height="10" title="16" alt="16"/></td><td class="ctr2" id="c0">100%</td><td class="bar" id="d0"><img src="../.resources/greenbar.gif" width="120" height="10" title="2" alt="2"/></td><td class="ctr2" id="e0">100%</td><td class="ctr1" id="f2">0</td><td class="ctr2" id="g0">2</td><td class="ctr1" id="h2">0</td><td class="ctr2" id="i0">6</td><td class="ctr1" id="j2">0</td><td class="ctr2" id="k2">1</td></tr><tr><td id="a0"><a href="EditDistanceFrom.java.html#L90" class="el_method">apply(CharSequence)</a></td><td class="bar" id="b3"><img src="../.resources/greenbar.gif" width="52" height="10" title="7" alt="7"/></td><td class="ctr2" id="c1">100%</td><td class="bar" id="d3"/><td class="ctr2" id="e3">n/a</td><td class
 ="ctr1" id="f3">0</td><td class="ctr2" id="g3">1</td><td class="ctr1" id="h3">0</td><td class="ctr2" id="i3">1</td><td class="ctr1" id="j3">0</td><td class="ctr2" id="k3">1</td></tr></tbody></table><div class="footer"><span class="right">Created with <a href="http://www.eclemma.org/jacoco">JaCoCo</a> 0.7.2.201409121644</span></div></body></html>
\ No newline at end of file

Modified: websites/production/commons/content/sandbox/commons-text/jacoco/org.apache.commons.text.similarity/EditDistanceFrom.java.html
==============================================================================
--- websites/production/commons/content/sandbox/commons-text/jacoco/org.apache.commons.text.similarity/EditDistanceFrom.java.html (original)
+++ websites/production/commons/content/sandbox/commons-text/jacoco/org.apache.commons.text.similarity/EditDistanceFrom.java.html Sun Apr 26 10:18:25 2015
@@ -48,7 +48,6 @@ package org.apache.commons.text.similari
  * &lt;/pre&gt;
  *
  * @param &lt;R&gt; This is the type of similarity score used by the EditDistance function.
- * @since 1.0
  */
 public class EditDistanceFrom&lt;R&gt; {
 
@@ -69,14 +68,14 @@ public class EditDistanceFrom&lt;R&gt; {
      *             but the EditDistance#compare(CharSequence left, CharSequence right)
      *             implementation may not accept nulls.
      */
-<span class="fc" id="L72">    public EditDistanceFrom(final EditDistance&lt;R&gt; editDistance, final CharSequence left) {</span>
-<span class="fc bfc" id="L73" title="All 2 branches covered.">        if (editDistance == null) {</span>
-<span class="fc" id="L74">            throw new IllegalArgumentException(&quot;The edit distance may not be null.&quot;);</span>
+<span class="fc" id="L71">    public EditDistanceFrom(final EditDistance&lt;R&gt; editDistance, final CharSequence left) {</span>
+<span class="fc bfc" id="L72" title="All 2 branches covered.">        if (editDistance == null) {</span>
+<span class="fc" id="L73">            throw new IllegalArgumentException(&quot;The edit distance may not be null.&quot;);</span>
         }
 
-<span class="fc" id="L77">        this.editDistance = editDistance;</span>
-<span class="fc" id="L78">        this.left = left;</span>
-<span class="fc" id="L79">    }</span>
+<span class="fc" id="L76">        this.editDistance = editDistance;</span>
+<span class="fc" id="L77">        this.left = left;</span>
+<span class="fc" id="L78">    }</span>
 
     /**
      * &lt;p&gt;
@@ -88,7 +87,7 @@ public class EditDistanceFrom&lt;R&gt; {
      * @return the similarity score between two CharSequences
      */
     public R apply(CharSequence right) {
-<span class="fc" id="L91">        return editDistance.apply(left, right);</span>
+<span class="fc" id="L90">        return editDistance.apply(left, right);</span>
     }
 
     /**
@@ -97,7 +96,7 @@ public class EditDistanceFrom&lt;R&gt; {
      * @return the left parameter
      */
     public CharSequence getLeft() {
-<span class="nc" id="L100">        return left;</span>
+<span class="nc" id="L99">        return left;</span>
     }
 
     /**
@@ -106,7 +105,7 @@ public class EditDistanceFrom&lt;R&gt; {
      * @return the edit distance
      */
     public EditDistance&lt;R&gt; getEditDistance() {
-<span class="nc" id="L109">        return editDistance;</span>
+<span class="nc" id="L108">        return editDistance;</span>
     }
 
 }



Mime
View raw message