Class Report


  • public class Report
    extends Command
    The report command.
    • Field Detail

      • execfiles

        java.util.List<java.io.File> execfiles
      • classfiles

        java.util.List<java.io.File> classfiles
      • sourcefiles

        java.util.List<java.io.File> sourcefiles
      • tabwidth

        int tabwidth
      • name

        java.lang.String name
      • encoding

        java.lang.String encoding
      • xml

        java.io.File xml
      • csv

        java.io.File csv
      • html

        java.io.File html
    • Constructor Detail

      • Report

        public Report()
    • Method Detail

      • description

        public java.lang.String description()
        Specified by:
        description in class Command
        Returns:
        Short description of the command.
      • execute

        public int execute​(java.io.PrintWriter out,
                           java.io.PrintWriter err)
                    throws java.io.IOException
        Description copied from class: Command
        Executes the given command.
        Specified by:
        execute in class Command
        Parameters:
        out - std out
        err - std err
        Returns:
        exit code, should be 0 for normal operation
        Throws:
        java.io.IOException
      • loadExecutionData

        private ExecFileLoader loadExecutionData​(java.io.PrintWriter out)
                                          throws java.io.IOException
        Throws:
        java.io.IOException
      • printNoMatchWarning

        private void printNoMatchWarning​(java.util.Collection<IClassCoverage> nomatch,
                                         java.io.PrintWriter out)
      • writeReports

        private void writeReports​(IBundleCoverage bundle,
                                  ExecFileLoader loader,
                                  java.io.PrintWriter out)
                           throws java.io.IOException
        Throws:
        java.io.IOException
      • createReportVisitor

        private IReportVisitor createReportVisitor()
                                            throws java.io.IOException,
                                                   java.io.IOException
        Throws:
        java.io.IOException