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 || (target