]> jaekl.net Git - frank.git/commitdiff
Remove coverage report output that should not really have been committed in the first...
authorChris Jaekl <cejaekl@yahoo.com>
Sat, 13 Dec 2014 02:19:40 +0000 (21:19 -0500)
committerChris Jaekl <cejaekl@yahoo.com>
Sat, 13 Dec 2014 02:19:40 +0000 (21:19 -0500)
39 files changed:
report/allclasses-frame.html [deleted file]
report/index.html [deleted file]
report/net/jaekl/frank/FrankBundle.html [deleted file]
report/net/jaekl/frank/FrankException.html [deleted file]
report/net/jaekl/frank/Schedule.html [deleted file]
report/net/jaekl/frank/ViewSchedule.html [deleted file]
report/net/jaekl/frank/octranspo/NextTrips.html [deleted file]
report/net/jaekl/frank/octranspo/Route.html [deleted file]
report/net/jaekl/frank/octranspo/RouteSummary.html [deleted file]
report/net/jaekl/frank/octranspo/Server.html [deleted file]
report/net/jaekl/frank/octranspo/StopInfo.html [deleted file]
report/net/jaekl/frank/octranspo/Trip.html [deleted file]
report/net/jaekl/frank/octranspo/package-frame.html [deleted file]
report/net/jaekl/frank/octranspo/package-summary.html [deleted file]
report/net/jaekl/frank/package-frame.html [deleted file]
report/net/jaekl/frank/package-summary.html [deleted file]
report/net/jaekl/qd/QDBundleFactory.html [deleted file]
report/net/jaekl/qd/QDException.html [deleted file]
report/net/jaekl/qd/http/RequestBroker.html [deleted file]
report/net/jaekl/qd/http/package-frame.html [deleted file]
report/net/jaekl/qd/http/package-summary.html [deleted file]
report/net/jaekl/qd/package-frame.html [deleted file]
report/net/jaekl/qd/package-summary.html [deleted file]
report/net/jaekl/qd/util/ExceptionUtils.html [deleted file]
report/net/jaekl/qd/util/ParseUtils.html [deleted file]
report/net/jaekl/qd/util/StringUtils.html [deleted file]
report/net/jaekl/qd/util/package-frame.html [deleted file]
report/net/jaekl/qd/util/package-summary.html [deleted file]
report/net/jaekl/qd/xml/MismatchedTagsException.html [deleted file]
report/net/jaekl/qd/xml/MissingInfoException.html [deleted file]
report/net/jaekl/qd/xml/ParseHandler.html [deleted file]
report/net/jaekl/qd/xml/ParseResult.html [deleted file]
report/net/jaekl/qd/xml/XmlParseException.html [deleted file]
report/net/jaekl/qd/xml/package-frame.html [deleted file]
report/net/jaekl/qd/xml/package-summary.html [deleted file]
report/overview-frame.html [deleted file]
report/overview-summary.html [deleted file]
report/sorttable.js [deleted file]
report/style.css [deleted file]

diff --git a/report/allclasses-frame.html b/report/allclasses-frame.html
deleted file mode 100644 (file)
index 8f1c1f6..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-<html>
-<head>
-<title>coverage report</title>
-<link rel ="stylesheet" type="text/css" href="style.css" title="Style">
-</head>
-<body>
-<span class="title">All classes</span>
-<table>
-<tr>
-<td nowrap="nowrap">
-<a href="net/jaekl/qd/util/ExceptionUtils.html" target="classFrame">ExceptionUtils</a><span class="text_italic">&nbsp;  50% (1/2)</span><br>
-<a href="net/jaekl/frank/FrankBundle.html" target="classFrame">FrankBundle</a><span class="text_italic">&nbsp; 100% (4/4)</span><br>
-<a href="net/jaekl/frank/FrankException.html" target="classFrame">FrankException</a><span class="text_italic">&nbsp;   0% (0/1)</span><br>
-<a href="net/jaekl/qd/xml/MismatchedTagsException.html" target="classFrame">MismatchedTagsException</a><span class="text_italic">&nbsp;   0% (0/3)</span><br>
-<a href="net/jaekl/qd/xml/MissingInfoException.html" target="classFrame">MissingInfoException</a><span class="text_italic">&nbsp; 100% (5/5)</span><br>
-<a href="net/jaekl/frank/octranspo/NextTrips.html" target="classFrame">NextTrips</a><span class="text_italic">&nbsp; 100% (2/2)</span><br>
-<a href="net/jaekl/qd/xml/ParseHandler.html" target="classFrame">ParseHandler</a><span class="text_italic">&nbsp;  75% (9/12)</span><br>
-<a href="net/jaekl/qd/xml/ParseResult.html" target="classFrame">ParseResult</a><span class="text_italic">&nbsp;  89% (8/9)</span><br>
-<a href="net/jaekl/qd/util/ParseUtils.html" target="classFrame">ParseUtils</a><span class="text_italic">&nbsp;  67% (2/3)</span><br>
-<a href="net/jaekl/qd/QDBundleFactory.html" target="classFrame">QDBundleFactory</a><span class="text_italic">&nbsp; 100% (3/3)</span><br>
-<a href="net/jaekl/qd/QDException.html" target="classFrame">QDException</a><span class="text_italic">&nbsp; 100% (2/2)</span><br>
-<a href="net/jaekl/qd/http/RequestBroker.html" target="classFrame">RequestBroker</a><span class="text_italic">&nbsp;  83% (5/6)</span><br>
-<a href="net/jaekl/frank/octranspo/Route.html" target="classFrame">Route</a><span class="text_italic">&nbsp; 100% (10/10)</span><br>
-<a href="net/jaekl/frank/octranspo/RouteSummary.html" target="classFrame">RouteSummary</a><span class="text_italic">&nbsp; 100% (2/2)</span><br>
-<a href="net/jaekl/frank/Schedule.html" target="classFrame">Schedule</a><span class="text_italic">&nbsp; 100% (7/7)</span><br>
-<a href="net/jaekl/frank/octranspo/Server.html" target="classFrame">Server</a><span class="text_italic">&nbsp; 100% (5/5)</span><br>
-<a href="net/jaekl/frank/octranspo/StopInfo.html" target="classFrame">StopInfo</a><span class="text_italic">&nbsp; 100% (9/9)</span><br>
-<a href="net/jaekl/qd/util/StringUtils.html" target="classFrame">StringUtils</a><span class="text_italic">&nbsp;  50% (1/2)</span><br>
-<a href="net/jaekl/frank/octranspo/Trip.html" target="classFrame">Trip</a><span class="text_italic">&nbsp;  94% (15/16)</span><br>
-<a href="net/jaekl/frank/ViewSchedule.html" target="classFrame">ViewSchedule</a><span class="text_italic">&nbsp;  67% (4/6)</span><br>
-<a href="net/jaekl/qd/xml/XmlParseException.html" target="classFrame">XmlParseException</a><span class="text_italic">&nbsp;  50% (1/2)</span><br>
-</td>
-</tr>
-</table>
-</body>
-</html>
diff --git a/report/index.html b/report/index.html
deleted file mode 100644 (file)
index 30f922f..0000000
+++ /dev/null
@@ -1,62 +0,0 @@
-<html>
-<head>
-<title>Coverage report </title>
-<script type="text/javascript">
-  targetPage = "" + window.location.search;
-  if (targetPage != "" && targetPage != "undefined")
-    targetPage = targetPage.substring(1);
-  if (targetPage.indexOf(":") != -1 || (targetPage != "" && !validURL(targetPage)))
-    targetPage = "undefined";
-  function validURL(url) {
-    var pos = url.indexOf(".html");
-    if (pos == -1 || pos != url.length - 5)
-      return false;
-    var allowNumber = false;
-    var allowSep = false;
-    var seenDot = false;
-    for (var i = 0; i < url.length - 5; i++) {
-      var ch = url.charAt(i);
-      if ('a' <= ch && ch <= 'z' ||
-          'A' <= ch && ch <= 'Z' ||
-          ch == '$' ||
-          ch == '_') {
-            allowNumber = true;
-            allowSep = true;
-      } else if ('0' <= ch && ch <= '9' ||
-                 ch == '-') {
-                   if (!allowNumber)
-                     return false;
-      } else if (ch == '/' || ch == '.') {
-        if (!allowSep)
-          return false;
-        allowNumber = false;
-        allowSep = false;
-        if (ch == '.')
-          seenDot = true;
-        if (ch == '/' && seenDot)
-          return false;
-      } else {
-        return false;
-      }
-    }
-    return true;
-  }
-  function loadFrames() {
-    if (targetPage != "" && targetPage != "undefined")
-      top.classFrame.location = top.targetPage;
-  }
-</script>
-</head>
-<FRAMESET cols="20%,80%" title="Documentation frame" onclick="top.loadFrames()">
-<FRAMESET rows="30%,70%" title="Left frames" onload="top.loadFrames()">
-<FRAME src="overview-frame.html" name="packageListFrame" title="All Packages">
-<FRAME src="allclasses-frame.html" name="packageFrame" title="All classes and interfaces (except non-static nested types)">
-</FRAMESET>
-<FRAME src="overview-summary.html" name="classFrame" title="Package, class and interface descriptions" scrolling="yes">
-<NOFRAMES>
-This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client.
-<BR>
-Link to<A HREF="overview-summary.html">Non-frame version.</A>
-</NOFRAMES>
-</FRAMESET>
-</html>
diff --git a/report/net/jaekl/frank/FrankBundle.html b/report/net/jaekl/frank/FrankBundle.html
deleted file mode 100644 (file)
index d44f652..0000000
+++ /dev/null
@@ -1,423 +0,0 @@
-<html>
-<head>
-<title>tests coverage</title>
-<link rel ="stylesheet" type="text/css" href="../../../style.css" title="Style">
-<script type="text/javascript" src="../../../sorttable.js"></script>
-<script type="text/javascript">
-  targetPage = "" + window.location.search;
-  if (targetPage != "" && targetPage != "undefined")
-    targetPage = targetPage.substring(1);
-  if (targetPage.indexOf(":") != -1 || (targetPage != "" && !validURL(targetPage)))
-    targetPage = "undefined";
-  function validURL(url) {
-    var pos = url.indexOf(".html");
-    if (pos == -1 || pos != url.length - 5)
-      return false;
-    var allowNumber = false;
-    var allowSep = false;
-    var seenDot = false;
-    for (var i = 0; i < url.length - 5; i++) {
-      var ch = url.charAt(i);
-      if ('a' <= ch && ch <= 'z' ||
-          'A' <= ch && ch <= 'Z' ||
-          ch == '$' ||
-          ch == '_') {
-            allowNumber = true;
-            allowSep = true;
-      } else if ('0' <= ch && ch <= '9' ||
-                 ch == '-') {
-                   if (!allowNumber)
-                     return false;
-      } else if (ch == '/' || ch == '.') {
-        if (!allowSep)
-          return false;
-        allowNumber = false;
-        allowSep = false;
-        if (ch == '.')
-          seenDot = true;
-        if (ch == '/' && seenDot)
-          return false;
-      } else {
-        return false;
-      }
-    }
-    return true;
-  }
-  function loadFrames() {
-    if (targetPage != "" && targetPage != "undefined")
-      top.classFrame.location = top.targetPage;
-  }
-</script>
-</head>
-<body>
-<table>
-<tr>
-<td>
-<a href="../../../index.html?net/jaekl/frank/FrankBundle.html" target="_top">Frames</a>
-<a href="FrankBundle.html" target="_top">No Frames</a>
-</td>
-</tr>
-</table>
-<p>
- <table cellspacing="0" cellpadding="0"class="report">
- <tr class="report">
- <th class="report">&nbsp;</th>
- <th class="report">%method</th>
- <th class="report">%block</th>
- <th class="report">%branch</th>
- <th class="report">%line</th>
- </tr>
- <tr class="report">
- <td class="reportText"><span class="text">net.jaekl.frank.FrankBundle</span></td>
- <td class="reportValue"><table class="percentGraph" cellpadding="0" cellspacing="0" align="right"><tr><td><span class="text"><b>100</b>%(4/4)</span></td><td><table class="percentGraph" cellpadding="0" cellspacing="0"><tr><td class="percentCovered" width=" 100"></td><td class="percentUnCovered" width="0.0"></td></tr></table></td></tr></table></td>
- <td class="reportValue"><table class="percentGraph" cellpadding="0" cellspacing="0" align="right"><tr><td><span class="text"><b>69</b>%(9/13)</span></td><td><table class="percentGraph" cellpadding="0" cellspacing="0"><tr><td class="percentCovered" width="  69"></td><td class="percentUnCovered" width="31.0"></td></tr></table></td></tr></table></td>
- <td class="reportValue"><table class="percentGraph" cellpadding="0" cellspacing="0" align="right"><tr><td><span class="text"><b>67</b>%(4/6)</span></td><td><table class="percentGraph" cellpadding="0" cellspacing="0"><tr><td class="percentCovered" width="  67"></td><td class="percentUnCovered" width="33.0"></td></tr></table></td></tr></table></td>
- <td class="reportValue"><table class="percentGraph" cellpadding="0" cellspacing="0" align="right"><tr><td><span class="text"><b>79</b>%(15/19)</span></td><td><table class="percentGraph" cellpadding="0" cellspacing="0"><tr><td class="percentCovered" width="  79"></td><td class="percentUnCovered" width="21.0"></td></tr></table></td></tr></table></td>
- </tr>
- </table>
- <p>
- <p>
- <table cellspacing="0" cellpadding="0"class="report" id="mcoverage">
- <tr class="report">
- <th class="report">hit count</th>
- <th class="report">method  name</th>
- <th class="report">method modifiers</th>
- <th class="report">method signature</th>
- </tr>
- <tr class="report">
- <td class="reportValue_covered"><span class="text">1</span></td>
- <td class="reportText"><span class="text"><a href="#src_26">&lt;clinit&gt;</a></span></td>
- <td class="reportText"><span class="text">[static]</span></td>
- <td class="reportText"><span class="text">void &lt;clinit&gt;()</span></td>
- </tr>
- <tr class="report">
- <td class="reportValue_covered"><span class="text">3</span></td>
- <td class="reportText"><span class="text"><a href="#src_44">&lt;init&gt;</a></span></td>
- <td class="reportText"><span class="text">[private]</span></td>
- <td class="reportText"><span class="text">void &lt;init&gt;(java.util.Locale)</span></td>
- </tr>
- <tr class="report">
- <td class="reportValue_covered"><span class="text">34</span></td>
- <td class="reportText"><span class="text"><a href="#src_50">get</a></span></td>
- <td class="reportText"><span class="text">[public]</span></td>
- <td class="reportText"><span class="text">java.lang.String get(java.lang.String)</span></td>
- </tr>
- <tr class="report">
- <td class="reportValue_covered"><span class="text">11</span></td>
- <td class="reportText"><span class="text"><a href="#src_31">getInst</a></span></td>
- <td class="reportText"><span class="text">[public, static]</span></td>
- <td class="reportText"><span class="text">net.jaekl.frank.FrankBundle getInst(java.util.Locale)</span></td>
- </tr>
- </table>
- <p>
- <table cellspacing="0" cellpadding="0" class="src">
- <tr>
- <td class="numLine">&nbsp;1</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;<span Class="keyword">package</span> net.jaekl.frank;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;2</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;3</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;<span Class="keyword">import</span> java.util.Locale;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;4</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;<span Class="keyword">import</span> java.util.MissingResourceException;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;5</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;<span Class="keyword">import</span> java.util.ResourceBundle;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;6</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;<span Class="keyword">import</span> java.util.concurrent.ConcurrentHashMap;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;7</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;8</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;<span Class="keyword">import</span> net.jaekl.qd.QDBundleFactory;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;9</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;10</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;<span Class="keyword">public</span> <span Class="keyword">class</span> FrankBundle {</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;11</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="keyword">public</span> <span Class="keyword">static</span> <span Class="keyword">final</span> String DATA_COLLECTED = <span Class="string">"data.collected"</span>;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;12</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="keyword">public</span> <span Class="keyword">static</span> <span Class="keyword">final</span> String DESTINATION = <span Class="string">"destination"</span>;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;13</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="keyword">public</span> <span Class="keyword">static</span> <span Class="keyword">final</span> String ERROR_PAGE = <span Class="string">"error.page"</span>;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;14</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="keyword">public</span> <span Class="keyword">static</span> <span Class="keyword">final</span> String ETA = <span Class="string">"eta"</span>;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;15</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="keyword">public</span> <span Class="keyword">static</span> <span Class="keyword">final</span> String FRANK = <span Class="string">"frank"</span>;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;16</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="keyword">public</span> <span Class="keyword">static</span> <span Class="keyword">final</span> String GPS_OFF = <span Class="string">"gps.off"</span>;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;17</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="keyword">public</span> <span Class="keyword">static</span> <span Class="keyword">final</span> String GPS_READ = <span Class="string">"gps.read"</span>;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;18</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="keyword">public</span> <span Class="keyword">static</span> <span Class="keyword">final</span> String MINUTES = <span Class="string">"m"</span>;    <span Class="comment">// suffix (abbreviated) for minutes</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;19</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="keyword">public</span> <span Class="keyword">static</span> <span Class="keyword">final</span> String REMAIN = <span Class="string">"remain"</span>;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;20</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="keyword">public</span> <span Class="keyword">static</span> <span Class="keyword">final</span> String ROUTE = <span Class="string">"route"</span>;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;21</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="keyword">public</span> <span Class="keyword">static</span> <span Class="keyword">final</span> String SECONDS = <span Class="string">"s"</span>;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;22</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="keyword">public</span> <span Class="keyword">static</span> <span Class="keyword">final</span> String UNEXPECTED_ERROR = <span Class="string">"unexpected.error"</span>;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;23</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       </pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;24</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="keyword">final</span> <span Class="keyword">static</span> String BUNDLE_NAME = <span Class="string">"frank"</span>;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;25</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       </pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;26<a name="src_26"></a></td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="keyword">static</span> ConcurrentHashMap&#60;Locale, FrankBundle&#62; m_bundleMap = <span Class="keyword">new</span> ConcurrentHashMap&#60;Locale, FrankBundle&#62;();</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;27</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       </pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;28</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       ResourceBundle m_bundle;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;29</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       </pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;30</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="keyword">public</span> <span Class="keyword">static</span> FrankBundle getInst(Locale locale) {</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;31<a name="src_31"></a></td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               FrankBundle result = m_bundleMap.get(locale);</span></pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;32</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               <span Class="keyword">if</span> (<span Class="keyword">null</span> == result) {</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;33</td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;Branch:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       <span Class="keyword">synchronized</span>(FrankBundle.<span Class="keyword">class</span>) {</span></pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;34</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                               result = m_bundleMap.get(locale);</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;35</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                               <span Class="keyword">if</span> (<span Class="keyword">null</span> == result) {</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;36</td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;Branch:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                                       result = <span Class="keyword">new</span> FrankBundle(locale); </span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;37</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                               }</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;38</td>
- <td class="nbHitsUncovered">&nbsp;Block:&nbsp;1/1&nbsp;Branch:&nbsp;0/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                               m_bundleMap.put(locale, result);</span></pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;39</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       }</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;40</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               }</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;41</td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;Branch:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               <span Class="keyword">return</span> result;</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;42</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       }</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;43</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       </pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;44<a name="src_44"></a></td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="keyword">private</span> FrankBundle(Locale locale) {</span></pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;45</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               m_bundle = QDBundleFactory.getInst().getBundle(BUNDLE_NAME, locale); </pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;46</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       }</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;47</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       </pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;48</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="keyword">public</span> String get(String key) {</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;49</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               <span Class="keyword">try</span> {</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;50<a name="src_50"></a></td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       <span Class="keyword">if</span> (<span Class="keyword">null</span> != m_bundle) {</span></pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;51</td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;Branch:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                               <span Class="keyword">return</span> m_bundle.getString(key);</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;52</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       }</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;53</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               }</pre></td>
- </tr>
- <tr>
- <td class="numLineUnCover">&nbsp;54</td>
- <td class="nbHitsUncovered">&nbsp;Block:&nbsp;0/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               <span Class="keyword">catch</span> (MissingResourceException e) {</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;55</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       <span Class="comment">// Make it clear that something has gone wrong.</span></pre></td>
- </tr>
- <tr>
- <td class="numLineUnCover">&nbsp;56</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       e.printStackTrace();    </pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;57</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       <span Class="comment">// Fall through to the fallback behaviour below</span></pre></td>
- </tr>
- <tr>
- <td class="numLineUnCover">&nbsp;58</td>
- <td class="nbHitsUncovered">&nbsp;Block:&nbsp;0/1&nbsp;Branch:&nbsp;0/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               }</span></pre></td>
- </tr>
- <tr>
- <td class="numLineUnCover">&nbsp;59</td>
- <td class="nbHitsUncovered">&nbsp;Block:&nbsp;0/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               <span Class="keyword">return</span> <span Class="string">"["</span> + key + <span Class="string">"]"</span>;</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;60</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       }</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;61</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;}</pre></td>
- </tr>
- </table>
-<p>
-<p><table cellpadding="0" cellspacing="0" class="report">  <tr class="report">    <td class="reportText"><span class="text">    Report generated 11/12/14 11:31 PM    </span></td>  </tr></table>
-</body>
-</html>
diff --git a/report/net/jaekl/frank/FrankException.html b/report/net/jaekl/frank/FrankException.html
deleted file mode 100644 (file)
index 6bf8d52..0000000
+++ /dev/null
@@ -1,155 +0,0 @@
-<html>
-<head>
-<title>tests coverage</title>
-<link rel ="stylesheet" type="text/css" href="../../../style.css" title="Style">
-<script type="text/javascript" src="../../../sorttable.js"></script>
-<script type="text/javascript">
-  targetPage = "" + window.location.search;
-  if (targetPage != "" && targetPage != "undefined")
-    targetPage = targetPage.substring(1);
-  if (targetPage.indexOf(":") != -1 || (targetPage != "" && !validURL(targetPage)))
-    targetPage = "undefined";
-  function validURL(url) {
-    var pos = url.indexOf(".html");
-    if (pos == -1 || pos != url.length - 5)
-      return false;
-    var allowNumber = false;
-    var allowSep = false;
-    var seenDot = false;
-    for (var i = 0; i < url.length - 5; i++) {
-      var ch = url.charAt(i);
-      if ('a' <= ch && ch <= 'z' ||
-          'A' <= ch && ch <= 'Z' ||
-          ch == '$' ||
-          ch == '_') {
-            allowNumber = true;
-            allowSep = true;
-      } else if ('0' <= ch && ch <= '9' ||
-                 ch == '-') {
-                   if (!allowNumber)
-                     return false;
-      } else if (ch == '/' || ch == '.') {
-        if (!allowSep)
-          return false;
-        allowNumber = false;
-        allowSep = false;
-        if (ch == '.')
-          seenDot = true;
-        if (ch == '/' && seenDot)
-          return false;
-      } else {
-        return false;
-      }
-    }
-    return true;
-  }
-  function loadFrames() {
-    if (targetPage != "" && targetPage != "undefined")
-      top.classFrame.location = top.targetPage;
-  }
-</script>
-</head>
-<body>
-<table>
-<tr>
-<td>
-<a href="../../../index.html?net/jaekl/frank/FrankException.html" target="_top">Frames</a>
-<a href="FrankException.html" target="_top">No Frames</a>
-</td>
-</tr>
-</table>
-<p>
- <table cellspacing="0" cellpadding="0"class="report">
- <tr class="report">
- <th class="report">&nbsp;</th>
- <th class="report">%method</th>
- <th class="report">%block</th>
- <th class="report">%branch</th>
- <th class="report">%line</th>
- </tr>
- <tr class="report">
- <td class="reportText"><span class="text">net.jaekl.frank.FrankException</span></td>
- <td class="reportValue"><table class="percentGraph" cellpadding="0" cellspacing="0" align="right"><tr><td><span class="text"><b>0</b>%(0/1)</span></td><td><table class="percentGraph" cellpadding="0" cellspacing="0"><tr><td class="percentCovered" width="   0"></td><td class="percentUnCovered" width="100.0"></td></tr></table></td></tr></table></td>
- <td class="reportValue"><table class="percentGraph" cellpadding="0" cellspacing="0" align="right"><tr><td><span class="text"><b>0</b>%(0/1)</span></td><td><table class="percentGraph" cellpadding="0" cellspacing="0"><tr><td class="percentCovered" width="   0"></td><td class="percentUnCovered" width="100.0"></td></tr></table></td></tr></table></td>
- <td class="reportValue"><table class="percentGraph" cellpadding="0" cellspacing="0" align="right"><tr><td><span class="text"><b>-</b>%</span></td></tr></table></td>
- <td class="reportValue"><table class="percentGraph" cellpadding="0" cellspacing="0" align="right"><tr><td><span class="text"><b>0</b>%(0/2)</span></td><td><table class="percentGraph" cellpadding="0" cellspacing="0"><tr><td class="percentCovered" width="   0"></td><td class="percentUnCovered" width="100.0"></td></tr></table></td></tr></table></td>
- </tr>
- </table>
- <p>
- <p>
- <table cellspacing="0" cellpadding="0"class="report" id="mcoverage">
- <tr class="report">
- <th class="report">hit count</th>
- <th class="report">method  name</th>
- <th class="report">method modifiers</th>
- <th class="report">method signature</th>
- </tr>
- <tr class="report">
- <td class="reportValue_uncovered"><span class="text">0</span></td>
- <td class="reportText"><span class="text"><a href="#src_9">&lt;init&gt;</a></span></td>
- <td class="reportText"><span class="text">[public]</span></td>
- <td class="reportText"><span class="text">void &lt;init&gt;(java.lang.Throwable)</span></td>
- </tr>
- </table>
- <p>
- <table cellspacing="0" cellpadding="0" class="src">
- <tr>
- <td class="numLine">&nbsp;1</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;<span Class="keyword">package</span> net.jaekl.frank;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;2</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;3</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;<span Class="keyword">import</span> java.lang.Exception;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;4</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;5</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;<span Class="keyword">public</span> <span Class="keyword">class</span> FrankException <span Class="keyword">extends</span> Exception {</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;6</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="keyword">private</span> <span Class="keyword">static</span> <span Class="keyword">final</span> <span Class="keyword">long</span> serialVersionUID = 1L;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;7</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;8</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="keyword">public</span> FrankException(Throwable cause) {</pre></td>
- </tr>
- <tr>
- <td class="numLineUnCover">&nbsp;9<a name="src_9"></a></td>
- <td class="nbHitsUncovered">&nbsp;Block:&nbsp;0/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               <span Class="keyword">super</span>(cause);</span></pre></td>
- </tr>
- <tr>
- <td class="numLineUnCover">&nbsp;10</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       }</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;11</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;}</pre></td>
- </tr>
- </table>
-<p>
-<p><table cellpadding="0" cellspacing="0" class="report">  <tr class="report">    <td class="reportText"><span class="text">    Report generated 11/12/14 11:31 PM    </span></td>  </tr></table>
-</body>
-</html>
diff --git a/report/net/jaekl/frank/Schedule.html b/report/net/jaekl/frank/Schedule.html
deleted file mode 100644 (file)
index 3e971d1..0000000
+++ /dev/null
@@ -1,876 +0,0 @@
-<html>
-<head>
-<title>tests coverage</title>
-<link rel ="stylesheet" type="text/css" href="../../../style.css" title="Style">
-<script type="text/javascript" src="../../../sorttable.js"></script>
-<script type="text/javascript">
-  targetPage = "" + window.location.search;
-  if (targetPage != "" && targetPage != "undefined")
-    targetPage = targetPage.substring(1);
-  if (targetPage.indexOf(":") != -1 || (targetPage != "" && !validURL(targetPage)))
-    targetPage = "undefined";
-  function validURL(url) {
-    var pos = url.indexOf(".html");
-    if (pos == -1 || pos != url.length - 5)
-      return false;
-    var allowNumber = false;
-    var allowSep = false;
-    var seenDot = false;
-    for (var i = 0; i < url.length - 5; i++) {
-      var ch = url.charAt(i);
-      if ('a' <= ch && ch <= 'z' ||
-          'A' <= ch && ch <= 'Z' ||
-          ch == '$' ||
-          ch == '_') {
-            allowNumber = true;
-            allowSep = true;
-      } else if ('0' <= ch && ch <= '9' ||
-                 ch == '-') {
-                   if (!allowNumber)
-                     return false;
-      } else if (ch == '/' || ch == '.') {
-        if (!allowSep)
-          return false;
-        allowNumber = false;
-        allowSep = false;
-        if (ch == '.')
-          seenDot = true;
-        if (ch == '/' && seenDot)
-          return false;
-      } else {
-        return false;
-      }
-    }
-    return true;
-  }
-  function loadFrames() {
-    if (targetPage != "" && targetPage != "undefined")
-      top.classFrame.location = top.targetPage;
-  }
-</script>
-</head>
-<body>
-<table>
-<tr>
-<td>
-<a href="../../../index.html?net/jaekl/frank/Schedule.html" target="_top">Frames</a>
-<a href="Schedule.html" target="_top">No Frames</a>
-</td>
-</tr>
-</table>
-<p>
- <table cellspacing="0" cellpadding="0"class="report">
- <tr class="report">
- <th class="report">&nbsp;</th>
- <th class="report">%method</th>
- <th class="report">%block</th>
- <th class="report">%branch</th>
- <th class="report">%line</th>
- </tr>
- <tr class="report">
- <td class="reportText"><span class="text">net.jaekl.frank.Schedule</span></td>
- <td class="reportValue"><table class="percentGraph" cellpadding="0" cellspacing="0" align="right"><tr><td><span class="text"><b>100</b>%(7/7)</span></td><td><table class="percentGraph" cellpadding="0" cellspacing="0"><tr><td class="percentCovered" width=" 100"></td><td class="percentUnCovered" width="0.0"></td></tr></table></td></tr></table></td>
- <td class="reportValue"><table class="percentGraph" cellpadding="0" cellspacing="0" align="right"><tr><td><span class="text"><b>88</b>%(21/24)</span></td><td><table class="percentGraph" cellpadding="0" cellspacing="0"><tr><td class="percentCovered" width="  88"></td><td class="percentUnCovered" width="12.0"></td></tr></table></td></tr></table></td>
- <td class="reportValue"><table class="percentGraph" cellpadding="0" cellspacing="0" align="right"><tr><td><span class="text"><b>75</b>%(9/12)</span></td><td><table class="percentGraph" cellpadding="0" cellspacing="0"><tr><td class="percentCovered" width="  75"></td><td class="percentUnCovered" width="25.0"></td></tr></table></td></tr></table></td>
- <td class="reportValue"><table class="percentGraph" cellpadding="0" cellspacing="0" align="right"><tr><td><span class="text"><b>98</b>%(79/81)</span></td><td><table class="percentGraph" cellpadding="0" cellspacing="0"><tr><td class="percentCovered" width="  98"></td><td class="percentUnCovered" width="2.0"></td></tr></table></td></tr></table></td>
- </tr>
- </table>
- <p>
- <p>
- <table cellspacing="0" cellpadding="0"class="report" id="mcoverage">
- <tr class="report">
- <th class="report">hit count</th>
- <th class="report">method  name</th>
- <th class="report">method modifiers</th>
- <th class="report">method signature</th>
- </tr>
- <tr class="report">
- <td class="reportValue_covered"><span class="text">8</span></td>
- <td class="reportText"><span class="text"><a href="#src_20">&lt;init&gt;</a></span></td>
- <td class="reportText"><span class="text">[public]</span></td>
- <td class="reportText"><span class="text">void &lt;init&gt;(java.util.Locale)</span></td>
- </tr>
- <tr class="report">
- <td class="reportValue_covered"><span class="text">6</span></td>
- <td class="reportText"><span class="text"><a href="#src_32">mapUrl</a></span></td>
- <td class="reportText"><span class="text">[]</span></td>
- <td class="reportText"><span class="text">java.lang.String mapUrl(double,double)</span></td>
- </tr>
- <tr class="report">
- <td class="reportValue_covered"><span class="text">22</span></td>
- <td class="reportText"><span class="text"><a href="#src_28">trans</a></span></td>
- <td class="reportText"><span class="text">[]</span></td>
- <td class="reportText"><span class="text">java.lang.String trans(java.lang.String)</span></td>
- </tr>
- <tr class="report">
- <td class="reportValue_covered"><span class="text">11</span></td>
- <td class="reportText"><span class="text"><a href="#src_73">writeHeader</a></span></td>
- <td class="reportText"><span class="text">[]</span></td>
- <td class="reportText"><span class="text">void writeHeader(java.io.PrintWriter,java.lang.String)</span></td>
- </tr>
- <tr class="report">
- <td class="reportValue_covered"><span class="text">2</span></td>
- <td class="reportText"><span class="text"><a href="#src_82">writePage</a></span></td>
- <td class="reportText"><span class="text">[]</span></td>
- <td class="reportText"><span class="text">void writePage(java.io.PrintWriter,net.jaekl.frank.octranspo.StopInfo)</span></td>
- </tr>
- <tr class="report">
- <td class="reportValue_covered"><span class="text">2</span></td>
- <td class="reportText"><span class="text"><a href="#src_47">writeScript</a></span></td>
- <td class="reportText"><span class="text">[]</span></td>
- <td class="reportText"><span class="text">void writeScript(java.io.PrintWriter,java.lang.String,int)</span></td>
- </tr>
- <tr class="report">
- <td class="reportValue_covered"><span class="text">14</span></td>
- <td class="reportText"><span class="text"><a href="#src_36">writeStyle</a></span></td>
- <td class="reportText"><span class="text">[]</span></td>
- <td class="reportText"><span class="text">void writeStyle(java.io.PrintWriter)</span></td>
- </tr>
- </table>
- <p>
- <table cellspacing="0" cellpadding="0" class="src">
- <tr>
- <td class="numLine">&nbsp;1</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;<span Class="keyword">package</span> net.jaekl.frank;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;2</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;3</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;<span Class="keyword">import</span> java.io.PrintWriter;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;4</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;<span Class="keyword">import</span> java.text.DateFormat;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;5</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;<span Class="keyword">import</span> java.text.MessageFormat;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;6</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;<span Class="keyword">import</span> java.text.SimpleDateFormat;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;7</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;<span Class="keyword">import</span> java.util.Date;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;8</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;<span Class="keyword">import</span> java.util.Locale;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;9</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;10</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;<span Class="keyword">import</span> net.jaekl.frank.octranspo.Route;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;11</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;<span Class="keyword">import</span> net.jaekl.frank.octranspo.StopInfo;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;12</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;<span Class="keyword">import</span> net.jaekl.frank.octranspo.Trip;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;13</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;14</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;<span Class="keyword">public</span> <span Class="keyword">class</span> Schedule {</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;15</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       Locale m_locale;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;16</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       FrankBundle m_bundle;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;17</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       DateFormat m_hourMinFmt;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;18</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       DateFormat m_hourMinSecFmt;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;19</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       </pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;20<a name="src_20"></a></td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="keyword">public</span> Schedule(Locale locale) {</span></pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;21</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               m_locale = locale;</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;22</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               m_bundle = FrankBundle.getInst(locale);</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;23</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               m_hourMinFmt = <span Class="keyword">new</span> SimpleDateFormat(<span Class="string">"hh:mma"</span>, locale);</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;24</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               m_hourMinSecFmt = <span Class="keyword">new</span> SimpleDateFormat(<span Class="string">"hh:mm:ssa"</span>, locale);</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;25</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       }</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;26</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       </pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;27</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       String trans(String key) {</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;28<a name="src_28"></a></td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               <span Class="keyword">return</span> m_bundle.get(key);</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;29</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       }</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;30</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       </pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;31</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       String mapUrl(<span Class="keyword">double</span> latitude, <span Class="keyword">double</span> longitude) {</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;32<a name="src_32"></a></td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               <span Class="keyword">return</span> <span Class="string">"http://www.openstreetmap.org/?mlat="</span> + latitude + <span Class="string">"&#38;mlon="</span> + longitude + <span Class="string">"&#38;zoom=15"</span>;</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;33</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       }</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;34</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       </pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;35</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="keyword">void</span> writeStyle(PrintWriter pw) {</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;36<a name="src_36"></a></td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               pw.println(<span Class="string">"&#60;STYLE&#62;"</span>);</span></pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;37</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               pw.println(<span Class="string">"  body {background-color: #F0F0C0; font-size: 1.5em; }"</span>);</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;38</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               pw.println(<span Class="string">"  #trips {border-collapse: collapse; font-size: 1.5em; }"</span>);</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;39</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               pw.println(<span Class="string">"  #trips td, #trips th {border: 1px solid #600000; padding: 3px 3px 3px 3px; text-align: center;}"</span>);</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;40</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               pw.println(<span Class="string">"  #trips th {background-color: #800000; color: #FFFFFF; }"</span>);</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;41</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               pw.println(<span Class="string">"  #trips tr.ghost td {background-color: #C0C0C0;}"</span>);</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;42</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               pw.println(<span Class="string">"&#60;/STYLE&#62;"</span>);</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;43</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       }</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;44</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       </pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;45</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="comment">// Countdown timer that updates time remaining until each bus is expected.</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;46</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="keyword">void</span> writeScript(PrintWriter pw, String remainArray, <span Class="keyword">int</span> remainCount) {</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;47<a name="src_47"></a></td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               String min = trans(FrankBundle.MINUTES);</span></pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;48</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               String sec = trans(FrankBundle.SECONDS);</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;49</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               </pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;50</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               pw.println(<span Class="string">"&#60;SCRIPT&#62;"</span>);</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;51</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;           pw.println(<span Class="string">"var start; var interval; var remain;"</span>);</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;52</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;           pw.println(<span Class="string">"window.onload = function() { start = new Date(); interval = setInterval(&#92;&#34Tick()&#92;&#34, 1000); remain = "</span> + remainArray + <span Class="string">"; }"</span>);</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;53</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;           pw.println(<span Class="string">"function Tick() { "</span>);</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;54</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;           pw.println(<span Class="string">"  var now = new Date(); var delta = Math.floor((now.getTime() - start.getTime()) / 1000); "</span>);</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;55</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;           pw.println(<span Class="string">"  var secs = delta % 60; var mins = Math.floor(delta / 60);"</span>);</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;56</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;           pw.println(<span Class="string">"  document.getElementById(&#92;&#34elapsed&#92;&#34).innerHTML = mins + &#92;&#34"</span> + min + <span Class="string">" &#92;&#34 + secs + &#92;&#34"</span> + sec + <span Class="string">"&#92;&#34;"</span>);</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;57</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;           pw.println(<span Class="string">"  for (var i = 0; i &#60; "</span> + remainCount + <span Class="string">"; ++i) {"</span>);</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;58</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;           pw.println(<span Class="string">"    var id = &#92;&#34in_&#92;&#34 + i;"</span>);</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;59</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;           pw.println(<span Class="string">"    var element = document.getElementById(id);"</span>);</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;60</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;           pw.println(<span Class="string">"    var remain_delta = (remain[i] * 60) + 30 - delta;"</span>);</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;61</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;           pw.println(<span Class="string">"    if (remain_delta &#60;= 0) {"</span>);</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;62</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;           pw.println(<span Class="string">"      element.innerHTML = &#92;&#34----&#92;&#34;"</span>);</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;63</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;           pw.println(<span Class="string">"    } else {"</span>);</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;64</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;           pw.println(<span Class="string">"      element.innerHTML = (Math.floor(remain_delta / 60)) + &#92;&#34"</span> + trans(min) + <span Class="string">"&#92;&#34;"</span>);</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;65</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;           pw.println(<span Class="string">"    }"</span>);</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;66</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;           pw.println(<span Class="string">"  }"</span>);</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;67</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;           pw.println(<span Class="string">"}"</span>);</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;68</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;           pw.println(<span Class="string">"&#60;/SCRIPT&#62;"</span>);</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;69</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;70</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       }</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;71</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       </pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;72</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="keyword">void</span> writeHeader(PrintWriter pw, String title) {</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;73<a name="src_73"></a></td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               pw.println(<span Class="string">"&#60;HTML&#62;"</span>);</span></pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;74</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               pw.println(<span Class="string">"&#60;HEAD&#62;"</span>);</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;75</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               pw.println(<span Class="string">"&#60;TITLE&#62;"</span> + title + <span Class="string">"&#60;/TITLE&#62;"</span>);</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;76</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               writeStyle(pw);</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;77</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               pw.println(<span Class="string">"&#60;/HEAD&#62;"</span>);</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;78</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       }</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;79</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       </pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;80</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="keyword">void</span> writePage(PrintWriter pw, StopInfo stopInfo)</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;81</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       {</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;82<a name="src_82"></a></td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               StringBuilder remainArray = <span Class="keyword">new</span> StringBuilder(<span Class="string">"[ "</span>);</span></pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;83</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               <span Class="keyword">int</span>           remainCount = 0;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;84</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               </pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;85</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               String title = stopInfo.getDescr() + <span Class="string">" ("</span> + stopInfo.getStopNo() + <span Class="string">")"</span>;</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;86</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               String min = trans(FrankBundle.MINUTES);</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;87</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               </pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;88</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               writeHeader(pw, trans(FrankBundle.FRANK) + <span Class="string">": "</span> + title);</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;89</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               </pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;90</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               pw.println(<span Class="string">"&#60;BODY&#62;"</span>);</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;91</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               pw.println(<span Class="string">"  &#60;TABLE ID=&#92;&#34trips&#92;&#34&#62;"</span>);</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;92</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               pw.println(<span Class="string">"    &#60;TR&#62;&#60;TH COLSPAN=&#92;&#345&#92;&#34&#62;"</span> + title + <span Class="string">"&#60;/TH&#62;&#60;/TR&#62;"</span>);</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;93</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               pw.println(<span Class="string">"    &#60;TR&#62;&#60;TH&#62;"</span> +</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;94</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       trans(FrankBundle.ROUTE) + </pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;95</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                               <span Class="string">"&#60;/TH&#62;&#60;TH&#62;"</span> +</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;96</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                               trans(FrankBundle.DESTINATION) +</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;97</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                               <span Class="string">"&#60;/TH&#62;&#60;TH&#62;"</span> +</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;98</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                               trans(FrankBundle.ETA) +</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;99</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                               <span Class="string">"&#60;/TH&#62;&#60;TH&#62;"</span> +</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;100</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                               trans(FrankBundle.REMAIN) +  </pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;101</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                               <span Class="string">"&#60;/TH&#62;&#60;TH&#62;"</span> +</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;102</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                               trans(FrankBundle.GPS_READ) +</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;103</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                               <span Class="string">"&#60;/TH&#62;"</span>);</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;104</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               </pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;105</td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;Branch:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               <span Class="keyword">for</span> (<span Class="keyword">int</span> routeIdx = 0; routeIdx &#60; stopInfo.getNumRoutes(); ++routeIdx) {</span></pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;106</td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;Branch:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       Route route = stopInfo.getRoute(routeIdx);</span></pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;107</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       <span Class="keyword">for</span> (<span Class="keyword">int</span> tripIdx = 0; tripIdx &#60; route.getNumTrips(); ++tripIdx) {</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;108</td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;Branch:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                               Trip trip = route.getTrip(tripIdx);</span></pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;109</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                               <span Class="keyword">boolean</span> isGhost = ((-1) == trip.getAdjAge());</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;110</td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                               <span Class="keyword">if</span> (isGhost) {</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;111</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                                       <span Class="comment">// GPS is off.  This bus may not exist.</span></pre></td>
- </tr>
- <tr>
- <td class="numLineUnCover">&nbsp;112</td>
- <td class="nbHitsUncovered">&nbsp;Block:&nbsp;0/1&nbsp;Branch:&nbsp;0/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                                       pw.println(<span Class="string">"    &#60;TR CLASS=&#92;&#34ghost&#92;&#34&#62;"</span>);</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;113</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                               } <span Class="keyword">else</span> {</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;114</td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;Branch:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                                       pw.println(<span Class="string">"    &#60;TR&#62;"</span>);</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;115</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                               }</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;116</td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                               pw.println(<span Class="string">"      &#60;TD&#62;"</span> + route.getRouteNo() + <span Class="string">"&#60;/TD&#62;"</span>);</span></pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;117</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                               pw.println(<span Class="string">"      &#60;TD&#62;"</span> + trip.getDest() + <span Class="string">"&#60;/TD&#62;"</span>);</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;118</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                               pw.println(<span Class="string">"      &#60;TD&#62;"</span> + m_hourMinFmt.format(trip.getETA()) + <span Class="string">"&#60;/TD&#62;"</span>);</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;119</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                               </pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;120</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                               pw.println(<span Class="string">"      &#60;TD&#62;&#60;SPAN ID=&#92;&#34in_"</span> + remainCount + <span Class="string">"&#92;&#34&#62;"</span>+ trip.getAdjTime()+min+<span Class="string">"&#60;/SPAN&#62;&#60;/TD&#62;"</span>);</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;121</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                               <span Class="keyword">if</span> (remainCount &#62; 0) {</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;122</td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;Branch:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                                       remainArray.append(<span Class="string">", "</span>);</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;123</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                               }</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;124</td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;Branch:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                               remainArray.append(trip.getAdjTime());</span></pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;125</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                               remainCount++;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;126</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                               </pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;127</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                               <span Class="keyword">if</span> (trip.getAdjAge() &#60; 0) {</pre></td>
- </tr>
- <tr>
- <td class="numLineUnCover">&nbsp;128</td>
- <td class="nbHitsUncovered">&nbsp;Block:&nbsp;0/1&nbsp;Branch:&nbsp;0/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                                       pw.println(<span Class="string">"      &#60;TD&#62;"</span> + trans(FrankBundle.GPS_OFF) + <span Class="string">"&#60;/TD&#62;"</span>);</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;129</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                               }</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;130</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                               <span Class="keyword">else</span> {</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;131</td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;Branch:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                                       pw.println(<span Class="string">"      &#60;TD&#62;&#60;A HREF=&#92;&#34"</span> + mapUrl(trip.getLatitude(), trip.getLongitude()) + </span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;132</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                                                          <span Class="string">"&#92;&#34&#62;"</span> + m_hourMinSecFmt.format(trip.getGPSTime()) + <span Class="string">"&#60;/A&#62;&#60;/TD&#62;"</span>);</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;133</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                               }</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;134</td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                               pw.println(<span Class="string">"    &#60;/TR&#62;"</span>);</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;135</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       }</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;136</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               }</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;137</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               </pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;138</td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;Branch:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               pw.println(<span Class="string">"  &#60;/TABLE&#62;"</span>);</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;139</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               </pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;140</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               String dataCollectedFormat = trans(FrankBundle.DATA_COLLECTED);</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;141</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               String dataCollected = MessageFormat.format(dataCollectedFormat, m_hourMinSecFmt.format(<span Class="keyword">new</span> Date()));</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;142</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               pw.println(<span Class="string">"  &#60;P&#62;"</span> + dataCollected + <span Class="string">"&#60;/P&#62;"</span>);</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;143</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               </pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;144</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               remainArray.append(<span Class="string">" ]"</span>);</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;145</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               writeScript(pw, remainArray.toString(), remainCount);</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;146</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               pw.println(<span Class="string">"&#60;/BODY&#62;&#60;/HTML&#62;"</span>);</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;147</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       }</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;148</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;}</pre></td>
- </tr>
- </table>
-<p>
-<p><table cellpadding="0" cellspacing="0" class="report">  <tr class="report">    <td class="reportText"><span class="text">    Report generated 11/12/14 11:31 PM    </span></td>  </tr></table>
-</body>
-</html>
diff --git a/report/net/jaekl/frank/ViewSchedule.html b/report/net/jaekl/frank/ViewSchedule.html
deleted file mode 100644 (file)
index 66255f7..0000000
+++ /dev/null
@@ -1,755 +0,0 @@
-<html>
-<head>
-<title>tests coverage</title>
-<link rel ="stylesheet" type="text/css" href="../../../style.css" title="Style">
-<script type="text/javascript" src="../../../sorttable.js"></script>
-<script type="text/javascript">
-  targetPage = "" + window.location.search;
-  if (targetPage != "" && targetPage != "undefined")
-    targetPage = targetPage.substring(1);
-  if (targetPage.indexOf(":") != -1 || (targetPage != "" && !validURL(targetPage)))
-    targetPage = "undefined";
-  function validURL(url) {
-    var pos = url.indexOf(".html");
-    if (pos == -1 || pos != url.length - 5)
-      return false;
-    var allowNumber = false;
-    var allowSep = false;
-    var seenDot = false;
-    for (var i = 0; i < url.length - 5; i++) {
-      var ch = url.charAt(i);
-      if ('a' <= ch && ch <= 'z' ||
-          'A' <= ch && ch <= 'Z' ||
-          ch == '$' ||
-          ch == '_') {
-            allowNumber = true;
-            allowSep = true;
-      } else if ('0' <= ch && ch <= '9' ||
-                 ch == '-') {
-                   if (!allowNumber)
-                     return false;
-      } else if (ch == '/' || ch == '.') {
-        if (!allowSep)
-          return false;
-        allowNumber = false;
-        allowSep = false;
-        if (ch == '.')
-          seenDot = true;
-        if (ch == '/' && seenDot)
-          return false;
-      } else {
-        return false;
-      }
-    }
-    return true;
-  }
-  function loadFrames() {
-    if (targetPage != "" && targetPage != "undefined")
-      top.classFrame.location = top.targetPage;
-  }
-</script>
-</head>
-<body>
-<table>
-<tr>
-<td>
-<a href="../../../index.html?net/jaekl/frank/ViewSchedule.html" target="_top">Frames</a>
-<a href="ViewSchedule.html" target="_top">No Frames</a>
-</td>
-</tr>
-</table>
-<p>
- <table cellspacing="0" cellpadding="0"class="report">
- <tr class="report">
- <th class="report">&nbsp;</th>
- <th class="report">%method</th>
- <th class="report">%block</th>
- <th class="report">%branch</th>
- <th class="report">%line</th>
- </tr>
- <tr class="report">
- <td class="reportText"><span class="text">net.jaekl.frank.ViewSchedule</span></td>
- <td class="reportValue"><table class="percentGraph" cellpadding="0" cellspacing="0" align="right"><tr><td><span class="text"><b>67</b>%(4/6)</span></td><td><table class="percentGraph" cellpadding="0" cellspacing="0"><tr><td class="percentCovered" width="  67"></td><td class="percentUnCovered" width="33.0"></td></tr></table></td></tr></table></td>
- <td class="reportValue"><table class="percentGraph" cellpadding="0" cellspacing="0" align="right"><tr><td><span class="text"><b>38</b>%(8/21)</span></td><td><table class="percentGraph" cellpadding="0" cellspacing="0"><tr><td class="percentCovered" width="  38"></td><td class="percentUnCovered" width="62.0"></td></tr></table></td></tr></table></td>
- <td class="reportValue"><table class="percentGraph" cellpadding="0" cellspacing="0" align="right"><tr><td><span class="text"><b>30</b>%(3/10)</span></td><td><table class="percentGraph" cellpadding="0" cellspacing="0"><tr><td class="percentCovered" width="  30"></td><td class="percentUnCovered" width="70.0"></td></tr></table></td></tr></table></td>
- <td class="reportValue"><table class="percentGraph" cellpadding="0" cellspacing="0" align="right"><tr><td><span class="text"><b>43</b>%(20/46)</span></td><td><table class="percentGraph" cellpadding="0" cellspacing="0"><tr><td class="percentCovered" width="  43"></td><td class="percentUnCovered" width="57.0"></td></tr></table></td></tr></table></td>
- </tr>
- </table>
- <p>
- <p>
- <table cellspacing="0" cellpadding="0"class="report" id="mcoverage">
- <tr class="report">
- <th class="report">hit count</th>
- <th class="report">method  name</th>
- <th class="report">method modifiers</th>
- <th class="report">method signature</th>
- </tr>
- <tr class="report">
- <td class="reportValue_covered"><span class="text">3</span></td>
- <td class="reportText"><span class="text"><a href="#src_19">&lt;init&gt;</a></span></td>
- <td class="reportText"><span class="text">[public]</span></td>
- <td class="reportText"><span class="text">void &lt;init&gt;()</span></td>
- </tr>
- <tr class="report">
- <td class="reportValue_uncovered"><span class="text">0</span></td>
- <td class="reportText"><span class="text"><a href="#src_63">doGet</a></span></td>
- <td class="reportText"><span class="text">[public]</span></td>
- <td class="reportText"><span class="text">void doGet(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)</span></td>
- </tr>
- <tr class="report">
- <td class="reportValue_uncovered"><span class="text">0</span></td>
- <td class="reportText"><span class="text"><a href="#src_48">getLocale</a></span></td>
- <td class="reportText"><span class="text">[]</span></td>
- <td class="reportText"><span class="text">java.util.Locale getLocale(javax.servlet.http.HttpServletRequest)</span></td>
- </tr>
- <tr class="report">
- <td class="reportValue_covered"><span class="text">4</span></td>
- <td class="reportText"><span class="text"><a href="#src_28">getParamInt</a></span></td>
- <td class="reportText"><span class="text">[]</span></td>
- <td class="reportText"><span class="text">int getParamInt(javax.servlet.http.HttpServletRequest,java.lang.String)</span></td>
- </tr>
- <tr class="report">
- <td class="reportValue_covered"><span class="text">8</span></td>
- <td class="reportText"><span class="text"><a href="#src_39">getParamString</a></span></td>
- <td class="reportText"><span class="text">[]</span></td>
- <td class="reportText"><span class="text">java.lang.String getParamString(javax.servlet.http.HttpServletRequest,java.lang.String)</span></td>
- </tr>
- <tr class="report">
- <td class="reportValue_covered"><span class="text">3</span></td>
- <td class="reportText"><span class="text"><a href="#src_96">writeErrorPage</a></span></td>
- <td class="reportText"><span class="text">[]</span></td>
- <td class="reportText"><span class="text">void writeErrorPage(java.io.PrintWriter,java.lang.Throwable,java.util.Locale)</span></td>
- </tr>
- </table>
- <p>
- <table cellspacing="0" cellpadding="0" class="src">
- <tr>
- <td class="numLine">&nbsp;1</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;<span Class="keyword">package</span> net.jaekl.frank;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;2</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;3</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;<span Class="keyword">import</span> java.io.ByteArrayOutputStream;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;4</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;<span Class="keyword">import</span> java.io.FileInputStream;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;5</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;<span Class="keyword">import</span> java.io.IOException;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;6</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;<span Class="keyword">import</span> java.io.PrintStream;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;7</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;<span Class="keyword">import</span> java.io.PrintWriter;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;8</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;<span Class="keyword">import</span> java.util.Locale;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;9</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;10</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;<span Class="keyword">import</span> javax.servlet.ServletException;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;11</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;<span Class="keyword">import</span> javax.servlet.http.HttpServlet;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;12</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;<span Class="keyword">import</span> javax.servlet.http.HttpServletRequest;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;13</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;<span Class="keyword">import</span> javax.servlet.http.HttpServletResponse;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;14</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;15</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;<span Class="keyword">import</span> net.jaekl.frank.octranspo.Server;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;16</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;<span Class="keyword">import</span> net.jaekl.frank.octranspo.StopInfo;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;17</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;<span Class="keyword">import</span> net.jaekl.qd.util.ExceptionUtils;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;18</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;19<a name="src_19"></a></td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;<span Class="keyword">public</span> <span Class="keyword">class</span> ViewSchedule <span Class="keyword">extends</span> HttpServlet {</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;20</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="keyword">private</span> <span Class="keyword">static</span> <span Class="keyword">final</span> <span Class="keyword">long</span> serialVersionUID = 1L;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;21</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       </pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;22</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="keyword">static</span> <span Class="keyword">final</span> String BUNDLE_NAME = <span Class="string">"frank"</span>;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;23</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="keyword">static</span> <span Class="keyword">final</span> String STOP = <span Class="string">"stop"</span>;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;24</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="keyword">static</span> <span Class="keyword">final</span> String ROUTE = <span Class="string">"route"</span>;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;25</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="keyword">static</span> <span Class="keyword">final</span> String LANG = <span Class="string">"lang"</span>;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;26</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       </pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;27</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="keyword">int</span> getParamInt(HttpServletRequest req, String paramName) {</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;28<a name="src_28"></a></td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               String valueStr = getParamString(req, paramName);</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;29</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               <span Class="keyword">try</span> {</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;30</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       <span Class="keyword">return</span> Integer.parseInt(valueStr);</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;31</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               }</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;32</td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               <span Class="keyword">catch</span> (NumberFormatException exc) {</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;33</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       <span Class="comment">// TODO:  Error page</span></pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;34</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       <span Class="keyword">return</span> 0;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;35</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               }</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;36</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       }</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;37</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       </pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;38</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       String getParamString(HttpServletRequest req, String paramName) {</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;39<a name="src_39"></a></td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               String valueStr = req.getParameter(paramName);</span></pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;40</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               <span Class="keyword">if</span> (<span Class="keyword">null</span> == valueStr|| valueStr.equals(<span Class="string">""</span>)) {</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;41</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       <span Class="comment">// TODO:  Error page</span></pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;42</td>
- <td class="nbHitsUncovered">&nbsp;Block:&nbsp;1/1&nbsp;Branch:&nbsp;1/2&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       <span Class="keyword">return</span> <span Class="keyword">null</span>;</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;43</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               }</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;44</td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;Branch:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               <span Class="keyword">return</span> valueStr;</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;45</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       }</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;46</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       </pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;47</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       Locale getLocale(HttpServletRequest req) {</pre></td>
- </tr>
- <tr>
- <td class="numLineUnCover">&nbsp;48<a name="src_48"></a></td>
- <td class="nbHitsUncovered">&nbsp;Block:&nbsp;0/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               Locale result = <span Class="keyword">null</span>;</span></pre></td>
- </tr>
- <tr>
- <td class="numLineUnCover">&nbsp;49</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               String lang = getParamString(req, LANG);</pre></td>
- </tr>
- <tr>
- <td class="numLineUnCover">&nbsp;50</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               <span Class="keyword">if</span> (<span Class="keyword">null</span> != lang) {</pre></td>
- </tr>
- <tr>
- <td class="numLineUnCover">&nbsp;51</td>
- <td class="nbHitsUncovered">&nbsp;Block:&nbsp;0/1&nbsp;Branch:&nbsp;0/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       result = <span Class="keyword">new</span> Locale(lang);</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;52</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               }</pre></td>
- </tr>
- <tr>
- <td class="numLineUnCover">&nbsp;53</td>
- <td class="nbHitsUncovered">&nbsp;Block:&nbsp;0/1&nbsp;Branch:&nbsp;0/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               <span Class="keyword">if</span> (<span Class="keyword">null</span> == result) {</span></pre></td>
- </tr>
- <tr>
- <td class="numLineUnCover">&nbsp;54</td>
- <td class="nbHitsUncovered">&nbsp;Block:&nbsp;0/1&nbsp;Branch:&nbsp;0/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       result = Locale.getDefault();</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;55</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               }</pre></td>
- </tr>
- <tr>
- <td class="numLineUnCover">&nbsp;56</td>
- <td class="nbHitsUncovered">&nbsp;Block:&nbsp;0/1&nbsp;Branch:&nbsp;0/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               <span Class="keyword">return</span> result;</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;57</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       }</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;58</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;59</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       @Override</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;60</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="keyword">public</span> <span Class="keyword">void</span> doGet(HttpServletRequest req, HttpServletResponse res)</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;61</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="keyword">throws</span> ServletException, IOException</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;62</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       {</pre></td>
- </tr>
- <tr>
- <td class="numLineUnCover">&nbsp;63<a name="src_63"></a></td>
- <td class="nbHitsUncovered">&nbsp;Block:&nbsp;0/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               res.setContentType(<span Class="string">"text/html"</span>);</span></pre></td>
- </tr>
- <tr>
- <td class="numLineUnCover">&nbsp;64</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               PrintWriter pw = res.getWriter();</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;65</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               </pre></td>
- </tr>
- <tr>
- <td class="numLineUnCover">&nbsp;66</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               Locale locale = getLocale(req);</pre></td>
- </tr>
- <tr>
- <td class="numLineUnCover">&nbsp;67</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               <span Class="keyword">int</span> stop = getParamInt(req, STOP);</pre></td>
- </tr>
- <tr>
- <td class="numLineUnCover">&nbsp;68</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               <span Class="keyword">int</span> route = getParamInt(req, ROUTE);</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;69</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               </pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;70</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               <span Class="keyword">try</span> {</pre></td>
- </tr>
- <tr>
- <td class="numLineUnCover">&nbsp;71</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       FileInputStream fis = <span Class="keyword">new</span> FileInputStream(<span Class="string">"apikey.txt"</span>);</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;72</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       <span Class="keyword">try</span> {</pre></td>
- </tr>
- <tr>
- <td class="numLineUnCover">&nbsp;73</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                               Server server = <span Class="keyword">new</span> Server(<span Class="string">"192f31d2"</span>, fis);</pre></td>
- </tr>
- <tr>
- <td class="numLineUnCover">&nbsp;74</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                               StopInfo stopInfo = <span Class="keyword">null</span>;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;75</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                               </pre></td>
- </tr>
- <tr>
- <td class="numLineUnCover">&nbsp;76</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                               <span Class="keyword">if</span> (0 == route) {</pre></td>
- </tr>
- <tr>
- <td class="numLineUnCover">&nbsp;77</td>
- <td class="nbHitsUncovered">&nbsp;Block:&nbsp;0/1&nbsp;Branch:&nbsp;0/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                                       stopInfo = server.getNextTripsForStopAllRoutes(stop);</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;78</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                               }</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;79</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                               <span Class="keyword">else</span> {</pre></td>
- </tr>
- <tr>
- <td class="numLineUnCover">&nbsp;80</td>
- <td class="nbHitsUncovered">&nbsp;Block:&nbsp;0/1&nbsp;Branch:&nbsp;0/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                                       stopInfo = server.getNextTripsForStop(stop, route);</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;81</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                               }</pre></td>
- </tr>
- <tr>
- <td class="numLineUnCover">&nbsp;82</td>
- <td class="nbHitsUncovered">&nbsp;Block:&nbsp;0/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                               Schedule schedule = <span Class="keyword">new</span> Schedule(locale);</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;83</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                               </pre></td>
- </tr>
- <tr>
- <td class="numLineUnCover">&nbsp;84</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                               schedule.writePage(pw, stopInfo);</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;85</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       }</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;86</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       <span Class="keyword">finally</span> {</pre></td>
- </tr>
- <tr>
- <td class="numLineUnCover">&nbsp;87</td>
- <td class="nbHitsUncovered">&nbsp;Block:&nbsp;0/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                               ExceptionUtils.tryClose(fis);</span></pre></td>
- </tr>
- <tr>
- <td class="numLineUnCover">&nbsp;88</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       }</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;89</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               }</pre></td>
- </tr>
- <tr>
- <td class="numLineUnCover">&nbsp;90</td>
- <td class="nbHitsUncovered">&nbsp;Block:&nbsp;0/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               <span Class="keyword">catch</span> (Throwable t) {</span></pre></td>
- </tr>
- <tr>
- <td class="numLineUnCover">&nbsp;91</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       writeErrorPage(pw, t, locale);</pre></td>
- </tr>
- <tr>
- <td class="numLineUnCover">&nbsp;92</td>
- <td class="nbHitsUncovered">&nbsp;Block:&nbsp;0/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               }</span></pre></td>
- </tr>
- <tr>
- <td class="numLineUnCover">&nbsp;93</td>
- <td class="nbHitsUncovered">&nbsp;Block:&nbsp;0/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       }</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;94</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       </pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;95</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="keyword">void</span> writeErrorPage(PrintWriter pw, Throwable t, Locale locale) {</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;96<a name="src_96"></a></td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               ByteArrayOutputStream baos = <span Class="keyword">new</span> ByteArrayOutputStream();</span></pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;97</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               PrintStream ps = <span Class="keyword">new</span> PrintStream(baos);</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;98</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               FrankBundle bundle = FrankBundle.getInst(locale);</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;99</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               </pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;100</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               pw.println(<span Class="string">"&#60;HTML&#62;&#60;HEAD&#62;&#60;TITLE&#62;"</span> + </pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;101</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                               bundle.get(FrankBundle.FRANK) + <span Class="string">": "</span> +</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;102</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                               bundle.get(FrankBundle.ERROR_PAGE) + </pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;103</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                               <span Class="string">"&#60;/TITLE&#62;&#60;/HEAD&#62;"</span>);</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;104</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               pw.println(<span Class="string">"&#60;BODY&#62;&#60;H1&#62;"</span> +</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;105</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                               bundle.get(FrankBundle.FRANK) + <span Class="string">": "</span> +</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;106</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                               bundle.get(FrankBundle.UNEXPECTED_ERROR) + </pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;107</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                               <span Class="string">"&#60;/H1&#62;&#60;P&#62;&#60;PRE&#62;"</span>);</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;108</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;109</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               <span Class="comment">// Note that, if we cared about security, we would log this stack trace to a</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;110</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               <span Class="comment">// server log, and only report a cross-reference to the log file back to the </span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;111</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               <span Class="comment">// end user's browser, to avoid potentially exposing internal info that we </span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;112</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               <span Class="comment">// don't want to share.</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;113</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               <span Class="comment">// At least at this point, we don't care (that much), and trade off a </span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;114</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               <span Class="comment">// potential information leak in favour of reducing our code complexity</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;115</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               <span Class="comment">// and the administrator's workload.</span></pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;116</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               t.printStackTrace(ps);</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;117</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               String stackTrace = baos.toString(); </pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;118</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               pw.println(stackTrace);</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;119</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                               </pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;120</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               pw.println(<span Class="string">"&#60;/PRE&#62;&#60;/P&#62;&#60;/BODY&#62;"</span>);</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;121</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               pw.println(<span Class="string">"&#60;/HTML&#62;"</span>);</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;122</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       }</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;123</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       </pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;124</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;125</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;}</pre></td>
- </tr>
- </table>
-<p>
-<p><table cellpadding="0" cellspacing="0" class="report">  <tr class="report">    <td class="reportText"><span class="text">    Report generated 11/12/14 11:31 PM    </span></td>  </tr></table>
-</body>
-</html>
diff --git a/report/net/jaekl/frank/octranspo/NextTrips.html b/report/net/jaekl/frank/octranspo/NextTrips.html
deleted file mode 100644 (file)
index 555730c..0000000
+++ /dev/null
@@ -1,161 +0,0 @@
-<html>
-<head>
-<title>tests coverage</title>
-<link rel ="stylesheet" type="text/css" href="../../../../style.css" title="Style">
-<script type="text/javascript" src="../../../../sorttable.js"></script>
-<script type="text/javascript">
-  targetPage = "" + window.location.search;
-  if (targetPage != "" && targetPage != "undefined")
-    targetPage = targetPage.substring(1);
-  if (targetPage.indexOf(":") != -1 || (targetPage != "" && !validURL(targetPage)))
-    targetPage = "undefined";
-  function validURL(url) {
-    var pos = url.indexOf(".html");
-    if (pos == -1 || pos != url.length - 5)
-      return false;
-    var allowNumber = false;
-    var allowSep = false;
-    var seenDot = false;
-    for (var i = 0; i < url.length - 5; i++) {
-      var ch = url.charAt(i);
-      if ('a' <= ch && ch <= 'z' ||
-          'A' <= ch && ch <= 'Z' ||
-          ch == '$' ||
-          ch == '_') {
-            allowNumber = true;
-            allowSep = true;
-      } else if ('0' <= ch && ch <= '9' ||
-                 ch == '-') {
-                   if (!allowNumber)
-                     return false;
-      } else if (ch == '/' || ch == '.') {
-        if (!allowSep)
-          return false;
-        allowNumber = false;
-        allowSep = false;
-        if (ch == '.')
-          seenDot = true;
-        if (ch == '/' && seenDot)
-          return false;
-      } else {
-        return false;
-      }
-    }
-    return true;
-  }
-  function loadFrames() {
-    if (targetPage != "" && targetPage != "undefined")
-      top.classFrame.location = top.targetPage;
-  }
-</script>
-</head>
-<body>
-<table>
-<tr>
-<td>
-<a href="../../../../index.html?net/jaekl/frank/octranspo/NextTrips.html" target="_top">Frames</a>
-<a href="NextTrips.html" target="_top">No Frames</a>
-</td>
-</tr>
-</table>
-<p>
- <table cellspacing="0" cellpadding="0"class="report">
- <tr class="report">
- <th class="report">&nbsp;</th>
- <th class="report">%method</th>
- <th class="report">%block</th>
- <th class="report">%branch</th>
- <th class="report">%line</th>
- </tr>
- <tr class="report">
- <td class="reportText"><span class="text">net.jaekl.frank.octranspo.NextTrips</span></td>
- <td class="reportValue"><table class="percentGraph" cellpadding="0" cellspacing="0" align="right"><tr><td><span class="text"><b>100</b>%(2/2)</span></td><td><table class="percentGraph" cellpadding="0" cellspacing="0"><tr><td class="percentCovered" width=" 100"></td><td class="percentUnCovered" width="0.0"></td></tr></table></td></tr></table></td>
- <td class="reportValue"><table class="percentGraph" cellpadding="0" cellspacing="0" align="right"><tr><td><span class="text"><b>100</b>%(2/2)</span></td><td><table class="percentGraph" cellpadding="0" cellspacing="0"><tr><td class="percentCovered" width=" 100"></td><td class="percentUnCovered" width="0.0"></td></tr></table></td></tr></table></td>
- <td class="reportValue"><table class="percentGraph" cellpadding="0" cellspacing="0" align="right"><tr><td><span class="text"><b>-</b>%</span></td></tr></table></td>
- <td class="reportValue"><table class="percentGraph" cellpadding="0" cellspacing="0" align="right"><tr><td><span class="text"><b>100</b>%(4/4)</span></td><td><table class="percentGraph" cellpadding="0" cellspacing="0"><tr><td class="percentCovered" width=" 100"></td><td class="percentUnCovered" width="0.0"></td></tr></table></td></tr></table></td>
- </tr>
- </table>
- <p>
- <p>
- <table cellspacing="0" cellpadding="0"class="report" id="mcoverage">
- <tr class="report">
- <th class="report">hit count</th>
- <th class="report">method  name</th>
- <th class="report">method modifiers</th>
- <th class="report">method signature</th>
- </tr>
- <tr class="report">
- <td class="reportValue_covered"><span class="text">1</span></td>
- <td class="reportText"><span class="text"><a href="#src_5">&lt;clinit&gt;</a></span></td>
- <td class="reportText"><span class="text">[static]</span></td>
- <td class="reportText"><span class="text">void &lt;clinit&gt;()</span></td>
- </tr>
- <tr class="report">
- <td class="reportValue_covered"><span class="text">1</span></td>
- <td class="reportText"><span class="text"><a href="#src_9">&lt;init&gt;</a></span></td>
- <td class="reportText"><span class="text">[public]</span></td>
- <td class="reportText"><span class="text">void &lt;init&gt;()</span></td>
- </tr>
- </table>
- <p>
- <table cellspacing="0" cellpadding="0" class="src">
- <tr>
- <td class="numLine">&nbsp;1</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;<span Class="keyword">package</span> net.jaekl.frank.octranspo;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;2</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;3</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;<span Class="keyword">public</span> <span Class="keyword">class</span> NextTrips <span Class="keyword">extends</span> StopInfo {</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;4</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="keyword">static</span> <span Class="keyword">final</span> String ROOT_TAG = <span Class="string">"GetNextTripsForStopResult"</span>;</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;5<a name="src_5"></a></td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="keyword">static</span> <span Class="keyword">final</span> String[] INTERNAL = { STOP_NO, STOP_LABEL, ERROR, ROUTES };</span></pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;6</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="keyword">static</span> <span Class="keyword">final</span> Object[][] EXTERNAL = { { ROUTE, Route.<span Class="keyword">class</span>} };</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;7</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;8</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="keyword">public</span> NextTrips() {</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;9<a name="src_9"></a></td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               <span Class="keyword">super</span>(ROOT_TAG, INTERNAL, EXTERNAL);</span></pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;10</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       }</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;11</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;}</pre></td>
- </tr>
- </table>
-<p>
-<p><table cellpadding="0" cellspacing="0" class="report">  <tr class="report">    <td class="reportText"><span class="text">    Report generated 11/12/14 11:31 PM    </span></td>  </tr></table>
-</body>
-</html>
diff --git a/report/net/jaekl/frank/octranspo/Route.html b/report/net/jaekl/frank/octranspo/Route.html
deleted file mode 100644 (file)
index 3957995..0000000
+++ /dev/null
@@ -1,514 +0,0 @@
-<html>
-<head>
-<title>tests coverage</title>
-<link rel ="stylesheet" type="text/css" href="../../../../style.css" title="Style">
-<script type="text/javascript" src="../../../../sorttable.js"></script>
-<script type="text/javascript">
-  targetPage = "" + window.location.search;
-  if (targetPage != "" && targetPage != "undefined")
-    targetPage = targetPage.substring(1);
-  if (targetPage.indexOf(":") != -1 || (targetPage != "" && !validURL(targetPage)))
-    targetPage = "undefined";
-  function validURL(url) {
-    var pos = url.indexOf(".html");
-    if (pos == -1 || pos != url.length - 5)
-      return false;
-    var allowNumber = false;
-    var allowSep = false;
-    var seenDot = false;
-    for (var i = 0; i < url.length - 5; i++) {
-      var ch = url.charAt(i);
-      if ('a' <= ch && ch <= 'z' ||
-          'A' <= ch && ch <= 'Z' ||
-          ch == '$' ||
-          ch == '_') {
-            allowNumber = true;
-            allowSep = true;
-      } else if ('0' <= ch && ch <= '9' ||
-                 ch == '-') {
-                   if (!allowNumber)
-                     return false;
-      } else if (ch == '/' || ch == '.') {
-        if (!allowSep)
-          return false;
-        allowNumber = false;
-        allowSep = false;
-        if (ch == '.')
-          seenDot = true;
-        if (ch == '/' && seenDot)
-          return false;
-      } else {
-        return false;
-      }
-    }
-    return true;
-  }
-  function loadFrames() {
-    if (targetPage != "" && targetPage != "undefined")
-      top.classFrame.location = top.targetPage;
-  }
-</script>
-</head>
-<body>
-<table>
-<tr>
-<td>
-<a href="../../../../index.html?net/jaekl/frank/octranspo/Route.html" target="_top">Frames</a>
-<a href="Route.html" target="_top">No Frames</a>
-</td>
-</tr>
-</table>
-<p>
- <table cellspacing="0" cellpadding="0"class="report">
- <tr class="report">
- <th class="report">&nbsp;</th>
- <th class="report">%method</th>
- <th class="report">%block</th>
- <th class="report">%branch</th>
- <th class="report">%line</th>
- </tr>
- <tr class="report">
- <td class="reportText"><span class="text">net.jaekl.frank.octranspo.Route</span></td>
- <td class="reportValue"><table class="percentGraph" cellpadding="0" cellspacing="0" align="right"><tr><td><span class="text"><b>100</b>%(10/10)</span></td><td><table class="percentGraph" cellpadding="0" cellspacing="0"><tr><td class="percentCovered" width=" 100"></td><td class="percentUnCovered" width="0.0"></td></tr></table></td></tr></table></td>
- <td class="reportValue"><table class="percentGraph" cellpadding="0" cellspacing="0" align="right"><tr><td><span class="text"><b>90</b>%(26/29)</span></td><td><table class="percentGraph" cellpadding="0" cellspacing="0"><tr><td class="percentCovered" width="  90"></td><td class="percentUnCovered" width="10.0"></td></tr></table></td></tr></table></td>
- <td class="reportValue"><table class="percentGraph" cellpadding="0" cellspacing="0" align="right"><tr><td><span class="text"><b>75</b>%(15/20)</span></td><td><table class="percentGraph" cellpadding="0" cellspacing="0"><tr><td class="percentCovered" width="  75"></td><td class="percentUnCovered" width="25.0"></td></tr></table></td></tr></table></td>
- <td class="reportValue"><table class="percentGraph" cellpadding="0" cellspacing="0" align="right"><tr><td><span class="text"><b>100</b>%(31/31)</span></td><td><table class="percentGraph" cellpadding="0" cellspacing="0"><tr><td class="percentCovered" width=" 100"></td><td class="percentUnCovered" width="0.0"></td></tr></table></td></tr></table></td>
- </tr>
- </table>
- <p>
- <p>
- <table cellspacing="0" cellpadding="0"class="report" id="mcoverage">
- <tr class="report">
- <th class="report">hit count</th>
- <th class="report">method  name</th>
- <th class="report">method modifiers</th>
- <th class="report">method signature</th>
- </tr>
- <tr class="report">
- <td class="reportValue_covered"><span class="text">1</span></td>
- <td class="reportText"><span class="text"><a href="#src_7">&lt;clinit&gt;</a></span></td>
- <td class="reportText"><span class="text">[static]</span></td>
- <td class="reportText"><span class="text">void &lt;clinit&gt;()</span></td>
- </tr>
- <tr class="report">
- <td class="reportValue_covered"><span class="text">7</span></td>
- <td class="reportText"><span class="text"><a href="#src_29">&lt;init&gt;</a></span></td>
- <td class="reportText"><span class="text">[public]</span></td>
- <td class="reportText"><span class="text">void &lt;init&gt;()</span></td>
- </tr>
- <tr class="report">
- <td class="reportValue_covered"><span class="text">22</span></td>
- <td class="reportText"><span class="text"><a href="#src_47">endContents</a></span></td>
- <td class="reportText"><span class="text">[public]</span></td>
- <td class="reportText"><span class="text">void endContents(java.lang.String,java.lang.String,java.lang.String,java.lang.String)</span></td>
- </tr>
- <tr class="report">
- <td class="reportValue_covered"><span class="text">9</span></td>
- <td class="reportText"><span class="text"><a href="#src_64">endExternal</a></span></td>
- <td class="reportText"><span class="text">[public]</span></td>
- <td class="reportText"><span class="text">void endExternal(java.lang.String,java.lang.String,java.lang.String)</span></td>
- </tr>
- <tr class="report">
- <td class="reportValue_covered"><span class="text">4</span></td>
- <td class="reportText"><span class="text"><a href="#src_39">getDirection</a></span></td>
- <td class="reportText"><span class="text">[public]</span></td>
- <td class="reportText"><span class="text">java.lang.String getDirection()</span></td>
- </tr>
- <tr class="report">
- <td class="reportValue_covered"><span class="text">2</span></td>
- <td class="reportText"><span class="text"><a href="#src_38">getDirectionID</a></span></td>
- <td class="reportText"><span class="text">[public]</span></td>
- <td class="reportText"><span class="text">int getDirectionID()</span></td>
- </tr>
- <tr class="report">
- <td class="reportValue_covered"><span class="text">8</span></td>
- <td class="reportText"><span class="text"><a href="#src_41">getNumTrips</a></span></td>
- <td class="reportText"><span class="text">[public]</span></td>
- <td class="reportText"><span class="text">int getNumTrips()</span></td>
- </tr>
- <tr class="report">
- <td class="reportValue_covered"><span class="text">4</span></td>
- <td class="reportText"><span class="text"><a href="#src_40">getRouteHeading</a></span></td>
- <td class="reportText"><span class="text">[public]</span></td>
- <td class="reportText"><span class="text">java.lang.String getRouteHeading()</span></td>
- </tr>
- <tr class="report">
- <td class="reportValue_covered"><span class="text">8</span></td>
- <td class="reportText"><span class="text"><a href="#src_37">getRouteNo</a></span></td>
- <td class="reportText"><span class="text">[public]</span></td>
- <td class="reportText"><span class="text">int getRouteNo()</span></td>
- </tr>
- <tr class="report">
- <td class="reportValue_covered"><span class="text">8</span></td>
- <td class="reportText"><span class="text"><a href="#src_42">getTrip</a></span></td>
- <td class="reportText"><span class="text">[public]</span></td>
- <td class="reportText"><span class="text">net.jaekl.frank.octranspo.Trip getTrip(int)</span></td>
- </tr>
- </table>
- <p>
- <table cellspacing="0" cellpadding="0" class="src">
- <tr>
- <td class="numLine">&nbsp;1</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;<span Class="keyword">package</span> net.jaekl.frank.octranspo;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;2</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;3</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;<span Class="keyword">import</span> java.util.ArrayList;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;4</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;<span Class="keyword">import</span> net.jaekl.qd.xml.ParseResult;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;5</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;<span Class="keyword">import</span> net.jaekl.qd.xml.XmlParseException;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;6</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;7<a name="src_7"></a></td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;<span Class="keyword">public</span> <span Class="keyword">class</span> Route <span Class="keyword">extends</span> ParseResult {</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;8</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="keyword">static</span> <span Class="keyword">final</span> String ROUTE = <span Class="string">"Route"</span>;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;9</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       </pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;10</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="keyword">static</span> <span Class="keyword">final</span> String ROUTE_NO = <span Class="string">"RouteNo"</span>;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;11</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="keyword">static</span> <span Class="keyword">final</span> String DIRECTION_ID = <span Class="string">"DirectionID"</span>;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;12</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="keyword">static</span> <span Class="keyword">final</span> String DIRECTION = <span Class="string">"Direction"</span>;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;13</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="keyword">static</span> <span Class="keyword">final</span> String ROUTE_HEADING = <span Class="string">"RouteHeading"</span>;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;14</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="keyword">static</span> <span Class="keyword">final</span> String ROUTE_LABEL = <span Class="string">"RouteLabel"</span>;   <span Class="comment">// What GetNextTripsForStop calls &#60;RouteHeading&#62;  </span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;15</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="keyword">static</span> <span Class="keyword">final</span> String TRIPS = <span Class="string">"Trips"</span>;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;16</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       </pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;17</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="keyword">static</span> <span Class="keyword">final</span> String TRIP = <span Class="string">"Trip"</span>;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;18</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       </pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;19</td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="keyword">static</span> <span Class="keyword">final</span> String[] INTERNAL = { ROUTE_NO, DIRECTION_ID, DIRECTION, ROUTE_HEADING, ROUTE_LABEL, TRIPS };</span></pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;20</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="keyword">static</span> <span Class="keyword">final</span> Object[][] EXTERNAL = { { TRIP, Trip.<span Class="keyword">class</span> } };</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;21</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       </pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;22</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="keyword">int</span> m_routeNo;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;23</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="keyword">int</span> m_directionID;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;24</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       String m_direction;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;25</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       String m_routeHeading;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;26</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       ArrayList&#60;Trip&#62; m_trips;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;27</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;28</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="keyword">public</span> Route() {</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;29<a name="src_29"></a></td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               <span Class="keyword">super</span>(ROUTE, INTERNAL, EXTERNAL);</span></pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;30</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               m_routeNo = 0;</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;31</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               m_directionID = 0;</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;32</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               m_direction = <span Class="string">""</span>;</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;33</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               m_routeHeading = <span Class="string">""</span>;</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;34</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               m_trips = <span Class="keyword">new</span> ArrayList&#60;Trip&#62;();</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;35</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       }</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;36</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;37<a name="src_37"></a></td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="keyword">public</span> <span Class="keyword">int</span> getRouteNo() { <span Class="keyword">return</span> m_routeNo; }</span></pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;38<a name="src_38"></a></td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="keyword">public</span> <span Class="keyword">int</span> getDirectionID() { <span Class="keyword">return</span> m_directionID; }</span></pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;39<a name="src_39"></a></td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="keyword">public</span> String getDirection() { <span Class="keyword">return</span> m_direction; }</span></pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;40<a name="src_40"></a></td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="keyword">public</span> String getRouteHeading() { <span Class="keyword">return</span> m_routeHeading; } </span></pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;41<a name="src_41"></a></td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="keyword">public</span> <span Class="keyword">int</span> getNumTrips() { <span Class="keyword">return</span> m_trips.size(); }</span></pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;42<a name="src_42"></a></td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="keyword">public</span> Trip getTrip(<span Class="keyword">int</span> idx) { <span Class="keyword">return</span> <span Class="keyword">new</span> Trip(m_trips.get(idx)); }</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;43</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;44</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       @Override</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;45</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="keyword">public</span> <span Class="keyword">void</span> endContents(String uri, String localName, String qName, String chars) <span Class="keyword">throws</span> XmlParseException </pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;46</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       {</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;47<a name="src_47"></a></td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               <span Class="keyword">if</span> (ROUTE_NO.equals(localName)) {</span></pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;48</td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;Branch:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       m_routeNo = Integer.parseInt(chars);</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;49</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               }</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;50</td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;Branch:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               <span Class="keyword">else</span> <span Class="keyword">if</span> (DIRECTION_ID.equals(localName)) {</span></pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;51</td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;Branch:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       m_directionID = Integer.parseInt(chars);</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;52</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               }</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;53</td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;Branch:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               <span Class="keyword">else</span> <span Class="keyword">if</span> (DIRECTION.equals(localName)) {</span></pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;54</td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;Branch:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       m_direction = chars;</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;55</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               }</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;56</td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;Branch:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               <span Class="keyword">else</span> <span Class="keyword">if</span> (ROUTE_HEADING.equals(localName) || ROUTE_LABEL.equals(localName)) {</span></pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;57</td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;Branch:&nbsp;2/2&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       m_routeHeading = chars;</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;58</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               }</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;59</td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;Branch:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       }</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;60</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       </pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;61</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       @Override</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;62</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="keyword">public</span> <span Class="keyword">void</span> endExternal(String uri, String localName, String qName) <span Class="keyword">throws</span> XmlParseException</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;63</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       {</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;64<a name="src_64"></a></td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               <span Class="keyword">if</span> (localName.equals(TRIP)) {</span></pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;65</td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;Branch:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       ParseResult[] collected = collectParsedChildren(Trip.<span Class="keyword">class</span>);</span></pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;66</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       <span Class="keyword">for</span> (ParseResult pr : collected) {</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;67</td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;Branch:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                               <span Class="keyword">assert</span>(pr <span Class="keyword">instanceof</span> Trip);</span></pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;68</td>
- <td class="nbHitsUncovered">&nbsp;Block:&nbsp;1/1&nbsp;Branch:&nbsp;1/2&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                               m_trips.add((Trip)pr);</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;69</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       }</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;70</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               }</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;71</td>
- <td class="nbHitsUncovered">&nbsp;Block:&nbsp;1/1&nbsp;Branch:&nbsp;1/2&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       }</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;72</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;}</pre></td>
- </tr>
- </table>
-<p>
-<p><table cellpadding="0" cellspacing="0" class="report">  <tr class="report">    <td class="reportText"><span class="text">    Report generated 11/12/14 11:31 PM    </span></td>  </tr></table>
-</body>
-</html>
diff --git a/report/net/jaekl/frank/octranspo/RouteSummary.html b/report/net/jaekl/frank/octranspo/RouteSummary.html
deleted file mode 100644 (file)
index dfb84a0..0000000
+++ /dev/null
@@ -1,161 +0,0 @@
-<html>
-<head>
-<title>tests coverage</title>
-<link rel ="stylesheet" type="text/css" href="../../../../style.css" title="Style">
-<script type="text/javascript" src="../../../../sorttable.js"></script>
-<script type="text/javascript">
-  targetPage = "" + window.location.search;
-  if (targetPage != "" && targetPage != "undefined")
-    targetPage = targetPage.substring(1);
-  if (targetPage.indexOf(":") != -1 || (targetPage != "" && !validURL(targetPage)))
-    targetPage = "undefined";
-  function validURL(url) {
-    var pos = url.indexOf(".html");
-    if (pos == -1 || pos != url.length - 5)
-      return false;
-    var allowNumber = false;
-    var allowSep = false;
-    var seenDot = false;
-    for (var i = 0; i < url.length - 5; i++) {
-      var ch = url.charAt(i);
-      if ('a' <= ch && ch <= 'z' ||
-          'A' <= ch && ch <= 'Z' ||
-          ch == '$' ||
-          ch == '_') {
-            allowNumber = true;
-            allowSep = true;
-      } else if ('0' <= ch && ch <= '9' ||
-                 ch == '-') {
-                   if (!allowNumber)
-                     return false;
-      } else if (ch == '/' || ch == '.') {
-        if (!allowSep)
-          return false;
-        allowNumber = false;
-        allowSep = false;
-        if (ch == '.')
-          seenDot = true;
-        if (ch == '/' && seenDot)
-          return false;
-      } else {
-        return false;
-      }
-    }
-    return true;
-  }
-  function loadFrames() {
-    if (targetPage != "" && targetPage != "undefined")
-      top.classFrame.location = top.targetPage;
-  }
-</script>
-</head>
-<body>
-<table>
-<tr>
-<td>
-<a href="../../../../index.html?net/jaekl/frank/octranspo/RouteSummary.html" target="_top">Frames</a>
-<a href="RouteSummary.html" target="_top">No Frames</a>
-</td>
-</tr>
-</table>
-<p>
- <table cellspacing="0" cellpadding="0"class="report">
- <tr class="report">
- <th class="report">&nbsp;</th>
- <th class="report">%method</th>
- <th class="report">%block</th>
- <th class="report">%branch</th>
- <th class="report">%line</th>
- </tr>
- <tr class="report">
- <td class="reportText"><span class="text">net.jaekl.frank.octranspo.RouteSummary</span></td>
- <td class="reportValue"><table class="percentGraph" cellpadding="0" cellspacing="0" align="right"><tr><td><span class="text"><b>100</b>%(2/2)</span></td><td><table class="percentGraph" cellpadding="0" cellspacing="0"><tr><td class="percentCovered" width=" 100"></td><td class="percentUnCovered" width="0.0"></td></tr></table></td></tr></table></td>
- <td class="reportValue"><table class="percentGraph" cellpadding="0" cellspacing="0" align="right"><tr><td><span class="text"><b>100</b>%(2/2)</span></td><td><table class="percentGraph" cellpadding="0" cellspacing="0"><tr><td class="percentCovered" width=" 100"></td><td class="percentUnCovered" width="0.0"></td></tr></table></td></tr></table></td>
- <td class="reportValue"><table class="percentGraph" cellpadding="0" cellspacing="0" align="right"><tr><td><span class="text"><b>-</b>%</span></td></tr></table></td>
- <td class="reportValue"><table class="percentGraph" cellpadding="0" cellspacing="0" align="right"><tr><td><span class="text"><b>100</b>%(4/4)</span></td><td><table class="percentGraph" cellpadding="0" cellspacing="0"><tr><td class="percentCovered" width=" 100"></td><td class="percentUnCovered" width="0.0"></td></tr></table></td></tr></table></td>
- </tr>
- </table>
- <p>
- <p>
- <table cellspacing="0" cellpadding="0"class="report" id="mcoverage">
- <tr class="report">
- <th class="report">hit count</th>
- <th class="report">method  name</th>
- <th class="report">method modifiers</th>
- <th class="report">method signature</th>
- </tr>
- <tr class="report">
- <td class="reportValue_covered"><span class="text">1</span></td>
- <td class="reportText"><span class="text"><a href="#src_5">&lt;clinit&gt;</a></span></td>
- <td class="reportText"><span class="text">[static]</span></td>
- <td class="reportText"><span class="text">void &lt;clinit&gt;()</span></td>
- </tr>
- <tr class="report">
- <td class="reportValue_covered"><span class="text">4</span></td>
- <td class="reportText"><span class="text"><a href="#src_9">&lt;init&gt;</a></span></td>
- <td class="reportText"><span class="text">[public]</span></td>
- <td class="reportText"><span class="text">void &lt;init&gt;()</span></td>
- </tr>
- </table>
- <p>
- <table cellspacing="0" cellpadding="0" class="src">
- <tr>
- <td class="numLine">&nbsp;1</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;<span Class="keyword">package</span> net.jaekl.frank.octranspo;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;2</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;3</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;<span Class="keyword">public</span> <span Class="keyword">class</span> RouteSummary <span Class="keyword">extends</span> StopInfo {</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;4</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="keyword">static</span> <span Class="keyword">final</span> String ROOT_TAG = <span Class="string">"GetRouteSummaryForStopResult"</span>;</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;5<a name="src_5"></a></td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="keyword">static</span> <span Class="keyword">final</span> String[] INTERNAL = { STOP_NO, DESCRIPTION, ERROR, ROUTES };</span></pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;6</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="keyword">static</span> <span Class="keyword">final</span> Object[][] EXTERNAL = { { ROUTE, Route.<span Class="keyword">class</span>} };</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;7</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;8</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="keyword">public</span> RouteSummary() {</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;9<a name="src_9"></a></td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               <span Class="keyword">super</span>(ROOT_TAG, INTERNAL, EXTERNAL);</span></pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;10</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       }</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;11</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;}</pre></td>
- </tr>
- </table>
-<p>
-<p><table cellpadding="0" cellspacing="0" class="report">  <tr class="report">    <td class="reportText"><span class="text">    Report generated 11/12/14 11:31 PM    </span></td>  </tr></table>
-</body>
-</html>
diff --git a/report/net/jaekl/frank/octranspo/Server.html b/report/net/jaekl/frank/octranspo/Server.html
deleted file mode 100644 (file)
index 439a6eb..0000000
+++ /dev/null
@@ -1,559 +0,0 @@
-<html>
-<head>
-<title>tests coverage</title>
-<link rel ="stylesheet" type="text/css" href="../../../../style.css" title="Style">
-<script type="text/javascript" src="../../../../sorttable.js"></script>
-<script type="text/javascript">
-  targetPage = "" + window.location.search;
-  if (targetPage != "" && targetPage != "undefined")
-    targetPage = targetPage.substring(1);
-  if (targetPage.indexOf(":") != -1 || (targetPage != "" && !validURL(targetPage)))
-    targetPage = "undefined";
-  function validURL(url) {
-    var pos = url.indexOf(".html");
-    if (pos == -1 || pos != url.length - 5)
-      return false;
-    var allowNumber = false;
-    var allowSep = false;
-    var seenDot = false;
-    for (var i = 0; i < url.length - 5; i++) {
-      var ch = url.charAt(i);
-      if ('a' <= ch && ch <= 'z' ||
-          'A' <= ch && ch <= 'Z' ||
-          ch == '$' ||
-          ch == '_') {
-            allowNumber = true;
-            allowSep = true;
-      } else if ('0' <= ch && ch <= '9' ||
-                 ch == '-') {
-                   if (!allowNumber)
-                     return false;
-      } else if (ch == '/' || ch == '.') {
-        if (!allowSep)
-          return false;
-        allowNumber = false;
-        allowSep = false;
-        if (ch == '.')
-          seenDot = true;
-        if (ch == '/' && seenDot)
-          return false;
-      } else {
-        return false;
-      }
-    }
-    return true;
-  }
-  function loadFrames() {
-    if (targetPage != "" && targetPage != "undefined")
-      top.classFrame.location = top.targetPage;
-  }
-</script>
-</head>
-<body>
-<table>
-<tr>
-<td>
-<a href="../../../../index.html?net/jaekl/frank/octranspo/Server.html" target="_top">Frames</a>
-<a href="Server.html" target="_top">No Frames</a>
-</td>
-</tr>
-</table>
-<p>
- <table cellspacing="0" cellpadding="0"class="report">
- <tr class="report">
- <th class="report">&nbsp;</th>
- <th class="report">%method</th>
- <th class="report">%block</th>
- <th class="report">%branch</th>
- <th class="report">%line</th>
- </tr>
- <tr class="report">
- <td class="reportText"><span class="text">net.jaekl.frank.octranspo.Server</span></td>
- <td class="reportValue"><table class="percentGraph" cellpadding="0" cellspacing="0" align="right"><tr><td><span class="text"><b>100</b>%(5/5)</span></td><td><table class="percentGraph" cellpadding="0" cellspacing="0"><tr><td class="percentCovered" width=" 100"></td><td class="percentUnCovered" width="0.0"></td></tr></table></td></tr></table></td>
- <td class="reportValue"><table class="percentGraph" cellpadding="0" cellspacing="0" align="right"><tr><td><span class="text"><b>53</b>%(9/17)</span></td><td><table class="percentGraph" cellpadding="0" cellspacing="0"><tr><td class="percentCovered" width="  53"></td><td class="percentUnCovered" width="47.0"></td></tr></table></td></tr></table></td>
- <td class="reportValue"><table class="percentGraph" cellpadding="0" cellspacing="0" align="right"><tr><td><span class="text"><b>30</b>%(3/10)</span></td><td><table class="percentGraph" cellpadding="0" cellspacing="0"><tr><td class="percentCovered" width="  30"></td><td class="percentUnCovered" width="70.0"></td></tr></table></td></tr></table></td>
- <td class="reportValue"><table class="percentGraph" cellpadding="0" cellspacing="0" align="right"><tr><td><span class="text"><b>78</b>%(21/27)</span></td><td><table class="percentGraph" cellpadding="0" cellspacing="0"><tr><td class="percentCovered" width="  78"></td><td class="percentUnCovered" width="22.0"></td></tr></table></td></tr></table></td>
- </tr>
- </table>
- <p>
- <p>
- <table cellspacing="0" cellpadding="0"class="report" id="mcoverage">
- <tr class="report">
- <th class="report">hit count</th>
- <th class="report">method  name</th>
- <th class="report">method modifiers</th>
- <th class="report">method signature</th>
- </tr>
- <tr class="report">
- <td class="reportValue_covered"><span class="text">1</span></td>
- <td class="reportText"><span class="text"><a href="#src_16">&lt;clinit&gt;</a></span></td>
- <td class="reportText"><span class="text">[static]</span></td>
- <td class="reportText"><span class="text">void &lt;clinit&gt;()</span></td>
- </tr>
- <tr class="report">
- <td class="reportValue_covered"><span class="text">3</span></td>
- <td class="reportText"><span class="text"><a href="#src_33">&lt;init&gt;</a></span></td>
- <td class="reportText"><span class="text">[public]</span></td>
- <td class="reportText"><span class="text">void &lt;init&gt;(java.lang.String,java.io.InputStream)</span></td>
- </tr>
- <tr class="report">
- <td class="reportValue_covered"><span class="text">1</span></td>
- <td class="reportText"><span class="text"><a href="#src_64">getNextTripsForStop</a></span></td>
- <td class="reportText"><span class="text">[public]</span></td>
- <td class="reportText"><span class="text">net.jaekl.frank.octranspo.StopInfo getNextTripsForStop(int,int)</span></td>
- </tr>
- <tr class="report">
- <td class="reportValue_covered"><span class="text">1</span></td>
- <td class="reportText"><span class="text"><a href="#src_78">getNextTripsForStopAllRoutes</a></span></td>
- <td class="reportText"><span class="text">[public]</span></td>
- <td class="reportText"><span class="text">net.jaekl.frank.octranspo.StopInfo getNextTripsForStopAllRoutes(int)</span></td>
- </tr>
- <tr class="report">
- <td class="reportValue_covered"><span class="text">1</span></td>
- <td class="reportText"><span class="text"><a href="#src_51">getRouteSummaryForStop</a></span></td>
- <td class="reportText"><span class="text">[public]</span></td>
- <td class="reportText"><span class="text">net.jaekl.frank.octranspo.StopInfo getRouteSummaryForStop(int)</span></td>
- </tr>
- </table>
- <p>
- <table cellspacing="0" cellpadding="0" class="src">
- <tr>
- <td class="numLine">&nbsp;1</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;<span Class="keyword">package</span> net.jaekl.frank.octranspo;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;2</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;3</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;<span Class="keyword">import</span> java.io.BufferedReader;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;4</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;<span Class="keyword">import</span> java.io.InputStream;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;5</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;<span Class="keyword">import</span> java.io.InputStreamReader;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;6</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;<span Class="keyword">import</span> java.io.IOException;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;7</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;<span Class="keyword">import</span> java.util.ArrayList;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;8</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;9</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;<span Class="keyword">import</span> net.jaekl.frank.FrankException;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;10</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;<span Class="keyword">import</span> net.jaekl.qd.QDException;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;11</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;<span Class="keyword">import</span> net.jaekl.qd.http.RequestBroker;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;12</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;13</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;<span Class="keyword">import</span> org.apache.http.NameValuePair;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;14</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;<span Class="keyword">import</span> org.apache.http.message.BasicNameValuePair;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;15</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;16<a name="src_16"></a></td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;<span Class="keyword">public</span> <span Class="keyword">class</span> Server</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;17</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;{</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;18</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="keyword">static</span> <span Class="keyword">final</span> String API_KEY = <span Class="string">"apiKey"</span>;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;19</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="keyword">static</span> <span Class="keyword">final</span> String APP_ID = <span Class="string">"appID"</span>;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;20</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="keyword">static</span> <span Class="keyword">final</span> String GATEWAY_URL = <span Class="string">"https://api.octranspo1.com/v1.2/"</span>;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;21</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="keyword">static</span> <span Class="keyword">final</span> String ROUTE_NO = <span Class="string">"routeNo"</span>;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;22</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="keyword">static</span> <span Class="keyword">final</span> String STOP_NO = <span Class="string">"stopNo"</span>;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;23</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="keyword">static</span> <span Class="keyword">final</span> String GET_ROUTE_SUMMARY_FOR_STOP = <span Class="string">"GetRouteSummaryForStop"</span>;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;24</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="keyword">static</span> <span Class="keyword">final</span> String GET_NEXT_TRIPS_FOR_STOP = <span Class="string">"GetNextTripsForStop"</span>;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;25</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="keyword">static</span> <span Class="keyword">final</span> String GET_NEXT_TRIPS_FOR_STOP_ALL_ROUTES = <span Class="string">"GetNextTripsForStopAllRoutes"</span>;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;26</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;27</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       RequestBroker m_broker;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;28</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       ArrayList&#60;NameValuePair&#62; m_baseParams;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;29</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;30</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="comment">// Constructor</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;31</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="comment">// appID   The appID for our application</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;32</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="comment">// is      InputStream from which to read the apiKey</span></pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;33<a name="src_33"></a></td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="keyword">public</span> Server(String appID, InputStream is) <span Class="keyword">throws</span> IOException {</span></pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;34</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               <span Class="keyword">assert</span> (<span Class="keyword">null</span> != appID);</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;35</td>
- <td class="nbHitsUncovered">&nbsp;Block:&nbsp;1/1&nbsp;Branch:&nbsp;1/2&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               <span Class="keyword">assert</span> (<span Class="keyword">null</span> != is);</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;36</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;37</td>
- <td class="nbHitsUncovered">&nbsp;Block:&nbsp;1/1&nbsp;Branch:&nbsp;1/2&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               BufferedReader br = <span Class="keyword">new</span> BufferedReader(<span Class="keyword">new</span> InputStreamReader(is));</span></pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;38</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               String apiKey = br.readLine();</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;39</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;40</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               m_baseParams = <span Class="keyword">new</span> ArrayList&#60;NameValuePair&#62;();</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;41</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               m_baseParams.add(<span Class="keyword">new</span> BasicNameValuePair(APP_ID, appID));</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;42</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               m_baseParams.add(<span Class="keyword">new</span> BasicNameValuePair(API_KEY, apiKey));</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;43</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;44</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               m_broker = <span Class="keyword">new</span> RequestBroker(GATEWAY_URL, m_baseParams);</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;45</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       }</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;46</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;47</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="keyword">public</span> StopInfo getRouteSummaryForStop(<span Class="keyword">int</span> stopNo) </pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;48</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       <span Class="keyword">throws</span> FrankException</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;49</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       {</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;50</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               <span Class="keyword">try</span> {</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;51<a name="src_51"></a></td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       ArrayList&#60;NameValuePair&#62; params = <span Class="keyword">new</span> ArrayList&#60;NameValuePair&#62;();</span></pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;52</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       params.add(<span Class="keyword">new</span> BasicNameValuePair(STOP_NO, Integer.valueOf(stopNo).toString()));</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;53</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       <span Class="keyword">return</span> (StopInfo) m_broker.submitAndParse(GET_ROUTE_SUMMARY_FOR_STOP, params, RouteSummary.<span Class="keyword">class</span>);</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;54</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               }</pre></td>
- </tr>
- <tr>
- <td class="numLineUnCover">&nbsp;55</td>
- <td class="nbHitsUncovered">&nbsp;Block:&nbsp;0/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               <span Class="keyword">catch</span> (QDException e) {</span></pre></td>
- </tr>
- <tr>
- <td class="numLineUnCover">&nbsp;56</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       <span Class="keyword">throw</span> <span Class="keyword">new</span> FrankException(e);</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;57</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               }</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;58</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       }</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;59</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;60</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="keyword">public</span> StopInfo getNextTripsForStop(<span Class="keyword">int</span> stopNo, <span Class="keyword">int</span> routeNo) </pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;61</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       <span Class="keyword">throws</span> FrankException</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;62</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       {</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;63</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               <span Class="keyword">try</span> {</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;64<a name="src_64"></a></td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       ArrayList&#60;NameValuePair&#62; params = <span Class="keyword">new</span> ArrayList&#60;NameValuePair&#62;();</span></pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;65</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       params.add(<span Class="keyword">new</span> BasicNameValuePair(STOP_NO, Integer.valueOf(stopNo).toString()));</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;66</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       params.add(<span Class="keyword">new</span> BasicNameValuePair(ROUTE_NO, Integer.valueOf(routeNo).toString()));</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;67</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       <span Class="keyword">return</span> (StopInfo) m_broker.submitAndParse(GET_NEXT_TRIPS_FOR_STOP, params, NextTrips.<span Class="keyword">class</span>);</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;68</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               }</pre></td>
- </tr>
- <tr>
- <td class="numLineUnCover">&nbsp;69</td>
- <td class="nbHitsUncovered">&nbsp;Block:&nbsp;0/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               <span Class="keyword">catch</span> (QDException e) {</span></pre></td>
- </tr>
- <tr>
- <td class="numLineUnCover">&nbsp;70</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       <span Class="keyword">throw</span> <span Class="keyword">new</span> FrankException(e);</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;71</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               }</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;72</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       }</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;73</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;74</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="keyword">public</span> StopInfo getNextTripsForStopAllRoutes(<span Class="keyword">int</span> stopNo) </pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;75</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       <span Class="keyword">throws</span> FrankException</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;76</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       {</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;77</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               <span Class="keyword">try</span> {</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;78<a name="src_78"></a></td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       ArrayList&#60;NameValuePair&#62; params = <span Class="keyword">new</span> ArrayList&#60;NameValuePair&#62;();</span></pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;79</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       params.add(<span Class="keyword">new</span> BasicNameValuePair(STOP_NO, Integer.valueOf(stopNo).toString()));</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;80</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       <span Class="keyword">return</span> (StopInfo) m_broker.submitAndParse(GET_NEXT_TRIPS_FOR_STOP_ALL_ROUTES, params, RouteSummary.<span Class="keyword">class</span>);</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;81</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               }</pre></td>
- </tr>
- <tr>
- <td class="numLineUnCover">&nbsp;82</td>
- <td class="nbHitsUncovered">&nbsp;Block:&nbsp;0/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               <span Class="keyword">catch</span> (QDException e) {</span></pre></td>
- </tr>
- <tr>
- <td class="numLineUnCover">&nbsp;83</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       <span Class="keyword">throw</span> <span Class="keyword">new</span> FrankException(e);</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;84</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               }</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;85</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       }</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;86</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;}</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;87</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;</pre></td>
- </tr>
- </table>
-<p>
-<p><table cellpadding="0" cellspacing="0" class="report">  <tr class="report">    <td class="reportText"><span class="text">    Report generated 11/12/14 11:31 PM    </span></td>  </tr></table>
-</body>
-</html>
diff --git a/report/net/jaekl/frank/octranspo/StopInfo.html b/report/net/jaekl/frank/octranspo/StopInfo.html
deleted file mode 100644 (file)
index 4e65791..0000000
+++ /dev/null
@@ -1,528 +0,0 @@
-<html>
-<head>
-<title>tests coverage</title>
-<link rel ="stylesheet" type="text/css" href="../../../../style.css" title="Style">
-<script type="text/javascript" src="../../../../sorttable.js"></script>
-<script type="text/javascript">
-  targetPage = "" + window.location.search;
-  if (targetPage != "" && targetPage != "undefined")
-    targetPage = targetPage.substring(1);
-  if (targetPage.indexOf(":") != -1 || (targetPage != "" && !validURL(targetPage)))
-    targetPage = "undefined";
-  function validURL(url) {
-    var pos = url.indexOf(".html");
-    if (pos == -1 || pos != url.length - 5)
-      return false;
-    var allowNumber = false;
-    var allowSep = false;
-    var seenDot = false;
-    for (var i = 0; i < url.length - 5; i++) {
-      var ch = url.charAt(i);
-      if ('a' <= ch && ch <= 'z' ||
-          'A' <= ch && ch <= 'Z' ||
-          ch == '$' ||
-          ch == '_') {
-            allowNumber = true;
-            allowSep = true;
-      } else if ('0' <= ch && ch <= '9' ||
-                 ch == '-') {
-                   if (!allowNumber)
-                     return false;
-      } else if (ch == '/' || ch == '.') {
-        if (!allowSep)
-          return false;
-        allowNumber = false;
-        allowSep = false;
-        if (ch == '.')
-          seenDot = true;
-        if (ch == '/' && seenDot)
-          return false;
-      } else {
-        return false;
-      }
-    }
-    return true;
-  }
-  function loadFrames() {
-    if (targetPage != "" && targetPage != "undefined")
-      top.classFrame.location = top.targetPage;
-  }
-</script>
-</head>
-<body>
-<table>
-<tr>
-<td>
-<a href="../../../../index.html?net/jaekl/frank/octranspo/StopInfo.html" target="_top">Frames</a>
-<a href="StopInfo.html" target="_top">No Frames</a>
-</td>
-</tr>
-</table>
-<p>
- <table cellspacing="0" cellpadding="0"class="report">
- <tr class="report">
- <th class="report">&nbsp;</th>
- <th class="report">%method</th>
- <th class="report">%block</th>
- <th class="report">%branch</th>
- <th class="report">%line</th>
- </tr>
- <tr class="report">
- <td class="reportText"><span class="text">net.jaekl.frank.octranspo.StopInfo</span></td>
- <td class="reportValue"><table class="percentGraph" cellpadding="0" cellspacing="0" align="right"><tr><td><span class="text"><b>100</b>%(9/9)</span></td><td><table class="percentGraph" cellpadding="0" cellspacing="0"><tr><td class="percentCovered" width=" 100"></td><td class="percentUnCovered" width="0.0"></td></tr></table></td></tr></table></td>
- <td class="reportValue"><table class="percentGraph" cellpadding="0" cellspacing="0" align="right"><tr><td><span class="text"><b>83</b>%(24/29)</span></td><td><table class="percentGraph" cellpadding="0" cellspacing="0"><tr><td class="percentCovered" width="  83"></td><td class="percentUnCovered" width="17.0"></td></tr></table></td></tr></table></td>
- <td class="reportValue"><table class="percentGraph" cellpadding="0" cellspacing="0" align="right"><tr><td><span class="text"><b>64</b>%(14/22)</span></td><td><table class="percentGraph" cellpadding="0" cellspacing="0"><tr><td class="percentCovered" width="  64"></td><td class="percentUnCovered" width="36.0"></td></tr></table></td></tr></table></td>
- <td class="reportValue"><table class="percentGraph" cellpadding="0" cellspacing="0" align="right"><tr><td><span class="text"><b>100</b>%(32/32)</span></td><td><table class="percentGraph" cellpadding="0" cellspacing="0"><tr><td class="percentCovered" width=" 100"></td><td class="percentUnCovered" width="0.0"></td></tr></table></td></tr></table></td>
- </tr>
- </table>
- <p>
- <p>
- <table cellspacing="0" cellpadding="0"class="report" id="mcoverage">
- <tr class="report">
- <th class="report">hit count</th>
- <th class="report">method  name</th>
- <th class="report">method modifiers</th>
- <th class="report">method signature</th>
- </tr>
- <tr class="report">
- <td class="reportValue_covered"><span class="text">1</span></td>
- <td class="reportText"><span class="text"><a href="#src_8">&lt;clinit&gt;</a></span></td>
- <td class="reportText"><span class="text">[static]</span></td>
- <td class="reportText"><span class="text">void &lt;clinit&gt;()</span></td>
- </tr>
- <tr class="report">
- <td class="reportValue_covered"><span class="text">5</span></td>
- <td class="reportText"><span class="text"><a href="#src_26">&lt;init&gt;</a></span></td>
- <td class="reportText"><span class="text">[public]</span></td>
- <td class="reportText"><span class="text">void &lt;init&gt;(java.lang.String,java.lang.String[],java.lang.Object[][])</span></td>
- </tr>
- <tr class="report">
- <td class="reportValue_covered"><span class="text">11</span></td>
- <td class="reportText"><span class="text"><a href="#src_49">endContents</a></span></td>
- <td class="reportText"><span class="text">[public]</span></td>
- <td class="reportText"><span class="text">void endContents(java.lang.String,java.lang.String,java.lang.String,java.lang.String)</span></td>
- </tr>
- <tr class="report">
- <td class="reportValue_covered"><span class="text">5</span></td>
- <td class="reportText"><span class="text"><a href="#src_65">endExternal</a></span></td>
- <td class="reportText"><span class="text">[public]</span></td>
- <td class="reportText"><span class="text">void endExternal(java.lang.String,java.lang.String,java.lang.String)</span></td>
- </tr>
- <tr class="report">
- <td class="reportValue_covered"><span class="text">5</span></td>
- <td class="reportText"><span class="text"><a href="#src_38">getDescr</a></span></td>
- <td class="reportText"><span class="text">[public]</span></td>
- <td class="reportText"><span class="text">java.lang.String getDescr()</span></td>
- </tr>
- <tr class="report">
- <td class="reportValue_covered"><span class="text">3</span></td>
- <td class="reportText"><span class="text"><a href="#src_39">getError</a></span></td>
- <td class="reportText"><span class="text">[public]</span></td>
- <td class="reportText"><span class="text">java.lang.String getError()</span></td>
- </tr>
- <tr class="report">
- <td class="reportValue_covered"><span class="text">7</span></td>
- <td class="reportText"><span class="text"><a href="#src_40">getNumRoutes</a></span></td>
- <td class="reportText"><span class="text">[public]</span></td>
- <td class="reportText"><span class="text">int getNumRoutes()</span></td>
- </tr>
- <tr class="report">
- <td class="reportValue_covered"><span class="text">6</span></td>
- <td class="reportText"><span class="text"><a href="#src_41">getRoute</a></span></td>
- <td class="reportText"><span class="text">[public]</span></td>
- <td class="reportText"><span class="text">net.jaekl.frank.octranspo.Route getRoute(int)</span></td>
- </tr>
- <tr class="report">
- <td class="reportValue_covered"><span class="text">5</span></td>
- <td class="reportText"><span class="text"><a href="#src_37">getStopNo</a></span></td>
- <td class="reportText"><span class="text">[public]</span></td>
- <td class="reportText"><span class="text">int getStopNo()</span></td>
- </tr>
- </table>
- <p>
- <table cellspacing="0" cellpadding="0" class="src">
- <tr>
- <td class="numLine">&nbsp;1</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;<span Class="keyword">package</span> net.jaekl.frank.octranspo;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;2</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;3</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;<span Class="keyword">import</span> java.util.ArrayList;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;4</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;5</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;<span Class="keyword">import</span> net.jaekl.qd.xml.ParseResult;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;6</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;<span Class="keyword">import</span> net.jaekl.qd.xml.XmlParseException;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;7</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;8<a name="src_8"></a></td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;<span Class="keyword">public</span> <span Class="keyword">class</span> StopInfo <span Class="keyword">extends</span> ParseResult</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;9</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;{</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;10</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="comment">// potential child tag names</span></pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;11</td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="keyword">public</span> <span Class="keyword">static</span> String STOP_NO = <span Class="string">"StopNo"</span>;</span></pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;12</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="keyword">public</span> <span Class="keyword">static</span> String DESCRIPTION = <span Class="string">"StopDescription"</span>;     <span Class="comment">// Present in RouteSummary</span></pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;13</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="keyword">public</span> <span Class="keyword">static</span> String STOP_LABEL = <span Class="string">"StopLabel"</span>;                    <span Class="comment">// What NextTrips calls StopDescription</span></pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;14</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="keyword">public</span> <span Class="keyword">static</span> String ERROR = <span Class="string">"Error"</span>;</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;15</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="keyword">public</span> <span Class="keyword">static</span> String ROUTES = <span Class="string">"Routes"</span>;</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;16</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="keyword">public</span> <span Class="keyword">static</span> String ROUTE = <span Class="string">"Route"</span>;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;17</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;18</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="comment">// data returned inside our element</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;19</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="keyword">int</span> m_stopNo;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;20</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       String m_descr;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;21</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       String m_error;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;22</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       ArrayList&#60;Route&#62; m_routes;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;23</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;24</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="comment">// Constructor</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;25</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="keyword">public</span> StopInfo(String rootTagName, String[] internal, Object[][] external) {</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;26<a name="src_26"></a></td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               <span Class="keyword">super</span>(rootTagName, internal, external);</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;27</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;28</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               m_stopNo = 0;</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;29</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               m_descr = <span Class="string">""</span>;</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;30</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               m_error = <span Class="string">""</span>;</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;31</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               m_routes = <span Class="keyword">new</span> ArrayList&#60;Route&#62;();</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;32</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       }</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;33</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;34</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="comment">// -----------------------------</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;35</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="comment">// Public methods to access data</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;36</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;37<a name="src_37"></a></td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="keyword">public</span> <span Class="keyword">int</span> getStopNo() { <span Class="keyword">return</span> m_stopNo; }</span></pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;38<a name="src_38"></a></td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="keyword">public</span> String getDescr() { <span Class="keyword">return</span> m_descr; }</span></pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;39<a name="src_39"></a></td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="keyword">public</span> String getError() { <span Class="keyword">return</span> m_error; }</span></pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;40<a name="src_40"></a></td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="keyword">public</span> <span Class="keyword">int</span> getNumRoutes() { <span Class="keyword">return</span> m_routes.size(); }</span></pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;41<a name="src_41"></a></td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="keyword">public</span> Route getRoute(<span Class="keyword">int</span> idx) { <span Class="keyword">return</span> m_routes.get(idx); }</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;42</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;43</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="comment">// --------------------------</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;44</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="comment">// ParseResult implementation</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;45</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;46</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       @Override</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;47</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="keyword">public</span> <span Class="keyword">void</span> endContents(String uri, String localName, String qName, String chars) <span Class="keyword">throws</span> XmlParseException</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;48</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       {</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;49<a name="src_49"></a></td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               <span Class="keyword">assert</span> (<span Class="keyword">null</span> != localName);</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;50</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;51</td>
- <td class="nbHitsUncovered">&nbsp;Block:&nbsp;1/1&nbsp;Branch:&nbsp;1/2&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               <span Class="keyword">if</span> (localName.equals(STOP_NO)) {</span></pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;52</td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;Branch:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       m_stopNo = Integer.parseInt(chars);</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;53</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               }</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;54</td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;Branch:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               <span Class="keyword">else</span> <span Class="keyword">if</span> (localName.equals(DESCRIPTION) || localName.equals(STOP_LABEL)) {</span></pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;55</td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;Branch:&nbsp;2/2&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       m_descr = chars;</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;56</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               }</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;57</td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;Branch:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               <span Class="keyword">else</span> <span Class="keyword">if</span> (localName.equals(ERROR)) {</span></pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;58</td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;Branch:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       m_error = chars;</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;59</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               }</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;60</td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;Branch:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       }</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;61</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       </pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;62</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       @Override</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;63</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="keyword">public</span> <span Class="keyword">void</span> endExternal(String uri, String localName, String qName) <span Class="keyword">throws</span> XmlParseException</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;64</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       {</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;65<a name="src_65"></a></td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               <span Class="keyword">if</span> (localName.equals(ROUTE)) {</span></pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;66</td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;Branch:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       ParseResult[] collected = collectParsedChildren(Route.<span Class="keyword">class</span>);</span></pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;67</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       <span Class="keyword">for</span> (ParseResult pr : collected) {</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;68</td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;Branch:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                               <span Class="keyword">assert</span> (pr <span Class="keyword">instanceof</span> Route);</span></pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;69</td>
- <td class="nbHitsUncovered">&nbsp;Block:&nbsp;1/1&nbsp;Branch:&nbsp;1/2&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                               m_routes.add((Route)pr);</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;70</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       }</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;71</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               }</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;72</td>
- <td class="nbHitsUncovered">&nbsp;Block:&nbsp;1/1&nbsp;Branch:&nbsp;1/2&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       }</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;73</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       </pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;74</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       </pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;75</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;}</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;76</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;</pre></td>
- </tr>
- </table>
-<p>
-<p><table cellpadding="0" cellspacing="0" class="report">  <tr class="report">    <td class="reportText"><span class="text">    Report generated 11/12/14 11:31 PM    </span></td>  </tr></table>
-</body>
-</html>
diff --git a/report/net/jaekl/frank/octranspo/Trip.html b/report/net/jaekl/frank/octranspo/Trip.html
deleted file mode 100644 (file)
index c2e39ed..0000000
+++ /dev/null
@@ -1,890 +0,0 @@
-<html>
-<head>
-<title>tests coverage</title>
-<link rel ="stylesheet" type="text/css" href="../../../../style.css" title="Style">
-<script type="text/javascript" src="../../../../sorttable.js"></script>
-<script type="text/javascript">
-  targetPage = "" + window.location.search;
-  if (targetPage != "" && targetPage != "undefined")
-    targetPage = targetPage.substring(1);
-  if (targetPage.indexOf(":") != -1 || (targetPage != "" && !validURL(targetPage)))
-    targetPage = "undefined";
-  function validURL(url) {
-    var pos = url.indexOf(".html");
-    if (pos == -1 || pos != url.length - 5)
-      return false;
-    var allowNumber = false;
-    var allowSep = false;
-    var seenDot = false;
-    for (var i = 0; i < url.length - 5; i++) {
-      var ch = url.charAt(i);
-      if ('a' <= ch && ch <= 'z' ||
-          'A' <= ch && ch <= 'Z' ||
-          ch == '$' ||
-          ch == '_') {
-            allowNumber = true;
-            allowSep = true;
-      } else if ('0' <= ch && ch <= '9' ||
-                 ch == '-') {
-                   if (!allowNumber)
-                     return false;
-      } else if (ch == '/' || ch == '.') {
-        if (!allowSep)
-          return false;
-        allowNumber = false;
-        allowSep = false;
-        if (ch == '.')
-          seenDot = true;
-        if (ch == '/' && seenDot)
-          return false;
-      } else {
-        return false;
-      }
-    }
-    return true;
-  }
-  function loadFrames() {
-    if (targetPage != "" && targetPage != "undefined")
-      top.classFrame.location = top.targetPage;
-  }
-</script>
-</head>
-<body>
-<table>
-<tr>
-<td>
-<a href="../../../../index.html?net/jaekl/frank/octranspo/Trip.html" target="_top">Frames</a>
-<a href="Trip.html" target="_top">No Frames</a>
-</td>
-</tr>
-</table>
-<p>
- <table cellspacing="0" cellpadding="0"class="report">
- <tr class="report">
- <th class="report">&nbsp;</th>
- <th class="report">%method</th>
- <th class="report">%block</th>
- <th class="report">%branch</th>
- <th class="report">%line</th>
- </tr>
- <tr class="report">
- <td class="reportText"><span class="text">net.jaekl.frank.octranspo.Trip</span></td>
- <td class="reportValue"><table class="percentGraph" cellpadding="0" cellspacing="0" align="right"><tr><td><span class="text"><b>94</b>%(15/16)</span></td><td><table class="percentGraph" cellpadding="0" cellspacing="0"><tr><td class="percentCovered" width="  94"></td><td class="percentUnCovered" width="6.0"></td></tr></table></td></tr></table></td>
- <td class="reportValue"><table class="percentGraph" cellpadding="0" cellspacing="0" align="right"><tr><td><span class="text"><b>94</b>%(34/36)</span></td><td><table class="percentGraph" cellpadding="0" cellspacing="0"><tr><td class="percentCovered" width="  94"></td><td class="percentUnCovered" width="6.0"></td></tr></table></td></tr></table></td>
- <td class="reportValue"><table class="percentGraph" cellpadding="0" cellspacing="0" align="right"><tr><td><span class="text"><b>94</b>%(17/18)</span></td><td><table class="percentGraph" cellpadding="0" cellspacing="0"><tr><td class="percentCovered" width="  94"></td><td class="percentUnCovered" width="6.0"></td></tr></table></td></tr></table></td>
- <td class="reportValue"><table class="percentGraph" cellpadding="0" cellspacing="0" align="right"><tr><td><span class="text"><b>95</b>%(58/61)</span></td><td><table class="percentGraph" cellpadding="0" cellspacing="0"><tr><td class="percentCovered" width="  95"></td><td class="percentUnCovered" width="5.0"></td></tr></table></td></tr></table></td>
- </tr>
- </table>
- <p>
- <p>
- <table cellspacing="0" cellpadding="0"class="report" id="mcoverage">
- <tr class="report">
- <th class="report">hit count</th>
- <th class="report">method  name</th>
- <th class="report">method modifiers</th>
- <th class="report">method signature</th>
- </tr>
- <tr class="report">
- <td class="reportValue_covered"><span class="text">1</span></td>
- <td class="reportText"><span class="text"><a href="#src_25">&lt;clinit&gt;</a></span></td>
- <td class="reportText"><span class="text">[static]</span></td>
- <td class="reportText"><span class="text">void &lt;clinit&gt;()</span></td>
- </tr>
- <tr class="report">
- <td class="reportValue_covered"><span class="text">13</span></td>
- <td class="reportText"><span class="text"><a href="#src_50">&lt;init&gt;</a></span></td>
- <td class="reportText"><span class="text">[public]</span></td>
- <td class="reportText"><span class="text">void &lt;init&gt;()</span></td>
- </tr>
- <tr class="report">
- <td class="reportValue_covered"><span class="text">8</span></td>
- <td class="reportText"><span class="text"><a href="#src_66">&lt;init&gt;</a></span></td>
- <td class="reportText"><span class="text">[public]</span></td>
- <td class="reportText"><span class="text">void &lt;init&gt;(net.jaekl.frank.octranspo.Trip)</span></td>
- </tr>
- <tr class="report">
- <td class="reportValue_covered"><span class="text">81</span></td>
- <td class="reportText"><span class="text"><a href="#src_102">endContents</a></span></td>
- <td class="reportText"><span class="text">[public]</span></td>
- <td class="reportText"><span class="text">void endContents(java.lang.String,java.lang.String,java.lang.String,java.lang.String)</span></td>
- </tr>
- <tr class="report">
- <td class="reportValue_uncovered"><span class="text">0</span></td>
- <td class="reportText"><span class="text"><a href="#src_138">endExternal</a></span></td>
- <td class="reportText"><span class="text">[public]</span></td>
- <td class="reportText"><span class="text">void endExternal(java.lang.String,java.lang.String,java.lang.String)</span></td>
- </tr>
- <tr class="report">
- <td class="reportValue_covered"><span class="text">12</span></td>
- <td class="reportText"><span class="text"><a href="#src_82">getAdjAge</a></span></td>
- <td class="reportText"><span class="text">[public]</span></td>
- <td class="reportText"><span class="text">double getAdjAge()</span></td>
- </tr>
- <tr class="report">
- <td class="reportValue_covered"><span class="text">12</span></td>
- <td class="reportText"><span class="text"><a href="#src_81">getAdjTime</a></span></td>
- <td class="reportText"><span class="text">[public]</span></td>
- <td class="reportText"><span class="text">int getAdjTime()</span></td>
- </tr>
- <tr class="report">
- <td class="reportValue_covered"><span class="text">4</span></td>
- <td class="reportText"><span class="text"><a href="#src_84">getBusType</a></span></td>
- <td class="reportText"><span class="text">[public]</span></td>
- <td class="reportText"><span class="text">java.lang.String getBusType()</span></td>
- </tr>
- <tr class="report">
- <td class="reportValue_covered"><span class="text">8</span></td>
- <td class="reportText"><span class="text"><a href="#src_79">getDest</a></span></td>
- <td class="reportText"><span class="text">[public]</span></td>
- <td class="reportText"><span class="text">java.lang.String getDest()</span></td>
- </tr>
- <tr class="report">
- <td class="reportValue_covered"><span class="text">4</span></td>
- <td class="reportText"><span class="text"><a href="#src_90">getETA</a></span></td>
- <td class="reportText"><span class="text">[public]</span></td>
- <td class="reportText"><span class="text">java.util.Date getETA()</span></td>
- </tr>
- <tr class="report">
- <td class="reportValue_covered"><span class="text">4</span></td>
- <td class="reportText"><span class="text"><a href="#src_93">getGPSTime</a></span></td>
- <td class="reportText"><span class="text">[public]</span></td>
- <td class="reportText"><span class="text">java.util.Date getGPSTime()</span></td>
- </tr>
- <tr class="report">
- <td class="reportValue_covered"><span class="text">8</span></td>
- <td class="reportText"><span class="text"><a href="#src_87">getLatitude</a></span></td>
- <td class="reportText"><span class="text">[public]</span></td>
- <td class="reportText"><span class="text">double getLatitude()</span></td>
- </tr>
- <tr class="report">
- <td class="reportValue_covered"><span class="text">8</span></td>
- <td class="reportText"><span class="text"><a href="#src_86">getLongitude</a></span></td>
- <td class="reportText"><span class="text">[public]</span></td>
- <td class="reportText"><span class="text">double getLongitude()</span></td>
- </tr>
- <tr class="report">
- <td class="reportValue_covered"><span class="text">4</span></td>
- <td class="reportText"><span class="text"><a href="#src_85">getSpeed</a></span></td>
- <td class="reportText"><span class="text">[public]</span></td>
- <td class="reportText"><span class="text">double getSpeed()</span></td>
- </tr>
- <tr class="report">
- <td class="reportValue_covered"><span class="text">4</span></td>
- <td class="reportText"><span class="text"><a href="#src_80">getStart</a></span></td>
- <td class="reportText"><span class="text">[public]</span></td>
- <td class="reportText"><span class="text">java.util.Date getStart()</span></td>
- </tr>
- <tr class="report">
- <td class="reportValue_covered"><span class="text">4</span></td>
- <td class="reportText"><span class="text"><a href="#src_83">isLastTrip</a></span></td>
- <td class="reportText"><span class="text">[public]</span></td>
- <td class="reportText"><span class="text">boolean isLastTrip()</span></td>
- </tr>
- </table>
- <p>
- <table cellspacing="0" cellpadding="0" class="src">
- <tr>
- <td class="numLine">&nbsp;1</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;<span Class="keyword">package</span> net.jaekl.frank.octranspo;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;2</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;3</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;<span Class="keyword">import</span> java.text.DateFormat;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;4</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;<span Class="keyword">import</span> java.text.ParseException;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;5</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;<span Class="keyword">import</span> java.text.SimpleDateFormat;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;6</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;<span Class="keyword">import</span> java.util.Date;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;7</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;8</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;<span Class="keyword">import</span> net.jaekl.qd.util.ParseUtils;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;9</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;<span Class="keyword">import</span> net.jaekl.qd.xml.ParseResult;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;10</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;<span Class="keyword">import</span> net.jaekl.qd.xml.XmlParseException;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;11</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;12</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;<span Class="keyword">public</span> <span Class="keyword">class</span> Trip <span Class="keyword">extends</span> ParseResult {</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;13</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="keyword">static</span> <span Class="keyword">final</span> String TRIP = <span Class="string">"Trip"</span>;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;14</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       </pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;15</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="keyword">static</span> <span Class="keyword">final</span> String TRIP_DESTINATION = <span Class="string">"TripDestination"</span>;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;16</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="keyword">static</span> <span Class="keyword">final</span> String TRIP_START_TIME = <span Class="string">"TripStartTime"</span>;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;17</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="keyword">static</span> <span Class="keyword">final</span> String ADJUSTED_SCHEDULE_TIME = <span Class="string">"AdjustedScheduleTime"</span>;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;18</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="keyword">static</span> <span Class="keyword">final</span> String ADJUSTMENT_AGE = <span Class="string">"AdjustmentAge"</span>;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;19</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="keyword">static</span> <span Class="keyword">final</span> String LAST_TRIP_OF_SCHEDULE = <span Class="string">"LastTripOfSchedule"</span>;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;20</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="keyword">static</span> <span Class="keyword">final</span> String BUS_TYPE = <span Class="string">"BusType"</span>;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;21</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="keyword">static</span> <span Class="keyword">final</span> String GPS_SPEED = <span Class="string">"GPSSpeed"</span>;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;22</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="keyword">static</span> <span Class="keyword">final</span> String LATITUDE = <span Class="string">"Latitude"</span>;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;23</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="keyword">static</span> <span Class="keyword">final</span> String LONGITUDE = <span Class="string">"Longitude"</span>;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;24</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       </pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;25<a name="src_25"></a></td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="keyword">static</span> <span Class="keyword">final</span> String[] INTERNAL = { TRIP_DESTINATION,</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;26</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                                              TRIP_START_TIME,</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;27</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                                              ADJUSTED_SCHEDULE_TIME,</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;28</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                                              ADJUSTMENT_AGE,</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;29</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                                              LAST_TRIP_OF_SCHEDULE,</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;30</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                                              BUS_TYPE,</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;31</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                                              GPS_SPEED,</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;32</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                                              LATITUDE,</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;33</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                                              LONGITUDE };</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;34</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="keyword">static</span> <span Class="keyword">final</span> Object[][] EXTERNAL = {};</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;35</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       </pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;36</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;    String  m_dest;      <span Class="comment">// destination</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;37</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;    Date    m_start;     <span Class="comment">// time at which the trip started / is scheduled to start</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;38</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;    <span Class="keyword">int</span>     m_adjTime;   <span Class="comment">// minutes until bus is predicted to arrive</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;39</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;    <span Class="keyword">double</span>  m_adjAge;    <span Class="comment">// time since the last GPS data was received, in minutes (possibly fractional)</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;40</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;    <span Class="keyword">boolean</span> m_lastTrip;  <span Class="comment">// is this the last scheduled trip of the day?</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;41</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;    String  m_busType;   <span Class="comment">// type of bus</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;42</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;    <span Class="keyword">double</span>  m_speed;     <span Class="comment">// speed (km/h) when last polled</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;43</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;    <span Class="keyword">double</span>  m_long;      <span Class="comment">// longitude</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;44</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;    <span Class="keyword">double</span>  m_lat;       <span Class="comment">// latitude</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;45</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;    </pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;46</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;    DateFormat m_dateFormat;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;47</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;    Date       m_constructed;  <span Class="comment">// DateTime when this object was constructed</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;48</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;49</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;    <span Class="keyword">public</span> Trip() {</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;50<a name="src_50"></a></td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="keyword">super</span>(TRIP, INTERNAL, EXTERNAL);</span></pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;51</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       m_dest = <span Class="string">""</span>;</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;52</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       m_start = <span Class="keyword">new</span> Date();</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;53</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       m_adjTime = 0;</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;54</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       m_adjAge = 0.0;</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;55</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       m_lastTrip = <span Class="keyword">false</span>;</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;56</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       m_busType = <span Class="string">""</span>;</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;57</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       m_speed = 0.0;</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;58</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       m_long = 0.0;</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;59</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       m_lat = 0.0;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;60</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       </pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;61</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       m_dateFormat = <span Class="keyword">new</span> SimpleDateFormat(<span Class="string">"hh:mm"</span>);</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;62</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       m_constructed = <span Class="keyword">new</span> Date();</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;63</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;    }</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;64</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;    </pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;65</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;    <span Class="keyword">public</span> Trip(Trip other) {</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;66<a name="src_66"></a></td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="keyword">super</span>(TRIP, INTERNAL, EXTERNAL);</span></pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;67</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       m_dest = other.m_dest;</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;68</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       m_start = other.m_start;</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;69</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       m_adjTime = other.m_adjTime;</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;70</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       m_adjAge = other.m_adjAge;</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;71</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       m_lastTrip = other.m_lastTrip;</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;72</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       m_busType = other.m_busType;</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;73</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       m_speed = other.m_speed;</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;74</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       m_long = other.m_long;</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;75</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       m_lat = other.m_lat;</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;76</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       m_constructed = other.m_constructed;</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;77</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       }</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;78</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;79<a name="src_79"></a></td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="keyword">public</span> String getDest() { <span Class="keyword">return</span> m_dest; }</span></pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;80<a name="src_80"></a></td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;    <span Class="keyword">public</span> Date getStart() { <span Class="keyword">return</span> m_start; }</span></pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;81<a name="src_81"></a></td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;    <span Class="keyword">public</span> <span Class="keyword">int</span> getAdjTime() { <span Class="keyword">return</span> m_adjTime; }</span></pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;82<a name="src_82"></a></td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;    <span Class="keyword">public</span> <span Class="keyword">double</span> getAdjAge() { <span Class="keyword">return</span> m_adjAge; }</span></pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;83<a name="src_83"></a></td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;    <span Class="keyword">public</span> <span Class="keyword">boolean</span> isLastTrip() { <span Class="keyword">return</span> m_lastTrip; }</span></pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;84<a name="src_84"></a></td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;    <span Class="keyword">public</span> String getBusType() { <span Class="keyword">return</span> m_busType; }</span></pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;85<a name="src_85"></a></td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;    <span Class="keyword">public</span> <span Class="keyword">double</span> getSpeed() { <span Class="keyword">return</span> m_speed; }</span></pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;86<a name="src_86"></a></td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;    <span Class="keyword">public</span> <span Class="keyword">double</span> getLongitude() { <span Class="keyword">return</span> m_long; }</span></pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;87<a name="src_87"></a></td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;    <span Class="keyword">public</span> <span Class="keyword">double</span> getLatitude() { <span Class="keyword">return</span> m_lat; }</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;88</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;    </pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;89</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;    <span Class="comment">// Estimated (Date)Time of Arrival of this trip at the stop </span></pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;90<a name="src_90"></a></td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;    <span Class="keyword">public</span> Date getETA() { <span Class="keyword">return</span> <span Class="keyword">new</span> Date(m_constructed.getTime() + (<span Class="keyword">long</span>)(1000 * 60 * m_adjTime)); }</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;91</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;    </pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;92</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;    <span Class="comment">// (Date)Time when the GPS for this bus was last read</span></pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;93<a name="src_93"></a></td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;    <span Class="keyword">public</span> Date getGPSTime() { <span Class="keyword">return</span> <span Class="keyword">new</span> Date(m_constructed.getTime() - (<span Class="keyword">long</span>)(1000 * 60 * m_adjAge)); } </span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;94</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;95</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;    <span Class="comment">// ---------------------------</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;96</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;    <span Class="comment">// ParseResult implementation:</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;97</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;    </pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;98</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       @Override</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;99</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="keyword">public</span> <span Class="keyword">void</span> endContents(String uri, String localName, String qName,   String chars) <span Class="keyword">throws</span> XmlParseException </pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;100</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       {</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;101</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               <span Class="keyword">try</span> {</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;102<a name="src_102"></a></td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       <span Class="keyword">if</span> (TRIP_DESTINATION.equals(localName)) {</span></pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;103</td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;Branch:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                               m_dest = chars;</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;104</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       }</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;105</td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;Branch:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       <span Class="keyword">else</span> <span Class="keyword">if</span> (TRIP_START_TIME.equals(localName)) {</span></pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;106</td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;Branch:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                               m_start = m_dateFormat.parse(chars);</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;107</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       }</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;108</td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;Branch:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       <span Class="keyword">else</span> <span Class="keyword">if</span> (ADJUSTED_SCHEDULE_TIME.equals(localName)) {</span></pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;109</td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;Branch:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                               m_adjTime = ParseUtils.parseInt(chars);</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;110</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       }</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;111</td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;Branch:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       <span Class="keyword">else</span> <span Class="keyword">if</span> (ADJUSTMENT_AGE.equals(localName)) {</span></pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;112</td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;Branch:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                               m_adjAge = ParseUtils.parseDouble(chars);</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;113</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       }</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;114</td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;Branch:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       <span Class="keyword">else</span> <span Class="keyword">if</span> (LAST_TRIP_OF_SCHEDULE.equals(localName)) {</span></pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;115</td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;Branch:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                               m_lastTrip = Boolean.parseBoolean(chars);</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;116</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       }</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;117</td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;Branch:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       <span Class="keyword">else</span> <span Class="keyword">if</span> (BUS_TYPE.equals(localName)) {</span></pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;118</td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;Branch:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                               m_busType = chars;</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;119</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       }</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;120</td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;Branch:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       <span Class="keyword">else</span> <span Class="keyword">if</span> (GPS_SPEED.equals(localName)) {</span></pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;121</td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;Branch:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                               m_speed = ParseUtils.parseDouble(chars);</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;122</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       }</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;123</td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;Branch:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       <span Class="keyword">else</span> <span Class="keyword">if</span> (LONGITUDE.equals(localName)) {</span></pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;124</td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;Branch:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                               m_long = ParseUtils.parseDouble(chars);</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;125</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       }</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;126</td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;Branch:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       <span Class="keyword">else</span> <span Class="keyword">if</span> (LATITUDE.equals(localName)) {</span></pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;127</td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;Branch:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                               m_lat = ParseUtils.parseDouble(chars);</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;128</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       }</pre></td>
- </tr>
- <tr>
- <td class="numLineUnCover">&nbsp;129</td>
- <td class="nbHitsUncovered">&nbsp;Block:&nbsp;0/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               } <span Class="keyword">catch</span> (ParseException pe) {</span></pre></td>
- </tr>
- <tr>
- <td class="numLineUnCover">&nbsp;130</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       <span Class="keyword">throw</span> <span Class="keyword">new</span> XmlParseException(pe);</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;131</td>
- <td class="nbHitsUncovered">&nbsp;Block:&nbsp;1/1&nbsp;Branch:&nbsp;0/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               }</span></pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;132</td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       }</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;133</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       </pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;134</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       @Override</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;135</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="keyword">public</span> <span Class="keyword">void</span> endExternal(String uri, String localName, String qName) <span Class="keyword">throws</span> XmlParseException</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;136</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       {</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;137</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               <span Class="comment">// no externally-parsed children</span></pre></td>
- </tr>
- <tr>
- <td class="numLineUnCover">&nbsp;138<a name="src_138"></a></td>
- <td class="nbHitsUncovered">&nbsp;Block:&nbsp;0/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       }</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;139</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;}</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;140</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;</pre></td>
- </tr>
- </table>
-<p>
-<p><table cellpadding="0" cellspacing="0" class="report">  <tr class="report">    <td class="reportText"><span class="text">    Report generated 11/12/14 11:31 PM    </span></td>  </tr></table>
-</body>
-</html>
diff --git a/report/net/jaekl/frank/octranspo/package-frame.html b/report/net/jaekl/frank/octranspo/package-frame.html
deleted file mode 100644 (file)
index 27e2836..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-<html>
-<head>
-<title>coverage report</title>
-<link rel ="stylesheet" type="text/css" href="../../../../style.css" title="Style">
-</head>
-<body>
-<a href="package-summary.html" target="classFrame">net.jaekl.frank.octranspo</a> <span class="text_italic">&nbsp;  98% (43/44)</span><br>
-<p>
-<span class="title">All classes</span>
-<table>
-<tr>
-<td nowrap="nowrap">
-<a href="./NextTrips.html" target="classFrame">NextTrips</a><span class="text_italic">&nbsp; 100% (2/2)</span><br>
-<a href="./Route.html" target="classFrame">Route</a><span class="text_italic">&nbsp; 100% (10/10)</span><br>
-<a href="./RouteSummary.html" target="classFrame">RouteSummary</a><span class="text_italic">&nbsp; 100% (2/2)</span><br>
-<a href="./Server.html" target="classFrame">Server</a><span class="text_italic">&nbsp; 100% (5/5)</span><br>
-<a href="./StopInfo.html" target="classFrame">StopInfo</a><span class="text_italic">&nbsp; 100% (9/9)</span><br>
-<a href="./Trip.html" target="classFrame">Trip</a><span class="text_italic">&nbsp;  94% (15/16)</span><br>
-</td>
-</tr>
-</table>
-</body>
-</html>
diff --git a/report/net/jaekl/frank/octranspo/package-summary.html b/report/net/jaekl/frank/octranspo/package-summary.html
deleted file mode 100644 (file)
index 50484c0..0000000
+++ /dev/null
@@ -1,83 +0,0 @@
-<html>
-<head>
-<title>coverage report</title>
-<link rel ="stylesheet" type="text/css" href="../../../../style.css" title="Style">
-<script type="text/javascript" src="../../../../sorttable.js"></script>
-</head>
-<body>
-<span class="title">Coverage report </span>
-<p>
-<table class="report" cellpadding="0" cellspacing="0">
-<tr class="report">
-<th class="report">&nbsp;</th>
-<th class="report">#classes</th>
-<th class="report">%method</th>
-<th class="report">%block</th>
-<th class="report">%branch</th>
-<th class="report">%line</th>
-</tr>
-<tr class="report">
-<td class="reportText">net.jaekl.frank.octranspo</td>
-<td class="reportValue">6</td>
-<td class="reportValue"><table class="percentGraph" cellpadding="0" cellspacing="0" align="right"><tr><td><span class="text"><b>98</b>%(43/44)</span></td><td><table class="percentGraph" cellpadding="0" cellspacing="0"><tr><td class="percentCovered" width="  98"></td><td class="percentUnCovered" width="2.0"></td></tr></table></td></tr></table></td>
-<td class="reportValue"><table class="percentGraph" cellpadding="0" cellspacing="0" align="right"><tr><td><span class="text"><b>84</b>%(97/115)</span></td><td><table class="percentGraph" cellpadding="0" cellspacing="0"><tr><td class="percentCovered" width="  84"></td><td class="percentUnCovered" width="16.0"></td></tr></table></td></tr></table></td>
-<td class="reportValue"><table class="percentGraph" cellpadding="0" cellspacing="0" align="right"><tr><td><span class="text"><b>70</b>%(49/70)</span></td><td><table class="percentGraph" cellpadding="0" cellspacing="0"><tr><td class="percentCovered" width="  70"></td><td class="percentUnCovered" width="30.0"></td></tr></table></td></tr></table></td>
-<td class="reportValue"><table class="percentGraph" cellpadding="0" cellspacing="0" align="right"><tr><td><span class="text"><b>94</b>%(150/159)</span></td><td><table class="percentGraph" cellpadding="0" cellspacing="0"><tr><td class="percentCovered" width="  94"></td><td class="percentUnCovered" width="6.0"></td></tr></table></td></tr></table></td>
-</tr>
-</table>
-<p>
-<span class="title2">Classes</span><br>
-<table class="report" cellpadding="0" cellspacing="0" id="classes">
-<tr class="report">
-<th class="report">Name</th>
-<th class="report">%method</th>
-<th class="report">%block</th>
-<th class="report">%branch</th>
-<th class="report">%line</th>
-</tr>
-<tr class="report">
-<td class="reportText"><a href="NextTrips.html">NextTrips</a></td>
-<td class="reportValue"><b> 100</b>% (2/2)</td>
-<td class="reportValue"><b> 100</b>% (2/2)</td>
-<td class="reportValue"> -</td>
-<td class="reportValue"><b> 100</b>% (4/4)</td>
-</tr>
-<tr class="report">
-<td class="reportText"><a href="Route.html">Route</a></td>
-<td class="reportValue"><b> 100</b>% (10/10)</td>
-<td class="reportValue"><b>  90</b>% (26/29)</td>
-<td class="reportValue"><b>  75</b>% (15/20)</td>
-<td class="reportValue"><b> 100</b>% (31/31)</td>
-</tr>
-<tr class="report">
-<td class="reportText"><a href="RouteSummary.html">RouteSummary</a></td>
-<td class="reportValue"><b> 100</b>% (2/2)</td>
-<td class="reportValue"><b> 100</b>% (2/2)</td>
-<td class="reportValue"> -</td>
-<td class="reportValue"><b> 100</b>% (4/4)</td>
-</tr>
-<tr class="report">
-<td class="reportText"><a href="Server.html">Server</a></td>
-<td class="reportValue"><b> 100</b>% (5/5)</td>
-<td class="reportValue"><b>  53</b>% (9/17)</td>
-<td class="reportValue"><b>  30</b>% (3/10)</td>
-<td class="reportValue"><b>  78</b>% (21/27)</td>
-</tr>
-<tr class="report">
-<td class="reportText"><a href="StopInfo.html">StopInfo</a></td>
-<td class="reportValue"><b> 100</b>% (9/9)</td>
-<td class="reportValue"><b>  83</b>% (24/29)</td>
-<td class="reportValue"><b>  64</b>% (14/22)</td>
-<td class="reportValue"><b> 100</b>% (32/32)</td>
-</tr>
-<tr class="report">
-<td class="reportText"><a href="Trip.html">Trip</a></td>
-<td class="reportValue"><b>  94</b>% (15/16)</td>
-<td class="reportValue"><b>  94</b>% (34/36)</td>
-<td class="reportValue"><b>  94</b>% (17/18)</td>
-<td class="reportValue"><b>  95</b>% (58/61)</td>
-</tr>
-</table>
-<p><table cellpadding="0" cellspacing="0" class="report">  <tr class="report">    <td class="reportText"><span class="text">    Report generated 11/12/14 11:31 PM    </span></td>  </tr></table>
-</body>
-</html>
diff --git a/report/net/jaekl/frank/package-frame.html b/report/net/jaekl/frank/package-frame.html
deleted file mode 100644 (file)
index 3f6ff3f..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-<html>
-<head>
-<title>coverage report</title>
-<link rel ="stylesheet" type="text/css" href="../../../style.css" title="Style">
-</head>
-<body>
-<a href="package-summary.html" target="classFrame">net.jaekl.frank</a> <span class="text_italic">&nbsp;  83% (15/18)</span><br>
-<p>
-<span class="title">All classes</span>
-<table>
-<tr>
-<td nowrap="nowrap">
-<a href="./FrankBundle.html" target="classFrame">FrankBundle</a><span class="text_italic">&nbsp; 100% (4/4)</span><br>
-<a href="./FrankException.html" target="classFrame">FrankException</a><span class="text_italic">&nbsp;   0% (0/1)</span><br>
-<a href="./Schedule.html" target="classFrame">Schedule</a><span class="text_italic">&nbsp; 100% (7/7)</span><br>
-<a href="./ViewSchedule.html" target="classFrame">ViewSchedule</a><span class="text_italic">&nbsp;  67% (4/6)</span><br>
-</td>
-</tr>
-</table>
-</body>
-</html>
diff --git a/report/net/jaekl/frank/package-summary.html b/report/net/jaekl/frank/package-summary.html
deleted file mode 100644 (file)
index 5ff0e15..0000000
+++ /dev/null
@@ -1,111 +0,0 @@
-<html>
-<head>
-<title>coverage report</title>
-<link rel ="stylesheet" type="text/css" href="../../../style.css" title="Style">
-<script type="text/javascript" src="../../../sorttable.js"></script>
-</head>
-<body>
-<span class="title">Coverage report </span>
-<p>
-<table class="report" cellpadding="0" cellspacing="0">
-<tr class="report">
-<th class="report">&nbsp;</th>
-<th class="report">#classes</th>
-<th class="report">%method</th>
-<th class="report">%block</th>
-<th class="report">%branch</th>
-<th class="report">%line</th>
-</tr>
-<tr class="report">
-<td class="reportText">net.jaekl.frank</td>
-<td class="reportValue">4</td>
-<td class="reportValue"><table class="percentGraph" cellpadding="0" cellspacing="0" align="right"><tr><td><span class="text"><b>83</b>%(15/18)</span></td><td><table class="percentGraph" cellpadding="0" cellspacing="0"><tr><td class="percentCovered" width="  83"></td><td class="percentUnCovered" width="17.0"></td></tr></table></td></tr></table></td>
-<td class="reportValue"><table class="percentGraph" cellpadding="0" cellspacing="0" align="right"><tr><td><span class="text"><b>64</b>%(38/59)</span></td><td><table class="percentGraph" cellpadding="0" cellspacing="0"><tr><td class="percentCovered" width="  64"></td><td class="percentUnCovered" width="36.0"></td></tr></table></td></tr></table></td>
-<td class="reportValue"><table class="percentGraph" cellpadding="0" cellspacing="0" align="right"><tr><td><span class="text"><b>57</b>%(16/28)</span></td><td><table class="percentGraph" cellpadding="0" cellspacing="0"><tr><td class="percentCovered" width="  57"></td><td class="percentUnCovered" width="43.0"></td></tr></table></td></tr></table></td>
-<td class="reportValue"><table class="percentGraph" cellpadding="0" cellspacing="0" align="right"><tr><td><span class="text"><b>77</b>%(114/148)</span></td><td><table class="percentGraph" cellpadding="0" cellspacing="0"><tr><td class="percentCovered" width="  77"></td><td class="percentUnCovered" width="23.0"></td></tr></table></td></tr></table></td>
-</tr>
-</table>
-<p>
-<span class="title2">Packages</span><br>
-<table class="report" cellpadding="0" cellspacing="0" id="subpackages">
-<tr class="report">
-<th class="report">Name</th>
-<th class="report">#classes</th>
-<th class="report">%class</th>
-<th class="report">%method</th>
-<th class="report">%block</th>
-<th class="report">%branch</th>
-<th class="report">%line</th>
-</tr>
-<tr class="report">
-<td class="reportText"><a href="octranspo/package-summary.html">net.jaekl.frank.octranspo</a></td>
-<td class="reportValue">6</td>
-<td class="reportValue"><b> 100</b>% (6/6)</td>
-<td class="reportValue"><b>  98</b>% (43/44)</td>
-<td class="reportValue"><b>  84</b>% (97/115)</td>
-<td class="reportValue"><b>  70</b>% (49/70)</td>
-<td class="reportValue"><b>  94</b>% (150/159)</td>
-</tr>
-</table>
-<p>
-<span class="title2">Classes</span><br>
-<table class="report" cellpadding="0" cellspacing="0" id="classes">
-<tr class="report">
-<th class="report">Name</th>
-<th class="report">%method</th>
-<th class="report">%block</th>
-<th class="report">%branch</th>
-<th class="report">%line</th>
-</tr>
-<tr class="report">
-<td class="reportText"><a href="FrankBundle.html">FrankBundle</a></td>
-<td class="reportValue"><b> 100</b>% (4/4)</td>
-<td class="reportValue"><b>  69</b>% (9/13)</td>
-<td class="reportValue"><b>  67</b>% (4/6)</td>
-<td class="reportValue"><b>  79</b>% (15/19)</td>
-</tr>
-<tr class="report">
-<td class="reportText"><a href="FrankException.html">FrankException</a></td>
-<td class="reportValue"><b>   0</b>% (0/1)</td>
-<td class="reportValue"><b>   0</b>% (0/1)</td>
-<td class="reportValue"> -</td>
-<td class="reportValue"><b>   0</b>% (0/2)</td>
-</tr>
-<tr class="report">
-<td class="reportText"><a href="Schedule.html">Schedule</a></td>
-<td class="reportValue"><b> 100</b>% (7/7)</td>
-<td class="reportValue"><b>  88</b>% (21/24)</td>
-<td class="reportValue"><b>  75</b>% (9/12)</td>
-<td class="reportValue"><b>  98</b>% (79/81)</td>
-</tr>
-<tr class="report">
-<td class="reportText"><a href="ViewSchedule.html">ViewSchedule</a></td>
-<td class="reportValue"><b>  67</b>% (4/6)</td>
-<td class="reportValue"><b>  38</b>% (8/21)</td>
-<td class="reportValue"><b>  30</b>% (3/10)</td>
-<td class="reportValue"><b>  43</b>% (20/46)</td>
-</tr>
-</table>
-<p>
-<span class="title2">Total (including subpackages)</span><br>
-<table class="report" cellpadding="0" cellspacing="0" id="subpackages">
-<tr class="report">
-<th class="report">-</th>
-<th class="report">#classes</th>
-<th class="report">%method</th>
-<th class="report">%block</th>
-<th class="report">%branch</th>
-<th class="report">%line</th>
-</tr>
-<tr class="report">
-<td class="reportValue"></td>
-<td class="reportValue">10</td>
-<td class="reportValue"><b>  94</b>% (58/62)</td>
-<td class="reportValue"><b>  78</b>% (135/174)</td>
-<td class="reportValue"><b>  66</b>% (65/98)</td>
-<td class="reportValue"><b>  86</b>% (264/307)</td>
-</table>
-<p>
-<p><table cellpadding="0" cellspacing="0" class="report">  <tr class="report">    <td class="reportText"><span class="text">    Report generated 11/12/14 11:31 PM    </span></td>  </tr></table>
-</body>
-</html>
diff --git a/report/net/jaekl/qd/QDBundleFactory.html b/report/net/jaekl/qd/QDBundleFactory.html
deleted file mode 100644 (file)
index 050181d..0000000
+++ /dev/null
@@ -1,312 +0,0 @@
-<html>
-<head>
-<title>tests coverage</title>
-<link rel ="stylesheet" type="text/css" href="../../../style.css" title="Style">
-<script type="text/javascript" src="../../../sorttable.js"></script>
-<script type="text/javascript">
-  targetPage = "" + window.location.search;
-  if (targetPage != "" && targetPage != "undefined")
-    targetPage = targetPage.substring(1);
-  if (targetPage.indexOf(":") != -1 || (targetPage != "" && !validURL(targetPage)))
-    targetPage = "undefined";
-  function validURL(url) {
-    var pos = url.indexOf(".html");
-    if (pos == -1 || pos != url.length - 5)
-      return false;
-    var allowNumber = false;
-    var allowSep = false;
-    var seenDot = false;
-    for (var i = 0; i < url.length - 5; i++) {
-      var ch = url.charAt(i);
-      if ('a' <= ch && ch <= 'z' ||
-          'A' <= ch && ch <= 'Z' ||
-          ch == '$' ||
-          ch == '_') {
-            allowNumber = true;
-            allowSep = true;
-      } else if ('0' <= ch && ch <= '9' ||
-                 ch == '-') {
-                   if (!allowNumber)
-                     return false;
-      } else if (ch == '/' || ch == '.') {
-        if (!allowSep)
-          return false;
-        allowNumber = false;
-        allowSep = false;
-        if (ch == '.')
-          seenDot = true;
-        if (ch == '/' && seenDot)
-          return false;
-      } else {
-        return false;
-      }
-    }
-    return true;
-  }
-  function loadFrames() {
-    if (targetPage != "" && targetPage != "undefined")
-      top.classFrame.location = top.targetPage;
-  }
-</script>
-</head>
-<body>
-<table>
-<tr>
-<td>
-<a href="../../../index.html?net/jaekl/qd/QDBundleFactory.html" target="_top">Frames</a>
-<a href="QDBundleFactory.html" target="_top">No Frames</a>
-</td>
-</tr>
-</table>
-<p>
- <table cellspacing="0" cellpadding="0"class="report">
- <tr class="report">
- <th class="report">&nbsp;</th>
- <th class="report">%method</th>
- <th class="report">%block</th>
- <th class="report">%branch</th>
- <th class="report">%line</th>
- </tr>
- <tr class="report">
- <td class="reportText"><span class="text">net.jaekl.qd.QDBundleFactory</span></td>
- <td class="reportValue"><table class="percentGraph" cellpadding="0" cellspacing="0" align="right"><tr><td><span class="text"><b>100</b>%(3/3)</span></td><td><table class="percentGraph" cellpadding="0" cellspacing="0"><tr><td class="percentCovered" width=" 100"></td><td class="percentUnCovered" width="0.0"></td></tr></table></td></tr></table></td>
- <td class="reportValue"><table class="percentGraph" cellpadding="0" cellspacing="0" align="right"><tr><td><span class="text"><b>88</b>%(7/8)</span></td><td><table class="percentGraph" cellpadding="0" cellspacing="0"><tr><td class="percentCovered" width="  88"></td><td class="percentUnCovered" width="12.0"></td></tr></table></td></tr></table></td>
- <td class="reportValue"><table class="percentGraph" cellpadding="0" cellspacing="0" align="right"><tr><td><span class="text"><b>75</b>%(3/4)</span></td><td><table class="percentGraph" cellpadding="0" cellspacing="0"><tr><td class="percentCovered" width="  75"></td><td class="percentUnCovered" width="25.0"></td></tr></table></td></tr></table></td>
- <td class="reportValue"><table class="percentGraph" cellpadding="0" cellspacing="0" align="right"><tr><td><span class="text"><b>100</b>%(11/11)</span></td><td><table class="percentGraph" cellpadding="0" cellspacing="0"><tr><td class="percentCovered" width=" 100"></td><td class="percentUnCovered" width="0.0"></td></tr></table></td></tr></table></td>
- </tr>
- </table>
- <p>
- <p>
- <table cellspacing="0" cellpadding="0"class="report" id="mcoverage">
- <tr class="report">
- <th class="report">hit count</th>
- <th class="report">method  name</th>
- <th class="report">method modifiers</th>
- <th class="report">method signature</th>
- </tr>
- <tr class="report">
- <td class="reportValue_covered"><span class="text">1</span></td>
- <td class="reportText"><span class="text"><a href="#src_20">&lt;init&gt;</a></span></td>
- <td class="reportText"><span class="text">[private]</span></td>
- <td class="reportText"><span class="text">void &lt;init&gt;()</span></td>
- </tr>
- <tr class="report">
- <td class="reportValue_covered"><span class="text">3</span></td>
- <td class="reportText"><span class="text"><a href="#src_38">getBundle</a></span></td>
- <td class="reportText"><span class="text">[public]</span></td>
- <td class="reportText"><span class="text">java.util.ResourceBundle getBundle(java.lang.String,java.util.Locale)</span></td>
- </tr>
- <tr class="report">
- <td class="reportValue_covered"><span class="text">5</span></td>
- <td class="reportText"><span class="text"><a href="#src_25">getInst</a></span></td>
- <td class="reportText"><span class="text">[public, static]</span></td>
- <td class="reportText"><span class="text">net.jaekl.qd.QDBundleFactory getInst()</span></td>
- </tr>
- </table>
- <p>
- <table cellspacing="0" cellpadding="0" class="src">
- <tr>
- <td class="numLine">&nbsp;1</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;<span Class="comment">// Copyright (C) 2004, 2014 Christian Jaekl</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;2</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;3</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;<span Class="comment">// Central spot from which to access ResourceBundles.</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;4</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;<span Class="comment">// This made more sense with earlier versions of Java, where the specification did not </span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;5</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;<span Class="comment">// guarantee that ResourceBundles would be cached.  Java 7 and later cache by default,</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;6</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;<span Class="comment">// but it still seems prudent to centralize accesses to resources here so that we have </span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;7</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;<span Class="comment">// control in case we want to implement our own cache, or override certain behaviours.</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;8</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;<span Class="comment">// </span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;9</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;<span Class="comment">// Note that we rely on the JVM's caching, to avoid unnecessary overhead.</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;10</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;<span Class="comment">// See http://java2go.blogspot.ca/2010/03/dont-be-smart-never-implement-resource.html</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;11</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;12</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;<span Class="keyword">package</span> net.jaekl.qd;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;13</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;14</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;<span Class="keyword">import</span> java.util.Locale;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;15</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;<span Class="keyword">import</span> java.util.ResourceBundle;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;16</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;17</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;<span Class="keyword">public</span> <span Class="keyword">class</span> QDBundleFactory {</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;18</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="keyword">static</span> <span Class="keyword">volatile</span> QDBundleFactory m_inst;       <span Class="comment">// singleton instance</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;19</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       </pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;20<a name="src_20"></a></td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="keyword">private</span> QDBundleFactory() {</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;21</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               <span Class="comment">// no-op</span></pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;22</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       }</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;23</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       </pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;24</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="keyword">public</span> <span Class="keyword">static</span> QDBundleFactory getInst() {</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;25<a name="src_25"></a></td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               QDBundleFactory result = m_inst;</span></pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;26</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               <span Class="keyword">if</span> (<span Class="keyword">null</span> == result) {</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;27</td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;Branch:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       <span Class="keyword">synchronized</span>(QDBundleFactory.<span Class="keyword">class</span>) {</span></pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;28</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                               <span Class="keyword">if</span> (<span Class="keyword">null</span> == m_inst) {</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;29</td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;Branch:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                                       m_inst = <span Class="keyword">new</span> QDBundleFactory();</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;30</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                               }</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;31</td>
- <td class="nbHitsUncovered">&nbsp;Block:&nbsp;1/1&nbsp;Branch:&nbsp;0/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                               result = m_inst;</span></pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;32</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       }</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;33</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               }</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;34</td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;Branch:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               <span Class="keyword">return</span> result;</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;35</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       }</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;36</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       </pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;37</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="keyword">public</span> ResourceBundle getBundle(String baseName, Locale locale) {</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;38<a name="src_38"></a></td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               <span Class="keyword">return</span> ResourceBundle.getBundle(baseName, locale);</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;39</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       }</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;40</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;}</pre></td>
- </tr>
- </table>
-<p>
-<p><table cellpadding="0" cellspacing="0" class="report">  <tr class="report">    <td class="reportText"><span class="text">    Report generated 11/12/14 11:31 PM    </span></td>  </tr></table>
-</body>
-</html>
diff --git a/report/net/jaekl/qd/QDException.html b/report/net/jaekl/qd/QDException.html
deleted file mode 100644 (file)
index b7a7f3b..0000000
+++ /dev/null
@@ -1,176 +0,0 @@
-<html>
-<head>
-<title>tests coverage</title>
-<link rel ="stylesheet" type="text/css" href="../../../style.css" title="Style">
-<script type="text/javascript" src="../../../sorttable.js"></script>
-<script type="text/javascript">
-  targetPage = "" + window.location.search;
-  if (targetPage != "" && targetPage != "undefined")
-    targetPage = targetPage.substring(1);
-  if (targetPage.indexOf(":") != -1 || (targetPage != "" && !validURL(targetPage)))
-    targetPage = "undefined";
-  function validURL(url) {
-    var pos = url.indexOf(".html");
-    if (pos == -1 || pos != url.length - 5)
-      return false;
-    var allowNumber = false;
-    var allowSep = false;
-    var seenDot = false;
-    for (var i = 0; i < url.length - 5; i++) {
-      var ch = url.charAt(i);
-      if ('a' <= ch && ch <= 'z' ||
-          'A' <= ch && ch <= 'Z' ||
-          ch == '$' ||
-          ch == '_') {
-            allowNumber = true;
-            allowSep = true;
-      } else if ('0' <= ch && ch <= '9' ||
-                 ch == '-') {
-                   if (!allowNumber)
-                     return false;
-      } else if (ch == '/' || ch == '.') {
-        if (!allowSep)
-          return false;
-        allowNumber = false;
-        allowSep = false;
-        if (ch == '.')
-          seenDot = true;
-        if (ch == '/' && seenDot)
-          return false;
-      } else {
-        return false;
-      }
-    }
-    return true;
-  }
-  function loadFrames() {
-    if (targetPage != "" && targetPage != "undefined")
-      top.classFrame.location = top.targetPage;
-  }
-</script>
-</head>
-<body>
-<table>
-<tr>
-<td>
-<a href="../../../index.html?net/jaekl/qd/QDException.html" target="_top">Frames</a>
-<a href="QDException.html" target="_top">No Frames</a>
-</td>
-</tr>
-</table>
-<p>
- <table cellspacing="0" cellpadding="0"class="report">
- <tr class="report">
- <th class="report">&nbsp;</th>
- <th class="report">%method</th>
- <th class="report">%block</th>
- <th class="report">%branch</th>
- <th class="report">%line</th>
- </tr>
- <tr class="report">
- <td class="reportText"><span class="text">net.jaekl.qd.QDException</span></td>
- <td class="reportValue"><table class="percentGraph" cellpadding="0" cellspacing="0" align="right"><tr><td><span class="text"><b>100</b>%(2/2)</span></td><td><table class="percentGraph" cellpadding="0" cellspacing="0"><tr><td class="percentCovered" width=" 100"></td><td class="percentUnCovered" width="0.0"></td></tr></table></td></tr></table></td>
- <td class="reportValue"><table class="percentGraph" cellpadding="0" cellspacing="0" align="right"><tr><td><span class="text"><b>100</b>%(2/2)</span></td><td><table class="percentGraph" cellpadding="0" cellspacing="0"><tr><td class="percentCovered" width=" 100"></td><td class="percentUnCovered" width="0.0"></td></tr></table></td></tr></table></td>
- <td class="reportValue"><table class="percentGraph" cellpadding="0" cellspacing="0" align="right"><tr><td><span class="text"><b>-</b>%</span></td></tr></table></td>
- <td class="reportValue"><table class="percentGraph" cellpadding="0" cellspacing="0" align="right"><tr><td><span class="text"><b>100</b>%(4/4)</span></td><td><table class="percentGraph" cellpadding="0" cellspacing="0"><tr><td class="percentCovered" width=" 100"></td><td class="percentUnCovered" width="0.0"></td></tr></table></td></tr></table></td>
- </tr>
- </table>
- <p>
- <p>
- <table cellspacing="0" cellpadding="0"class="report" id="mcoverage">
- <tr class="report">
- <th class="report">hit count</th>
- <th class="report">method  name</th>
- <th class="report">method modifiers</th>
- <th class="report">method signature</th>
- </tr>
- <tr class="report">
- <td class="reportValue_covered"><span class="text">4</span></td>
- <td class="reportText"><span class="text"><a href="#src_8">&lt;init&gt;</a></span></td>
- <td class="reportText"><span class="text">[public]</span></td>
- <td class="reportText"><span class="text">void &lt;init&gt;()</span></td>
- </tr>
- <tr class="report">
- <td class="reportValue_covered"><span class="text">1</span></td>
- <td class="reportText"><span class="text"><a href="#src_12">&lt;init&gt;</a></span></td>
- <td class="reportText"><span class="text">[public]</span></td>
- <td class="reportText"><span class="text">void &lt;init&gt;(java.lang.Throwable)</span></td>
- </tr>
- </table>
- <p>
- <table cellspacing="0" cellpadding="0" class="src">
- <tr>
- <td class="numLine">&nbsp;1</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;<span Class="keyword">package</span> net.jaekl.qd;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;2</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;3</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;<span Class="keyword">public</span> <span Class="keyword">class</span> QDException <span Class="keyword">extends</span> Exception</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;4</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;{</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;5</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="keyword">private</span> <span Class="keyword">static</span> <span Class="keyword">final</span> <span Class="keyword">long</span> serialVersionUID = 1L;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;6</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;7</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="keyword">public</span> QDException() {</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;8<a name="src_8"></a></td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               <span Class="keyword">super</span>();</span></pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;9</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       }</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;10</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       </pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;11</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="keyword">public</span> QDException(Throwable t) {</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;12<a name="src_12"></a></td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               <span Class="keyword">super</span>(t);</span></pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;13</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       }</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;14</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;}</pre></td>
- </tr>
- </table>
-<p>
-<p><table cellpadding="0" cellspacing="0" class="report">  <tr class="report">    <td class="reportText"><span class="text">    Report generated 11/12/14 11:31 PM    </span></td>  </tr></table>
-</body>
-</html>
diff --git a/report/net/jaekl/qd/http/RequestBroker.html b/report/net/jaekl/qd/http/RequestBroker.html
deleted file mode 100644 (file)
index 7dcf324..0000000
+++ /dev/null
@@ -1,890 +0,0 @@
-<html>
-<head>
-<title>tests coverage</title>
-<link rel ="stylesheet" type="text/css" href="../../../../style.css" title="Style">
-<script type="text/javascript" src="../../../../sorttable.js"></script>
-<script type="text/javascript">
-  targetPage = "" + window.location.search;
-  if (targetPage != "" && targetPage != "undefined")
-    targetPage = targetPage.substring(1);
-  if (targetPage.indexOf(":") != -1 || (targetPage != "" && !validURL(targetPage)))
-    targetPage = "undefined";
-  function validURL(url) {
-    var pos = url.indexOf(".html");
-    if (pos == -1 || pos != url.length - 5)
-      return false;
-    var allowNumber = false;
-    var allowSep = false;
-    var seenDot = false;
-    for (var i = 0; i < url.length - 5; i++) {
-      var ch = url.charAt(i);
-      if ('a' <= ch && ch <= 'z' ||
-          'A' <= ch && ch <= 'Z' ||
-          ch == '$' ||
-          ch == '_') {
-            allowNumber = true;
-            allowSep = true;
-      } else if ('0' <= ch && ch <= '9' ||
-                 ch == '-') {
-                   if (!allowNumber)
-                     return false;
-      } else if (ch == '/' || ch == '.') {
-        if (!allowSep)
-          return false;
-        allowNumber = false;
-        allowSep = false;
-        if (ch == '.')
-          seenDot = true;
-        if (ch == '/' && seenDot)
-          return false;
-      } else {
-        return false;
-      }
-    }
-    return true;
-  }
-  function loadFrames() {
-    if (targetPage != "" && targetPage != "undefined")
-      top.classFrame.location = top.targetPage;
-  }
-</script>
-</head>
-<body>
-<table>
-<tr>
-<td>
-<a href="../../../../index.html?net/jaekl/qd/http/RequestBroker.html" target="_top">Frames</a>
-<a href="RequestBroker.html" target="_top">No Frames</a>
-</td>
-</tr>
-</table>
-<p>
- <table cellspacing="0" cellpadding="0"class="report">
- <tr class="report">
- <th class="report">&nbsp;</th>
- <th class="report">%method</th>
- <th class="report">%block</th>
- <th class="report">%branch</th>
- <th class="report">%line</th>
- </tr>
- <tr class="report">
- <td class="reportText"><span class="text">net.jaekl.qd.http.RequestBroker</span></td>
- <td class="reportValue"><table class="percentGraph" cellpadding="0" cellspacing="0" align="right"><tr><td><span class="text"><b>83</b>%(5/6)</span></td><td><table class="percentGraph" cellpadding="0" cellspacing="0"><tr><td class="percentCovered" width="  83"></td><td class="percentUnCovered" width="17.0"></td></tr></table></td></tr></table></td>
- <td class="reportValue"><table class="percentGraph" cellpadding="0" cellspacing="0" align="right"><tr><td><span class="text"><b>50</b>%(14/28)</span></td><td><table class="percentGraph" cellpadding="0" cellspacing="0"><tr><td class="percentCovered" width="  50"></td><td class="percentUnCovered" width="50.0"></td></tr></table></td></tr></table></td>
- <td class="reportValue"><table class="percentGraph" cellpadding="0" cellspacing="0" align="right"><tr><td><span class="text"><b>40</b>%(4/10)</span></td><td><table class="percentGraph" cellpadding="0" cellspacing="0"><tr><td class="percentCovered" width="  40"></td><td class="percentUnCovered" width="60.0"></td></tr></table></td></tr></table></td>
- <td class="reportValue"><table class="percentGraph" cellpadding="0" cellspacing="0" align="right"><tr><td><span class="text"><b>53</b>%(31/58)</span></td><td><table class="percentGraph" cellpadding="0" cellspacing="0"><tr><td class="percentCovered" width="  53"></td><td class="percentUnCovered" width="47.0"></td></tr></table></td></tr></table></td>
- </tr>
- </table>
- <p>
- <p>
- <table cellspacing="0" cellpadding="0"class="report" id="mcoverage">
- <tr class="report">
- <th class="report">hit count</th>
- <th class="report">method  name</th>
- <th class="report">method modifiers</th>
- <th class="report">method signature</th>
- </tr>
- <tr class="report">
- <td class="reportValue_covered"><span class="text">1</span></td>
- <td class="reportText"><span class="text"><a href="#src_31">&lt;clinit&gt;</a></span></td>
- <td class="reportText"><span class="text">[static]</span></td>
- <td class="reportText"><span class="text">void &lt;clinit&gt;()</span></td>
- </tr>
- <tr class="report">
- <td class="reportValue_covered"><span class="text">9</span></td>
- <td class="reportText"><span class="text"><a href="#src_40">&lt;init&gt;</a></span></td>
- <td class="reportText"><span class="text">[public]</span></td>
- <td class="reportText"><span class="text">void &lt;init&gt;(java.lang.String,java.util.ArrayList)</span></td>
- </tr>
- <tr class="report">
- <td class="reportValue_uncovered"><span class="text">0</span></td>
- <td class="reportText"><span class="text"><a href="#src_49">doSubmit</a></span></td>
- <td class="reportText"><span class="text">[]</span></td>
- <td class="reportText"><span class="text">java.io.InputStream doSubmit(java.lang.String,java.util.ArrayList)</span></td>
- </tr>
- <tr class="report">
- <td class="reportValue_covered"><span class="text">1</span></td>
- <td class="reportText"><span class="text"><a href="#src_84">submit</a></span></td>
- <td class="reportText"><span class="text">[public]</span></td>
- <td class="reportText"><span class="text">java.lang.String submit(java.lang.String,java.util.ArrayList)</span></td>
- </tr>
- <tr class="report">
- <td class="reportValue_covered"><span class="text">5</span></td>
- <td class="reportText"><span class="text"><a href="#src_111">submitAndParse</a></span></td>
- <td class="reportText"><span class="text">[public]</span></td>
- <td class="reportText"><span class="text">net.jaekl.qd.xml.ParseResult submitAndParse(java.lang.String,java.util.ArrayList,java.lang.Class)</span></td>
- </tr>
- <tr class="report">
- <td class="reportValue_covered"><span class="text">4</span></td>
- <td class="reportText"><span class="text"><a href="#src_120">submitAndParse</a></span></td>
- <td class="reportText"><span class="text">[public]</span></td>
- <td class="reportText"><span class="text">net.jaekl.qd.xml.ParseResult submitAndParse(java.lang.String,java.util.ArrayList,java.lang.Class,java.lang.String)</span></td>
- </tr>
- </table>
- <p>
- <table cellspacing="0" cellpadding="0" class="src">
- <tr>
- <td class="numLine">&nbsp;1</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;<span Class="comment">// Copyright (C) 2004, 2014 Christian Jaekl</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;2</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;3</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;<span Class="keyword">package</span> net.jaekl.qd.http;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;4</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;5</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;<span Class="keyword">import</span> java.io.BufferedReader;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;6</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;<span Class="keyword">import</span> java.io.IOException;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;7</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;<span Class="keyword">import</span> java.io.InputStream;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;8</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;<span Class="keyword">import</span> java.io.InputStreamReader;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;9</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;<span Class="keyword">import</span> java.io.UnsupportedEncodingException;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;10</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;<span Class="keyword">import</span> java.lang.reflect.InvocationTargetException;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;11</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;<span Class="keyword">import</span> java.util.ArrayList;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;12</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;13</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;<span Class="keyword">import</span> net.jaekl.qd.QDException;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;14</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;<span Class="keyword">import</span> net.jaekl.qd.util.ExceptionUtils;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;15</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;<span Class="keyword">import</span> net.jaekl.qd.xml.ParseHandler;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;16</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;<span Class="keyword">import</span> net.jaekl.qd.xml.ParseResult;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;17</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;18</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;<span Class="keyword">import</span> org.apache.http.HttpEntity;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;19</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;<span Class="keyword">import</span> org.apache.http.HttpResponse;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;20</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;<span Class="keyword">import</span> org.apache.http.NameValuePair;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;21</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;<span Class="keyword">import</span> org.apache.http.client.HttpClient;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;22</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;<span Class="keyword">import</span> org.apache.http.client.config.RequestConfig;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;23</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;<span Class="keyword">import</span> org.apache.http.client.entity.UrlEncodedFormEntity;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;24</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;<span Class="keyword">import</span> org.apache.http.client.methods.HttpPost;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;25</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;<span Class="keyword">import</span> org.apache.http.impl.client.HttpClientBuilder;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;26</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;<span Class="keyword">import</span> org.xml.sax.InputSource;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;27</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;<span Class="keyword">import</span> org.xml.sax.SAXException;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;28</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;<span Class="keyword">import</span> org.xml.sax.XMLReader;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;29</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;<span Class="keyword">import</span> org.xml.sax.helpers.XMLReaderFactory;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;30</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;31<a name="src_31"></a></td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;<span Class="keyword">public</span> <span Class="keyword">class</span> RequestBroker</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;32</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;{</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;33</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="keyword">final</span> String UTF_8 = <span Class="string">"UTF-8"</span>;</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;34</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="keyword">final</span> <span Class="keyword">int</span> TIMEOUT_MSEC = 5000;        <span Class="comment">// Allow at most 5 seconds before we declare the server to be unresponsive</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;35</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       </pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;36</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       String m_gatewayUrl;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;37</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       ArrayList&#60;NameValuePair&#62; m_baseParams;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;38</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;39</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="keyword">public</span> RequestBroker(String gatewayUrl, ArrayList&#60;NameValuePair&#62; baseParams)</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;40<a name="src_40"></a></td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       {</span></pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;41</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               m_gatewayUrl = gatewayUrl;</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;42</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               m_baseParams = <span Class="keyword">new</span> ArrayList&#60;NameValuePair&#62;(baseParams);</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;43</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       }</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;44</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       </pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;45</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="comment">// NB:  Caller is responsible for close()ing the returned InputStream</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;46</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="comment">//</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;47</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       InputStream doSubmit(String method, ArrayList&#60;NameValuePair&#62; passedParams) <span Class="keyword">throws</span> QDException</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;48</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       {</pre></td>
- </tr>
- <tr>
- <td class="numLineUnCover">&nbsp;49<a name="src_49"></a></td>
- <td class="nbHitsUncovered">&nbsp;Block:&nbsp;0/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               ArrayList&#60;NameValuePair&#62; params = <span Class="keyword">new</span> ArrayList&#60;NameValuePair&#62;(m_baseParams);</span></pre></td>
- </tr>
- <tr>
- <td class="numLineUnCover">&nbsp;50</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               params.addAll(passedParams);</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;51</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               </pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;52</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               <span Class="keyword">try</span> {</pre></td>
- </tr>
- <tr>
- <td class="numLineUnCover">&nbsp;53</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       RequestConfig.Builder requestBuilder = RequestConfig.custom();</pre></td>
- </tr>
- <tr>
- <td class="numLineUnCover">&nbsp;54</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       requestBuilder = requestBuilder.setConnectTimeout(TIMEOUT_MSEC);</pre></td>
- </tr>
- <tr>
- <td class="numLineUnCover">&nbsp;55</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       requestBuilder = requestBuilder.setSocketTimeout(TIMEOUT_MSEC);</pre></td>
- </tr>
- <tr>
- <td class="numLineUnCover">&nbsp;56</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       HttpClientBuilder builder = HttpClientBuilder.create();</pre></td>
- </tr>
- <tr>
- <td class="numLineUnCover">&nbsp;57</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       builder.setDefaultRequestConfig(requestBuilder.build());</pre></td>
- </tr>
- <tr>
- <td class="numLineUnCover">&nbsp;58</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       HttpClient httpClient = builder.build(); </pre></td>
- </tr>
- <tr>
- <td class="numLineUnCover">&nbsp;59</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       HttpPost httpPost = <span Class="keyword">new</span> HttpPost(m_gatewayUrl + <span Class="string">"/"</span> + method + <span Class="string">"/"</span>);</pre></td>
- </tr>
- <tr>
- <td class="numLineUnCover">&nbsp;60</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       httpPost.setEntity(<span Class="keyword">new</span> UrlEncodedFormEntity(params, UTF_8));</pre></td>
- </tr>
- <tr>
- <td class="numLineUnCover">&nbsp;61</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       HttpResponse response = httpClient.execute(httpPost);</pre></td>
- </tr>
- <tr>
- <td class="numLineUnCover">&nbsp;62</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       HttpEntity entity = response.getEntity();</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;63</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;</pre></td>
- </tr>
- <tr>
- <td class="numLineUnCover">&nbsp;64</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       <span Class="keyword">if</span> (<span Class="keyword">null</span> != entity) {</pre></td>
- </tr>
- <tr>
- <td class="numLineUnCover">&nbsp;65</td>
- <td class="nbHitsUncovered">&nbsp;Block:&nbsp;0/1&nbsp;Branch:&nbsp;0/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                               InputStream is = entity.getContent();</span></pre></td>
- </tr>
- <tr>
- <td class="numLineUnCover">&nbsp;66</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                               <span Class="keyword">return</span> is;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;67</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       }</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;68</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               }</pre></td>
- </tr>
- <tr>
- <td class="numLineUnCover">&nbsp;69</td>
- <td class="nbHitsUncovered">&nbsp;Block:&nbsp;0/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               <span Class="keyword">catch</span> (UnsupportedEncodingException uee) {</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;70</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       <span Class="comment">// We should actually be guaranteed that this never happens, </span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;71</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       <span Class="comment">// because all JVMs are required to support UTF-8</span></pre></td>
- </tr>
- <tr>
- <td class="numLineUnCover">&nbsp;72</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       <span Class="keyword">assert</span>(<span Class="keyword">false</span>);</pre></td>
- </tr>
- <tr>
- <td class="numLineUnCover">&nbsp;73</td>
- <td class="nbHitsUncovered">&nbsp;Block:&nbsp;0/1&nbsp;Branch:&nbsp;0/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       <span Class="keyword">throw</span> <span Class="keyword">new</span> Error(uee);</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;74</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               }</pre></td>
- </tr>
- <tr>
- <td class="numLineUnCover">&nbsp;75</td>
- <td class="nbHitsUncovered">&nbsp;Block:&nbsp;0/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               <span Class="keyword">catch</span> (IOException ioe) {</span></pre></td>
- </tr>
- <tr>
- <td class="numLineUnCover">&nbsp;76</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       <span Class="keyword">throw</span> <span Class="keyword">new</span> QDException(ioe);</pre></td>
- </tr>
- <tr>
- <td class="numLineUnCover">&nbsp;77</td>
- <td class="nbHitsUncovered">&nbsp;Block:&nbsp;0/1&nbsp;Branch:&nbsp;0/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               }</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;78</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               </pre></td>
- </tr>
- <tr>
- <td class="numLineUnCover">&nbsp;79</td>
- <td class="nbHitsUncovered">&nbsp;Block:&nbsp;0/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               <span Class="keyword">return</span> <span Class="keyword">null</span>;</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;80</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       }</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;81</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;82</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="keyword">public</span> String submit(String method, ArrayList&#60;NameValuePair&#62; passedParams) <span Class="keyword">throws</span> QDException</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;83</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       {</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;84<a name="src_84"></a></td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               StringBuilder sb = <span Class="keyword">new</span> StringBuilder();</span></pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;85</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               InputStream is = <span Class="keyword">null</span>;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;86</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;87</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               <span Class="keyword">try</span> {</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;88</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       is = doSubmit(method, passedParams);</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;89</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       BufferedReader br = <span Class="keyword">new</span> BufferedReader(<span Class="keyword">new</span> InputStreamReader(is));</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;90</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       String line = br.readLine();</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;91</td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       <span Class="keyword">while</span> (<span Class="keyword">null</span> != line) {</span></pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;92</td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;Branch:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                               sb.append(line).append(<span Class="string">"\n"</span>);</span></pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;93</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                               line = br.readLine();</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;94</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       }</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;95</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               }</pre></td>
- </tr>
- <tr>
- <td class="numLineUnCover">&nbsp;96</td>
- <td class="nbHitsUncovered">&nbsp;Block:&nbsp;0/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               <span Class="keyword">catch</span> (IOException ioe) {</span></pre></td>
- </tr>
- <tr>
- <td class="numLineUnCover">&nbsp;97</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       <span Class="keyword">throw</span> <span Class="keyword">new</span> QDException(ioe);</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;98</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               }</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;99</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               <span Class="keyword">finally</span> {</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;100</td>
- <td class="nbHitsUncovered">&nbsp;Block:&nbsp;1/2&nbsp;Branch:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       ExceptionUtils.tryClose(is);</span></pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;101</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               }</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;102</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;103</td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               <span Class="keyword">return</span> sb.toString();</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;104</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       }</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;105</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       </pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;106</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="keyword">public</span> ParseResult submitAndParse(String method, </pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;107</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                         ArrayList&#60;NameValuePair&#62; passedParams, </pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;108</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                         Class&#60;? <span Class="keyword">extends</span> ParseResult&#62; rootParserClass)</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;109</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="keyword">throws</span> QDException</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;110</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       {</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;111<a name="src_111"></a></td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               <span Class="keyword">return</span> submitAndParse(method, passedParams, rootParserClass, <span Class="keyword">null</span>);</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;112</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       }</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;113</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       </pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;114</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="keyword">public</span> ParseResult submitAndParse(String method, </pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;115</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                                                                         ArrayList&#60;NameValuePair&#62; passedParams, </pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;116</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                                                                         Class&#60;? <span Class="keyword">extends</span> ParseResult&#62; rootParserClass,</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;117</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                                                                         String rootTagName)</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;118</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="keyword">throws</span> QDException</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;119</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       {</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;120<a name="src_120"></a></td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               ParseResult result = <span Class="keyword">null</span>;</span></pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;121</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               InputStream is = <span Class="keyword">null</span>;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;122</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               </pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;123</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               <span Class="keyword">try</span> {</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;124</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       <span Class="keyword">if</span> (<span Class="keyword">null</span> == rootTagName) {</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;125</td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;Branch:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                               result = (ParseResult) rootParserClass.newInstance();</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;126</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       } </pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;127</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       <span Class="keyword">else</span> {</pre></td>
- </tr>
- <tr>
- <td class="numLineUnCover">&nbsp;128</td>
- <td class="nbHitsUncovered">&nbsp;Block:&nbsp;0/1&nbsp;Branch:&nbsp;0/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                               result = (ParseResult) rootParserClass.getDeclaredConstructor(String.<span Class="keyword">class</span>).newInstance(rootTagName);</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;129</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       }</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;130</td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       is = doSubmit(method, passedParams);</span></pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;131</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       XMLReader reader = XMLReaderFactory.createXMLReader();</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;132</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       ParseHandler ph = <span Class="keyword">new</span> ParseHandler(result);</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;133</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       reader.setContentHandler(ph);</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;134</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       reader.parse(<span Class="keyword">new</span> InputSource(is));</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;135</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               } </pre></td>
- </tr>
- <tr>
- <td class="numLineUnCover">&nbsp;136</td>
- <td class="nbHitsUncovered">&nbsp;Block:&nbsp;0/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               <span Class="keyword">catch</span> ( InstantiationException</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;137</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                               | InvocationTargetException</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;138</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                               | IllegalAccessException</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;139</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                               | IOException </pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;140</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                               | NoSuchMethodException</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;141</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                               | SAXException </pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;142</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                               e )</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;143</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               {</pre></td>
- </tr>
- <tr>
- <td class="numLineUnCover">&nbsp;144</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       <span Class="keyword">throw</span> <span Class="keyword">new</span> QDException(e);</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;145</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               } </pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;146</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               <span Class="keyword">finally</span> {</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;147</td>
- <td class="nbHitsUncovered">&nbsp;Block:&nbsp;0/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       ExceptionUtils.tryClose(is);</span></pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;148</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               }</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;149</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               </pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;150</td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               <span Class="keyword">return</span> result;</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;151</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       }</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;152</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;}</pre></td>
- </tr>
- </table>
-<p>
-<p><table cellpadding="0" cellspacing="0" class="report">  <tr class="report">    <td class="reportText"><span class="text">    Report generated 11/12/14 11:31 PM    </span></td>  </tr></table>
-</body>
-</html>
diff --git a/report/net/jaekl/qd/http/package-frame.html b/report/net/jaekl/qd/http/package-frame.html
deleted file mode 100644 (file)
index 2f2027c..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-<html>
-<head>
-<title>coverage report</title>
-<link rel ="stylesheet" type="text/css" href="../../../../style.css" title="Style">
-</head>
-<body>
-<a href="package-summary.html" target="classFrame">net.jaekl.qd.http</a> <span class="text_italic">&nbsp;  83% (5/6)</span><br>
-<p>
-<span class="title">All classes</span>
-<table>
-<tr>
-<td nowrap="nowrap">
-<a href="./RequestBroker.html" target="classFrame">RequestBroker</a><span class="text_italic">&nbsp;  83% (5/6)</span><br>
-</td>
-</tr>
-</table>
-</body>
-</html>
diff --git a/report/net/jaekl/qd/http/package-summary.html b/report/net/jaekl/qd/http/package-summary.html
deleted file mode 100644 (file)
index 5eae753..0000000
+++ /dev/null
@@ -1,48 +0,0 @@
-<html>
-<head>
-<title>coverage report</title>
-<link rel ="stylesheet" type="text/css" href="../../../../style.css" title="Style">
-<script type="text/javascript" src="../../../../sorttable.js"></script>
-</head>
-<body>
-<span class="title">Coverage report </span>
-<p>
-<table class="report" cellpadding="0" cellspacing="0">
-<tr class="report">
-<th class="report">&nbsp;</th>
-<th class="report">#classes</th>
-<th class="report">%method</th>
-<th class="report">%block</th>
-<th class="report">%branch</th>
-<th class="report">%line</th>
-</tr>
-<tr class="report">
-<td class="reportText">net.jaekl.qd.http</td>
-<td class="reportValue">1</td>
-<td class="reportValue"><table class="percentGraph" cellpadding="0" cellspacing="0" align="right"><tr><td><span class="text"><b>83</b>%(5/6)</span></td><td><table class="percentGraph" cellpadding="0" cellspacing="0"><tr><td class="percentCovered" width="  83"></td><td class="percentUnCovered" width="17.0"></td></tr></table></td></tr></table></td>
-<td class="reportValue"><table class="percentGraph" cellpadding="0" cellspacing="0" align="right"><tr><td><span class="text"><b>50</b>%(14/28)</span></td><td><table class="percentGraph" cellpadding="0" cellspacing="0"><tr><td class="percentCovered" width="  50"></td><td class="percentUnCovered" width="50.0"></td></tr></table></td></tr></table></td>
-<td class="reportValue"><table class="percentGraph" cellpadding="0" cellspacing="0" align="right"><tr><td><span class="text"><b>40</b>%(4/10)</span></td><td><table class="percentGraph" cellpadding="0" cellspacing="0"><tr><td class="percentCovered" width="  40"></td><td class="percentUnCovered" width="60.0"></td></tr></table></td></tr></table></td>
-<td class="reportValue"><table class="percentGraph" cellpadding="0" cellspacing="0" align="right"><tr><td><span class="text"><b>53</b>%(31/58)</span></td><td><table class="percentGraph" cellpadding="0" cellspacing="0"><tr><td class="percentCovered" width="  53"></td><td class="percentUnCovered" width="47.0"></td></tr></table></td></tr></table></td>
-</tr>
-</table>
-<p>
-<span class="title2">Classes</span><br>
-<table class="report" cellpadding="0" cellspacing="0" id="classes">
-<tr class="report">
-<th class="report">Name</th>
-<th class="report">%method</th>
-<th class="report">%block</th>
-<th class="report">%branch</th>
-<th class="report">%line</th>
-</tr>
-<tr class="report">
-<td class="reportText"><a href="RequestBroker.html">RequestBroker</a></td>
-<td class="reportValue"><b>  83</b>% (5/6)</td>
-<td class="reportValue"><b>  50</b>% (14/28)</td>
-<td class="reportValue"><b>  40</b>% (4/10)</td>
-<td class="reportValue"><b>  53</b>% (31/58)</td>
-</tr>
-</table>
-<p><table cellpadding="0" cellspacing="0" class="report">  <tr class="report">    <td class="reportText"><span class="text">    Report generated 11/12/14 11:31 PM    </span></td>  </tr></table>
-</body>
-</html>
diff --git a/report/net/jaekl/qd/package-frame.html b/report/net/jaekl/qd/package-frame.html
deleted file mode 100644 (file)
index d236694..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-<html>
-<head>
-<title>coverage report</title>
-<link rel ="stylesheet" type="text/css" href="../../../style.css" title="Style">
-</head>
-<body>
-<a href="package-summary.html" target="classFrame">net.jaekl.qd</a> <span class="text_italic">&nbsp; 100% (5/5)</span><br>
-<p>
-<span class="title">All classes</span>
-<table>
-<tr>
-<td nowrap="nowrap">
-<a href="./QDBundleFactory.html" target="classFrame">QDBundleFactory</a><span class="text_italic">&nbsp; 100% (3/3)</span><br>
-<a href="./QDException.html" target="classFrame">QDException</a><span class="text_italic">&nbsp; 100% (2/2)</span><br>
-</td>
-</tr>
-</table>
-</body>
-</html>
diff --git a/report/net/jaekl/qd/package-summary.html b/report/net/jaekl/qd/package-summary.html
deleted file mode 100644 (file)
index e83749d..0000000
+++ /dev/null
@@ -1,115 +0,0 @@
-<html>
-<head>
-<title>coverage report</title>
-<link rel ="stylesheet" type="text/css" href="../../../style.css" title="Style">
-<script type="text/javascript" src="../../../sorttable.js"></script>
-</head>
-<body>
-<span class="title">Coverage report </span>
-<p>
-<table class="report" cellpadding="0" cellspacing="0">
-<tr class="report">
-<th class="report">&nbsp;</th>
-<th class="report">#classes</th>
-<th class="report">%method</th>
-<th class="report">%block</th>
-<th class="report">%branch</th>
-<th class="report">%line</th>
-</tr>
-<tr class="report">
-<td class="reportText">net.jaekl.qd</td>
-<td class="reportValue">2</td>
-<td class="reportValue"><table class="percentGraph" cellpadding="0" cellspacing="0" align="right"><tr><td><span class="text"><b>100</b>%(5/5)</span></td><td><table class="percentGraph" cellpadding="0" cellspacing="0"><tr><td class="percentCovered" width=" 100"></td><td class="percentUnCovered" width="0.0"></td></tr></table></td></tr></table></td>
-<td class="reportValue"><table class="percentGraph" cellpadding="0" cellspacing="0" align="right"><tr><td><span class="text"><b>90</b>%(9/10)</span></td><td><table class="percentGraph" cellpadding="0" cellspacing="0"><tr><td class="percentCovered" width="  90"></td><td class="percentUnCovered" width="10.0"></td></tr></table></td></tr></table></td>
-<td class="reportValue"><table class="percentGraph" cellpadding="0" cellspacing="0" align="right"><tr><td><span class="text"><b>75</b>%(3/4)</span></td><td><table class="percentGraph" cellpadding="0" cellspacing="0"><tr><td class="percentCovered" width="  75"></td><td class="percentUnCovered" width="25.0"></td></tr></table></td></tr></table></td>
-<td class="reportValue"><table class="percentGraph" cellpadding="0" cellspacing="0" align="right"><tr><td><span class="text"><b>100</b>%(15/15)</span></td><td><table class="percentGraph" cellpadding="0" cellspacing="0"><tr><td class="percentCovered" width=" 100"></td><td class="percentUnCovered" width="0.0"></td></tr></table></td></tr></table></td>
-</tr>
-</table>
-<p>
-<span class="title2">Packages</span><br>
-<table class="report" cellpadding="0" cellspacing="0" id="subpackages">
-<tr class="report">
-<th class="report">Name</th>
-<th class="report">#classes</th>
-<th class="report">%class</th>
-<th class="report">%method</th>
-<th class="report">%block</th>
-<th class="report">%branch</th>
-<th class="report">%line</th>
-</tr>
-<tr class="report">
-<td class="reportText"><a href="http/package-summary.html">net.jaekl.qd.http</a></td>
-<td class="reportValue">1</td>
-<td class="reportValue"><b> 100</b>% (1/1)</td>
-<td class="reportValue"><b>  83</b>% (5/6)</td>
-<td class="reportValue"><b>  50</b>% (14/28)</td>
-<td class="reportValue"><b>  40</b>% (4/10)</td>
-<td class="reportValue"><b>  53</b>% (31/58)</td>
-</tr>
-<tr class="report">
-<td class="reportText"><a href="util/package-summary.html">net.jaekl.qd.util</a></td>
-<td class="reportValue">3</td>
-<td class="reportValue"><b> 100</b>% (3/3)</td>
-<td class="reportValue"><b>  57</b>% (4/7)</td>
-<td class="reportValue"><b>  88</b>% (21/24)</td>
-<td class="reportValue"><b> 100</b>% (14/14)</td>
-<td class="reportValue"><b>  86</b>% (19/22)</td>
-</tr>
-<tr class="report">
-<td class="reportText"><a href="xml/package-summary.html">net.jaekl.qd.xml</a></td>
-<td class="reportValue">5</td>
-<td class="reportValue"><b>  80</b>% (4/5)</td>
-<td class="reportValue"><b>  74</b>% (23/31)</td>
-<td class="reportValue"><b>  80</b>% (74/93)</td>
-<td class="reportValue"><b>  82</b>% (41/50)</td>
-<td class="reportValue"><b>  83</b>% (114/137)</td>
-</tr>
-</table>
-<p>
-<span class="title2">Classes</span><br>
-<table class="report" cellpadding="0" cellspacing="0" id="classes">
-<tr class="report">
-<th class="report">Name</th>
-<th class="report">%method</th>
-<th class="report">%block</th>
-<th class="report">%branch</th>
-<th class="report">%line</th>
-</tr>
-<tr class="report">
-<td class="reportText"><a href="QDBundleFactory.html">QDBundleFactory</a></td>
-<td class="reportValue"><b> 100</b>% (3/3)</td>
-<td class="reportValue"><b>  88</b>% (7/8)</td>
-<td class="reportValue"><b>  75</b>% (3/4)</td>
-<td class="reportValue"><b> 100</b>% (11/11)</td>
-</tr>
-<tr class="report">
-<td class="reportText"><a href="QDException.html">QDException</a></td>
-<td class="reportValue"><b> 100</b>% (2/2)</td>
-<td class="reportValue"><b> 100</b>% (2/2)</td>
-<td class="reportValue"> -</td>
-<td class="reportValue"><b> 100</b>% (4/4)</td>
-</tr>
-</table>
-<p>
-<span class="title2">Total (including subpackages)</span><br>
-<table class="report" cellpadding="0" cellspacing="0" id="subpackages">
-<tr class="report">
-<th class="report">-</th>
-<th class="report">#classes</th>
-<th class="report">%method</th>
-<th class="report">%block</th>
-<th class="report">%branch</th>
-<th class="report">%line</th>
-</tr>
-<tr class="report">
-<td class="reportValue"></td>
-<td class="reportValue">11</td>
-<td class="reportValue"><b>  76</b>% (37/49)</td>
-<td class="reportValue"><b>  76</b>% (118/155)</td>
-<td class="reportValue"><b>  79</b>% (62/78)</td>
-<td class="reportValue"><b>  77</b>% (179/232)</td>
-</table>
-<p>
-<p><table cellpadding="0" cellspacing="0" class="report">  <tr class="report">    <td class="reportText"><span class="text">    Report generated 11/12/14 11:31 PM    </span></td>  </tr></table>
-</body>
-</html>
diff --git a/report/net/jaekl/qd/util/ExceptionUtils.html b/report/net/jaekl/qd/util/ExceptionUtils.html
deleted file mode 100644 (file)
index 54f408a..0000000
+++ /dev/null
@@ -1,201 +0,0 @@
-<html>
-<head>
-<title>tests coverage</title>
-<link rel ="stylesheet" type="text/css" href="../../../../style.css" title="Style">
-<script type="text/javascript" src="../../../../sorttable.js"></script>
-<script type="text/javascript">
-  targetPage = "" + window.location.search;
-  if (targetPage != "" && targetPage != "undefined")
-    targetPage = targetPage.substring(1);
-  if (targetPage.indexOf(":") != -1 || (targetPage != "" && !validURL(targetPage)))
-    targetPage = "undefined";
-  function validURL(url) {
-    var pos = url.indexOf(".html");
-    if (pos == -1 || pos != url.length - 5)
-      return false;
-    var allowNumber = false;
-    var allowSep = false;
-    var seenDot = false;
-    for (var i = 0; i < url.length - 5; i++) {
-      var ch = url.charAt(i);
-      if ('a' <= ch && ch <= 'z' ||
-          'A' <= ch && ch <= 'Z' ||
-          ch == '$' ||
-          ch == '_') {
-            allowNumber = true;
-            allowSep = true;
-      } else if ('0' <= ch && ch <= '9' ||
-                 ch == '-') {
-                   if (!allowNumber)
-                     return false;
-      } else if (ch == '/' || ch == '.') {
-        if (!allowSep)
-          return false;
-        allowNumber = false;
-        allowSep = false;
-        if (ch == '.')
-          seenDot = true;
-        if (ch == '/' && seenDot)
-          return false;
-      } else {
-        return false;
-      }
-    }
-    return true;
-  }
-  function loadFrames() {
-    if (targetPage != "" && targetPage != "undefined")
-      top.classFrame.location = top.targetPage;
-  }
-</script>
-</head>
-<body>
-<table>
-<tr>
-<td>
-<a href="../../../../index.html?net/jaekl/qd/util/ExceptionUtils.html" target="_top">Frames</a>
-<a href="ExceptionUtils.html" target="_top">No Frames</a>
-</td>
-</tr>
-</table>
-<p>
- <table cellspacing="0" cellpadding="0"class="report">
- <tr class="report">
- <th class="report">&nbsp;</th>
- <th class="report">%method</th>
- <th class="report">%block</th>
- <th class="report">%branch</th>
- <th class="report">%line</th>
- </tr>
- <tr class="report">
- <td class="reportText"><span class="text">net.jaekl.qd.util.ExceptionUtils</span></td>
- <td class="reportValue"><table class="percentGraph" cellpadding="0" cellspacing="0" align="right"><tr><td><span class="text"><b>50</b>%(1/2)</span></td><td><table class="percentGraph" cellpadding="0" cellspacing="0"><tr><td class="percentCovered" width="  50"></td><td class="percentUnCovered" width="50.0"></td></tr></table></td></tr></table></td>
- <td class="reportValue"><table class="percentGraph" cellpadding="0" cellspacing="0" align="right"><tr><td><span class="text"><b>83</b>%(5/6)</span></td><td><table class="percentGraph" cellpadding="0" cellspacing="0"><tr><td class="percentCovered" width="  83"></td><td class="percentUnCovered" width="17.0"></td></tr></table></td></tr></table></td>
- <td class="reportValue"><table class="percentGraph" cellpadding="0" cellspacing="0" align="right"><tr><td><span class="text"><b>100</b>%(2/2)</span></td><td><table class="percentGraph" cellpadding="0" cellspacing="0"><tr><td class="percentCovered" width=" 100"></td><td class="percentUnCovered" width="0.0"></td></tr></table></td></tr></table></td>
- <td class="reportValue"><table class="percentGraph" cellpadding="0" cellspacing="0" align="right"><tr><td><span class="text"><b>86</b>%(6/7)</span></td><td><table class="percentGraph" cellpadding="0" cellspacing="0"><tr><td class="percentCovered" width="  86"></td><td class="percentUnCovered" width="14.0"></td></tr></table></td></tr></table></td>
- </tr>
- </table>
- <p>
- <p>
- <table cellspacing="0" cellpadding="0"class="report" id="mcoverage">
- <tr class="report">
- <th class="report">hit count</th>
- <th class="report">method  name</th>
- <th class="report">method modifiers</th>
- <th class="report">method signature</th>
- </tr>
- <tr class="report">
- <td class="reportValue_uncovered"><span class="text">0</span></td>
- <td class="reportText"><span class="text"><a href="#src_8">&lt;init&gt;</a></span></td>
- <td class="reportText"><span class="text">[public]</span></td>
- <td class="reportText"><span class="text">void &lt;init&gt;()</span></td>
- </tr>
- <tr class="report">
- <td class="reportValue_covered"><span class="text">8</span></td>
- <td class="reportText"><span class="text"><a href="#src_11">tryClose</a></span></td>
- <td class="reportText"><span class="text">[public, static]</span></td>
- <td class="reportText"><span class="text">void tryClose(java.io.Closeable)</span></td>
- </tr>
- </table>
- <p>
- <table cellspacing="0" cellpadding="0" class="src">
- <tr>
- <td class="numLine">&nbsp;1</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;<span Class="keyword">package</span> net.jaekl.qd.util;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;2</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;3</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;<span Class="keyword">import</span> java.io.Closeable;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;4</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;<span Class="keyword">import</span> java.io.IOException;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;5</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;6</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;<span Class="keyword">import</span> net.jaekl.qd.QDException;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;7</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;</pre></td>
- </tr>
- <tr>
- <td class="numLineUnCover">&nbsp;8<a name="src_8"></a></td>
- <td class="nbHitsUncovered">&nbsp;Block:&nbsp;0/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;<span Class="keyword">public</span> <span Class="keyword">class</span> ExceptionUtils {</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;9</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="keyword">public</span> <span Class="keyword">static</span> <span Class="keyword">void</span> tryClose(Closeable closeable) <span Class="keyword">throws</span> QDException {</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;10</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               <span Class="keyword">try</span> {</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;11<a name="src_11"></a></td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       <span Class="keyword">if</span> (<span Class="keyword">null</span> != closeable) {</span></pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;12</td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;Branch:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                               closeable.close();</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;13</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       }</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;14</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               }</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;15</td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               <span Class="keyword">catch</span> (IOException ioe) {</span></pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;16</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       <span Class="keyword">throw</span> <span Class="keyword">new</span> QDException(ioe);</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;17</td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;Branch:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               }</span></pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;18</td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       }</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;19</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;}</pre></td>
- </tr>
- </table>
-<p>
-<p><table cellpadding="0" cellspacing="0" class="report">  <tr class="report">    <td class="reportText"><span class="text">    Report generated 11/12/14 11:31 PM    </span></td>  </tr></table>
-</body>
-</html>
diff --git a/report/net/jaekl/qd/util/ParseUtils.html b/report/net/jaekl/qd/util/ParseUtils.html
deleted file mode 100644 (file)
index 557169e..0000000
+++ /dev/null
@@ -1,262 +0,0 @@
-<html>
-<head>
-<title>tests coverage</title>
-<link rel ="stylesheet" type="text/css" href="../../../../style.css" title="Style">
-<script type="text/javascript" src="../../../../sorttable.js"></script>
-<script type="text/javascript">
-  targetPage = "" + window.location.search;
-  if (targetPage != "" && targetPage != "undefined")
-    targetPage = targetPage.substring(1);
-  if (targetPage.indexOf(":") != -1 || (targetPage != "" && !validURL(targetPage)))
-    targetPage = "undefined";
-  function validURL(url) {
-    var pos = url.indexOf(".html");
-    if (pos == -1 || pos != url.length - 5)
-      return false;
-    var allowNumber = false;
-    var allowSep = false;
-    var seenDot = false;
-    for (var i = 0; i < url.length - 5; i++) {
-      var ch = url.charAt(i);
-      if ('a' <= ch && ch <= 'z' ||
-          'A' <= ch && ch <= 'Z' ||
-          ch == '$' ||
-          ch == '_') {
-            allowNumber = true;
-            allowSep = true;
-      } else if ('0' <= ch && ch <= '9' ||
-                 ch == '-') {
-                   if (!allowNumber)
-                     return false;
-      } else if (ch == '/' || ch == '.') {
-        if (!allowSep)
-          return false;
-        allowNumber = false;
-        allowSep = false;
-        if (ch == '.')
-          seenDot = true;
-        if (ch == '/' && seenDot)
-          return false;
-      } else {
-        return false;
-      }
-    }
-    return true;
-  }
-  function loadFrames() {
-    if (targetPage != "" && targetPage != "undefined")
-      top.classFrame.location = top.targetPage;
-  }
-</script>
-</head>
-<body>
-<table>
-<tr>
-<td>
-<a href="../../../../index.html?net/jaekl/qd/util/ParseUtils.html" target="_top">Frames</a>
-<a href="ParseUtils.html" target="_top">No Frames</a>
-</td>
-</tr>
-</table>
-<p>
- <table cellspacing="0" cellpadding="0"class="report">
- <tr class="report">
- <th class="report">&nbsp;</th>
- <th class="report">%method</th>
- <th class="report">%block</th>
- <th class="report">%branch</th>
- <th class="report">%line</th>
- </tr>
- <tr class="report">
- <td class="reportText"><span class="text">net.jaekl.qd.util.ParseUtils</span></td>
- <td class="reportValue"><table class="percentGraph" cellpadding="0" cellspacing="0" align="right"><tr><td><span class="text"><b>67</b>%(2/3)</span></td><td><table class="percentGraph" cellpadding="0" cellspacing="0"><tr><td class="percentCovered" width="  67"></td><td class="percentUnCovered" width="33.0"></td></tr></table></td></tr></table></td>
- <td class="reportValue"><table class="percentGraph" cellpadding="0" cellspacing="0" align="right"><tr><td><span class="text"><b>91</b>%(10/11)</span></td><td><table class="percentGraph" cellpadding="0" cellspacing="0"><tr><td class="percentCovered" width="  91"></td><td class="percentUnCovered" width="9.0"></td></tr></table></td></tr></table></td>
- <td class="reportValue"><table class="percentGraph" cellpadding="0" cellspacing="0" align="right"><tr><td><span class="text"><b>100</b>%(8/8)</span></td><td><table class="percentGraph" cellpadding="0" cellspacing="0"><tr><td class="percentCovered" width=" 100"></td><td class="percentUnCovered" width="0.0"></td></tr></table></td></tr></table></td>
- <td class="reportValue"><table class="percentGraph" cellpadding="0" cellspacing="0" align="right"><tr><td><span class="text"><b>91</b>%(10/11)</span></td><td><table class="percentGraph" cellpadding="0" cellspacing="0"><tr><td class="percentCovered" width="  91"></td><td class="percentUnCovered" width="9.0"></td></tr></table></td></tr></table></td>
- </tr>
- </table>
- <p>
- <p>
- <table cellspacing="0" cellpadding="0"class="report" id="mcoverage">
- <tr class="report">
- <th class="report">hit count</th>
- <th class="report">method  name</th>
- <th class="report">method modifiers</th>
- <th class="report">method signature</th>
- </tr>
- <tr class="report">
- <td class="reportValue_uncovered"><span class="text">0</span></td>
- <td class="reportText"><span class="text"><a href="#src_3">&lt;init&gt;</a></span></td>
- <td class="reportText"><span class="text">[public]</span></td>
- <td class="reportText"><span class="text">void &lt;init&gt;()</span></td>
- </tr>
- <tr class="report">
- <td class="reportValue_covered"><span class="text">44</span></td>
- <td class="reportText"><span class="text"><a href="#src_7">parseDouble</a></span></td>
- <td class="reportText"><span class="text">[public, static]</span></td>
- <td class="reportText"><span class="text">double parseDouble(java.lang.String)</span></td>
- </tr>
- <tr class="report">
- <td class="reportValue_covered"><span class="text">17</span></td>
- <td class="reportText"><span class="text"><a href="#src_19">parseInt</a></span></td>
- <td class="reportText"><span class="text">[public, static]</span></td>
- <td class="reportText"><span class="text">int parseInt(java.lang.String)</span></td>
- </tr>
- </table>
- <p>
- <table cellspacing="0" cellpadding="0" class="src">
- <tr>
- <td class="numLine">&nbsp;1</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;<span Class="keyword">package</span> net.jaekl.qd.util;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;2</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;</pre></td>
- </tr>
- <tr>
- <td class="numLineUnCover">&nbsp;3<a name="src_3"></a></td>
- <td class="nbHitsUncovered">&nbsp;Block:&nbsp;0/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;<span Class="keyword">public</span> <span Class="keyword">class</span> ParseUtils {</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;4</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="comment">// Attempt to parse the string as a double.</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;5</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="comment">// Treat errors as a zero value.</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;6</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="keyword">public</span> <span Class="keyword">static</span> <span Class="keyword">double</span> parseDouble(String string) {</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;7<a name="src_7"></a></td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               <span Class="keyword">if</span> ((<span Class="keyword">null</span> == string) || (<span Class="string">""</span>.equals(string))) {</span></pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;8</td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;Branch:&nbsp;2/2&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       <span Class="keyword">return</span> 0.0;</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;9</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               }</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;10</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               <span Class="keyword">try</span> {</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;11</td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;Branch:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       <span Class="keyword">return</span> Double.parseDouble(string);</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;12</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               }</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;13</td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               <span Class="keyword">catch</span> (NumberFormatException exc) {</span></pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;14</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       <span Class="keyword">return</span> 0.0;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;15</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               }</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;16</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       }</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;17</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       </pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;18</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="keyword">public</span> <span Class="keyword">static</span> <span Class="keyword">int</span> parseInt(String string) {</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;19<a name="src_19"></a></td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               <span Class="keyword">if</span> ((<span Class="keyword">null</span> == string) || (<span Class="string">""</span>.equals(string))) {</span></pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;20</td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;Branch:&nbsp;2/2&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       <span Class="keyword">return</span> 0;</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;21</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               }</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;22</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               <span Class="keyword">try</span> {</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;23</td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;Branch:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       <span Class="keyword">return</span> Integer.parseInt(string);</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;24</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               }</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;25</td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               <span Class="keyword">catch</span> (NumberFormatException exc) {</span></pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;26</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       <span Class="keyword">return</span> 0;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;27</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               }</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;28</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               </pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;29</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       }</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;30</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;}</pre></td>
- </tr>
- </table>
-<p>
-<p><table cellpadding="0" cellspacing="0" class="report">  <tr class="report">    <td class="reportText"><span class="text">    Report generated 11/12/14 11:31 PM    </span></td>  </tr></table>
-</body>
-</html>
diff --git a/report/net/jaekl/qd/util/StringUtils.html b/report/net/jaekl/qd/util/StringUtils.html
deleted file mode 100644 (file)
index 57edcc4..0000000
+++ /dev/null
@@ -1,156 +0,0 @@
-<html>
-<head>
-<title>tests coverage</title>
-<link rel ="stylesheet" type="text/css" href="../../../../style.css" title="Style">
-<script type="text/javascript" src="../../../../sorttable.js"></script>
-<script type="text/javascript">
-  targetPage = "" + window.location.search;
-  if (targetPage != "" && targetPage != "undefined")
-    targetPage = targetPage.substring(1);
-  if (targetPage.indexOf(":") != -1 || (targetPage != "" && !validURL(targetPage)))
-    targetPage = "undefined";
-  function validURL(url) {
-    var pos = url.indexOf(".html");
-    if (pos == -1 || pos != url.length - 5)
-      return false;
-    var allowNumber = false;
-    var allowSep = false;
-    var seenDot = false;
-    for (var i = 0; i < url.length - 5; i++) {
-      var ch = url.charAt(i);
-      if ('a' <= ch && ch <= 'z' ||
-          'A' <= ch && ch <= 'Z' ||
-          ch == '$' ||
-          ch == '_') {
-            allowNumber = true;
-            allowSep = true;
-      } else if ('0' <= ch && ch <= '9' ||
-                 ch == '-') {
-                   if (!allowNumber)
-                     return false;
-      } else if (ch == '/' || ch == '.') {
-        if (!allowSep)
-          return false;
-        allowNumber = false;
-        allowSep = false;
-        if (ch == '.')
-          seenDot = true;
-        if (ch == '/' && seenDot)
-          return false;
-      } else {
-        return false;
-      }
-    }
-    return true;
-  }
-  function loadFrames() {
-    if (targetPage != "" && targetPage != "undefined")
-      top.classFrame.location = top.targetPage;
-  }
-</script>
-</head>
-<body>
-<table>
-<tr>
-<td>
-<a href="../../../../index.html?net/jaekl/qd/util/StringUtils.html" target="_top">Frames</a>
-<a href="StringUtils.html" target="_top">No Frames</a>
-</td>
-</tr>
-</table>
-<p>
- <table cellspacing="0" cellpadding="0"class="report">
- <tr class="report">
- <th class="report">&nbsp;</th>
- <th class="report">%method</th>
- <th class="report">%block</th>
- <th class="report">%branch</th>
- <th class="report">%line</th>
- </tr>
- <tr class="report">
- <td class="reportText"><span class="text">net.jaekl.qd.util.StringUtils</span></td>
- <td class="reportValue"><table class="percentGraph" cellpadding="0" cellspacing="0" align="right"><tr><td><span class="text"><b>50</b>%(1/2)</span></td><td><table class="percentGraph" cellpadding="0" cellspacing="0"><tr><td class="percentCovered" width="  50"></td><td class="percentUnCovered" width="50.0"></td></tr></table></td></tr></table></td>
- <td class="reportValue"><table class="percentGraph" cellpadding="0" cellspacing="0" align="right"><tr><td><span class="text"><b>86</b>%(6/7)</span></td><td><table class="percentGraph" cellpadding="0" cellspacing="0"><tr><td class="percentCovered" width="  86"></td><td class="percentUnCovered" width="14.0"></td></tr></table></td></tr></table></td>
- <td class="reportValue"><table class="percentGraph" cellpadding="0" cellspacing="0" align="right"><tr><td><span class="text"><b>100</b>%(4/4)</span></td><td><table class="percentGraph" cellpadding="0" cellspacing="0"><tr><td class="percentCovered" width=" 100"></td><td class="percentUnCovered" width="0.0"></td></tr></table></td></tr></table></td>
- <td class="reportValue"><table class="percentGraph" cellpadding="0" cellspacing="0" align="right"><tr><td><span class="text"><b>75</b>%(3/4)</span></td><td><table class="percentGraph" cellpadding="0" cellspacing="0"><tr><td class="percentCovered" width="  75"></td><td class="percentUnCovered" width="25.0"></td></tr></table></td></tr></table></td>
- </tr>
- </table>
- <p>
- <p>
- <table cellspacing="0" cellpadding="0"class="report" id="mcoverage">
- <tr class="report">
- <th class="report">hit count</th>
- <th class="report">method  name</th>
- <th class="report">method modifiers</th>
- <th class="report">method signature</th>
- </tr>
- <tr class="report">
- <td class="reportValue_uncovered"><span class="text">0</span></td>
- <td class="reportText"><span class="text"><a href="#src_3">&lt;init&gt;</a></span></td>
- <td class="reportText"><span class="text">[public]</span></td>
- <td class="reportText"><span class="text">void &lt;init&gt;()</span></td>
- </tr>
- <tr class="report">
- <td class="reportValue_covered"><span class="text">18</span></td>
- <td class="reportText"><span class="text"><a href="#src_5">areEqual</a></span></td>
- <td class="reportText"><span class="text">[public, static]</span></td>
- <td class="reportText"><span class="text">boolean areEqual(java.lang.String,java.lang.String)</span></td>
- </tr>
- </table>
- <p>
- <table cellspacing="0" cellpadding="0" class="src">
- <tr>
- <td class="numLine">&nbsp;1</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;<span Class="keyword">package</span> net.jaekl.qd.util;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;2</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;</pre></td>
- </tr>
- <tr>
- <td class="numLineUnCover">&nbsp;3<a name="src_3"></a></td>
- <td class="nbHitsUncovered">&nbsp;Block:&nbsp;0/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;<span Class="keyword">public</span> <span Class="keyword">class</span> StringUtils {</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;4</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="keyword">public</span> <span Class="keyword">static</span> <span Class="keyword">boolean</span> areEqual(String a, String b) {</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;5<a name="src_5"></a></td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               <span Class="keyword">if</span> (<span Class="keyword">null</span> == a) {</span></pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;6</td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;Branch:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       <span Class="keyword">return</span> (<span Class="keyword">null</span> == b);</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;7</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               }</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;8</td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;Branch:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               <span Class="keyword">return</span> a.equals(b);</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;9</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       }</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;10</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;}</pre></td>
- </tr>
- </table>
-<p>
-<p><table cellpadding="0" cellspacing="0" class="report">  <tr class="report">    <td class="reportText"><span class="text">    Report generated 11/12/14 11:31 PM    </span></td>  </tr></table>
-</body>
-</html>
diff --git a/report/net/jaekl/qd/util/package-frame.html b/report/net/jaekl/qd/util/package-frame.html
deleted file mode 100644 (file)
index 106ba8d..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-<html>
-<head>
-<title>coverage report</title>
-<link rel ="stylesheet" type="text/css" href="../../../../style.css" title="Style">
-</head>
-<body>
-<a href="package-summary.html" target="classFrame">net.jaekl.qd.util</a> <span class="text_italic">&nbsp;  57% (4/7)</span><br>
-<p>
-<span class="title">All classes</span>
-<table>
-<tr>
-<td nowrap="nowrap">
-<a href="./ExceptionUtils.html" target="classFrame">ExceptionUtils</a><span class="text_italic">&nbsp;  50% (1/2)</span><br>
-<a href="./ParseUtils.html" target="classFrame">ParseUtils</a><span class="text_italic">&nbsp;  67% (2/3)</span><br>
-<a href="./StringUtils.html" target="classFrame">StringUtils</a><span class="text_italic">&nbsp;  50% (1/2)</span><br>
-</td>
-</tr>
-</table>
-</body>
-</html>
diff --git a/report/net/jaekl/qd/util/package-summary.html b/report/net/jaekl/qd/util/package-summary.html
deleted file mode 100644 (file)
index 8203e3f..0000000
+++ /dev/null
@@ -1,62 +0,0 @@
-<html>
-<head>
-<title>coverage report</title>
-<link rel ="stylesheet" type="text/css" href="../../../../style.css" title="Style">
-<script type="text/javascript" src="../../../../sorttable.js"></script>
-</head>
-<body>
-<span class="title">Coverage report </span>
-<p>
-<table class="report" cellpadding="0" cellspacing="0">
-<tr class="report">
-<th class="report">&nbsp;</th>
-<th class="report">#classes</th>
-<th class="report">%method</th>
-<th class="report">%block</th>
-<th class="report">%branch</th>
-<th class="report">%line</th>
-</tr>
-<tr class="report">
-<td class="reportText">net.jaekl.qd.util</td>
-<td class="reportValue">3</td>
-<td class="reportValue"><table class="percentGraph" cellpadding="0" cellspacing="0" align="right"><tr><td><span class="text"><b>57</b>%(4/7)</span></td><td><table class="percentGraph" cellpadding="0" cellspacing="0"><tr><td class="percentCovered" width="  57"></td><td class="percentUnCovered" width="43.0"></td></tr></table></td></tr></table></td>
-<td class="reportValue"><table class="percentGraph" cellpadding="0" cellspacing="0" align="right"><tr><td><span class="text"><b>88</b>%(21/24)</span></td><td><table class="percentGraph" cellpadding="0" cellspacing="0"><tr><td class="percentCovered" width="  88"></td><td class="percentUnCovered" width="12.0"></td></tr></table></td></tr></table></td>
-<td class="reportValue"><table class="percentGraph" cellpadding="0" cellspacing="0" align="right"><tr><td><span class="text"><b>100</b>%(14/14)</span></td><td><table class="percentGraph" cellpadding="0" cellspacing="0"><tr><td class="percentCovered" width=" 100"></td><td class="percentUnCovered" width="0.0"></td></tr></table></td></tr></table></td>
-<td class="reportValue"><table class="percentGraph" cellpadding="0" cellspacing="0" align="right"><tr><td><span class="text"><b>86</b>%(19/22)</span></td><td><table class="percentGraph" cellpadding="0" cellspacing="0"><tr><td class="percentCovered" width="  86"></td><td class="percentUnCovered" width="14.0"></td></tr></table></td></tr></table></td>
-</tr>
-</table>
-<p>
-<span class="title2">Classes</span><br>
-<table class="report" cellpadding="0" cellspacing="0" id="classes">
-<tr class="report">
-<th class="report">Name</th>
-<th class="report">%method</th>
-<th class="report">%block</th>
-<th class="report">%branch</th>
-<th class="report">%line</th>
-</tr>
-<tr class="report">
-<td class="reportText"><a href="ExceptionUtils.html">ExceptionUtils</a></td>
-<td class="reportValue"><b>  50</b>% (1/2)</td>
-<td class="reportValue"><b>  83</b>% (5/6)</td>
-<td class="reportValue"><b> 100</b>% (2/2)</td>
-<td class="reportValue"><b>  86</b>% (6/7)</td>
-</tr>
-<tr class="report">
-<td class="reportText"><a href="ParseUtils.html">ParseUtils</a></td>
-<td class="reportValue"><b>  67</b>% (2/3)</td>
-<td class="reportValue"><b>  91</b>% (10/11)</td>
-<td class="reportValue"><b> 100</b>% (8/8)</td>
-<td class="reportValue"><b>  91</b>% (10/11)</td>
-</tr>
-<tr class="report">
-<td class="reportText"><a href="StringUtils.html">StringUtils</a></td>
-<td class="reportValue"><b>  50</b>% (1/2)</td>
-<td class="reportValue"><b>  86</b>% (6/7)</td>
-<td class="reportValue"><b> 100</b>% (4/4)</td>
-<td class="reportValue"><b>  75</b>% (3/4)</td>
-</tr>
-</table>
-<p><table cellpadding="0" cellspacing="0" class="report">  <tr class="report">    <td class="reportText"><span class="text">    Report generated 11/12/14 11:31 PM    </span></td>  </tr></table>
-</body>
-</html>
diff --git a/report/net/jaekl/qd/xml/MismatchedTagsException.html b/report/net/jaekl/qd/xml/MismatchedTagsException.html
deleted file mode 100644 (file)
index 7a540c2..0000000
+++ /dev/null
@@ -1,217 +0,0 @@
-<html>
-<head>
-<title>tests coverage</title>
-<link rel ="stylesheet" type="text/css" href="../../../../style.css" title="Style">
-<script type="text/javascript" src="../../../../sorttable.js"></script>
-<script type="text/javascript">
-  targetPage = "" + window.location.search;
-  if (targetPage != "" && targetPage != "undefined")
-    targetPage = targetPage.substring(1);
-  if (targetPage.indexOf(":") != -1 || (targetPage != "" && !validURL(targetPage)))
-    targetPage = "undefined";
-  function validURL(url) {
-    var pos = url.indexOf(".html");
-    if (pos == -1 || pos != url.length - 5)
-      return false;
-    var allowNumber = false;
-    var allowSep = false;
-    var seenDot = false;
-    for (var i = 0; i < url.length - 5; i++) {
-      var ch = url.charAt(i);
-      if ('a' <= ch && ch <= 'z' ||
-          'A' <= ch && ch <= 'Z' ||
-          ch == '$' ||
-          ch == '_') {
-            allowNumber = true;
-            allowSep = true;
-      } else if ('0' <= ch && ch <= '9' ||
-                 ch == '-') {
-                   if (!allowNumber)
-                     return false;
-      } else if (ch == '/' || ch == '.') {
-        if (!allowSep)
-          return false;
-        allowNumber = false;
-        allowSep = false;
-        if (ch == '.')
-          seenDot = true;
-        if (ch == '/' && seenDot)
-          return false;
-      } else {
-        return false;
-      }
-    }
-    return true;
-  }
-  function loadFrames() {
-    if (targetPage != "" && targetPage != "undefined")
-      top.classFrame.location = top.targetPage;
-  }
-</script>
-</head>
-<body>
-<table>
-<tr>
-<td>
-<a href="../../../../index.html?net/jaekl/qd/xml/MismatchedTagsException.html" target="_top">Frames</a>
-<a href="MismatchedTagsException.html" target="_top">No Frames</a>
-</td>
-</tr>
-</table>
-<p>
- <table cellspacing="0" cellpadding="0"class="report">
- <tr class="report">
- <th class="report">&nbsp;</th>
- <th class="report">%method</th>
- <th class="report">%block</th>
- <th class="report">%branch</th>
- <th class="report">%line</th>
- </tr>
- <tr class="report">
- <td class="reportText"><span class="text">net.jaekl.qd.xml.MismatchedTagsException</span></td>
- <td class="reportValue"><table class="percentGraph" cellpadding="0" cellspacing="0" align="right"><tr><td><span class="text"><b>0</b>%(0/3)</span></td><td><table class="percentGraph" cellpadding="0" cellspacing="0"><tr><td class="percentCovered" width="   0"></td><td class="percentUnCovered" width="100.0"></td></tr></table></td></tr></table></td>
- <td class="reportValue"><table class="percentGraph" cellpadding="0" cellspacing="0" align="right"><tr><td><span class="text"><b>0</b>%(0/3)</span></td><td><table class="percentGraph" cellpadding="0" cellspacing="0"><tr><td class="percentCovered" width="   0"></td><td class="percentUnCovered" width="100.0"></td></tr></table></td></tr></table></td>
- <td class="reportValue"><table class="percentGraph" cellpadding="0" cellspacing="0" align="right"><tr><td><span class="text"><b>-</b>%</span></td></tr></table></td>
- <td class="reportValue"><table class="percentGraph" cellpadding="0" cellspacing="0" align="right"><tr><td><span class="text"><b>0</b>%(0/6)</span></td><td><table class="percentGraph" cellpadding="0" cellspacing="0"><tr><td class="percentCovered" width="   0"></td><td class="percentUnCovered" width="100.0"></td></tr></table></td></tr></table></td>
- </tr>
- </table>
- <p>
- <p>
- <table cellspacing="0" cellpadding="0"class="report" id="mcoverage">
- <tr class="report">
- <th class="report">hit count</th>
- <th class="report">method  name</th>
- <th class="report">method modifiers</th>
- <th class="report">method signature</th>
- </tr>
- <tr class="report">
- <td class="reportValue_uncovered"><span class="text">0</span></td>
- <td class="reportText"><span class="text"><a href="#src_14">&lt;init&gt;</a></span></td>
- <td class="reportText"><span class="text">[public]</span></td>
- <td class="reportText"><span class="text">void &lt;init&gt;(java.lang.String,java.lang.String)</span></td>
- </tr>
- <tr class="report">
- <td class="reportValue_uncovered"><span class="text">0</span></td>
- <td class="reportText"><span class="text"><a href="#src_20">getActual</a></span></td>
- <td class="reportText"><span class="text">[public]</span></td>
- <td class="reportText"><span class="text">java.lang.String getActual()</span></td>
- </tr>
- <tr class="report">
- <td class="reportValue_uncovered"><span class="text">0</span></td>
- <td class="reportText"><span class="text"><a href="#src_19">getExpected</a></span></td>
- <td class="reportText"><span class="text">[public]</span></td>
- <td class="reportText"><span class="text">java.lang.String getExpected()</span></td>
- </tr>
- </table>
- <p>
- <table cellspacing="0" cellpadding="0" class="src">
- <tr>
- <td class="numLine">&nbsp;1</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;<span Class="comment">// Copyright (C) 2004, 2014 Christian Jaekl</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;2</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;3</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;<span Class="keyword">package</span> net.jaekl.qd.xml;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;4</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;5</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;6</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;<span Class="keyword">public</span> <span Class="keyword">class</span> MismatchedTagsException <span Class="keyword">extends</span> XmlParseException</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;7</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;{</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;8</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="keyword">private</span> <span Class="keyword">static</span> <span Class="keyword">final</span> <span Class="keyword">long</span> serialVersionUID = 1L;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;9</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;10</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       String m_expected;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;11</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       String m_actual;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;12</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;13</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="keyword">public</span> MismatchedTagsException(String expected, String actual) {</pre></td>
- </tr>
- <tr>
- <td class="numLineUnCover">&nbsp;14<a name="src_14"></a></td>
- <td class="nbHitsUncovered">&nbsp;Block:&nbsp;0/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               <span Class="keyword">super</span>();</span></pre></td>
- </tr>
- <tr>
- <td class="numLineUnCover">&nbsp;15</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               m_expected = expected;</pre></td>
- </tr>
- <tr>
- <td class="numLineUnCover">&nbsp;16</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               m_actual = actual;</pre></td>
- </tr>
- <tr>
- <td class="numLineUnCover">&nbsp;17</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       }</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;18</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;</pre></td>
- </tr>
- <tr>
- <td class="numLineUnCover">&nbsp;19<a name="src_19"></a></td>
- <td class="nbHitsUncovered">&nbsp;Block:&nbsp;0/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="keyword">public</span> String getExpected() { <span Class="keyword">return</span> m_expected; }</span></pre></td>
- </tr>
- <tr>
- <td class="numLineUnCover">&nbsp;20<a name="src_20"></a></td>
- <td class="nbHitsUncovered">&nbsp;Block:&nbsp;0/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="keyword">public</span> String getActual() { <span Class="keyword">return</span> m_actual; }</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;21</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;}</pre></td>
- </tr>
- </table>
-<p>
-<p><table cellpadding="0" cellspacing="0" class="report">  <tr class="report">    <td class="reportText"><span class="text">    Report generated 11/12/14 11:31 PM    </span></td>  </tr></table>
-</body>
-</html>
diff --git a/report/net/jaekl/qd/xml/MissingInfoException.html b/report/net/jaekl/qd/xml/MissingInfoException.html
deleted file mode 100644 (file)
index bdfb71a..0000000
+++ /dev/null
@@ -1,359 +0,0 @@
-<html>
-<head>
-<title>tests coverage</title>
-<link rel ="stylesheet" type="text/css" href="../../../../style.css" title="Style">
-<script type="text/javascript" src="../../../../sorttable.js"></script>
-<script type="text/javascript">
-  targetPage = "" + window.location.search;
-  if (targetPage != "" && targetPage != "undefined")
-    targetPage = targetPage.substring(1);
-  if (targetPage.indexOf(":") != -1 || (targetPage != "" && !validURL(targetPage)))
-    targetPage = "undefined";
-  function validURL(url) {
-    var pos = url.indexOf(".html");
-    if (pos == -1 || pos != url.length - 5)
-      return false;
-    var allowNumber = false;
-    var allowSep = false;
-    var seenDot = false;
-    for (var i = 0; i < url.length - 5; i++) {
-      var ch = url.charAt(i);
-      if ('a' <= ch && ch <= 'z' ||
-          'A' <= ch && ch <= 'Z' ||
-          ch == '$' ||
-          ch == '_') {
-            allowNumber = true;
-            allowSep = true;
-      } else if ('0' <= ch && ch <= '9' ||
-                 ch == '-') {
-                   if (!allowNumber)
-                     return false;
-      } else if (ch == '/' || ch == '.') {
-        if (!allowSep)
-          return false;
-        allowNumber = false;
-        allowSep = false;
-        if (ch == '.')
-          seenDot = true;
-        if (ch == '/' && seenDot)
-          return false;
-      } else {
-        return false;
-      }
-    }
-    return true;
-  }
-  function loadFrames() {
-    if (targetPage != "" && targetPage != "undefined")
-      top.classFrame.location = top.targetPage;
-  }
-</script>
-</head>
-<body>
-<table>
-<tr>
-<td>
-<a href="../../../../index.html?net/jaekl/qd/xml/MissingInfoException.html" target="_top">Frames</a>
-<a href="MissingInfoException.html" target="_top">No Frames</a>
-</td>
-</tr>
-</table>
-<p>
- <table cellspacing="0" cellpadding="0"class="report">
- <tr class="report">
- <th class="report">&nbsp;</th>
- <th class="report">%method</th>
- <th class="report">%block</th>
- <th class="report">%branch</th>
- <th class="report">%line</th>
- </tr>
- <tr class="report">
- <td class="reportText"><span class="text">net.jaekl.qd.xml.MissingInfoException</span></td>
- <td class="reportValue"><table class="percentGraph" cellpadding="0" cellspacing="0" align="right"><tr><td><span class="text"><b>100</b>%(5/5)</span></td><td><table class="percentGraph" cellpadding="0" cellspacing="0"><tr><td class="percentCovered" width=" 100"></td><td class="percentUnCovered" width="0.0"></td></tr></table></td></tr></table></td>
- <td class="reportValue"><table class="percentGraph" cellpadding="0" cellspacing="0" align="right"><tr><td><span class="text"><b>100</b>%(11/11)</span></td><td><table class="percentGraph" cellpadding="0" cellspacing="0"><tr><td class="percentCovered" width=" 100"></td><td class="percentUnCovered" width="0.0"></td></tr></table></td></tr></table></td>
- <td class="reportValue"><table class="percentGraph" cellpadding="0" cellspacing="0" align="right"><tr><td><span class="text"><b>100</b>%(4/4)</span></td><td><table class="percentGraph" cellpadding="0" cellspacing="0"><tr><td class="percentCovered" width=" 100"></td><td class="percentUnCovered" width="0.0"></td></tr></table></td></tr></table></td>
- <td class="reportValue"><table class="percentGraph" cellpadding="0" cellspacing="0" align="right"><tr><td><span class="text"><b>100</b>%(19/19)</span></td><td><table class="percentGraph" cellpadding="0" cellspacing="0"><tr><td class="percentCovered" width=" 100"></td><td class="percentUnCovered" width="0.0"></td></tr></table></td></tr></table></td>
- </tr>
- </table>
- <p>
- <p>
- <table cellspacing="0" cellpadding="0"class="report" id="mcoverage">
- <tr class="report">
- <th class="report">hit count</th>
- <th class="report">method  name</th>
- <th class="report">method modifiers</th>
- <th class="report">method signature</th>
- </tr>
- <tr class="report">
- <td class="reportValue_covered"><span class="text">3</span></td>
- <td class="reportText"><span class="text"><a href="#src_16">&lt;init&gt;</a></span></td>
- <td class="reportText"><span class="text">[public]</span></td>
- <td class="reportText"><span class="text">void &lt;init&gt;(java.lang.String)</span></td>
- </tr>
- <tr class="report">
- <td class="reportValue_covered"><span class="text">2</span></td>
- <td class="reportText"><span class="text"><a href="#src_23">addMissingAttribute</a></span></td>
- <td class="reportText"><span class="text">[public]</span></td>
- <td class="reportText"><span class="text">void addMissingAttribute(java.lang.String)</span></td>
- </tr>
- <tr class="report">
- <td class="reportValue_covered"><span class="text">2</span></td>
- <td class="reportText"><span class="text"><a href="#src_27">addMissingChild</a></span></td>
- <td class="reportText"><span class="text">[public]</span></td>
- <td class="reportText"><span class="text">void addMissingChild(java.lang.String)</span></td>
- </tr>
- <tr class="report">
- <td class="reportValue_covered"><span class="text">3</span></td>
- <td class="reportText"><span class="text"><a href="#src_34">getMessage</a></span></td>
- <td class="reportText"><span class="text">[public]</span></td>
- <td class="reportText"><span class="text">java.lang.String getMessage()</span></td>
- </tr>
- <tr class="report">
- <td class="reportValue_covered"><span class="text">4</span></td>
- <td class="reportText"><span class="text"><a href="#src_30">getTagName</a></span></td>
- <td class="reportText"><span class="text">[public]</span></td>
- <td class="reportText"><span class="text">java.lang.String getTagName()</span></td>
- </tr>
- </table>
- <p>
- <table cellspacing="0" cellpadding="0" class="src">
- <tr>
- <td class="numLine">&nbsp;1</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;<span Class="comment">// Copyright (C) 2004, 2014 Christian Jaekl</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;2</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;3</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;<span Class="keyword">package</span> net.jaekl.qd.xml;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;4</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;5</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;<span Class="keyword">import</span> java.util.ArrayList;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;6</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;7</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;<span Class="keyword">public</span> <span Class="keyword">class</span> MissingInfoException <span Class="keyword">extends</span> XmlParseException</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;8</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;{</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;9</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="keyword">private</span> <span Class="keyword">static</span> <span Class="keyword">final</span> <span Class="keyword">long</span> serialVersionUID = 1L;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;10</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;11</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       String m_tagName;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;12</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       ArrayList&#60;String&#62; m_missingAttributes;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;13</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       ArrayList&#60;String&#62; m_missingChildTags;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;14</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;15</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="keyword">public</span> MissingInfoException(String tagName) {</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;16<a name="src_16"></a></td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               <span Class="keyword">super</span>();</span></pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;17</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               m_tagName = tagName;</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;18</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               m_missingAttributes = <span Class="keyword">new</span> ArrayList&#60;String&#62;();</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;19</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               m_missingChildTags = <span Class="keyword">new</span> ArrayList&#60;String&#62;();</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;20</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       }</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;21</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;22</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="keyword">public</span> <span Class="keyword">void</span> addMissingAttribute(String name) {</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;23<a name="src_23"></a></td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               m_missingAttributes.add(name);</span></pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;24</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       }</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;25</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;26</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="keyword">public</span> <span Class="keyword">void</span> addMissingChild(String name) {</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;27<a name="src_27"></a></td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               m_missingChildTags.add(name);</span></pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;28</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       }</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;29</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;30<a name="src_30"></a></td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="keyword">public</span> String getTagName() { <span Class="keyword">return</span> m_tagName; }</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;31</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       </pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;32</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       @Override</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;33</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="keyword">public</span> String getMessage() {</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;34<a name="src_34"></a></td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               StringBuilder sb = <span Class="keyword">new</span> StringBuilder();</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;35</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               </pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;36</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               sb.append(<span Class="string">"Tag:  &#92;&#34"</span> + getTagName() + <span Class="string">"&#92;&#34"</span>);</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;37</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               </pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;38</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               <span Class="keyword">for</span> (String attr : m_missingAttributes) {</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;39</td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;Branch:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       sb.append(<span Class="string">"\n  Attribute:  &#92;&#34"</span> + attr + <span Class="string">"&#92;&#34"</span>);</span></pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;40</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               }</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;41</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               </pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;42</td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;Branch:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               <span Class="keyword">for</span> (String child : m_missingChildTags) {</span></pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;43</td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;Branch:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       sb.append(<span Class="string">"\n  Child tag:  &#92;&#34"</span> + child + <span Class="string">"&#92;&#34"</span>);</span></pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;44</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               }</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;45</td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;Branch:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               <span Class="keyword">return</span> sb.toString();</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;46</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       }</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;47</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;}</pre></td>
- </tr>
- </table>
-<p>
-<p><table cellpadding="0" cellspacing="0" class="report">  <tr class="report">    <td class="reportText"><span class="text">    Report generated 11/12/14 11:31 PM    </span></td>  </tr></table>
-</body>
-</html>
diff --git a/report/net/jaekl/qd/xml/ParseHandler.html b/report/net/jaekl/qd/xml/ParseHandler.html
deleted file mode 100644 (file)
index f104550..0000000
+++ /dev/null
@@ -1,781 +0,0 @@
-<html>
-<head>
-<title>tests coverage</title>
-<link rel ="stylesheet" type="text/css" href="../../../../style.css" title="Style">
-<script type="text/javascript" src="../../../../sorttable.js"></script>
-<script type="text/javascript">
-  targetPage = "" + window.location.search;
-  if (targetPage != "" && targetPage != "undefined")
-    targetPage = targetPage.substring(1);
-  if (targetPage.indexOf(":") != -1 || (targetPage != "" && !validURL(targetPage)))
-    targetPage = "undefined";
-  function validURL(url) {
-    var pos = url.indexOf(".html");
-    if (pos == -1 || pos != url.length - 5)
-      return false;
-    var allowNumber = false;
-    var allowSep = false;
-    var seenDot = false;
-    for (var i = 0; i < url.length - 5; i++) {
-      var ch = url.charAt(i);
-      if ('a' <= ch && ch <= 'z' ||
-          'A' <= ch && ch <= 'Z' ||
-          ch == '$' ||
-          ch == '_') {
-            allowNumber = true;
-            allowSep = true;
-      } else if ('0' <= ch && ch <= '9' ||
-                 ch == '-') {
-                   if (!allowNumber)
-                     return false;
-      } else if (ch == '/' || ch == '.') {
-        if (!allowSep)
-          return false;
-        allowNumber = false;
-        allowSep = false;
-        if (ch == '.')
-          seenDot = true;
-        if (ch == '/' && seenDot)
-          return false;
-      } else {
-        return false;
-      }
-    }
-    return true;
-  }
-  function loadFrames() {
-    if (targetPage != "" && targetPage != "undefined")
-      top.classFrame.location = top.targetPage;
-  }
-</script>
-</head>
-<body>
-<table>
-<tr>
-<td>
-<a href="../../../../index.html?net/jaekl/qd/xml/ParseHandler.html" target="_top">Frames</a>
-<a href="ParseHandler.html" target="_top">No Frames</a>
-</td>
-</tr>
-</table>
-<p>
- <table cellspacing="0" cellpadding="0"class="report">
- <tr class="report">
- <th class="report">&nbsp;</th>
- <th class="report">%method</th>
- <th class="report">%block</th>
- <th class="report">%branch</th>
- <th class="report">%line</th>
- </tr>
- <tr class="report">
- <td class="reportText"><span class="text">net.jaekl.qd.xml.ParseHandler</span></td>
- <td class="reportValue"><table class="percentGraph" cellpadding="0" cellspacing="0" align="right"><tr><td><span class="text"><b>75</b>%(9/12)</span></td><td><table class="percentGraph" cellpadding="0" cellspacing="0"><tr><td class="percentCovered" width="  75"></td><td class="percentUnCovered" width="25.0"></td></tr></table></td></tr></table></td>
- <td class="reportValue"><table class="percentGraph" cellpadding="0" cellspacing="0" align="right"><tr><td><span class="text"><b>80</b>%(24/30)</span></td><td><table class="percentGraph" cellpadding="0" cellspacing="0"><tr><td class="percentCovered" width="  80"></td><td class="percentUnCovered" width="20.0"></td></tr></table></td></tr></table></td>
- <td class="reportValue"><table class="percentGraph" cellpadding="0" cellspacing="0" align="right"><tr><td><span class="text"><b>100</b>%(12/12)</span></td><td><table class="percentGraph" cellpadding="0" cellspacing="0"><tr><td class="percentCovered" width=" 100"></td><td class="percentUnCovered" width="0.0"></td></tr></table></td></tr></table></td>
- <td class="reportValue"><table class="percentGraph" cellpadding="0" cellspacing="0" align="right"><tr><td><span class="text"><b>79</b>%(33/42)</span></td><td><table class="percentGraph" cellpadding="0" cellspacing="0"><tr><td class="percentCovered" width="  79"></td><td class="percentUnCovered" width="21.0"></td></tr></table></td></tr></table></td>
- </tr>
- </table>
- <p>
- <p>
- <table cellspacing="0" cellpadding="0"class="report" id="mcoverage">
- <tr class="report">
- <th class="report">hit count</th>
- <th class="report">method  name</th>
- <th class="report">method modifiers</th>
- <th class="report">method signature</th>
- </tr>
- <tr class="report">
- <td class="reportValue_covered"><span class="text">12</span></td>
- <td class="reportText"><span class="text"><a href="#src_16">&lt;init&gt;</a></span></td>
- <td class="reportText"><span class="text">[public]</span></td>
- <td class="reportText"><span class="text">void &lt;init&gt;(net.jaekl.qd.xml.ParseResult)</span></td>
- </tr>
- <tr class="report">
- <td class="reportValue_covered"><span class="text">204</span></td>
- <td class="reportText"><span class="text"><a href="#src_24">characters</a></span></td>
- <td class="reportText"><span class="text">[public]</span></td>
- <td class="reportText"><span class="text">void characters(char[],int,int)</span></td>
- </tr>
- <tr class="report">
- <td class="reportValue_covered"><span class="text">12</span></td>
- <td class="reportText"><span class="text"><a href="#src_77">endDocument</a></span></td>
- <td class="reportText"><span class="text">[public]</span></td>
- <td class="reportText"><span class="text">void endDocument()</span></td>
- </tr>
- <tr class="report">
- <td class="reportValue_covered"><span class="text">235</span></td>
- <td class="reportText"><span class="text"><a href="#src_40">endElement</a></span></td>
- <td class="reportText"><span class="text">[public]</span></td>
- <td class="reportText"><span class="text">void endElement(java.lang.String,java.lang.String,java.lang.String)</span></td>
- </tr>
- <tr class="report">
- <td class="reportValue_covered"><span class="text">48</span></td>
- <td class="reportText"><span class="text"><a href="#src_86">endPrefixMapping</a></span></td>
- <td class="reportText"><span class="text">[public]</span></td>
- <td class="reportText"><span class="text">void endPrefixMapping(java.lang.String)</span></td>
- </tr>
- <tr class="report">
- <td class="reportValue_uncovered"><span class="text">0</span></td>
- <td class="reportText"><span class="text"><a href="#src_93">ignorableWhitespace</a></span></td>
- <td class="reportText"><span class="text">[public]</span></td>
- <td class="reportText"><span class="text">void ignorableWhitespace(char[],int,int)</span></td>
- </tr>
- <tr class="report">
- <td class="reportValue_uncovered"><span class="text">0</span></td>
- <td class="reportText"><span class="text"><a href="#src_100">processingInstruction</a></span></td>
- <td class="reportText"><span class="text">[public]</span></td>
- <td class="reportText"><span class="text">void processingInstruction(java.lang.String,java.lang.String)</span></td>
- </tr>
- <tr class="report">
- <td class="reportValue_covered"><span class="text">12</span></td>
- <td class="reportText"><span class="text"><a href="#src_105">setDocumentLocator</a></span></td>
- <td class="reportText"><span class="text">[public]</span></td>
- <td class="reportText"><span class="text">void setDocumentLocator(org.xml.sax.Locator)</span></td>
- </tr>
- <tr class="report">
- <td class="reportValue_uncovered"><span class="text">0</span></td>
- <td class="reportText"><span class="text"><a href="#src_110">skippedEntity</a></span></td>
- <td class="reportText"><span class="text">[public]</span></td>
- <td class="reportText"><span class="text">void skippedEntity(java.lang.String)</span></td>
- </tr>
- <tr class="report">
- <td class="reportValue_covered"><span class="text">12</span></td>
- <td class="reportText"><span class="text"><a href="#src_115">startDocument</a></span></td>
- <td class="reportText"><span class="text">[public]</span></td>
- <td class="reportText"><span class="text">void startDocument()</span></td>
- </tr>
- <tr class="report">
- <td class="reportValue_covered"><span class="text">235</span></td>
- <td class="reportText"><span class="text"><a href="#src_64">startElement</a></span></td>
- <td class="reportText"><span class="text">[public]</span></td>
- <td class="reportText"><span class="text">void startElement(java.lang.String,java.lang.String,java.lang.String,org.xml.sax.Attributes)</span></td>
- </tr>
- <tr class="report">
- <td class="reportValue_covered"><span class="text">48</span></td>
- <td class="reportText"><span class="text"><a href="#src_122">startPrefixMapping</a></span></td>
- <td class="reportText"><span class="text">[public]</span></td>
- <td class="reportText"><span class="text">void startPrefixMapping(java.lang.String,java.lang.String)</span></td>
- </tr>
- </table>
- <p>
- <table cellspacing="0" cellpadding="0" class="src">
- <tr>
- <td class="numLine">&nbsp;1</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;<span Class="comment">// Copyright (C) 2004, 2014 Christian Jaekl</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;2</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;3</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;<span Class="keyword">package</span> net.jaekl.qd.xml;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;4</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;5</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;<span Class="keyword">import</span> java.util.Stack;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;6</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;7</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;<span Class="keyword">import</span> org.xml.sax.Attributes;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;8</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;<span Class="keyword">import</span> org.xml.sax.ContentHandler;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;9</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;<span Class="keyword">import</span> org.xml.sax.Locator;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;10</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;<span Class="keyword">import</span> org.xml.sax.SAXException;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;11</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;12</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;<span Class="keyword">public</span> <span Class="keyword">class</span> ParseHandler <span Class="keyword">implements</span> ContentHandler</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;13</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;{</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;14</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       Stack&#60;ParseResult&#62; m_stack;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;15</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;16<a name="src_16"></a></td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="keyword">public</span> ParseHandler(ParseResult root) {</span></pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;17</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               m_stack = <span Class="keyword">new</span> Stack&#60;ParseResult&#62;();</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;18</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               m_stack.push(root);</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;19</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       }</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;20</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;21</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       @Override </pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;22</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="keyword">public</span> <span Class="keyword">void</span> characters(<span Class="keyword">char</span>[] ch, <span Class="keyword">int</span> start, <span Class="keyword">int</span> length) <span Class="keyword">throws</span> SAXException</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;23</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       {</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;24<a name="src_24"></a></td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               <span Class="keyword">if</span> (m_stack.isEmpty()) {</span></pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;25</td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;Branch:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       <span Class="keyword">return</span>;</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;26</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               }</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;27</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               </pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;28</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               <span Class="keyword">try</span> {</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;29</td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;Branch:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       m_stack.peek().characters(ch, start, length);</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;30</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               }</pre></td>
- </tr>
- <tr>
- <td class="numLineUnCover">&nbsp;31</td>
- <td class="nbHitsUncovered">&nbsp;Block:&nbsp;0/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               <span Class="keyword">catch</span> (XmlParseException xpe) {</span></pre></td>
- </tr>
- <tr>
- <td class="numLineUnCover">&nbsp;32</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       <span Class="keyword">throw</span> <span Class="keyword">new</span> SAXException(xpe);</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;33</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               }</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;34</td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       }</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;35</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;36</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       @Override </pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;37</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="keyword">public</span> <span Class="keyword">void</span> endElement(String uri, String localName, String qName) <span Class="keyword">throws</span> SAXException</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;38</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       {</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;39</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               <span Class="keyword">try</span> {</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;40<a name="src_40"></a></td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       <span Class="keyword">if</span> (m_stack.isEmpty()) {</span></pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;41</td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;Branch:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                               <span Class="keyword">return</span>;</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;42</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       }</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;43</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       </pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;44</td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;Branch:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       <span Class="keyword">boolean</span> pop = m_stack.peek().endElement(uri, localName, qName);</span></pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;45</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       <span Class="keyword">if</span> (pop) {</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;46</td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;Branch:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                               m_stack.pop();</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;47</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;48</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                               <span Class="keyword">if</span> (m_stack.isEmpty()) {</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;49</td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;Branch:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                                       <span Class="keyword">return</span>;</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;50</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                               }</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;51</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                               </pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;52</td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;Branch:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                               m_stack.peek().endExternal(uri, localName, qName);</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;53</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       }</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;54</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               }</pre></td>
- </tr>
- <tr>
- <td class="numLineUnCover">&nbsp;55</td>
- <td class="nbHitsUncovered">&nbsp;Block:&nbsp;0/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               <span Class="keyword">catch</span> (XmlParseException xpe) {</span></pre></td>
- </tr>
- <tr>
- <td class="numLineUnCover">&nbsp;56</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       <span Class="keyword">throw</span> <span Class="keyword">new</span> SAXException(xpe);</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;57</td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;Branch:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               }</span></pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;58</td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       }</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;59</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;60</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       @Override</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;61</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="keyword">public</span> <span Class="keyword">void</span> startElement(String uri, String localName, String qName, Attributes attributes) <span Class="keyword">throws</span> SAXException</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;62</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       {</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;63</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               <span Class="keyword">try</span> {</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;64<a name="src_64"></a></td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       ParseResult current = m_stack.peek();</span></pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;65</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       ParseResult next = current.startElement(uri, localName, qName, attributes);</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;66</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       <span Class="keyword">if</span> (next != current) {</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;67</td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;Branch:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                               m_stack.push(next);</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;68</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       }</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;69</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               }</pre></td>
- </tr>
- <tr>
- <td class="numLineUnCover">&nbsp;70</td>
- <td class="nbHitsUncovered">&nbsp;Block:&nbsp;0/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               <span Class="keyword">catch</span> (XmlParseException xpe) {</span></pre></td>
- </tr>
- <tr>
- <td class="numLineUnCover">&nbsp;71</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       <span Class="keyword">throw</span> <span Class="keyword">new</span> SAXException(xpe);</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;72</td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;Branch:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               }</span></pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;73</td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       }</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;74</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;75</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       @Override</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;76</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="keyword">public</span> <span Class="keyword">void</span> endDocument() <span Class="keyword">throws</span> SAXException {</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;77<a name="src_77"></a></td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               <span Class="keyword">if</span> (! m_stack.isEmpty()) {</span></pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;78</td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;Branch:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       String missingTag = m_stack.peek().getTagName();</span></pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;79</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       <span Class="keyword">throw</span> <span Class="keyword">new</span> SAXException(<span Class="keyword">new</span> MissingInfoException(missingTag));</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;80</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               }</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;81</td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;Branch:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       }</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;82</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;83</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       @Override</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;84</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="keyword">public</span> <span Class="keyword">void</span> endPrefixMapping(String prefix) <span Class="keyword">throws</span> SAXException {</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;85</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               <span Class="comment">// no-op</span></pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;86<a name="src_86"></a></td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       }</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;87</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;88</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       @Override</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;89</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="keyword">public</span> <span Class="keyword">void</span> ignorableWhitespace(<span Class="keyword">char</span>[] ch, <span Class="keyword">int</span> start, <span Class="keyword">int</span> length)</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;90</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="keyword">throws</span> SAXException </pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;91</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       {</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;92</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               <span Class="comment">// no-op</span></pre></td>
- </tr>
- <tr>
- <td class="numLineUnCover">&nbsp;93<a name="src_93"></a></td>
- <td class="nbHitsUncovered">&nbsp;Block:&nbsp;0/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       }</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;94</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;95</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       @Override</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;96</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="keyword">public</span> <span Class="keyword">void</span> processingInstruction(String target, String data)</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;97</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="keyword">throws</span> SAXException </pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;98</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       {</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;99</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               <span Class="comment">// no-op</span></pre></td>
- </tr>
- <tr>
- <td class="numLineUnCover">&nbsp;100<a name="src_100"></a></td>
- <td class="nbHitsUncovered">&nbsp;Block:&nbsp;0/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       }</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;101</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;102</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       @Override</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;103</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="keyword">public</span> <span Class="keyword">void</span> setDocumentLocator(Locator locator) {</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;104</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               <span Class="comment">// no-op</span></pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;105<a name="src_105"></a></td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       }</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;106</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;107</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       @Override</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;108</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="keyword">public</span> <span Class="keyword">void</span> skippedEntity(String name) <span Class="keyword">throws</span> SAXException {</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;109</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               <span Class="comment">// no-op</span></pre></td>
- </tr>
- <tr>
- <td class="numLineUnCover">&nbsp;110<a name="src_110"></a></td>
- <td class="nbHitsUncovered">&nbsp;Block:&nbsp;0/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       }</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;111</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;112</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       @Override</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;113</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="keyword">public</span> <span Class="keyword">void</span> startDocument() <span Class="keyword">throws</span> SAXException {</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;114</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               <span Class="comment">// no-op</span></pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;115<a name="src_115"></a></td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       }</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;116</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;117</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       @Override</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;118</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="keyword">public</span> <span Class="keyword">void</span> startPrefixMapping(String prefix, String uri)</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;119</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="keyword">throws</span> SAXException </pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;120</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       {</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;121</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               <span Class="comment">// no-op</span></pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;122<a name="src_122"></a></td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       }</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;123</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;}</pre></td>
- </tr>
- </table>
-<p>
-<p><table cellpadding="0" cellspacing="0" class="report">  <tr class="report">    <td class="reportText"><span class="text">    Report generated 11/12/14 11:31 PM    </span></td>  </tr></table>
-</body>
-</html>
diff --git a/report/net/jaekl/qd/xml/ParseResult.html b/report/net/jaekl/qd/xml/ParseResult.html
deleted file mode 100644 (file)
index c96b93a..0000000
+++ /dev/null
@@ -1,978 +0,0 @@
-<html>
-<head>
-<title>tests coverage</title>
-<link rel ="stylesheet" type="text/css" href="../../../../style.css" title="Style">
-<script type="text/javascript" src="../../../../sorttable.js"></script>
-<script type="text/javascript">
-  targetPage = "" + window.location.search;
-  if (targetPage != "" && targetPage != "undefined")
-    targetPage = targetPage.substring(1);
-  if (targetPage.indexOf(":") != -1 || (targetPage != "" && !validURL(targetPage)))
-    targetPage = "undefined";
-  function validURL(url) {
-    var pos = url.indexOf(".html");
-    if (pos == -1 || pos != url.length - 5)
-      return false;
-    var allowNumber = false;
-    var allowSep = false;
-    var seenDot = false;
-    for (var i = 0; i < url.length - 5; i++) {
-      var ch = url.charAt(i);
-      if ('a' <= ch && ch <= 'z' ||
-          'A' <= ch && ch <= 'Z' ||
-          ch == '$' ||
-          ch == '_') {
-            allowNumber = true;
-            allowSep = true;
-      } else if ('0' <= ch && ch <= '9' ||
-                 ch == '-') {
-                   if (!allowNumber)
-                     return false;
-      } else if (ch == '/' || ch == '.') {
-        if (!allowSep)
-          return false;
-        allowNumber = false;
-        allowSep = false;
-        if (ch == '.')
-          seenDot = true;
-        if (ch == '/' && seenDot)
-          return false;
-      } else {
-        return false;
-      }
-    }
-    return true;
-  }
-  function loadFrames() {
-    if (targetPage != "" && targetPage != "undefined")
-      top.classFrame.location = top.targetPage;
-  }
-</script>
-</head>
-<body>
-<table>
-<tr>
-<td>
-<a href="../../../../index.html?net/jaekl/qd/xml/ParseResult.html" target="_top">Frames</a>
-<a href="ParseResult.html" target="_top">No Frames</a>
-</td>
-</tr>
-</table>
-<p>
- <table cellspacing="0" cellpadding="0"class="report">
- <tr class="report">
- <th class="report">&nbsp;</th>
- <th class="report">%method</th>
- <th class="report">%block</th>
- <th class="report">%branch</th>
- <th class="report">%line</th>
- </tr>
- <tr class="report">
- <td class="reportText"><span class="text">net.jaekl.qd.xml.ParseResult</span></td>
- <td class="reportValue"><table class="percentGraph" cellpadding="0" cellspacing="0" align="right"><tr><td><span class="text"><b>89</b>%(8/9)</span></td><td><table class="percentGraph" cellpadding="0" cellspacing="0"><tr><td class="percentCovered" width="  89"></td><td class="percentUnCovered" width="11.0"></td></tr></table></td></tr></table></td>
- <td class="reportValue"><table class="percentGraph" cellpadding="0" cellspacing="0" align="right"><tr><td><span class="text"><b>81</b>%(38/47)</span></td><td><table class="percentGraph" cellpadding="0" cellspacing="0"><tr><td class="percentCovered" width="  81"></td><td class="percentUnCovered" width="19.0"></td></tr></table></td></tr></table></td>
- <td class="reportValue"><table class="percentGraph" cellpadding="0" cellspacing="0" align="right"><tr><td><span class="text"><b>74</b>%(25/34)</span></td><td><table class="percentGraph" cellpadding="0" cellspacing="0"><tr><td class="percentCovered" width="  74"></td><td class="percentUnCovered" width="26.0"></td></tr></table></td></tr></table></td>
- <td class="reportValue"><table class="percentGraph" cellpadding="0" cellspacing="0" align="right"><tr><td><span class="text"><b>91</b>%(60/66)</span></td><td><table class="percentGraph" cellpadding="0" cellspacing="0"><tr><td class="percentCovered" width="  91"></td><td class="percentUnCovered" width="9.0"></td></tr></table></td></tr></table></td>
- </tr>
- </table>
- <p>
- <p>
- <table cellspacing="0" cellpadding="0"class="report" id="mcoverage">
- <tr class="report">
- <th class="report">hit count</th>
- <th class="report">method  name</th>
- <th class="report">method modifiers</th>
- <th class="report">method signature</th>
- </tr>
- <tr class="report">
- <td class="reportValue_covered"><span class="text">1</span></td>
- <td class="reportText"><span class="text"><a href="#src_19">&lt;clinit&gt;</a></span></td>
- <td class="reportText"><span class="text">[static]</span></td>
- <td class="reportText"><span class="text">void &lt;clinit&gt;()</span></td>
- </tr>
- <tr class="report">
- <td class="reportValue_covered"><span class="text">45</span></td>
- <td class="reportText"><span class="text"><a href="#src_32">&lt;init&gt;</a></span></td>
- <td class="reportText"><span class="text">[public]</span></td>
- <td class="reportText"><span class="text">void &lt;init&gt;(java.lang.String,java.lang.String[],java.lang.Object[][])</span></td>
- </tr>
- <tr class="report">
- <td class="reportValue_covered"><span class="text">195</span></td>
- <td class="reportText"><span class="text"><a href="#src_61">characters</a></span></td>
- <td class="reportText"><span class="text">[public]</span></td>
- <td class="reportText"><span class="text">void characters(char[],int,int)</span></td>
- </tr>
- <tr class="report">
- <td class="reportValue_covered"><span class="text">20</span></td>
- <td class="reportText"><span class="text"><a href="#src_65">collectParsedChildren</a></span></td>
- <td class="reportText"><span class="text">[protected]</span></td>
- <td class="reportText"><span class="text">net.jaekl.qd.xml.ParseResult[] collectParsedChildren(java.lang.Class)</span></td>
- </tr>
- <tr class="report">
- <td class="reportValue_covered"><span class="text">216</span></td>
- <td class="reportText"><span class="text"><a href="#src_82">endElement</a></span></td>
- <td class="reportText"><span class="text">[public]</span></td>
- <td class="reportText"><span class="text">boolean endElement(java.lang.String,java.lang.String,java.lang.String)</span></td>
- </tr>
- <tr class="report">
- <td class="reportValue_covered"><span class="text">1</span></td>
- <td class="reportText"><span class="text"><a href="#src_56">getTagName</a></span></td>
- <td class="reportText"><span class="text">[public]</span></td>
- <td class="reportText"><span class="text">java.lang.String getTagName()</span></td>
- </tr>
- <tr class="report">
- <td class="reportValue_uncovered"><span class="text">0</span></td>
- <td class="reportText"><span class="text"><a href="#src_57">haveSeenMyTag</a></span></td>
- <td class="reportText"><span class="text">[public]</span></td>
- <td class="reportText"><span class="text">boolean haveSeenMyTag()</span></td>
- </tr>
- <tr class="report">
- <td class="reportValue_covered"><span class="text">255</span></td>
- <td class="reportText"><span class="text"><a href="#src_116">startElement</a></span></td>
- <td class="reportText"><span class="text">[public]</span></td>
- <td class="reportText"><span class="text">net.jaekl.qd.xml.ParseResult startElement(java.lang.String,java.lang.String,java.lang.String,org.xml.sax.Attributes)</span></td>
- </tr>
- <tr class="report">
- <td class="reportValue_covered"><span class="text">31</span></td>
- <td class="reportText"><span class="text"><a href="#src_164">validate</a></span></td>
- <td class="reportText"><span class="text">[public]</span></td>
- <td class="reportText"><span class="text">void validate()</span></td>
- </tr>
- </table>
- <p>
- <table cellspacing="0" cellpadding="0" class="src">
- <tr>
- <td class="numLine">&nbsp;1</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;<span Class="comment">// Copyright (C) 2004, 2014 Christian Jaekl</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;2</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;3</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;<span Class="comment">// Abstract class representing the result of parsing an XML Element.</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;4</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;<span Class="comment">// A class derived from this one will know how to parse a subtree inside an XML file, and </span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;5</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;<span Class="comment">// will contain the result of that parse within itself when the parse has completed.</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;6</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;<span Class="comment">//</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;7</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;<span Class="comment">// Note that this code will need to be augmented and fixed if XML namespace support is desired.</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;8</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;9</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;<span Class="keyword">package</span> net.jaekl.qd.xml;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;10</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;11</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;<span Class="keyword">import</span> java.util.ArrayList;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;12</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;<span Class="keyword">import</span> java.util.HashMap;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;13</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;<span Class="keyword">import</span> java.util.HashSet;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;14</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;<span Class="keyword">import</span> java.util.Iterator;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;15</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;<span Class="keyword">import</span> java.util.Stack;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;16</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;17</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;<span Class="keyword">import</span> org.xml.sax.Attributes;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;18</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;19<a name="src_19"></a></td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;<span Class="keyword">public</span> <span Class="keyword">abstract</span> <span Class="keyword">class</span> ParseResult</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;20</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;{</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;21</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       Stack&#60;String&#62; m_current;                                                                        <span Class="comment">// Name of the element that we're currently inside</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;22</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       StringBuilder m_chars;                                                                          <span Class="comment">// character content of m_current.peek()</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;23</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       ArrayList&#60;ParseResult&#62; m_childParsers;                                          <span Class="comment">// Set of all child parsers</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;24</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="keyword">boolean</span> m_haveSeenMyTag;                                                                   <span Class="comment">// Have I encountered my own (root) tag yet?</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;25</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;26</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       String m_tagName;                                                                                       <span Class="comment">// Name of the (root) element tag that I'm parsing</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;27</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       HashSet&#60;String&#62; m_internal;                                                                     <span Class="comment">// Tags that we will store as members of this class instance</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;28</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       HashMap&#60;String,Class&#60;? <span Class="keyword">extends</span> ParseResult&#62;&#62; m_external;   <span Class="comment">// Tags that we will store as child ParseResult-derived objects</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;29</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;30</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       @SuppressWarnings(<span Class="string">"unchecked"</span>)</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;31</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="keyword">public</span> ParseResult(String tagName, String[] internalMemberTags, Object[][] externalParserTags)</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;32<a name="src_32"></a></td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       {</span></pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;33</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               m_current = <span Class="keyword">new</span> Stack&#60;String&#62;();</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;34</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               m_chars = <span Class="keyword">new</span> StringBuilder();</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;35</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               m_childParsers = <span Class="keyword">new</span> ArrayList&#60;ParseResult&#62;();</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;36</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               m_haveSeenMyTag = <span Class="keyword">false</span>;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;37</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               </pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;38</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               m_tagName = tagName;</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;39</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               m_internal = <span Class="keyword">new</span> HashSet&#60;String&#62;();</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;40</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               m_external = <span Class="keyword">new</span> HashMap&#60;String, Class&#60;? <span Class="keyword">extends</span> ParseResult&#62;&#62;();</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;41</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;42</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               <span Class="keyword">for</span> (String internalTag : internalMemberTags) {</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;43</td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;Branch:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       m_internal.add(internalTag);</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;44</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               }</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;45</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;46</td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;Branch:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               <span Class="keyword">for</span> (<span Class="keyword">int</span> idx = 0; idx &#60; externalParserTags.length; ++idx) {</span></pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;47</td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;Branch:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       String externalTag = (String)externalParserTags[idx][0];</span></pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;48</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       Class&#60;? <span Class="keyword">extends</span> ParseResult&#62;  parserClass = (Class&#60;? <span Class="keyword">extends</span> ParseResult&#62;)externalParserTags[idx][1];</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;49</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       m_external.put(externalTag, parserClass);</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;50</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               }</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;51</td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;Branch:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       }</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;52</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;53</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="keyword">public</span> <span Class="keyword">abstract</span> <span Class="keyword">void</span> endContents(String uri, String localName, String qName, String chars) <span Class="keyword">throws</span> XmlParseException;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;54</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="keyword">public</span> <span Class="keyword">abstract</span> <span Class="keyword">void</span> endExternal(String uri, String localName, String qName) <span Class="keyword">throws</span> XmlParseException;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;55</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       </pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;56<a name="src_56"></a></td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="keyword">public</span> String getTagName() { <span Class="keyword">return</span> m_tagName; }</span></pre></td>
- </tr>
- <tr>
- <td class="numLineUnCover">&nbsp;57<a name="src_57"></a></td>
- <td class="nbHitsUncovered">&nbsp;Block:&nbsp;0/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="keyword">public</span> <span Class="keyword">boolean</span> haveSeenMyTag() { <span Class="keyword">return</span> m_haveSeenMyTag; }</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;58</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;59</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="keyword">public</span> <span Class="keyword">void</span> characters(<span Class="keyword">char</span>[] ch, <span Class="keyword">int</span> start, <span Class="keyword">int</span> length) <span Class="keyword">throws</span> XmlParseException</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;60</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       {</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;61<a name="src_61"></a></td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               m_chars.append(ch, start, length);</span></pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;62</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       }</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;63</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       </pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;64</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="keyword">protected</span> ParseResult[] collectParsedChildren(Class&#60;? <span Class="keyword">extends</span> ParseResult&#62; cls) {</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;65<a name="src_65"></a></td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               ArrayList&#60;ParseResult&#62; collection = <span Class="keyword">new</span> ArrayList&#60;ParseResult&#62;();</span></pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;66</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               Iterator&#60;ParseResult&#62; iter = m_childParsers.iterator();</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;67</td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               <span Class="keyword">while</span> (iter.hasNext()) {</span></pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;68</td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;Branch:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       ParseResult pr = iter.next();</span></pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;69</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       <span Class="keyword">if</span> (pr.getClass().isAssignableFrom(cls)) {</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;70</td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;Branch:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                               collection.add(pr);</span></pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;71</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                               iter.remove();</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;72</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       }</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;73</td>
- <td class="nbHitsUncovered">&nbsp;Block:&nbsp;1/1&nbsp;Branch:&nbsp;0/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               }</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;74</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               </pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;75</td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;Branch:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               ParseResult[] result = <span Class="keyword">new</span> ParseResult[collection.size()];</span></pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;76</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               <span Class="keyword">return</span> collection.toArray(result);</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;77</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       }</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;78</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;79</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="comment">// returns true if this ParseResult's context has ended with this endElement() call</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;80</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="keyword">public</span> <span Class="keyword">boolean</span> endElement(String uri, String localName, String qName) <span Class="keyword">throws</span> XmlParseException</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;81</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       {</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;82<a name="src_82"></a></td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               <span Class="keyword">assert</span> (<span Class="keyword">null</span> != localName);</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;83</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               </pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;84</td>
- <td class="nbHitsUncovered">&nbsp;Block:&nbsp;1/1&nbsp;Branch:&nbsp;1/2&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               <span Class="keyword">boolean</span> isInternal = m_internal.contains(localName);</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;85</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;86</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               <span Class="keyword">if</span> (! m_haveSeenMyTag) {</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;87</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       <span Class="comment">// We're in some unrecognised prologue.  Ignore it and move on.</span></pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;88</td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;Branch:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       <span Class="keyword">return</span> <span Class="keyword">false</span>;</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;89</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               }</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;90</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               </pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;91</td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;Branch:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               <span Class="keyword">if</span> (m_tagName.equals(localName)) {</span></pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;92</td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;Branch:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       validate();</span></pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;93</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       <span Class="keyword">return</span> <span Class="keyword">true</span>;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;94</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               }</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;95</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               </pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;96</td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;Branch:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               <span Class="keyword">if</span> (!isInternal) {</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;97</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       <span Class="comment">// Unrecognized tag.  Ignore it.</span></pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;98</td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;Branch:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       <span Class="keyword">return</span> <span Class="keyword">false</span>;</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;99</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               }</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;100</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               </pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;101</td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;Branch:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               String tag = m_current.pop();</span></pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;102</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               <span Class="keyword">if</span> ( ! tag.equals(localName) ) {</pre></td>
- </tr>
- <tr>
- <td class="numLineUnCover">&nbsp;103</td>
- <td class="nbHitsUncovered">&nbsp;Block:&nbsp;0/1&nbsp;Branch:&nbsp;0/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       <span Class="keyword">throw</span> <span Class="keyword">new</span> MismatchedTagsException(tag, localName);</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;104</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               }</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;105</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               </pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;106</td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;Branch:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               String chars = m_chars.toString();</span></pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;107</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               endContents(uri, localName, qName, chars);</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;108</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               </pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;109</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               <span Class="keyword">return</span> <span Class="keyword">false</span>;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;110</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       }</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;111</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       </pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;112</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="comment">// returns either itself, or a new ParseResult-derived object, whichever should handle parsing the inside of this element</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;113</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="keyword">public</span> ParseResult startElement(String uri, String localName, String qName, Attributes attributes) </pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;114</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       <span Class="keyword">throws</span> XmlParseException</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;115</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       {</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;116<a name="src_116"></a></td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               <span Class="keyword">assert</span> (<span Class="keyword">null</span> != localName);</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;117</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;118</td>
- <td class="nbHitsUncovered">&nbsp;Block:&nbsp;1/1&nbsp;Branch:&nbsp;1/2&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               m_chars.setLength(0);</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;119</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               </pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;120</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               <span Class="keyword">if</span> (! m_haveSeenMyTag) {</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;121</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       <span Class="comment">// Have we opened our own (root) tag yet?</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;122</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       </pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;123</td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;Branch:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       <span Class="keyword">if</span> (m_tagName.equals(localName)) {</span></pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;124</td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;Branch:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                               m_haveSeenMyTag = <span Class="keyword">true</span>;</span></pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;125</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                               <span Class="keyword">return</span> <span Class="keyword">this</span>;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;126</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       }</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;127</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       <span Class="keyword">else</span> {</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;128</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                               <span Class="comment">// One of two things has happened here.</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;129</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                               <span Class="comment">// Either (a) we've got some sort of wrapper here, and have not yet reach our own tag, </span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;130</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                               <span Class="comment">//     or (b) we're parsing XML that doesn't match expectations.</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;131</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                               <span Class="comment">// In either case, we're going to ignore this tag, and scan forward looking for our own root.</span></pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;132</td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;Branch:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                               <span Class="keyword">return</span> <span Class="keyword">this</span>;</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;133</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       }</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;134</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               }</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;135</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;136</td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;Branch:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               <span Class="keyword">if</span> (m_internal.contains(localName)) {</span></pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;137</td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;Branch:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       m_current.push(localName);</span></pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;138</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       <span Class="keyword">return</span> <span Class="keyword">this</span>;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;139</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               }</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;140</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;141</td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;Branch:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               Class&#60;? <span Class="keyword">extends</span> ParseResult&#62; parserClass = m_external.get(localName);</span></pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;142</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               <span Class="keyword">if</span> (<span Class="keyword">null</span> != parserClass) {</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;143</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       <span Class="keyword">try</span> {</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;144</td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;Branch:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                               ParseResult childParser = (ParseResult) parserClass.newInstance();</span></pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;145</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                               m_childParsers.add(childParser);</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;146</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                               <span Class="keyword">return</span> childParser.startElement(uri, localName, qName, attributes);</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;147</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       }</pre></td>
- </tr>
- <tr>
- <td class="numLineUnCover">&nbsp;148</td>
- <td class="nbHitsUncovered">&nbsp;Block:&nbsp;0/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       <span Class="keyword">catch</span> (IllegalAccessException iae) {</span></pre></td>
- </tr>
- <tr>
- <td class="numLineUnCover">&nbsp;149</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                               <span Class="keyword">throw</span> <span Class="keyword">new</span> XmlParseException(iae);</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;150</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       }</pre></td>
- </tr>
- <tr>
- <td class="numLineUnCover">&nbsp;151</td>
- <td class="nbHitsUncovered">&nbsp;Block:&nbsp;0/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       <span Class="keyword">catch</span> (InstantiationException ie) {</span></pre></td>
- </tr>
- <tr>
- <td class="numLineUnCover">&nbsp;152</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                               <span Class="keyword">throw</span> <span Class="keyword">new</span> XmlParseException(ie);</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;153</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;                       }</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;154</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               }</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;155</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               </pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;156</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               <span Class="comment">// Not a recognized tag.  Ignore it, rather than complaining. </span></pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;157</td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;Branch:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               <span Class="keyword">return</span> <span Class="keyword">this</span>;</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;158</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       }</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;159</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       </pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;160</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="keyword">public</span> <span Class="keyword">void</span> validate() <span Class="keyword">throws</span> XmlParseException</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;161</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       {</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;162</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               <span Class="comment">// Default implementation is a no-op.</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;163</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               <span Class="comment">// Override if you want to validate on endElement()</span></pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;164<a name="src_164"></a></td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       }</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;165</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;}</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;166</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;</pre></td>
- </tr>
- </table>
-<p>
-<p><table cellpadding="0" cellspacing="0" class="report">  <tr class="report">    <td class="reportText"><span class="text">    Report generated 11/12/14 11:31 PM    </span></td>  </tr></table>
-</body>
-</html>
diff --git a/report/net/jaekl/qd/xml/XmlParseException.html b/report/net/jaekl/qd/xml/XmlParseException.html
deleted file mode 100644 (file)
index 94ba0aa..0000000
+++ /dev/null
@@ -1,191 +0,0 @@
-<html>
-<head>
-<title>tests coverage</title>
-<link rel ="stylesheet" type="text/css" href="../../../../style.css" title="Style">
-<script type="text/javascript" src="../../../../sorttable.js"></script>
-<script type="text/javascript">
-  targetPage = "" + window.location.search;
-  if (targetPage != "" && targetPage != "undefined")
-    targetPage = targetPage.substring(1);
-  if (targetPage.indexOf(":") != -1 || (targetPage != "" && !validURL(targetPage)))
-    targetPage = "undefined";
-  function validURL(url) {
-    var pos = url.indexOf(".html");
-    if (pos == -1 || pos != url.length - 5)
-      return false;
-    var allowNumber = false;
-    var allowSep = false;
-    var seenDot = false;
-    for (var i = 0; i < url.length - 5; i++) {
-      var ch = url.charAt(i);
-      if ('a' <= ch && ch <= 'z' ||
-          'A' <= ch && ch <= 'Z' ||
-          ch == '$' ||
-          ch == '_') {
-            allowNumber = true;
-            allowSep = true;
-      } else if ('0' <= ch && ch <= '9' ||
-                 ch == '-') {
-                   if (!allowNumber)
-                     return false;
-      } else if (ch == '/' || ch == '.') {
-        if (!allowSep)
-          return false;
-        allowNumber = false;
-        allowSep = false;
-        if (ch == '.')
-          seenDot = true;
-        if (ch == '/' && seenDot)
-          return false;
-      } else {
-        return false;
-      }
-    }
-    return true;
-  }
-  function loadFrames() {
-    if (targetPage != "" && targetPage != "undefined")
-      top.classFrame.location = top.targetPage;
-  }
-</script>
-</head>
-<body>
-<table>
-<tr>
-<td>
-<a href="../../../../index.html?net/jaekl/qd/xml/XmlParseException.html" target="_top">Frames</a>
-<a href="XmlParseException.html" target="_top">No Frames</a>
-</td>
-</tr>
-</table>
-<p>
- <table cellspacing="0" cellpadding="0"class="report">
- <tr class="report">
- <th class="report">&nbsp;</th>
- <th class="report">%method</th>
- <th class="report">%block</th>
- <th class="report">%branch</th>
- <th class="report">%line</th>
- </tr>
- <tr class="report">
- <td class="reportText"><span class="text">net.jaekl.qd.xml.XmlParseException</span></td>
- <td class="reportValue"><table class="percentGraph" cellpadding="0" cellspacing="0" align="right"><tr><td><span class="text"><b>50</b>%(1/2)</span></td><td><table class="percentGraph" cellpadding="0" cellspacing="0"><tr><td class="percentCovered" width="  50"></td><td class="percentUnCovered" width="50.0"></td></tr></table></td></tr></table></td>
- <td class="reportValue"><table class="percentGraph" cellpadding="0" cellspacing="0" align="right"><tr><td><span class="text"><b>50</b>%(1/2)</span></td><td><table class="percentGraph" cellpadding="0" cellspacing="0"><tr><td class="percentCovered" width="  50"></td><td class="percentUnCovered" width="50.0"></td></tr></table></td></tr></table></td>
- <td class="reportValue"><table class="percentGraph" cellpadding="0" cellspacing="0" align="right"><tr><td><span class="text"><b>-</b>%</span></td></tr></table></td>
- <td class="reportValue"><table class="percentGraph" cellpadding="0" cellspacing="0" align="right"><tr><td><span class="text"><b>50</b>%(2/4)</span></td><td><table class="percentGraph" cellpadding="0" cellspacing="0"><tr><td class="percentCovered" width="  50"></td><td class="percentUnCovered" width="50.0"></td></tr></table></td></tr></table></td>
- </tr>
- </table>
- <p>
- <p>
- <table cellspacing="0" cellpadding="0"class="report" id="mcoverage">
- <tr class="report">
- <th class="report">hit count</th>
- <th class="report">method  name</th>
- <th class="report">method modifiers</th>
- <th class="report">method signature</th>
- </tr>
- <tr class="report">
- <td class="reportValue_covered"><span class="text">3</span></td>
- <td class="reportText"><span class="text"><a href="#src_9">&lt;init&gt;</a></span></td>
- <td class="reportText"><span class="text">[public]</span></td>
- <td class="reportText"><span class="text">void &lt;init&gt;()</span></td>
- </tr>
- <tr class="report">
- <td class="reportValue_uncovered"><span class="text">0</span></td>
- <td class="reportText"><span class="text"><a href="#src_14">&lt;init&gt;</a></span></td>
- <td class="reportText"><span class="text">[public]</span></td>
- <td class="reportText"><span class="text">void &lt;init&gt;(java.lang.Throwable)</span></td>
- </tr>
- </table>
- <p>
- <table cellspacing="0" cellpadding="0" class="src">
- <tr>
- <td class="numLine">&nbsp;1</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;<span Class="keyword">package</span> net.jaekl.qd.xml;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;2</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;3</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;<span Class="keyword">import</span> net.jaekl.qd.QDException;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;4</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;5</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;<span Class="keyword">public</span> <span Class="keyword">class</span> XmlParseException <span Class="keyword">extends</span> QDException </pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;6</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;{</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;7</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="keyword">private</span> <span Class="keyword">static</span> <span Class="keyword">final</span> <span Class="keyword">long</span> serialVersionUID = 1L;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;8</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;</pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;9<a name="src_9"></a></td>
- <td class="nbHitsCovered">&nbsp;Block:&nbsp;1/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="keyword">public</span> XmlParseException() {</span></pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;10</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               <span Class="comment">// no-op</span></pre></td>
- </tr>
- <tr>
- <td class="numLineCover">&nbsp;11</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       }</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;12</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       </pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;13</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       <span Class="keyword">public</span> XmlParseException(Throwable t) {</pre></td>
- </tr>
- <tr>
- <td class="numLineUnCover">&nbsp;14<a name="src_14"></a></td>
- <td class="nbHitsUncovered">&nbsp;Block:&nbsp;0/1&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;               <span Class="keyword">super</span>(t);</span></pre></td>
- </tr>
- <tr>
- <td class="numLineUnCover">&nbsp;15</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;       }</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;16</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;</pre></td>
- </tr>
- <tr>
- <td class="numLine">&nbsp;17</td>
- <td class="nbHits">&nbsp;</td>
- <td class="src"><pre class="src">&nbsp;}</pre></td>
- </tr>
- </table>
-<p>
-<p><table cellpadding="0" cellspacing="0" class="report">  <tr class="report">    <td class="reportText"><span class="text">    Report generated 11/12/14 11:31 PM    </span></td>  </tr></table>
-</body>
-</html>
diff --git a/report/net/jaekl/qd/xml/package-frame.html b/report/net/jaekl/qd/xml/package-frame.html
deleted file mode 100644 (file)
index b2f92f2..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-<html>
-<head>
-<title>coverage report</title>
-<link rel ="stylesheet" type="text/css" href="../../../../style.css" title="Style">
-</head>
-<body>
-<a href="package-summary.html" target="classFrame">net.jaekl.qd.xml</a> <span class="text_italic">&nbsp;  74% (23/31)</span><br>
-<p>
-<span class="title">All classes</span>
-<table>
-<tr>
-<td nowrap="nowrap">
-<a href="./MismatchedTagsException.html" target="classFrame">MismatchedTagsException</a><span class="text_italic">&nbsp;   0% (0/3)</span><br>
-<a href="./MissingInfoException.html" target="classFrame">MissingInfoException</a><span class="text_italic">&nbsp; 100% (5/5)</span><br>
-<a href="./ParseHandler.html" target="classFrame">ParseHandler</a><span class="text_italic">&nbsp;  75% (9/12)</span><br>
-<a href="./ParseResult.html" target="classFrame">ParseResult</a><span class="text_italic">&nbsp;  89% (8/9)</span><br>
-<a href="./XmlParseException.html" target="classFrame">XmlParseException</a><span class="text_italic">&nbsp;  50% (1/2)</span><br>
-</td>
-</tr>
-</table>
-</body>
-</html>
diff --git a/report/net/jaekl/qd/xml/package-summary.html b/report/net/jaekl/qd/xml/package-summary.html
deleted file mode 100644 (file)
index 492a571..0000000
+++ /dev/null
@@ -1,76 +0,0 @@
-<html>
-<head>
-<title>coverage report</title>
-<link rel ="stylesheet" type="text/css" href="../../../../style.css" title="Style">
-<script type="text/javascript" src="../../../../sorttable.js"></script>
-</head>
-<body>
-<span class="title">Coverage report </span>
-<p>
-<table class="report" cellpadding="0" cellspacing="0">
-<tr class="report">
-<th class="report">&nbsp;</th>
-<th class="report">#classes</th>
-<th class="report">%method</th>
-<th class="report">%block</th>
-<th class="report">%branch</th>
-<th class="report">%line</th>
-</tr>
-<tr class="report">
-<td class="reportText">net.jaekl.qd.xml</td>
-<td class="reportValue">5</td>
-<td class="reportValue"><table class="percentGraph" cellpadding="0" cellspacing="0" align="right"><tr><td><span class="text"><b>74</b>%(23/31)</span></td><td><table class="percentGraph" cellpadding="0" cellspacing="0"><tr><td class="percentCovered" width="  74"></td><td class="percentUnCovered" width="26.0"></td></tr></table></td></tr></table></td>
-<td class="reportValue"><table class="percentGraph" cellpadding="0" cellspacing="0" align="right"><tr><td><span class="text"><b>80</b>%(74/93)</span></td><td><table class="percentGraph" cellpadding="0" cellspacing="0"><tr><td class="percentCovered" width="  80"></td><td class="percentUnCovered" width="20.0"></td></tr></table></td></tr></table></td>
-<td class="reportValue"><table class="percentGraph" cellpadding="0" cellspacing="0" align="right"><tr><td><span class="text"><b>82</b>%(41/50)</span></td><td><table class="percentGraph" cellpadding="0" cellspacing="0"><tr><td class="percentCovered" width="  82"></td><td class="percentUnCovered" width="18.0"></td></tr></table></td></tr></table></td>
-<td class="reportValue"><table class="percentGraph" cellpadding="0" cellspacing="0" align="right"><tr><td><span class="text"><b>83</b>%(114/137)</span></td><td><table class="percentGraph" cellpadding="0" cellspacing="0"><tr><td class="percentCovered" width="  83"></td><td class="percentUnCovered" width="17.0"></td></tr></table></td></tr></table></td>
-</tr>
-</table>
-<p>
-<span class="title2">Classes</span><br>
-<table class="report" cellpadding="0" cellspacing="0" id="classes">
-<tr class="report">
-<th class="report">Name</th>
-<th class="report">%method</th>
-<th class="report">%block</th>
-<th class="report">%branch</th>
-<th class="report">%line</th>
-</tr>
-<tr class="report">
-<td class="reportText"><a href="MismatchedTagsException.html">MismatchedTagsException</a></td>
-<td class="reportValue"><b>   0</b>% (0/3)</td>
-<td class="reportValue"><b>   0</b>% (0/3)</td>
-<td class="reportValue"> -</td>
-<td class="reportValue"><b>   0</b>% (0/6)</td>
-</tr>
-<tr class="report">
-<td class="reportText"><a href="MissingInfoException.html">MissingInfoException</a></td>
-<td class="reportValue"><b> 100</b>% (5/5)</td>
-<td class="reportValue"><b> 100</b>% (11/11)</td>
-<td class="reportValue"><b> 100</b>% (4/4)</td>
-<td class="reportValue"><b> 100</b>% (19/19)</td>
-</tr>
-<tr class="report">
-<td class="reportText"><a href="ParseHandler.html">ParseHandler</a></td>
-<td class="reportValue"><b>  75</b>% (9/12)</td>
-<td class="reportValue"><b>  80</b>% (24/30)</td>
-<td class="reportValue"><b> 100</b>% (12/12)</td>
-<td class="reportValue"><b>  79</b>% (33/42)</td>
-</tr>
-<tr class="report">
-<td class="reportText"><a href="ParseResult.html">ParseResult</a></td>
-<td class="reportValue"><b>  89</b>% (8/9)</td>
-<td class="reportValue"><b>  81</b>% (38/47)</td>
-<td class="reportValue"><b>  74</b>% (25/34)</td>
-<td class="reportValue"><b>  91</b>% (60/66)</td>
-</tr>
-<tr class="report">
-<td class="reportText"><a href="XmlParseException.html">XmlParseException</a></td>
-<td class="reportValue"><b>  50</b>% (1/2)</td>
-<td class="reportValue"><b>  50</b>% (1/2)</td>
-<td class="reportValue"> -</td>
-<td class="reportValue"><b>  50</b>% (2/4)</td>
-</tr>
-</table>
-<p><table cellpadding="0" cellspacing="0" class="report">  <tr class="report">    <td class="reportText"><span class="text">    Report generated 11/12/14 11:31 PM    </span></td>  </tr></table>
-</body>
-</html>
diff --git a/report/overview-frame.html b/report/overview-frame.html
deleted file mode 100644 (file)
index 3c499f1..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
-<html>
-<head>
-<title>coverage report</title>
-<link rel ="stylesheet" type="text/css" href="style.css" title="Style">
-</head>
-<body>
-<span class="title">Coverage report</span><br>
-<table>
-<tr>
-<td nowrap="nowrap">
-<a href="overview-summary.html" target="classFrame">Overview</a><br>
-<a href="allclasses-frame.html" target="packageFrame">All classes</a>
-</td>
-</tr>
-</table>
-<p>
-<table>
-<tr>
-<td nowrap="nowrap"><span class="title2">All packages</span></td>
-</tr>
-<tr>
-<td nowrap="nowrap">
-<a href="net/jaekl/frank/package-frame.html" target="packageFrame" onClick="parent.frames[2].location.href='net/jaekl/frank/package-summary.html';">net.jaekl.frank</a><br>
-<a href="net/jaekl/frank/octranspo/package-frame.html" target="packageFrame" onClick="parent.frames[2].location.href='net/jaekl/frank/octranspo/package-summary.html';">net.jaekl.frank.octranspo</a><br>
-<a href="net/jaekl/qd/package-frame.html" target="packageFrame" onClick="parent.frames[2].location.href='net/jaekl/qd/package-summary.html';">net.jaekl.qd</a><br>
-<a href="net/jaekl/qd/http/package-frame.html" target="packageFrame" onClick="parent.frames[2].location.href='net/jaekl/qd/http/package-summary.html';">net.jaekl.qd.http</a><br>
-<a href="net/jaekl/qd/util/package-frame.html" target="packageFrame" onClick="parent.frames[2].location.href='net/jaekl/qd/util/package-summary.html';">net.jaekl.qd.util</a><br>
-<a href="net/jaekl/qd/xml/package-frame.html" target="packageFrame" onClick="parent.frames[2].location.href='net/jaekl/qd/xml/package-summary.html';">net.jaekl.qd.xml</a><br>
-</td>
-</tr>
-</table>
-</body>
-</html>
diff --git a/report/overview-summary.html b/report/overview-summary.html
deleted file mode 100644 (file)
index b3792ff..0000000
+++ /dev/null
@@ -1,90 +0,0 @@
-<html>
-<head>
-<title>coverage report</title>
-<link rel ="stylesheet" type="text/css" href="style.css" title="Style">
-<script type="text/javascript" src="sorttable.js"></script>
-</head>
-<body>
-<span class="title">Coverage report </span>
-<p>
-<table class="report" cellpadding="0" cellspacing="0">
-<tr class="report">
-<th class="report">&nbsp;</th>
-<th class="report">#classes</th>
-<th class="report">%method</th>
-<th class="report">%block</th>
-<th class="report">%branch</th>
-<th class="report">%line</th>
-</tr>
-<tr class="report">
-<td class="reportText">Overall statistics</td>
-<td class="reportValue">21</td>
-<td class="reportValue"><table class="percentGraph" cellpadding="0" cellspacing="0" align="right"><tr><td><span class="text"><b>86</b>%(95/111)</span></td><td><table class="percentGraph" cellpadding="0" cellspacing="0"><tr><td class="percentCovered" width="  86"></td><td class="percentUnCovered" width="14.0"></td></tr></table></td></tr></table></td>
-<td class="reportValue"><table class="percentGraph" cellpadding="0" cellspacing="0" align="right"><tr><td><span class="text"><b>77</b>%(253/329)</span></td><td><table class="percentGraph" cellpadding="0" cellspacing="0"><tr><td class="percentCovered" width="  77"></td><td class="percentUnCovered" width="23.0"></td></tr></table></td></tr></table></td>
-<td class="reportValue"><table class="percentGraph" cellpadding="0" cellspacing="0" align="right"><tr><td><span class="text"><b>72</b>%(127/176)</span></td><td><table class="percentGraph" cellpadding="0" cellspacing="0"><tr><td class="percentCovered" width="  72"></td><td class="percentUnCovered" width="28.0"></td></tr></table></td></tr></table></td>
-<td class="reportValue"><table class="percentGraph" cellpadding="0" cellspacing="0" align="right"><tr><td><span class="text"><b>82</b>%(443/539)</span></td><td><table class="percentGraph" cellpadding="0" cellspacing="0"><tr><td class="percentCovered" width="  82"></td><td class="percentUnCovered" width="18.0"></td></tr></table></td></tr></table></td>
-</tr>
-</table>
-<p>
-<span class="title2">Packages</span><br>
-<table class="report" cellpadding="0" cellspacing="0" id="packages">
-<tr class="report">
-<th class="report">Name</th>
-<th class="report">#classes</th>
-<th class="report">%method</th>
-<th class="report">%block</th>
-<th class="report">%branch</th>
-<th class="report">%line</th>
-</tr>
-<tr class="report">
-<td class="reportText"><a href="net/jaekl/frank/package-summary.html">net.jaekl.frank</a></td>
-<td class="reportValue">4</td>
-<td class="reportValue"><b>  83</b>% (15/18)</td>
-<td class="reportValue"><b>  64</b>% (38/59)</td>
-<td class="reportValue"><b>  57</b>% (16/28)</td>
-<td class="reportValue"><b>  77</b>% (114/148)</td>
-</tr>
-<tr class="report">
-<td class="reportText"><a href="net/jaekl/frank/octranspo/package-summary.html">net.jaekl.frank.octranspo</a></td>
-<td class="reportValue">6</td>
-<td class="reportValue"><b>  98</b>% (43/44)</td>
-<td class="reportValue"><b>  84</b>% (97/115)</td>
-<td class="reportValue"><b>  70</b>% (49/70)</td>
-<td class="reportValue"><b>  94</b>% (150/159)</td>
-</tr>
-<tr class="report">
-<td class="reportText"><a href="net/jaekl/qd/package-summary.html">net.jaekl.qd</a></td>
-<td class="reportValue">2</td>
-<td class="reportValue"><b> 100</b>% (5/5)</td>
-<td class="reportValue"><b>  90</b>% (9/10)</td>
-<td class="reportValue"><b>  75</b>% (3/4)</td>
-<td class="reportValue"><b> 100</b>% (15/15)</td>
-</tr>
-<tr class="report">
-<td class="reportText"><a href="net/jaekl/qd/http/package-summary.html">net.jaekl.qd.http</a></td>
-<td class="reportValue">1</td>
-<td class="reportValue"><b>  83</b>% (5/6)</td>
-<td class="reportValue"><b>  50</b>% (14/28)</td>
-<td class="reportValue"><b>  40</b>% (4/10)</td>
-<td class="reportValue"><b>  53</b>% (31/58)</td>
-</tr>
-<tr class="report">
-<td class="reportText"><a href="net/jaekl/qd/util/package-summary.html">net.jaekl.qd.util</a></td>
-<td class="reportValue">3</td>
-<td class="reportValue"><b>  57</b>% (4/7)</td>
-<td class="reportValue"><b>  88</b>% (21/24)</td>
-<td class="reportValue"><b> 100</b>% (14/14)</td>
-<td class="reportValue"><b>  86</b>% (19/22)</td>
-</tr>
-<tr class="report">
-<td class="reportText"><a href="net/jaekl/qd/xml/package-summary.html">net.jaekl.qd.xml</a></td>
-<td class="reportValue">5</td>
-<td class="reportValue"><b>  74</b>% (23/31)</td>
-<td class="reportValue"><b>  80</b>% (74/93)</td>
-<td class="reportValue"><b>  82</b>% (41/50)</td>
-<td class="reportValue"><b>  83</b>% (114/137)</td>
-</tr>
-</table>
-<p><table cellpadding="0" cellspacing="0" class="report">  <tr class="report">    <td class="reportText"><span class="text">    Report generated 11/12/14 11:31 PM    </span></td>  </tr></table>
-</body>
-</html>
diff --git a/report/sorttable.js b/report/sorttable.js
deleted file mode 100644 (file)
index 6d2bf5f..0000000
+++ /dev/null
@@ -1,231 +0,0 @@
-/*
- * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * This code is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License version 2 only, as
- * published by the Free Software Foundation.  Oracle designates this
- * particular file as subject to the "Classpath" exception as provided
- * by Oracle in the LICENSE file that accompanied this code.
- *
- * This code is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
- * version 2 for more details (a copy is included in the LICENSE file that
- * accompanied this code).
- *
- * You should have received a copy of the GNU General Public License version
- * 2 along with this work; if not, write to the Free Software Foundation,
- * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
- *
- * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
- * or visit www.oracle.com if you need additional information or have any
- * questions.
- */
-addEvent(window, "load", sortables_init);
-
-var SORT_COLUMN_INDEX;
-
-function sortables_init() {
-    // Find all tables with class sortable and make them sortable
-    if (!document.getElementsByTagName) return;
-    tbls = document.getElementsByTagName("table");
-    for (ti=0;ti<tbls.length;ti++) {
-        thisTbl = tbls[ti];
-        if (((' '+thisTbl.className+' ').indexOf("report") != -1) && (thisTbl.id)) {
-            //initTable(thisTbl.id);
-            ts_makeSortable(thisTbl);
-        }
-    }
-}
-
-function ts_makeSortable(table) {
-    if (table.rows && table.rows.length > 0) {
-        var firstRow = table.rows[0];
-    }
-    if (!firstRow) return;
-    
-    // We have a first row: assume it's the header, and make its contents clickable links
-    for (var i=0;i<firstRow.cells.length;i++) {
-        var cell = firstRow.cells[i];
-        var txt = ts_getInnerText(cell);
-        cell.innerHTML = '<a href="#" class="sortheader" '+ 
-        'onclick="ts_resortTable(this, '+i+');return false;">' + 
-        txt+'<span class="sortarrow">&nbsp;&nbsp;&nbsp;</span></a>';
-    }
-}
-
-function ts_getInnerText(el) {
-       if (typeof el == "string") return el;
-       if (typeof el == "undefined") { return el };
-       if (el.innerText) return el.innerText;  //Not needed but it is faster
-       var str = "";
-       
-       var cs = el.childNodes;
-       var l = cs.length;
-       for (var i = 0; i < l; i++) {
-               switch (cs[i].nodeType) {
-                       case 1: //ELEMENT_NODE
-                               str += ts_getInnerText(cs[i]);
-                               break;
-                       case 3: //TEXT_NODE
-                               str += cs[i].nodeValue;
-                               break;
-               }
-       }
-       return str;
-}
-
-function ts_resortTable(lnk,clid) {
-    // get the span
-    var span;
-    for (var ci=0;ci<lnk.childNodes.length;ci++) {
-        if (lnk.childNodes[ci].tagName && lnk.childNodes[ci].tagName.toLowerCase() == 'span') span = lnk.childNodes[ci];
-    }
-    var spantext = ts_getInnerText(span);
-    var td = lnk.parentNode;
-    var column = clid || td.cellIndex;
-    var table = getParent(td,'TABLE');
-    
-    // Work out a type for the column
-    if (table.rows.length <= 1) return;
-    var itm = ts_getInnerText(table.rows[1].cells[column]);
-    sortfn = ts_sort_caseinsensitive;
-    if (itm.match(/%/)) sortfn = ts_sort_percentage;
-    if (itm.match(/^\d\d[\/-]\d\d[\/-]\d\d\d\d$/)) sortfn = ts_sort_date;
-    if (itm.match(/^\d\d[\/-]\d\d[\/-]\d\d$/)) sortfn = ts_sort_date;
-    if (itm.match(/^[£$]/)) sortfn = ts_sort_currency;
-    if (itm.match(/^[\d\.]+$/)) sortfn = ts_sort_numeric;
-    SORT_COLUMN_INDEX = column;
-    var firstRow = new Array();
-    var newRows = new Array();
-    for (i=0;i<table.rows[0].length;i++) { firstRow[i] = table.rows[0][i]; }
-    for (j=1;j<table.rows.length;j++) { newRows[j-1] = table.rows[j]; }
-
-    newRows.sort(sortfn);
-
-    if (span.getAttribute("sortdir") == 'down') {
-        ARROW = '&nbsp;&nbsp;&uarr;';
-        newRows.reverse();
-        span.setAttribute('sortdir','up');
-    } else {
-        ARROW = '&nbsp;&nbsp;&darr;';
-        span.setAttribute('sortdir','down');
-    }
-    
-    // We appendChild rows that already exist to the tbody, so it moves them rather than creating new ones
-    // don't do sortbottom rows
-    for (i=0;i<newRows.length;i++) { if (!newRows[i].className || (newRows[i].className && (newRows[i].className.indexOf('sortbottom') == -1))) table.tBodies[0].appendChild(newRows[i]);}
-    // do sortbottom rows only
-    for (i=0;i<newRows.length;i++) { if (newRows[i].className && (newRows[i].className.indexOf('sortbottom') != -1)) table.tBodies[0].appendChild(newRows[i]);}
-    
-    // Delete any other arrows there may be showing
-    var allspans = document.getElementsByTagName("span");
-    for (var ci=0;ci<allspans.length;ci++) {
-        if (allspans[ci].className == 'sortarrow') {
-            if (getParent(allspans[ci],"table") == getParent(lnk,"table")) { // in the same table as us?
-                allspans[ci].innerHTML = '&nbsp;&nbsp;&nbsp;';
-            }
-        }
-    }
-        
-    span.innerHTML = ARROW;
-}
-
-function getParent(el, pTagName) {
-       if (el == null) return null;
-       else if (el.nodeType == 1 && el.tagName.toLowerCase() == pTagName.toLowerCase())        // Gecko bug, supposed to be uppercase
-               return el;
-       else
-               return getParent(el.parentNode, pTagName);
-}
-function ts_sort_date(a,b) {
-    // y2k notes: two digit years less than 50 are treated as 20XX, greater than 50 are treated as 19XX
-    aa = ts_getInnerText(a.cells[SORT_COLUMN_INDEX]);
-    bb = ts_getInnerText(b.cells[SORT_COLUMN_INDEX]);
-    if (aa.length == 10) {
-        dt1 = aa.substr(6,4)+aa.substr(3,2)+aa.substr(0,2);
-    } else {
-        yr = aa.substr(6,2);
-        if (parseInt(yr) < 50) { yr = '20'+yr; } else { yr = '19'+yr; }
-        dt1 = yr+aa.substr(3,2)+aa.substr(0,2);
-    }
-    if (bb.length == 10) {
-        dt2 = bb.substr(6,4)+bb.substr(3,2)+bb.substr(0,2);
-    } else {
-        yr = bb.substr(6,2);
-        if (parseInt(yr) < 50) { yr = '20'+yr; } else { yr = '19'+yr; }
-        dt2 = yr+bb.substr(3,2)+bb.substr(0,2);
-    }
-    if (dt1==dt2) return 0;
-    if (dt1<dt2) return -1;
-    return 1;
-}
-
-function ts_sort_currency(a,b) { 
-    aa = ts_getInnerText(a.cells[SORT_COLUMN_INDEX]).replace(/[^0-9.]/g,'');
-    bb = ts_getInnerText(b.cells[SORT_COLUMN_INDEX]).replace(/[^0-9.]/g,'');
-    return parseFloat(aa) - parseFloat(bb);
-}
-
-function ts_sort_numeric(a,b) { 
-    aa = parseFloat(ts_getInnerText(a.cells[SORT_COLUMN_INDEX]));
-    if (isNaN(aa)) aa = 0;
-    bb = parseFloat(ts_getInnerText(b.cells[SORT_COLUMN_INDEX])); 
-    if (isNaN(bb)) bb = 0;
-    return aa-bb;
-}
-
-function ts_sort_percentage(a,b) { 
-
-    var s = ts_getInnerText(a.cells[SORT_COLUMN_INDEX]);
-       var i = s.indexOf( "%" );
-    if (i != -1) {
-      s = s.substr( 0, i );
-    }
-    aa = parseFloat(s);
-    if (isNaN(aa)) aa = 0;
-   
-    var s = ts_getInnerText(b.cells[SORT_COLUMN_INDEX]);
-       var i = s.indexOf( "%" );
-    if (i != -1) {
-      s = s.substr( 0, i );
-    }
-    bb = parseFloat(s);
-    if (isNaN(bb)) bb = 0;
-
-    return bb-aa;
-}
-
-function ts_sort_caseinsensitive(a,b) {
-    aa = ts_getInnerText(a.cells[SORT_COLUMN_INDEX]).toLowerCase();
-    bb = ts_getInnerText(b.cells[SORT_COLUMN_INDEX]).toLowerCase();
-    if (aa==bb) return 0;
-    if (aa<bb) return -1;
-    return 1;
-}
-
-function ts_sort_default(a,b) {
-    aa = ts_getInnerText(a.cells[SORT_COLUMN_INDEX]);
-    bb = ts_getInnerText(b.cells[SORT_COLUMN_INDEX]);
-    if (aa==bb) return 0;
-    if (aa<bb) return -1;
-    return 1;
-}
-
-
-function addEvent(elm, evType, fn, useCapture)
-// addEvent and removeEvent
-// cross-browser event handling for IE5+,  NS6 and Mozilla
-// By Scott Andrew
-{
-  if (elm.addEventListener){
-    elm.addEventListener(evType, fn, useCapture);
-    return true;
-  } else if (elm.attachEvent){
-    var r = elm.attachEvent("on"+evType, fn);
-    return r;
-  } else {
-    alert("Handler could not be removed");
-  }
-} 
diff --git a/report/style.css b/report/style.css
deleted file mode 100644 (file)
index d5904cb..0000000
+++ /dev/null
@@ -1,213 +0,0 @@
-/*
- * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * This code is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License version 2 only, as
- * published by the Free Software Foundation.  Oracle designates this
- * particular file as subject to the "Classpath" exception as provided
- * by Oracle in the LICENSE file that accompanied this code.
- *
- * This code is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
- * version 2 for more details (a copy is included in the LICENSE file that
- * accompanied this code).
- *
- * You should have received a copy of the GNU General Public License version
- * 2 along with this work; if not, write to the Free Software Foundation,
- * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
- *
- * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
- * or visit www.oracle.com if you need additional information or have any
- * questions.
- */
-body {
-       font-family: verdana, arial, sans-serif
-       font-size: 12px;
-}
-
-a {
-       font-size: 12px;
-}
-
-table.src {
-       font-size: 12px;
-       border-left: #dcdcdc 1px solid;
-       border-right: #dcdcdc 1px solid;
-       border-bottom: #dcdcdc 1px solid;
-       border-top: #dcdcdc 1px solid;
-}
-
-table.report {
-       font-size: 12px !important;
-       border-collapse: collapse;
-       width: 100%;
-}
-
-tr.report {
-       border: #dcdcdc 1px solid;
-}
-
-table.percentGraph {
-       height: 10px;
-       width: 100px;
-}
-
-th.report {
-    background: #F0F0F0;
-       font-size: inherit !important;
-       font-weight: bold;
-       border: #dcdcdc 1px solid;
-       cursor:                 default;
-}
-
-
-th.report:hover {
-    background: #dcdcdc;
-}
-
-table.report a.sortheader {
-    color: black;
-    text-decoration: none;
-       display: block;
-}
-table.report span.sortarrow {
-    color: black;
-    text-decoration: none;
-}
-
-
-
-
-td.reportText {
-       font-size: inherit !important;
-       border: #dcdcdc 1px solid;
-}
-
-td.reportValue {
-       font-size: inherit !important;
-       border: #dcdcdc 1px solid;
-       text-align: right;
-}
-
-td.reportValue_covered {
-       font-size: inherit !important;
-       border: #dcdcdc 1px solid;
-       text-align: right;
-    background: #80ff80;
-}
-
-td.reportValue_uncovered {
-       font-size: inherit !important;
-       border: #dcdcdc 1px solid;
-       text-align: right;
-    background: #FF3030;
-}
-
-td.spacer {
-       border-left: #FF0000 0px none;
-       border-right: #FF0000 0px none;
-       height: 30px;
-       padding-top: 15px;
-}
-
-td.percentCovered {
-    background: #00FF00;
-       empty-cells: show;
-}
-
-td.percentUnCovered {
-    background: #FF0000;
-       empty-cells: show;
-}
-
-td.numLine {
-    background: #F0F0F0;
-    border-right: #dcdcdc 1px solid;
-    padding-right: 3px;
-    text-align: right;
-}
-
-td.numLineCover {
-    background: #80ff80;
-    border-right: #dcdcdc 1px solid;
-    padding-right: 3px;
-    text-align: right;
-}
-
-td.numLineUnCover {
-    background: #FF3030;
-    border-right: #dcdcdc 1px solid;
-    padding-right: 3px;
-    text-align: right;
-}
-
-td.nbHits {
-    background: #F0F0F0;
-    border-right: #dcdcdc 1px solid;
-    padding-right: 3px;
-    text-align: left;
-}
-
-td.nbHitsCovered {
-    background: #80ff80;
-    border-right: #dcdcdc 1px solid;
-    padding-right: 3px;
-    text-align: left;
-}
-
-td.nbHitsUncovered {
-    background: #FF3030;
-    border-right: #dcdcdc 1px solid;
-    padding-right: 3px;
-    text-align: left;
-}
-
-td.src {
-    width: 100%;
-}
-
-pre.src {
-    background: #ffffff;
-    margin-top: 0px;
-    margin-bottom: 0px;
-}
-
-span.srcUncovered {
-    background: #FF3030;
-    border-right: #dcdcdc 1px solid;
-    padding-right: 3px;
-    text-align: right;
-}
-
-span.keyword {
-    color: #0000ff;
-}
-
-span.comment {
-    color: #008080;
-    font-style: italic;
-}
-
-span.string {
-    color: #000000;
-}
-
-span.title {
-    font-weight: bold;
-    font-size: 16px;
-}
-
-span.title2 {
-    font-weight: bold;
-    font-size: 14px;
-}
-span.text {
-       font-size: 12px;
-}
-
-span.text_italic {
-       font-size: 12px;
-    font-style: italic;
-}