36 |
</p> |
</p> |
37 |
|
|
38 |
<pre> |
<pre> |
39 |
tar jxvf jscoverage-0.3.tar.bz2 |
tar jxvf jscoverage-0.3.1.tar.bz2 |
40 |
cd jscoverage-0.3/ |
cd jscoverage-0.3.1/ |
41 |
./configure |
./configure |
42 |
make |
make |
43 |
</pre> |
</pre> |
141 |
entering its URL into the "URL" input field. For example, to load |
entering its URL into the "URL" input field. For example, to load |
142 |
the file <code><var>DESTINATION-DIRECTORY</var>/dir/index.html</code>, you can |
the file <code><var>DESTINATION-DIRECTORY</var>/dir/index.html</code>, you can |
143 |
enter the relative URL <code>dir/index.html</code> into the input field. |
enter the relative URL <code>dir/index.html</code> into the input field. |
144 |
|
You can load any page located in <code><var>DESTINATION-DIRECTORY</var>/</code> |
145 |
|
or a subdirectory underneath <code><var>DESTINATION-DIRECTORY</var>/</code>; loading a page |
146 |
|
from outside <code><var>DESTINATION-DIRECTORY</var>/</code>, or from a foreign web |
147 |
|
server, will give unexpected results. |
148 |
</p> |
</p> |
149 |
|
|
150 |
<h3>3. Generating the coverage report</h3> |
<h3>3. Generating the coverage report</h3> |
325 |
copies <var>SOURCE-DIRECTORY</var> to <var>DESTINATION-DIRECTORY</var> |
copies <var>SOURCE-DIRECTORY</var> to <var>DESTINATION-DIRECTORY</var> |
326 |
recursively, but does not instrument any JavaScript code in |
recursively, but does not instrument any JavaScript code in |
327 |
<var>SOURCE-DIRECTORY</var>/<var>PATH</var>. <var>PATH</var> must be a complete |
<var>SOURCE-DIRECTORY</var>/<var>PATH</var>. <var>PATH</var> must be a complete |
328 |
path relative to <var>SOURCE-DIRECTORY</var> <var>PATH</var> can be a |
path relative to <var>SOURCE-DIRECTORY</var>. <var>PATH</var> can be a |
329 |
(JavaScript) file or a directory (in which case any JavaScript files located |
(JavaScript) file or a directory (in which case any JavaScript files located |
330 |
anywhere underneath the directory are not instrumented). This option may be |
anywhere underneath the directory are not instrumented). This option may be |
331 |
given multiple times. |
given multiple times. |
348 |
<dt><code>m=<var>BOOLEAN</var></code>, <code>missing=<var>BOOLEAN</var></code> |
<dt><code>m=<var>BOOLEAN</var></code>, <code>missing=<var>BOOLEAN</var></code> |
349 |
<dd>Determines whether to initially display the "Missing" column in the "Summary" |
<dd>Determines whether to initially display the "Missing" column in the "Summary" |
350 |
tab. <var>BOOLEAN</var> can be |
tab. <var>BOOLEAN</var> can be |
351 |
<code>true</code>, <code>t</code>, <code>yes</code>, <code>y</code> <code>on</code>, <code>1</code> |
<code>true</code>, <code>t</code>, <code>yes</code>, <code>y</code>, <code>on</code>, <code>1</code> |
352 |
(to display the "Missing" column), or |
(to display the "Missing" column), or |
353 |
<code>false</code>, <code>f</code>, <code>no</code>, <code>n</code>, <code>off</code>, <code>0</code> |
<code>false</code>, <code>f</code>, <code>no</code>, <code>n</code>, <code>off</code>, <code>0</code> |
354 |
(to hide the "Missing" column). By default, the "Missing" column is not displayed. |
(to hide the "Missing" column). By default, the "Missing" column is not displayed. |