logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

cobertura-report — generate coverage reports

Author

       This manual page was written by Miguel Landaeta <miguel@miguel.cc> for the Debian system (but may be used
       by others).  Permission is granted to copy, distribute and/or modify this document under the terms of the
       terms of GNU General Public License, Version 2 or any  later  version  published  by  the  Free  Software
       Foundation.

       On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-
       licenses/GPL.

                                                                                             COBERTURA-REPORT(1)

Description

cobertura-report generates  coverage  reports  from  the  source  code  directories  and  calculates  the
       cyclomatic  code  complexity  of each class. The HTML reports are also made of annotated versions of each
       source file, showing which lines of code were exercised.

Name

       cobertura-report — generate coverage reports

Options

--datafilefile
                 Specify  the  name  of  the  file  containing  metadata  about  your  classes.  Default  value:
                 "./cobertura.ser".

       --basedirdir
                 Specify  a  directory  containing  source  code.  All files listed after this are assumed to be
                 underneath this directory. This should only be used if you want to include only a few  specific
                 files underneath a source tree and exclude all other files.

       --destinationdir
                 Specify the output directory for the report.

       --formatxml|html
                 The type of report you want to generate. Default value: html.

       --encodingencoding
                 Specify  the  encoding  used  to read the source. See javadocs for java.nio.charset.Charset for
                 more details.

See Also

junit(1), cobertura-instrument(1), cobertura-check(1), cobertura-merge(1).

Synopsis

cobertura-report   [--datafilefile]   --destination  dir  [--formathtml|xml]   [--encodingencoding]
       directory [--basedirdir]

See Also