blob: 8693e85476036cca5eb239dd0966dedc117a5878 [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" />
7 <link rel="stylesheet" href="../coverage/.resources/prettify.css" charset="ISO-8859-1" type="text/css" />
8 <script type="text/javascript" src="../coverage/.resources/prettify.js"></script>
9 <title>JaCoCo - API Usage Examples</title>
10</head>
11<body onload="prettyPrint()">
12
13<div class="breadcrumb">
14 <a href="../index.html" class="el_session">JaCoCo</a> &gt;
15 <a href="index.html" class="el_group">Documentation</a> &gt;
16 <span class="el_source">API Usage Examples</span>
17</div>
18<div id="content">
19
20<h1>API Usage Examples</h1>
21
22<p>
23 To get familiar with the API these examples demonstrate different aspects of
24 the JaCoCo API. Each example can be separately compiled and executed as a Java
25 main program. Some examples require additional command line arguments.
26</p>
27
28<table class="coverage">
29 <thead>
30 <tr>
31 <td>File</td>
32 <td>Description</td>
33 </tr>
34 </thead>
35 <tbody>
36 <tr>
37 <td><a href="examples/CoreTutorial.java">CoreTutorial.java</a></td>
38 <td>This tutorial-like example instruments, executes and analyzes a single
39 target class. Finally line coverage information is printed to the
40 console.
41 </td>
42 </tr>
43 <tr>
44 <td><a href="examples/ClassInfo.java">ClassInfo.java</a></td>
45 <td>This example writes JaCoCo specific information for given Java class
46 files.
47 </td>
48 </tr>
49 <tr>
50 <td><a href="examples/ExecDump.java">ExecDump.java</a></td>
51 <td>Utility to dump the content of execution data files in readable form.
52 </td>
53 </tr>
54 </tbody>
55</table>
56
57
Marc R. Hoffmann52a97c52010-05-06 10:52:19 +000058</div>
59<div class="footer">
Marc R. Hoffmannb623ffb2010-05-06 19:48:08 +000060 <span class="right"><a href="@jacoco.home.url@">JaCoCo</a> @qualified.bundle.version@</span>
Marc R. Hoffmann52a97c52010-05-06 10:52:19 +000061 <a href="license.html">Copyright</a> &copy; @copyright.years@ Mountainminds GmbH &amp; Co. KG and Contributors
62</div>
63
64</body>
65</html>