Added: websites/production/commons/content/proper/commons-csv/archives/1.5/jacoco/org.apache.commons.csv/Lexer.java.html ============================================================================== --- websites/production/commons/content/proper/commons-csv/archives/1.5/jacoco/org.apache.commons.csv/Lexer.java.html (added) +++ websites/production/commons/content/proper/commons-csv/archives/1.5/jacoco/org.apache.commons.csv/Lexer.java.html Mon Jan 29 17:25:21 2018 @@ -0,0 +1,462 @@ +<?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="../jacoco-resources/report.css" type="text/css"/><link rel="shortcut icon" href="../jacoco-resources/report.gif" type="image/gif"/><title>Lexer.java</title><link rel="stylesheet" href="../jacoco-resources/prettify.css" type="text/css"/><script type="text/javascript" src="../jacoco-resources/prettify.js"></script></head><body onload="window['PR_TAB_WIDTH']=4;prettyPrint()"><div class="breadcrumb" id="breadcrumb"><span class="info"><a href="../jacoco-sessions.html" class="el_session">Sessions</a></span><a href="../index.html" class="el_report">Apache Commons CSV</a> > <a href="index.source.html" class="el_package">org.apache.commons.csv</a> > <span class="el_source">Lexer.java</span ></div><h1>Lexer.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 "License"); 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 "AS IS" 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.csv; + +import static org.apache.commons.csv.Constants.BACKSPACE; +import static org.apache.commons.csv.Constants.CR; +import static org.apache.commons.csv.Constants.END_OF_STREAM; +import static org.apache.commons.csv.Constants.FF; +import static org.apache.commons.csv.Constants.LF; +import static org.apache.commons.csv.Constants.TAB; +import static org.apache.commons.csv.Constants.UNDEFINED; +import static org.apache.commons.csv.Token.Type.COMMENT; +import static org.apache.commons.csv.Token.Type.EOF; +import static org.apache.commons.csv.Token.Type.EORECORD; +import static org.apache.commons.csv.Token.Type.INVALID; +import static org.apache.commons.csv.Token.Type.TOKEN; + +import java.io.Closeable; +import java.io.IOException; + +/** + * Lexical analyzer. + */ +final class Lexer implements Closeable { + +<span class="fc" id="L41"> private static final String CR_STRING = Character.toString(Constants.CR);</span> +<span class="fc" id="L42"> private static final String LF_STRING = Character.toString(Constants.LF);</span> + + /** + * Constant char to use for disabling comments, escapes and encapsulation. The value -2 is used because it + * won't be confused with an EOF signal (-1), and because the Unicode value {@code FFFE} would be encoded as two + * chars (using surrogates) and thus there should never be a collision with a real text char. + */ + private static final char DISABLED = '\ufffe'; + + private final char delimiter; + private final char escape; + private final char quoteChar; + private final char commentStart; + + private final boolean ignoreSurroundingSpaces; + private final boolean ignoreEmptyLines; + + /** The input stream */ + private final ExtendedBufferedReader reader; + private String firstEol; + + String getFirstEol(){ +<span class="fc" id="L64"> return firstEol;</span> + } + +<span class="fc" id="L67"> Lexer(final CSVFormat format, final ExtendedBufferedReader reader) {</span> +<span class="fc" id="L68"> this.reader = reader;</span> +<span class="fc" id="L69"> this.delimiter = format.getDelimiter();</span> +<span class="fc" id="L70"> this.escape = mapNullToDisabled(format.getEscapeCharacter());</span> +<span class="fc" id="L71"> this.quoteChar = mapNullToDisabled(format.getQuoteCharacter());</span> +<span class="fc" id="L72"> this.commentStart = mapNullToDisabled(format.getCommentMarker());</span> +<span class="fc" id="L73"> this.ignoreSurroundingSpaces = format.getIgnoreSurroundingSpaces();</span> +<span class="fc" id="L74"> this.ignoreEmptyLines = format.getIgnoreEmptyLines();</span> +<span class="fc" id="L75"> }</span> + + /** + * Returns the next token. + * <p> + * A token corresponds to a term, a record change or an end-of-file indicator. + * </p> + * + * @param token + * an existing Token object to reuse. The caller is responsible to initialize the Token. + * @return the next token found + * @throws java.io.IOException + * on stream access error + */ + Token nextToken(final Token token) throws IOException { + + // get the last read char (required for empty line detection) +<span class="fc" id="L92"> int lastChar = reader.getLastChar();</span> + + // read the next char and set eol +<span class="fc" id="L95"> int c = reader.read();</span> + /* + * Note: The following call will swallow LF if c == CR. But we don't need to know if the last char was CR or LF + * - they are equivalent here. + */ +<span class="fc" id="L100"> boolean eol = readEndOfLine(c);</span> + + // empty line detection: eol AND (last char was EOL or beginning) +<span class="fc bfc" id="L103" title="All 2 branches covered."> if (ignoreEmptyLines) {</span> +<span class="fc bfc" id="L104" title="All 4 branches covered."> while (eol && isStartOfLine(lastChar)) {</span> + // go on char ahead ... +<span class="fc" id="L106"> lastChar = c;</span> +<span class="fc" id="L107"> c = reader.read();</span> +<span class="fc" id="L108"> eol = readEndOfLine(c);</span> + // reached end of file without any content (empty line at the end) +<span class="fc bfc" id="L110" title="All 2 branches covered."> if (isEndOfFile(c)) {</span> +<span class="fc" id="L111"> token.type = EOF;</span> + // don't set token.isReady here because no content +<span class="fc" id="L113"> return token;</span> + } + } + } + + // did we reach eof during the last iteration already ? EOF +<span class="fc bfc" id="L119" title="All 6 branches covered."> if (isEndOfFile(lastChar) || !isDelimiter(lastChar) && isEndOfFile(c)) {</span> +<span class="fc" id="L120"> token.type = EOF;</span> + // don't set token.isReady here because no content +<span class="fc" id="L122"> return token;</span> + } + +<span class="fc bfc" id="L125" title="All 4 branches covered."> if (isStartOfLine(lastChar) && isCommentStart(c)) {</span> +<span class="fc" id="L126"> final String line = reader.readLine();</span> +<span class="pc bpc" id="L127" title="1 of 2 branches missed."> if (line == null) {</span> +<span class="nc" id="L128"> token.type = EOF;</span> + // don't set token.isReady here because no content +<span class="nc" id="L130"> return token;</span> + } +<span class="fc" id="L132"> final String comment = line.trim();</span> +<span class="fc" id="L133"> token.content.append(comment);</span> +<span class="fc" id="L134"> token.type = COMMENT;</span> +<span class="fc" id="L135"> return token;</span> + } + + // important: make sure a new char gets consumed in each iteration +<span class="fc bfc" id="L139" title="All 2 branches covered."> while (token.type == INVALID) {</span> + // ignore whitespaces at beginning of a token +<span class="fc bfc" id="L141" title="All 2 branches covered."> if (ignoreSurroundingSpaces) {</span> +<span class="fc bfc" id="L142" title="All 4 branches covered."> while (isWhitespace(c) && !eol) {</span> +<span class="fc" id="L143"> c = reader.read();</span> +<span class="fc" id="L144"> eol = readEndOfLine(c);</span> + } + } + + // ok, start of token reached: encapsulated, or token +<span class="fc bfc" id="L149" title="All 2 branches covered."> if (isDelimiter(c)) {</span> + // empty token return TOKEN("") +<span class="fc" id="L151"> token.type = TOKEN;</span> +<span class="fc bfc" id="L152" title="All 2 branches covered."> } else if (eol) {</span> + // empty token return EORECORD("") + // noop: token.content.append(""); +<span class="fc" id="L155"> token.type = EORECORD;</span> +<span class="fc bfc" id="L156" title="All 2 branches covered."> } else if (isQuoteChar(c)) {</span> + // consume encapsulated token +<span class="fc" id="L158"> parseEncapsulatedToken(token);</span> +<span class="fc bfc" id="L159" title="All 2 branches covered."> } else if (isEndOfFile(c)) {</span> + // end of file return EOF() + // noop: token.content.append(""); +<span class="fc" id="L162"> token.type = EOF;</span> +<span class="fc" id="L163"> token.isReady = true; // there is data at EOF</span> + } else { + // next token must be a simple token + // add removed blanks when not ignoring whitespace chars... +<span class="fc" id="L167"> parseSimpleToken(token, c);</span> + } + } +<span class="fc" id="L170"> return token;</span> + } + + /** + * Parses a simple token. + * <p/> + * Simple token are tokens which are not surrounded by encapsulators. A simple token might contain escaped + * delimiters (as \, or \;). The token is finished when one of the following conditions become true: + * <ul> + * <li>end of line has been reached (EORECORD)</li> + * <li>end of stream has been reached (EOF)</li> + * <li>an unescaped delimiter has been reached (TOKEN)</li> + * </ul> + * + * @param token + * the current token + * @param ch + * the current character + * @return the filled token + * @throws IOException + * on stream access error + */ + private Token parseSimpleToken(final Token token, int ch) throws IOException { + // Faster to use while(true)+break than while(token.type == INVALID) + while (true) { +<span class="fc bfc" id="L195" title="All 2 branches covered."> if (readEndOfLine(ch)) {</span> +<span class="fc" id="L196"> token.type = EORECORD;</span> +<span class="fc" id="L197"> break;</span> +<span class="fc bfc" id="L198" title="All 2 branches covered."> } else if (isEndOfFile(ch)) {</span> +<span class="fc" id="L199"> token.type = EOF;</span> +<span class="fc" id="L200"> token.isReady = true; // There is data at EOF</span> +<span class="fc" id="L201"> break;</span> +<span class="fc bfc" id="L202" title="All 2 branches covered."> } else if (isDelimiter(ch)) {</span> +<span class="fc" id="L203"> token.type = TOKEN;</span> +<span class="fc" id="L204"> break;</span> +<span class="fc bfc" id="L205" title="All 2 branches covered."> } else if (isEscape(ch)) {</span> +<span class="fc" id="L206"> final int unescaped = readEscape();</span> +<span class="fc bfc" id="L207" title="All 2 branches covered."> if (unescaped == END_OF_STREAM) { // unexpected char after escape</span> +<span class="fc" id="L208"> token.content.append((char) ch).append((char) reader.getLastChar());</span> + } else { +<span class="fc" id="L210"> token.content.append((char) unescaped);</span> + } +<span class="fc" id="L212"> ch = reader.read(); // continue</span> +<span class="fc" id="L213"> } else {</span> +<span class="fc" id="L214"> token.content.append((char) ch);</span> +<span class="fc" id="L215"> ch = reader.read(); // continue</span> + } + } + +<span class="fc bfc" id="L219" title="All 2 branches covered."> if (ignoreSurroundingSpaces) {</span> +<span class="fc" id="L220"> trimTrailingSpaces(token.content);</span> + } + +<span class="fc" id="L223"> return token;</span> + } + + /** + * Parses an encapsulated token. + * <p/> + * Encapsulated tokens are surrounded by the given encapsulating-string. The encapsulator itself might be included + * in the token using a doubling syntax (as "", '') or using escaping (as in \", \'). Whitespaces before and after + * an encapsulated token are ignored. The token is finished when one of the following conditions become true: + * <ul> + * <li>an unescaped encapsulator has been reached, and is followed by optional whitespace then:</li> + * <ul> + * <li>delimiter (TOKEN)</li> + * <li>end of line (EORECORD)</li> + * </ul> + * <li>end of stream has been reached (EOF)</li> </ul> + * + * @param token + * the current token + * @return a valid token object + * @throws IOException + * on invalid state: EOF before closing encapsulator or invalid character before delimiter or EOL + */ + private Token parseEncapsulatedToken(final Token token) throws IOException { + // save current line number in case needed for IOE +<span class="fc" id="L248"> final long startLineNumber = getCurrentLineNumber();</span> + int c; + while (true) { +<span class="fc" id="L251"> c = reader.read();</span> + +<span class="fc bfc" id="L253" title="All 2 branches covered."> if (isEscape(c)) {</span> +<span class="fc" id="L254"> final int unescaped = readEscape();</span> +<span class="pc bpc" id="L255" title="1 of 2 branches missed."> if (unescaped == END_OF_STREAM) { // unexpected char after escape</span> +<span class="nc" id="L256"> token.content.append((char) c).append((char) reader.getLastChar());</span> + } else { +<span class="fc" id="L258"> token.content.append((char) unescaped);</span> + } +<span class="fc bfc" id="L260" title="All 2 branches covered."> } else if (isQuoteChar(c)) {</span> +<span class="fc bfc" id="L261" title="All 2 branches covered."> if (isQuoteChar(reader.lookAhead())) {</span> + // double or escaped encapsulator -> add single encapsulator to token +<span class="fc" id="L263"> c = reader.read();</span> +<span class="fc" id="L264"> token.content.append((char) c);</span> + } else { + // token finish mark (encapsulator) reached: ignore whitespace till delimiter + while (true) { +<span class="fc" id="L268"> c = reader.read();</span> +<span class="fc bfc" id="L269" title="All 2 branches covered."> if (isDelimiter(c)) {</span> +<span class="fc" id="L270"> token.type = TOKEN;</span> +<span class="fc" id="L271"> return token;</span> +<span class="fc bfc" id="L272" title="All 2 branches covered."> } else if (isEndOfFile(c)) {</span> +<span class="fc" id="L273"> token.type = EOF;</span> +<span class="fc" id="L274"> token.isReady = true; // There is data at EOF</span> +<span class="fc" id="L275"> return token;</span> +<span class="fc bfc" id="L276" title="All 2 branches covered."> } else if (readEndOfLine(c)) {</span> +<span class="fc" id="L277"> token.type = EORECORD;</span> +<span class="fc" id="L278"> return token;</span> +<span class="pc bpc" id="L279" title="1 of 2 branches missed."> } else if (!isWhitespace(c)) {</span> + // error invalid char between token and next delimiter +<span class="nc" id="L281"> throw new IOException("(line " + getCurrentLineNumber() +</span> + ") invalid char between encapsulated token and delimiter"); + } + } + } +<span class="pc bpc" id="L286" title="1 of 2 branches missed."> } else if (isEndOfFile(c)) {</span> + // error condition (end of file before end of token) +<span class="nc" id="L288"> throw new IOException("(startline " + startLineNumber +</span> + ") EOF reached before encapsulated token finished"); + } else { + // consume character +<span class="fc" id="L292"> token.content.append((char) c);</span> + } + } + } + + private char mapNullToDisabled(final Character c) { +<span class="fc bfc" id="L298" title="All 2 branches covered."> return c == null ? DISABLED : c.charValue();</span> + } + + /** + * Returns the current line number + * + * @return the current line number + */ + long getCurrentLineNumber() { +<span class="fc" id="L307"> return reader.getCurrentLineNumber();</span> + } + + /** + * Returns the current character position + * + * @return the current character position + */ + long getCharacterPosition() { +<span class="fc" id="L316"> return reader.getPosition();</span> + } + + // TODO escape handling needs more work + /** + * Handle an escape sequence. + * The current character must be the escape character. + * On return, the next character is available by calling {@link ExtendedBufferedReader#getLastChar()} + * on the input stream. + * + * @return the unescaped character (as an int) or {@link Constants#END_OF_STREAM} if char following the escape is + * invalid. + * @throws IOException if there is a problem reading the stream or the end of stream is detected: + * the escape character is not allowed at end of strem + */ + int readEscape() throws IOException { + // the escape char has just been read (normally a backslash) +<span class="fc" id="L333"> final int ch = reader.read();</span> +<span class="pc bpc" id="L334" title="3 of 8 branches missed."> switch (ch) {</span> + case 'r': +<span class="fc" id="L336"> return CR;</span> + case 'n': +<span class="fc" id="L338"> return LF;</span> + case 't': +<span class="nc" id="L340"> return TAB;</span> + case 'b': +<span class="nc" id="L342"> return BACKSPACE;</span> + case 'f': +<span class="nc" id="L344"> return FF;</span> + case CR: + case LF: + case FF: // TODO is this correct? + case TAB: // TODO is this correct? Do tabs need to be escaped? + case BACKSPACE: // TODO is this correct? +<span class="fc" id="L350"> return ch;</span> + case END_OF_STREAM: +<span class="fc" id="L352"> throw new IOException("EOF whilst processing escape sequence");</span> + default: + // Now check for meta-characters +<span class="fc bfc" id="L355" title="All 2 branches covered."> if (isMetaChar(ch)) {</span> +<span class="fc" id="L356"> return ch;</span> + } + // indicate unexpected char - available from in.getLastChar() +<span class="fc" id="L359"> return END_OF_STREAM;</span> + } + } + + void trimTrailingSpaces(final StringBuilder buffer) { +<span class="fc" id="L364"> int length = buffer.length();</span> +<span class="pc bpc" id="L365" title="1 of 4 branches missed."> while (length > 0 && Character.isWhitespace(buffer.charAt(length - 1))) {</span> +<span class="fc" id="L366"> length = length - 1;</span> + } +<span class="fc bfc" id="L368" title="All 2 branches covered."> if (length != buffer.length()) {</span> +<span class="fc" id="L369"> buffer.setLength(length);</span> + } +<span class="fc" id="L371"> }</span> + + /** + * Greedily accepts \n, \r and \r\n This checker consumes silently the second control-character... + * + * @return true if the given or next character is a line-terminator + */ + boolean readEndOfLine(int ch) throws IOException { + // check if we have \r\n... +<span class="fc bfc" id="L380" title="All 4 branches covered."> if (ch == CR && reader.lookAhead() == LF) {</span> + // note: does not change ch outside of this method! +<span class="fc" id="L382"> ch = reader.read();</span> + // Save the EOL state +<span class="fc bfc" id="L384" title="All 2 branches covered."> if (firstEol == null) {</span> +<span class="fc" id="L385"> this.firstEol = Constants.CRLF;</span> + } + } + // save EOL state here. +<span class="fc bfc" id="L389" title="All 2 branches covered."> if (firstEol == null) {</span> +<span class="fc bfc" id="L390" title="All 2 branches covered."> if (ch == LF) {</span> +<span class="fc" id="L391"> this.firstEol = LF_STRING;</span> +<span class="fc bfc" id="L392" title="All 2 branches covered."> } else if (ch == CR) {</span> +<span class="fc" id="L393"> this.firstEol = CR_STRING;</span> + } + } + +<span class="fc bfc" id="L397" title="All 4 branches covered."> return ch == LF || ch == CR;</span> + } + + boolean isClosed() { +<span class="fc" id="L401"> return reader.isClosed();</span> + } + + /** + * @return true if the given char is a whitespace character + */ + boolean isWhitespace(final int ch) { +<span class="fc bfc" id="L408" title="All 4 branches covered."> return !isDelimiter(ch) && Character.isWhitespace((char) ch);</span> + } + + /** + * Checks if the current character represents the start of a line: a CR, LF or is at the start of the file. + * + * @param ch the character to check + * @return true if the character is at the start of a line. + */ + boolean isStartOfLine(final int ch) { +<span class="fc bfc" id="L418" title="All 6 branches covered."> return ch == LF || ch == CR || ch == UNDEFINED;</span> + } + + /** + * @return true if the given character indicates end of file + */ + boolean isEndOfFile(final int ch) { +<span class="fc bfc" id="L425" title="All 2 branches covered."> return ch == END_OF_STREAM;</span> + } + + boolean isDelimiter(final int ch) { +<span class="fc bfc" id="L429" title="All 2 branches covered."> return ch == delimiter;</span> + } + + boolean isEscape(final int ch) { +<span class="fc bfc" id="L433" title="All 2 branches covered."> return ch == escape;</span> + } + + boolean isQuoteChar(final int ch) { +<span class="fc bfc" id="L437" title="All 2 branches covered."> return ch == quoteChar;</span> + } + + boolean isCommentStart(final int ch) { +<span class="fc bfc" id="L441" title="All 2 branches covered."> return ch == commentStart;</span> + } + + private boolean isMetaChar(final int ch) { +<span class="pc bpc" id="L445" title="1 of 8 branches missed."> return ch == delimiter ||</span> + ch == escape || + ch == quoteChar || + ch == commentStart; + } + + /** + * Closes resources. + * + * @throws IOException + * If an I/O error occurs + */ + @Override + public void close() throws IOException { +<span class="fc" id="L459"> reader.close();</span> +<span class="fc" id="L460"> }</span> +} +</pre><div class="footer"><span class="right">Created with <a href="http://www.eclemma.org/jacoco">JaCoCo</a> 0.7.7.201606060606</span></div></body></html> \ No newline at end of file
Added: websites/production/commons/content/proper/commons-csv/archives/1.5/jacoco/org.apache.commons.csv/QuoteMode.html ============================================================================== --- websites/production/commons/content/proper/commons-csv/archives/1.5/jacoco/org.apache.commons.csv/QuoteMode.html (added) +++ websites/production/commons/content/proper/commons-csv/archives/1.5/jacoco/org.apache.commons.csv/QuoteMode.html Mon Jan 29 17:25:21 2018 @@ -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="../jacoco-resources/report.css" type="text/css"/><link rel="shortcut icon" href="../jacoco-resources/report.gif" type="image/gif"/><title>QuoteMode</title><script type="text/javascript" src="../jacoco-resources/sort.js"></script></head><body onload="initialSort(['breadcrumb'])"><div class="breadcrumb" id="breadcrumb"><span class="info"><a href="../jacoco-sessions.html" class="el_session">Sessions</a></span><a href="../index.html" class="el_report">Apache Commons CSV</a> > <a href="index.html" class="el_package">org.apache.commons.csv</a> > <span class="el_class">QuoteMode</span></div><h1>QuoteMode</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">5 of 68</td><td class="ctr2">93%</td><td class="bar">0 of 0</td><td class="ctr2">n/a</td><td class="ctr1">1</td><td class="ctr2">4</td><td class="ctr1">0</td ><td class="ctr2">6</td><td class="ctr1">1</td><td >class="ctr2">4</td></tr></tfoot><tbody><tr><td id="a2"><a >href="QuoteMode.java.html#L23" class="el_method">valueOf(String)</a></td><td >class="bar" id="b0"><img src="../jacoco-resources/redbar.gif" width="11" >height="10" title="5" alt="5"/></td><td class="ctr2" id="c3">0%</td><td >class="bar" id="d0"/><td class="ctr2" id="e0">n/a</td><td class="ctr1" >id="f0">1</td><td class="ctr2" id="g0">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="a1"><a >href="QuoteMode.java.html#L23" class="el_method">static {...}</a></td><td >class="bar" id="b1"><img src="../jacoco-resources/greenbar.gif" width="120" >height="10" title="54" alt="54"/></td><td class="ctr2" id="c0">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</td><td class="ctr2" id="i0">6</t d><td class="ctr1" id="j1">0</td><td class="ctr2" id="k1">1</td></tr><tr><td id="a0"><a href="QuoteMode.java.html#L23" class="el_method">QuoteMode(String, int)</a></td><td class="bar" id="b2"><img src="../jacoco-resources/greenbar.gif" width="11" height="10" title="5" alt="5"/></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">1</td><td class="ctr1" id="j2">0</td><td class="ctr2" id="k2">1</td></tr><tr><td id="a3"><a href="QuoteMode.java.html#L23" class="el_method">values()</a></td><td class="bar" id="b3"><img src="../jacoco-resources/greenbar.gif" width="8" height="10" title="4" alt="4"/></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.7.201606060606</span></div></body></html> \ No newline at end of file Added: websites/production/commons/content/proper/commons-csv/archives/1.5/jacoco/org.apache.commons.csv/QuoteMode.java.html ============================================================================== --- websites/production/commons/content/proper/commons-csv/archives/1.5/jacoco/org.apache.commons.csv/QuoteMode.java.html (added) +++ websites/production/commons/content/proper/commons-csv/archives/1.5/jacoco/org.apache.commons.csv/QuoteMode.java.html Mon Jan 29 17:25:21 2018 @@ -0,0 +1,52 @@ +<?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="../jacoco-resources/report.css" type="text/css"/><link rel="shortcut icon" href="../jacoco-resources/report.gif" type="image/gif"/><title>QuoteMode.java</title><link rel="stylesheet" href="../jacoco-resources/prettify.css" type="text/css"/><script type="text/javascript" src="../jacoco-resources/prettify.js"></script></head><body onload="window['PR_TAB_WIDTH']=4;prettyPrint()"><div class="breadcrumb" id="breadcrumb"><span class="info"><a href="../jacoco-sessions.html" class="el_session">Sessions</a></span><a href="../index.html" class="el_report">Apache Commons CSV</a> > <a href="index.source.html" class="el_package">org.apache.commons.csv</a> > <span class="el_source">QuoteMode.ja va</span></div><h1>QuoteMode.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 "License"); 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 "AS IS" 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.csv; + +/** + * Defines quote behavior when printing. + * + */ +<span class="pc" id="L23">public enum QuoteMode {</span> + + /** + * Quotes all fields. + */ +<span class="fc" id="L28"> ALL,</span> + + /** + * Quotes all non-null fields. + */ +<span class="fc" id="L33"> ALL_NON_NULL,</span> + + /** + * Quotes fields which contain special characters such as a delimiter, quotes character or any of the characters in + * line separator. + */ +<span class="fc" id="L39"> MINIMAL,</span> + + /** + * Quotes all non-numeric fields. + */ +<span class="fc" id="L44"> NON_NUMERIC,</span> + + /** + * Never quotes fields. When the delimiter occurs in data, the printer prefixes it with the current escape + * character. If the escape character is not set, format validation throws an exception. + */ +<span class="fc" id="L50"> NONE</span> +} +</pre><div class="footer"><span class="right">Created with <a href="http://www.eclemma.org/jacoco">JaCoCo</a> 0.7.7.201606060606</span></div></body></html> \ No newline at end of file Added: websites/production/commons/content/proper/commons-csv/archives/1.5/jacoco/org.apache.commons.csv/Token$Type.html ============================================================================== --- websites/production/commons/content/proper/commons-csv/archives/1.5/jacoco/org.apache.commons.csv/Token$Type.html (added) +++ websites/production/commons/content/proper/commons-csv/archives/1.5/jacoco/org.apache.commons.csv/Token$Type.html Mon Jan 29 17:25:21 2018 @@ -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="../jacoco-resources/report.css" type="text/css"/><link rel="shortcut icon" href="../jacoco-resources/report.gif" type="image/gif"/><title>Token.Type</title><script type="text/javascript" src="../jacoco-resources/sort.js"></script></head><body onload="initialSort(['breadcrumb'])"><div class="breadcrumb" id="breadcrumb"><span class="info"><a href="../jacoco-sessions.html" class="el_session">Sessions</a></span><a href="../index.html" class="el_report">Apache Commons CSV</a> > <a href="index.html" class="el_package">org.apache.commons.csv</a> > <span class="el_class">Token.Type</span></div><h1>Token.Type</h1><table class="coverage" cellspacing="0" id="coveragetable"><thead><tr><td cla ss="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">5 of 68</td><td class="ctr2">93%</td><td class="bar">0 of 0</td><td class="ctr2">n/a</td><td class="ctr1">1</td><td class="ctr2">4</td><td class="ctr1">0< /td><td class="ctr2">6</td><td class="ctr1">1</td><td class="ctr2">4</td></tr></tfoot><tbody><tr><td id="a2"><a href="Token.java.html#L32" class="el_method">valueOf(String)</a></td><td class="bar" id="b0"><img src="../jacoco-resources/redbar.gif" width="11" height="10" title="5" alt="5"/></td><td class="ctr2" id="c3">0%</td><td class="bar" id="d0"/><td class="ctr2" id="e0">n/a</td><td class="ctr1" id="f0">1</td><td class="ctr2" id="g0">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="a0"><a href="Token.java.html#L32" class="el_method">static {...}</a></td><td class="bar" id="b1"><img src="../jacoco-resources/greenbar.gif" width="120" height="10" title="54" alt="54"/></td><td class="ctr2" id="c0">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</td><td class="ctr2" id="i0">6</td><td class="ctr1" id="j1">0</td><td class="ctr2" id="k1">1</td></tr><tr><td id="a1"><a href="Token.java.html#L32" class="el_method">Token.Type(String, int)</a></td><td class="bar" id="b2"><img src="../jacoco-resources/greenbar.gif" width="11" height="10" title="5" alt="5"/></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">1</td><td class="ctr1" id="j2">0</td><td class="ctr2" id="k2">1</td></tr><tr><td id="a3"><a href="Token.java.html#L32" class="el_method">values()</a></td><td class="bar" id="b3"><img src="../jacoco-resources/greenbar.gif" width="8" height="10" title="4" alt="4"/></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.7.201606060606</span></div></body></html> \ No newline at end of file Added: websites/production/commons/content/proper/commons-csv/archives/1.5/jacoco/org.apache.commons.csv/Token.html ============================================================================== --- websites/production/commons/content/proper/commons-csv/archives/1.5/jacoco/org.apache.commons.csv/Token.html (added) +++ websites/production/commons/content/proper/commons-csv/archives/1.5/jacoco/org.apache.commons.csv/Token.html Mon Jan 29 17:25:21 2018 @@ -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="../jacoco-resources/report.css" type="text/css"/><link rel="shortcut icon" href="../jacoco-resources/report.gif" type="image/gif"/><title>Token</title><script type="text/javascript" src="../jacoco-resources/sort.js"></script></head><body onload="initialSort(['breadcrumb'])"><div class="breadcrumb" id="breadcrumb"><span class="info"><a href="../jacoco-sessions.html" class="el_session">Sessions</a></span><a href="../index.html" class="el_report">Apache Commons CSV</a> > <a href="index.html" class="el_package">org.apache.commons.csv</a> > <span class="el_class">Token</span></div><h1>Token</h1><table class="coverage" cellspacing="0" id="coveragetable"><thead><tr><td class="sortable" i d="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">17 of 40</td><td class="ctr2">57%</td><td class="bar">0 of 0</td><td class="ctr2">n/a</td><td class="ctr1">1</td><td class="ctr2">3</td><td class="ctr1">1</td><td class= "ctr2">8</td><td class="ctr1">1</td><td class="ctr2">3</td></tr></tfoot><tbody><tr><td id="a2"><a href="Token.java.html#L71" class="el_method">toString()</a></td><td class="bar" id="b0"><img src="../jacoco-resources/redbar.gif" width="120" height="10" title="17" alt="17"/></td><td class="ctr2" id="c2">0%</td><td class="bar" id="d0"/><td class="ctr2" id="e0">n/a</td><td class="ctr1" id="f0">1</td><td class="ctr2" id="g0">1</td><td class="ctr1" id="h0">1</td><td class="ctr2" id="i2">1</td><td class="ctr1" id="j0">1</td><td class="ctr2" id="k0">1</td></tr><tr><td id="a1"><a href="Token.java.html#L27" class="el_method">Token()</a></td><td class="bar" id="b1"><img src="../jacoco-resources/greenbar.gif" width="84" height="10" title="12" alt="12"/></td><td class="ctr2" id="c0">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</td><td class="ctr2" id="i1">3</td><td class="ctr1" id="j1"> 0</td><td class="ctr2" id="k1">1</td></tr><tr><td id="a0"><a href="Token.java.html#L59" class="el_method">reset()</a></td><td class="bar" id="b2"><img src="../jacoco-resources/greenbar.gif" width="77" height="10" title="11" alt="11"/></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="i0">4</td><td class="ctr1" id="j2">0</td><td class="ctr2" id="k2">1</td></tr></tbody></table><div class="footer"><span class="right">Created with <a href="http://www.eclemma.org/jacoco">JaCoCo</a> 0.7.7.201606060606</span></div></body></html> \ No newline at end of file Added: websites/production/commons/content/proper/commons-csv/archives/1.5/jacoco/org.apache.commons.csv/Token.java.html ============================================================================== --- websites/production/commons/content/proper/commons-csv/archives/1.5/jacoco/org.apache.commons.csv/Token.java.html (added) +++ websites/production/commons/content/proper/commons-csv/archives/1.5/jacoco/org.apache.commons.csv/Token.java.html Mon Jan 29 17:25:21 2018 @@ -0,0 +1,74 @@ +<?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="../jacoco-resources/report.css" type="text/css"/><link rel="shortcut icon" href="../jacoco-resources/report.gif" type="image/gif"/><title>Token.java</title><link rel="stylesheet" href="../jacoco-resources/prettify.css" type="text/css"/><script type="text/javascript" src="../jacoco-resources/prettify.js"></script></head><body onload="window['PR_TAB_WIDTH']=4;prettyPrint()"><div class="breadcrumb" id="breadcrumb"><span class="info"><a href="../jacoco-sessions.html" class="el_session">Sessions</a></span><a href="../index.html" class="el_report">Apache Commons CSV</a> > <a href="index.source.html" class="el_package">org.apache.commons.csv</a> > <span class="el_source">Token.java</span ></div><h1>Token.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 "License"); 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 "AS IS" 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.csv; + +import static org.apache.commons.csv.Token.Type.INVALID; + +/** + * Internal token representation. + * <p/> + * It is used as contract between the lexer and the parser. + */ +<span class="fc" id="L27">final class Token {</span> + + /** length of the initial token (content-)buffer */ + private static final int INITIAL_TOKEN_LENGTH = 50; + +<span class="pc" id="L32"> enum Type {</span> + /** Token has no valid content, i.e. is in its initialized state. */ +<span class="fc" id="L34"> INVALID,</span> + + /** Token with content, at beginning or in the middle of a line. */ +<span class="fc" id="L37"> TOKEN,</span> + + /** Token (which can have content) when the end of file is reached. */ +<span class="fc" id="L40"> EOF,</span> + + /** Token with content when the end of a line is reached. */ +<span class="fc" id="L43"> EORECORD,</span> + + /** Token is a comment line. */ +<span class="fc" id="L46"> COMMENT</span> + } + + /** Token type */ +<span class="fc" id="L50"> Token.Type type = INVALID;</span> + + /** The content buffer. */ +<span class="fc" id="L53"> final StringBuilder content = new StringBuilder(INITIAL_TOKEN_LENGTH);</span> + + /** Token ready flag: indicates a valid token with content (ready for the parser). */ + boolean isReady; + + void reset() { +<span class="fc" id="L59"> content.setLength(0);</span> +<span class="fc" id="L60"> type = INVALID;</span> +<span class="fc" id="L61"> isReady = false;</span> +<span class="fc" id="L62"> }</span> + + /** + * Eases IDE debugging. + * + * @return a string helpful for debugging. + */ + @Override + public String toString() { +<span class="nc" id="L71"> return type.name() + " [" + content.toString() + "]";</span> + } +} +</pre><div class="footer"><span class="right">Created with <a href="http://www.eclemma.org/jacoco">JaCoCo</a> 0.7.7.201606060606</span></div></body></html> \ No newline at end of file Added: websites/production/commons/content/proper/commons-csv/archives/1.5/jacoco/org.apache.commons.csv/index.html ============================================================================== --- websites/production/commons/content/proper/commons-csv/archives/1.5/jacoco/org.apache.commons.csv/index.html (added) +++ websites/production/commons/content/proper/commons-csv/archives/1.5/jacoco/org.apache.commons.csv/index.html Mon Jan 29 17:25:21 2018 @@ -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="../jacoco-resources/report.css" type="text/css"/><link rel="shortcut icon" href="../jacoco-resources/report.gif" type="image/gif"/><title>org.apache.commons.csv</title><script type="text/javascript" src="../jacoco-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="../jacoco-sessions.html" class="el_session">Sessions</a></span><a href="../index.html" class="el_report">Apache Commons CSV</a> > <span class="el_package">org.apache.commons.csv</span></div><h1>org.apache.commons.csv</h1><table class="coverage" cellspac ing="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> <tr><td>Total</td><td class="bar">353 of 4,561</td><td class="ctr2">92%</td><td class="bar">62 of 584</td><td class="ctr2">89%</td><td class="ctr1">62</td><td class="ctr2">483</td><td class="ctr1">45</td><td class="ctr2">803</td><td class="ctr1">8</td><td class="ctr2">184</td><td class="ctr1">0</td><td class="ctr2">15</td></tr></tfoot><tbody><tr><td id="a2"><a href="CSVFormat.html" class="el_class">CSVFormat</a></td><td class="bar" id="b0"><img src="../jacoco-resources/redbar.gif" width="7" height="10" title="148" alt="148"/><img src="../jacoco-resources/greenbar.gif" width="112" height="10" title="2,089" alt="2,089"/></td><td class="ctr2" id="c3">93%</td><td class="bar" id="d0"><img src="../jacoco-resources/redbar.gif" width="16" height="10" title="39" alt="39"/><img src="../jacoco-resources/greenbar.gif" width="103" height="10" title="244" alt="244"/></td><td class="ctr2" id="e6">86%</td><td class="ctr1" id="f0">33</td><td class="ctr2" id="g0">218</td><td class="ctr1" id="h0">21</ td><td class="ctr2" id="i0">346</td><td class="ctr1" id="j7">0</td><td class="ctr2" id="k0">75</td><td class="ctr1" id="l0">0</td><td class="ctr2" id="m0">1</td></tr><tr><td id="a11"><a href="Lexer.html" class="el_class">Lexer</a></td><td class="bar" id="b1"><img src="../jacoco-resources/redbar.gif" width="2" height="10" title="52" alt="52"/><img src="../jacoco-resources/greenbar.gif" width="30" height="10" title="569" alt="569"/></td><td class="ctr2" id="c6">92%</td><td class="bar" id="d1"><img src="../jacoco-resources/redbar.gif" width="3" height="10" title="9" alt="9"/><img src="../jacoco-resources/greenbar.gif" width="50" height="10" title="119" alt="119"/></td><td class="ctr2" id="e4">93%</td><td class="ctr1" id="f1">9</td><td class="ctr2" id="g1">89</td><td class="ctr1" id="h1">8</td><td class="ctr2" id="i1">142</td><td class="ctr1" id="j8">0</td><td class="ctr2" id="k1">22</td><td class="ctr1" id="l1">0</td><td class="ctr2" id="m1">1</td></tr><tr><td id="a5"><a href="CSVParse r.html" class="el_class">CSVParser</a></td><td class="bar" id="b2"><img src="../jacoco-resources/redbar.gif" width="2" height="10" title="41" alt="41"/><img src="../jacoco-resources/greenbar.gif" width="23" height="10" title="434" alt="434"/></td><td class="ctr2" id="c7">91%</td><td class="bar" id="d3"><img src="../jacoco-resources/redbar.gif" width="2" height="10" title="5" alt="5"/><img src="../jacoco-resources/greenbar.gif" width="21" height="10" title="51" alt="51"/></td><td class="ctr2" id="e5">91%</td><td class="ctr1" id="f2">6</td><td class="ctr2" id="g2">49</td><td class="ctr1" id="h2">5</td><td class="ctr2" id="i2">99</td><td class="ctr1" id="j1">1</td><td class="ctr2" id="k2">19</td><td class="ctr1" id="l2">0</td><td class="ctr2" id="m2">1</td></tr><tr><td id="a9"><a href="CSVRecord.html" class="el_class">CSVRecord</a></td><td class="bar" id="b3"><img src="../jacoco-resources/redbar.gif" width="1" height="10" title="34" alt="34"/><img src="../jacoco-resources/greenbar.gif" width="11" height="10" title="217" alt="217"/></td><td class="ctr2" id="c10">86%</td><td class="bar" id="d5"><img src="../jacoco-resources/greenbar.gif" width="10" height="10" title="25" alt="25"/></td><td class="ctr2" id="e3">96%</td><td class="ctr1" id="f4">3</td><td class="ctr2" id="g4">32</td><td class="ctr1" id="h4">2</td><td class="ctr2" id="i5">39</td><td class="ctr1" id="j0">2</td><td class="ctr2" id="k3">19</td><td class="ctr1" id="l3">0</td><td class="ctr2" id="m3">1</td></tr><tr><td id="a6"><a href="CSVParser$1.html" class="el_class">CSVParser.new Iterator() {...}</a></td><td class="bar" id="b4"><img src="../jacoco-resources/redbar.gif" width="1" height="10" title="19" alt="19"/><img src="../jacoco-resources/greenbar.gif" width="3" height="10" title="63" alt="63"/></td><td class="ctr2" id="c12">77%</td><td class="bar" id="d6"><img src="../jacoco-resources/greenbar.gif" width="5" height="10" title="12" alt="12"/></td><td class="ctr2" id="e0">100%</td><td class="ctr1" id=" f11">0</td><td class="ctr2" id="g6">11</td><td class="ctr1" id="h5">2</td><td class="ctr2" id="i6">19</td><td class="ctr1" id="j9">0</td><td class="ctr2" id="k6">5</td><td class="ctr1" id="l4">0</td><td class="ctr2" id="m4">1</td></tr><tr><td id="a13"><a href="Token.html" class="el_class">Token</a></td><td class="bar" id="b5"><img src="../jacoco-resources/greenbar.gif" width="1" height="10" title="23" alt="23"/></td><td class="ctr2" id="c13">57%</td><td class="bar" id="d8"/><td class="ctr2" id="e8">n/a</td><td class="ctr1" id="f5">1</td><td class="ctr2" id="g10">3</td><td class="ctr1" id="h7">1</td><td class="ctr2" id="i8">8</td><td class="ctr1" id="j2">1</td><td class="ctr2" id="k10">3</td><td class="ctr1" id="l5">0</td><td class="ctr2" id="m5">1</td></tr><tr><td id="a8"><a href="CSVPrinter.html" class="el_class">CSVPrinter</a></td><td class="bar" id="b6"><img src="../jacoco-resources/greenbar.gif" width="15" height="10" title="282" alt="282"/></td><td class="ctr2" id="c2">95%</td> <td class="bar" id="d2"><img src="../jacoco-resources/redbar.gif" width="2" height="10" title="7" alt="7"/><img src="../jacoco-resources/greenbar.gif" width="16" height="10" title="38" alt="38"/></td><td class="ctr2" id="e7">84%</td><td class="ctr1" id="f3">5</td><td class="ctr2" id="g3">35</td><td class="ctr1" id="h3">3</td><td class="ctr2" id="i3">73</td><td class="ctr1" id="j10">0</td><td class="ctr2" id="k4">12</td><td class="ctr1" id="l6">0</td><td class="ctr2" id="m6">1</td></tr><tr><td id="a12"><a href="QuoteMode.html" class="el_class">QuoteMode</a></td><td class="bar" id="b7"><img src="../jacoco-resources/greenbar.gif" width="3" height="10" title="63" alt="63"/></td><td class="ctr2" id="c4">93%</td><td class="bar" id="d9"/><td class="ctr2" id="e9">n/a</td><td class="ctr1" id="f6">1</td><td class="ctr2" id="g8">4</td><td class="ctr1" id="h9">0</td><td class="ctr2" id="i9">6</td><td class="ctr1" id="j3">1</td><td class="ctr2" id="k8">4</td><td class="ctr1" id="l7">0</td><td cl ass="ctr2" id="m7">1</td></tr><tr><td id="a14"><a href="Token$Type.html" class="el_class">Token.Type</a></td><td class="bar" id="b8"><img src="../jacoco-resources/greenbar.gif" width="3" height="10" title="63" alt="63"/></td><td class="ctr2" id="c5">93%</td><td class="bar" id="d10"/><td class="ctr2" id="e10">n/a</td><td class="ctr1" id="f7">1</td><td class="ctr2" id="g9">4</td><td class="ctr1" id="h10">0</td><td class="ctr2" id="i10">6</td><td class="ctr1" id="j4">1</td><td class="ctr2" id="k9">4</td><td class="ctr1" id="l8">0</td><td class="ctr2" id="m8">1</td></tr><tr><td id="a7"><a href="CSVParser$2.html" class="el_class">CSVParser.new Object() {...}</a></td><td class="bar" id="b9"><img src="../jacoco-resources/greenbar.gif" width="1" height="10" title="35" alt="35"/></td><td class="ctr2" id="c8">88%</td><td class="bar" id="d11"/><td class="ctr2" id="e11">n/a</td><td class="ctr1" id="f12">0</td><td class="ctr2" id="g13">1</td><td class="ctr1" id="h11">0</td><td class="ctr2" id="i 13">1</td><td class="ctr1" id="j11">0</td><td class="ctr2" id="k13">1</td><td class="ctr1" id="l9">0</td><td class="ctr2" id="m9">1</td></tr><tr><td id="a3"><a href="CSVFormat$1.html" class="el_class">CSVFormat.new Object() {...}</a></td><td class="bar" id="b10"><img src="../jacoco-resources/greenbar.gif" width="1" height="10" title="35" alt="35"/></td><td class="ctr2" id="c9">88%</td><td class="bar" id="d12"/><td class="ctr2" id="e12">n/a</td><td class="ctr1" id="f13">0</td><td class="ctr2" id="g14">1</td><td class="ctr1" id="h12">0</td><td class="ctr2" id="i14">1</td><td class="ctr1" id="j12">0</td><td class="ctr2" id="k14">1</td><td class="ctr1" id="l10">0</td><td class="ctr2" id="m10">1</td></tr><tr><td id="a0"><a href="Assertions.html" class="el_class">Assertions</a></td><td class="bar" id="b11"/><td class="ctr2" id="c11">85%</td><td class="bar" id="d7"/><td class="ctr2" id="e1">100%</td><td class="ctr1" id="f8">1</td><td class="ctr2" id="g11">3</td><td class="ctr1" id="h6">2</ td><td class="ctr2" id="i11">5</td><td class="ctr1" id="j5">1</td><td class="ctr2" id="k11">2</td><td class="ctr1" id="l11">0</td><td class="ctr2" id="m11">1</td></tr><tr><td id="a1"><a href="Constants.html" class="el_class">Constants</a></td><td class="bar" id="b12"/><td class="ctr2" id="c14">57%</td><td class="bar" id="d13"/><td class="ctr2" id="e13">n/a</td><td class="ctr1" id="f9">1</td><td class="ctr2" id="g12">2</td><td class="ctr1" id="h8">1</td><td class="ctr2" id="i12">2</td><td class="ctr1" id="j6">1</td><td class="ctr2" id="k12">2</td><td class="ctr1" id="l12">0</td><td class="ctr2" id="m12">1</td></tr><tr><td id="a10"><a href="ExtendedBufferedReader.html" class="el_class">ExtendedBufferedReader</a></td><td class="bar" id="b13"><img src="../jacoco-resources/greenbar.gif" width="10" height="10" title="191" alt="191"/></td><td class="ctr2" id="c0">100%</td><td class="bar" id="d4"><img src="../jacoco-resources/greenbar.gif" width="13" height="10" title="31" alt="31"/></td><t d class="ctr2" id="e2">97%</td><td class="ctr1" id="f10">1</td><td class="ctr2" id="g5">26</td><td class="ctr1" id="h13">0</td><td class="ctr2" id="i4">45</td><td class="ctr1" id="j13">0</td><td class="ctr2" id="k5">10</td><td class="ctr1" id="l13">0</td><td class="ctr2" id="m13">1</td></tr><tr><td id="a4"><a href="CSVFormat$Predefined.html" class="el_class">CSVFormat.Predefined</a></td><td class="bar" id="b14"><img src="../jacoco-resources/greenbar.gif" width="6" height="10" title="123" alt="123"/></td><td class="ctr2" id="c1">100%</td><td class="bar" id="d14"/><td class="ctr2" id="e14">n/a</td><td class="ctr1" id="f14">0</td><td class="ctr2" id="g7">5</td><td class="ctr1" id="h14">0</td><td class="ctr2" id="i7">14</td><td class="ctr1" id="j14">0</td><td class="ctr2" id="k7">5</td><td class="ctr1" id="l14">0</td><td class="ctr2" id="m14">1</td></tr></tbody></table><div class="footer"><span class="right">Created with <a href="http://www.eclemma.org/jacoco">JaCoCo</a> 0.7.7.201606060 606</span></div></body></html> \ No newline at end of file Added: websites/production/commons/content/proper/commons-csv/archives/1.5/jacoco/org.apache.commons.csv/index.source.html ============================================================================== --- websites/production/commons/content/proper/commons-csv/archives/1.5/jacoco/org.apache.commons.csv/index.source.html (added) +++ websites/production/commons/content/proper/commons-csv/archives/1.5/jacoco/org.apache.commons.csv/index.source.html Mon Jan 29 17:25:21 2018 @@ -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="../jacoco-resources/report.css" type="text/css"/><link rel="shortcut icon" href="../jacoco-resources/report.gif" type="image/gif"/><title>org.apache.commons.csv</title><script type="text/javascript" src="../jacoco-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="../jacoco-sessions.html" class="el_session">Sessions</a></span><a href="../index.html" class="el_report">Apache Commons CSV</a> > <span class="el_package">org.apache.commons.csv</span></div><h1>org.apache.commons.csv</h1><table class="coverage" cellspacing="0" id="c overagetable"><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">353 of 4,561</td><td class="ctr2">92%</td><td class="bar">62 of 584</td><td class="ctr2">89%</td><td class="ctr1">62</td><td class="ctr2">483</td><td class="ctr1">45</td><td class="ctr2">803</td><td class="ctr1">8</td><td class="ctr2">184</td><td class="ctr1">0</td><td class="ctr2">15</td></tr></tfoot><tbody><tr><td id="a2"><a href="CSVFormat.java.html" class="el_source">CSVFormat.java</a></td><td class="bar" id="b0"><img src="../jacoco-resources/redbar.gif" width="7" height="10" title="153" alt="153"/><img src="../jacoco-resources/greenbar.gif" width="112" height="10" title="2,247" alt="2,247"/></td><td class="ctr2" id="c2">94%</td><td class="bar" id="d0"><img src="../jacoco-resources/redbar.gif" width="16" height="10" title="39" alt="39"/><img src="../jacoco-resources/greenbar.gif" width="103" height="10" title="244" alt="244"/></td><td class="ctr2" id="e5">86%</td><td class="ctr1" id="f0">33</td><td class="ctr2" id="g0">224</td><td class="ctr1" id="h0">21</td ><td class="ctr2" id="i0">360</td><td class="ctr1" id="j6">0</td><td >class="ctr2" id="k0">81</td><td class="ctr1" id="l0">0</td><td class="ctr2" >id="m0">3</td></tr><tr><td id="a3"><a href="CSVParser.java.html" >class="el_source">CSVParser.java</a></td><td class="bar" id="b1"><img >src="../jacoco-resources/redbar.gif" width="3" height="10" title="65" >alt="65"/><img src="../jacoco-resources/greenbar.gif" width="26" height="10" >title="532" alt="532"/></td><td class="ctr2" id="c5">89%</td><td class="bar" >id="d3"><img src="../jacoco-resources/redbar.gif" width="2" height="10" >title="5" alt="5"/><img src="../jacoco-resources/greenbar.gif" width="26" >height="10" title="63" alt="63"/></td><td class="ctr2" id="e4">93%</td><td >class="ctr1" id="f2">6</td><td class="ctr2" id="g2">61</td><td class="ctr1" >id="h2">7</td><td class="ctr2" id="i2">117</td><td class="ctr1" >id="j2">1</td><td class="ctr2" id="k1">25</td><td class="ctr1" >id="l1">0</td><td class="ctr2" id="m1">3</td></tr><tr><td id="a7"><a href="Lexer.java.html" class="el_source">Lexer.java</a></td><td class="bar" id="b2"><img src="../jacoco-resources/redbar.gif" width="2" height="10" title="52" alt="52"/><img src="../jacoco-resources/greenbar.gif" width="28" height="10" title="569" alt="569"/></td><td class="ctr2" id="c4">92%</td><td class="bar" id="d1"><img src="../jacoco-resources/redbar.gif" width="3" height="10" title="9" alt="9"/><img src="../jacoco-resources/greenbar.gif" width="50" height="10" title="119" alt="119"/></td><td class="ctr2" id="e3">93%</td><td class="ctr1" id="f1">9</td><td class="ctr2" id="g1">89</td><td class="ctr1" id="h1">8</td><td class="ctr2" id="i1">142</td><td class="ctr1" id="j7">0</td><td class="ctr2" id="k2">22</td><td class="ctr1" id="l2">0</td><td class="ctr2" id="m3">1</td></tr><tr><td id="a5"><a href="CSVRecord.java.html" class="el_source">CSVRecord.java</a></td><td class="bar" id="b3"><img src="../jacoco-resources/redbar.gif" width="1" height="10" title="34" alt="34"/><img src=".. /jacoco-resources/greenbar.gif" width="10" height="10" title="217" alt="217"/></td><td class="ctr2" id="c6">86%</td><td class="bar" id="d5"><img src="../jacoco-resources/greenbar.gif" width="10" height="10" title="25" alt="25"/></td><td class="ctr2" id="e2">96%</td><td class="ctr1" id="f4">3</td><td class="ctr2" id="g4">32</td><td class="ctr1" id="h4">2</td><td class="ctr2" id="i5">39</td><td class="ctr1" id="j0">2</td><td class="ctr2" id="k3">19</td><td class="ctr1" id="l3">0</td><td class="ctr2" id="m4">1</td></tr><tr><td id="a9"><a href="Token.java.html" class="el_source">Token.java</a></td><td class="bar" id="b4"><img src="../jacoco-resources/redbar.gif" width="1" height="10" title="22" alt="22"/><img src="../jacoco-resources/greenbar.gif" width="4" height="10" title="86" alt="86"/></td><td class="ctr2" id="c8">80%</td><td class="bar" id="d7"/><td class="ctr2" id="e7">n/a</td><td class="ctr1" id="f5">2</td><td class="ctr2" id="g6">7</td><td class="ctr1" id="h6">1</td><td class=" ctr2" id="i6">14</td><td class="ctr1" id="j1">2</td><td class="ctr2" id="k6">7</td><td class="ctr1" id="l4">0</td><td class="ctr2" id="m2">2</td></tr><tr><td id="a4"><a href="CSVPrinter.java.html" class="el_source">CSVPrinter.java</a></td><td class="bar" id="b5"><img src="../jacoco-resources/greenbar.gif" width="14" height="10" title="282" alt="282"/></td><td class="ctr2" id="c1">95%</td><td class="bar" id="d2"><img src="../jacoco-resources/redbar.gif" width="2" height="10" title="7" alt="7"/><img src="../jacoco-resources/greenbar.gif" width="16" height="10" title="38" alt="38"/></td><td class="ctr2" id="e6">84%</td><td class="ctr1" id="f3">5</td><td class="ctr2" id="g3">35</td><td class="ctr1" id="h3">3</td><td class="ctr2" id="i3">73</td><td class="ctr1" id="j8">0</td><td class="ctr2" id="k4">12</td><td class="ctr1" id="l5">0</td><td class="ctr2" id="m5">1</td></tr><tr><td id="a8"><a href="QuoteMode.java.html" class="el_source">QuoteMode.java</a></td><td class="bar" id="b6"><img s rc="../jacoco-resources/greenbar.gif" width="3" height="10" title="63" alt="63"/></td><td class="ctr2" id="c3">93%</td><td class="bar" id="d8"/><td class="ctr2" id="e8">n/a</td><td class="ctr1" id="f6">1</td><td class="ctr2" id="g7">4</td><td class="ctr1" id="h8">0</td><td class="ctr2" id="i7">6</td><td class="ctr1" id="j3">1</td><td class="ctr2" id="k7">4</td><td class="ctr1" id="l6">0</td><td class="ctr2" id="m6">1</td></tr><tr><td id="a0"><a href="Assertions.java.html" class="el_source">Assertions.java</a></td><td class="bar" id="b7"/><td class="ctr2" id="c7">85%</td><td class="bar" id="d6"/><td class="ctr2" id="e0">100%</td><td class="ctr1" id="f7">1</td><td class="ctr2" id="g8">3</td><td class="ctr1" id="h5">2</td><td class="ctr2" id="i8">5</td><td class="ctr1" id="j4">1</td><td class="ctr2" id="k8">2</td><td class="ctr1" id="l7">0</td><td class="ctr2" id="m7">1</td></tr><tr><td id="a1"><a href="Constants.java.html" class="el_source">Constants.java</a></td><td class="bar" id="b 8"/><td class="ctr2" id="c9">57%</td><td class="bar" id="d9"/><td class="ctr2" id="e9">n/a</td><td class="ctr1" id="f8">1</td><td class="ctr2" id="g9">2</td><td class="ctr1" id="h7">1</td><td class="ctr2" id="i9">2</td><td class="ctr1" id="j5">1</td><td class="ctr2" id="k9">2</td><td class="ctr1" id="l8">0</td><td class="ctr2" id="m8">1</td></tr><tr><td id="a6"><a href="ExtendedBufferedReader.java.html" class="el_source">ExtendedBufferedReader.java</a></td><td class="bar" id="b9"><img src="../jacoco-resources/greenbar.gif" width="9" height="10" title="191" alt="191"/></td><td class="ctr2" id="c0">100%</td><td class="bar" id="d4"><img src="../jacoco-resources/greenbar.gif" width="13" height="10" title="31" alt="31"/></td><td class="ctr2" id="e1">97%</td><td class="ctr1" id="f9">1</td><td class="ctr2" id="g5">26</td><td class="ctr1" id="h9">0</td><td class="ctr2" id="i4">45</td><td class="ctr1" id="j9">0</td><td class="ctr2" id="k5">10</td><td class="ctr1" id="l9">0</td><td class="ctr 2" id="m9">1</td></tr></tbody></table><div class="footer"><span class="right">Created with <a href="http://www.eclemma.org/jacoco">JaCoCo</a> 0.7.7.201606060606</span></div></body></html> \ No newline at end of file Added: websites/production/commons/content/proper/commons-csv/archives/1.5/javancss.html ============================================================================== (empty)
