blob: df8a1606fc1c9b1145227aabc9fa04a7509c236a [file] [log] [blame]
Marc R. Hoffmann52a97c52010-05-06 10:52:19 +00001<?xml version="1.0" encoding="ISO-8859-1" ?>
2<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
4<head>
5 <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
6 <link rel="stylesheet" href=".resources/doc.css" charset="ISO-8859-1" type="text/css" />
Marc R. Hoffmannd7d2f752010-05-06 21:12:31 +00007 <link rel="shortcut icon" href=".resources/report.gif" type="image/gif" />
Marc R. Hoffmann52a97c52010-05-06 10:52:19 +00008 <title>JaCoCo - API Usage Examples</title>
9</head>
Marc R. Hoffmannd7d2f752010-05-06 21:12:31 +000010<body>
Marc R. Hoffmann52a97c52010-05-06 10:52:19 +000011
12<div class="breadcrumb">
Marc R. Hoffmannd7d2f752010-05-06 21:12:31 +000013 <a href="../index.html" class="el_report">JaCoCo</a> &gt;
Marc R. Hoffmann52a97c52010-05-06 10:52:19 +000014 <a href="index.html" class="el_group">Documentation</a> &gt;
15 <span class="el_source">API Usage Examples</span>
16</div>
17<div id="content">
18
19<h1>API Usage Examples</h1>
20
21<p>
22 To get familiar with the API these examples demonstrate different aspects of
23 the JaCoCo API. Each example can be separately compiled and executed as a Java
24 main program. Some examples require additional command line arguments.
25</p>
26
27<table class="coverage">
28 <thead>
29 <tr>
30 <td>File</td>
31 <td>Description</td>
32 </tr>
33 </thead>
34 <tbody>
35 <tr>
36 <td><a href="examples/CoreTutorial.java">CoreTutorial.java</a></td>
37 <td>This tutorial-like example instruments, executes and analyzes a single
38 target class. Finally line coverage information is printed to the
39 console.
40 </td>
41 </tr>
42 <tr>
43 <td><a href="examples/ClassInfo.java">ClassInfo.java</a></td>
44 <td>This example writes JaCoCo specific information for given Java class
45 files.
46 </td>
47 </tr>
48 <tr>
49 <td><a href="examples/ExecDump.java">ExecDump.java</a></td>
50 <td>Utility to dump the content of execution data files in readable form.
51 </td>
52 </tr>
53 </tbody>
54</table>
55
56
Marc R. Hoffmann52a97c52010-05-06 10:52:19 +000057</div>
58<div class="footer">
Marc R. Hoffmannb623ffb2010-05-06 19:48:08 +000059 <span class="right"><a href="@jacoco.home.url@">JaCoCo</a> @qualified.bundle.version@</span>
Marc R. Hoffmann52a97c52010-05-06 10:52:19 +000060 <a href="license.html">Copyright</a> &copy; @copyright.years@ Mountainminds GmbH &amp; Co. KG and Contributors
61</div>
62
63</body>
64</html>