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-check — show which classes do not have adequate test coverage

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-CHECK(1)

Description

cobertura-check  can  be  run  after  your  JUnit  tests  to show which classes do not have adequate test
       coverage.

Name

       cobertura-check — show which classes do not have adequate test coverage

Options

       If no parameters are specified then all values will be set to 50%.

       --branch0..100
                 Specify the minimum acceptable branch coverage rate needed by each class.  This  should  be  an
                 integer value between 0 and 100. Default value is 0.

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

       --line0..100
                 Specify the minimum acceptable line coverage rate needed by  each  class.  This  should  be  an
                 integer value between 0 and 100. Default value is 0.

       --regexregex:branchrate:linerate
                 For  finer  grained  control, you can optionally specify minimum branch and line coverage rates
                 for individual classes using any number of regular expressions.

       --packagebranch0..100
                 Specify the minimum acceptable average branch coverage rate needed by each package. This should
                 be an integer value between 0 and 100. Default value is 0.

       --packageline0..100
                 Specify the minimum acceptable average line coverage rate needed by each package.  This  should
                 be an integer value between 0 and 100. Default value is 0.

       --totalbranch0..100
                 Specify  the  minimum acceptable average branch coverage rate needed by the project as a whole.
                 This should be an integer value between 0 and 100. Default value is 0.

       --totalline0..100
                 Specify the minimum acceptable average line coverage rate needed by the  project  as  a  whole.
                 This should be an integer value between 0 and 100. Default value is 0.

See Also

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

Synopsis

cobertura-check     [--branch0..100]      [--datafilefile]      [--line0..100]     [--regexregex:branchrate:linerate]  [--packagebranch0..100]   [--packageline0..100]   [--totalbranch0..100]
       [--totalline0..100]

See Also