/[jscoverage]/trunk/doc/manual.html
ViewVC logotype

Diff of /trunk/doc/manual.html

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 37 by siliconforks, Tue Aug 21 19:11:19 2007 UTC revision 41 by siliconforks, Wed Aug 22 18:46:11 2007 UTC
# Line 36  Line 36 
36  </p>  </p>
37    
38  <pre>  <pre>
39  tar jxvf jscoverage-0.1.tar.bz2  tar jxvf jscoverage-0.3.tar.bz2
40  cd jscoverage-0.1  cd jscoverage-0.3/
41  ./configure  ./configure
42  make  make
43  </pre>  </pre>
# Line 222  Line 222 
222  <img src="screenshot4.png" alt="Screenshot">  <img src="screenshot4.png" alt="Screenshot">
223    
224  <p>  <p>
225  From the "Summary" tab, you can click the links to get a detailed view of a JavaScript source file.  You can click the checkbox to show a list of statements missed during execution.
226  </p>  </p>
227    
228  <img src="screenshot5.png" alt="Screenshot">  <img src="screenshot5.png" alt="Screenshot">
229    
230    <p>
231    You can click one of the links to get a detailed view of a JavaScript source file.
232    </p>
233    
234    <img src="screenshot6.png" alt="Screenshot">
235    
236  <h2>Inverted mode</h2>  <h2>Inverted mode</h2>
237    
238  <p>  <p>
239  In some circumstances it may be difficult to execute your code within the  In some situations it may be difficult to execute your code within the
240  JSCoverage "Browser" tab. For example, the code may assume that it is running in  JSCoverage "Browser" tab. For example, the code may assume that it is running in
241  the top-level browser window, generating errors if it is executed from within a  the top-level browser window, generating errors if it is executed from within a
242  frame. JSCoverage has an alternative mode of operation, called <dfn>inverted  frame. JSCoverage has an alternative mode of operation, called <dfn>inverted
243  mode</dfn>, which may be useful in this situation.  mode</dfn>, which may be useful in this case.
244  </p>  </p>
245    
246  <p>  <p>
# Line 304  Line 310 
310  </pre>  </pre>
311  copies <var>SOURCE-DIRECTORY</var> to <var>DESTINATION-DIRECTORY</var>  copies <var>SOURCE-DIRECTORY</var> to <var>DESTINATION-DIRECTORY</var>
312  recursively, but does not copy <var>SOURCE-DIRECTORY</var>/<var>PATH</var>.  recursively, but does not copy <var>SOURCE-DIRECTORY</var>/<var>PATH</var>.
313  <var>PATH</var> must be a complete path relative to <var>SOURCE-DIRECTORY</var>  <var>PATH</var> must be a complete path relative to <var>SOURCE-DIRECTORY</var>.
314  <var>PATH</var> can be a file or a directory (in which case the directory and  <var>PATH</var> can be a file or a directory (in which case the directory and
315  its entire contents are skipped). This option may be given multiple times.  its entire contents are skipped). This option may be given multiple times.
316  <dt><code>--no-instrument=<var>PATH</var></code>  <dt><code>--no-instrument=<var>PATH</var></code>
317  <dd>The command  <dd>The command
318  <pre>  <pre>
319  jscoverage --exclude=<var>PATH</var> <var>SOURCE-DIRECTORY</var> <var>DESTINATION-DIRECTORY</var>  jscoverage --no-instrument=<var>PATH</var> <var>SOURCE-DIRECTORY</var> <var>DESTINATION-DIRECTORY</var>
320  </pre>  </pre>
321  copies <var>SOURCE-DIRECTORY</var> to <var>DESTINATION-DIRECTORY</var>  copies <var>SOURCE-DIRECTORY</var> to <var>DESTINATION-DIRECTORY</var>
322  recursively, but does not instrument any JavaScript code in  recursively, but does not instrument any JavaScript code in
# Line 341  Line 347 
347  <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>
348  (to display the "Missing" column), or  (to display the "Missing" column), or
349  <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>
350  (to hide the "Missing" column)  (to hide the "Missing" column).  By default, the "Missing" column is not displayed.
 (By default, the "Missing" column is not displayed.)  
351  </dl>  </dl>
352    
353  <h2>Caveats</h2>  <h2>Caveats</h2>

Legend:
Removed from v.37  
changed lines
  Added in v.41

  ViewVC Help
Powered by ViewVC 1.1.24