1
<!doctype refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [
3
<!-- Process this file with docbook-to-man to generate an nroff manual
4
page: `docbook-to-man manpage.sgml > manpage.1'. You may view
5
the manual page with: `docbook-to-man manpage.sgml | nroff -man |
6
less'. A typical entry in a Makefile or Makefile.am is:
8
manpage.1: manpage.sgml
12
The docbook-to-man binary is found in the docbook-to-man package.
13
Please remember that if you create the nroff version in one of the
14
debian/rules file targets (such as build), you will need to include
15
docbook-to-man in your Build-Depends control field.
19
<!-- Fill in your name for FIRSTNAME and SURNAME. -->
20
<!ENTITY dhfirstname "<firstname>Miguel</firstname>">
21
<!ENTITY dhsurname "<surname>Landaeta</surname>">
22
<!-- Please adjust the date whenever revising the manpage. -->
23
<!ENTITY dhdate "<date>January 19, 2010</date>">
24
<!-- SECTION should be 1-8, maybe w/ subsection other parameters are
25
allowed: see man(7), man(1). -->
26
<!ENTITY dhsection "<manvolnum>1</manvolnum>">
27
<!ENTITY dhemail "<email>miguel@miguel.cc</email>">
28
<!ENTITY dhusername "Miguel Landaeta">
29
<!ENTITY dhucpackage "<refentrytitle>COBERTURA-CHECK</refentrytitle>">
30
<!ENTITY dhpackage "cobertura-check">
32
<!ENTITY debian "<productname>Debian</productname>">
33
<!ENTITY gnu "<acronym>GNU</acronym>">
47
<holder>&dhusername;</holder>
57
<refname>&dhpackage;</refname>
59
<refpurpose>show which classes do not have adequate test coverage</refpurpose>
63
<command>&dhpackage;</command>
65
<arg><option>--branch 0..100</option></arg>
66
<arg><option>--datafile file</option></arg>
67
<arg><option>--line 0..100</option></arg>
68
<arg><option>--regex regex:branchrate:linerate</option></arg>
69
<arg><option>--packagebranch 0..100</option></arg>
70
<arg><option>--packageline 0..100</option></arg>
71
<arg><option>--totalbranch 0..100</option></arg>
72
<arg><option>--totalline 0..100</option></arg>
77
<title>DESCRIPTION</title>
79
<para><command>&dhpackage;</command> can be run after your JUnit tests
80
to show which classes do not have adequate test coverage.
85
<title>OPTIONS</title>
87
<para>If no parameters are specified then all values will be set to
92
<term><option>--branch 0..100</option>
95
<para>Specify the minimum acceptable branch coverage rate needed
96
by each class. This should be an integer value between 0 and
97
100. Default value is 0.</para>
101
<term><option>--datafile file</option>
104
<para>Specify the name of the file containing metadata about
105
your classes. Default value: "./cobertura.ser".</para>
109
<term><option>--line 0..100</option>
112
<para>Specify the minimum acceptable line coverage rate needed
113
by each class. This should be an integer value between 0 and
114
100. Default value is 0.</para>
118
<term><option>--regex regex:branchrate:linerate</option>
121
<para>For finer grained control, you can optionally specify
122
minimum branch and line coverage rates for individual classes
123
using any number of regular expressions.</para>
127
<term><option>--packagebranch 0..100</option>
130
<para>Specify the minimum acceptable average branch coverage
131
rate needed by each package. This should be an integer value
132
between 0 and 100. Default value is 0.</para>
136
<term><option>--packageline 0..100</option>
139
<para>Specify the minimum acceptable average line coverage
140
rate needed by each package. This should be an integer value
141
between 0 and 100. Default value is 0.</para>
145
<term><option>--totalbranch 0..100</option>
148
<para>Specify the minimum acceptable average branch coverage
149
rate needed by the project as a whole. This should be an
150
integer value between 0 and 100. Default value is 0.</para>
154
<term><option>--totalline 0..100</option>
157
<para>Specify the minimum acceptable average line coverage
158
rate needed by the project as a whole. This should be an
159
integer value between 0 and 100. Default value is 0.</para>
165
<title>SEE ALSO</title>
167
<para>junit(1), cobertura-instrument(1), cobertura-report(1),
168
cobertura-merge(1).</para>
172
<title>AUTHOR</title>
174
<para>This manual page was written by &dhusername; <&dhemail;>
175
for the &debian; system (but may be used by others). Permission is
176
granted to copy, distribute and/or modify this document under
177
the terms of the terms of &gnu; General Public License, Version 2
178
or any later version published by the Free Software Foundation.
180
<para>On Debian systems, the complete text of the GNU General Public
181
License can be found in /usr/share/common-licenses/GPL.
187
<!-- Keep this comment at the end of the file
192
sgml-minimize-attributes:nil
193
sgml-always-quote-attributes:t
196
sgml-parent-document:nil
197
sgml-default-dtd-file:nil
198
sgml-exposed-tags:nil
199
sgml-local-catalogs:nil
200
sgml-local-ecat-files:nil