Enum ConfigOption

    • Enum Constant Detail

      • TEST_PLUGIN

        public static final ConfigOption TEST_PLUGIN
        Defunct parameter, to be removed once gradle plugin updated
      • REPORT_DIR

        public static final ConfigOption REPORT_DIR
        The directory to write report sot
      • TARGET_CLASSES

        public static final ConfigOption TARGET_CLASSES
        Filter defining classes to mutate
      • SOURCE_DIR

        public static final ConfigOption SOURCE_DIR
        Directories to examine to find source files to annotate when generating report
      • MUTATIONS

        public static final ConfigOption MUTATIONS
        Mutation operations to use
      • FEATURES

        public static final ConfigOption FEATURES
        Features to enable/disable
      • CHILD_JVM

        public static final ConfigOption CHILD_JVM
        Arguments to launch child processes with
      • ARG_LINE

        public static final ConfigOption ARG_LINE
        Arguments to launch child processes with expressed as single line
      • TIME_STAMPED_REPORTS

        public static final ConfigOption TIME_STAMPED_REPORTS
        Do/don't create timestamped folders for reports
      • THREADS

        public static final ConfigOption THREADS
        Number of threads to use
      • TIMEOUT_FACTOR

        public static final ConfigOption TIMEOUT_FACTOR
        Multiple of normal runtime to allow before considering a mutation to have timed out
      • TIMEOUT_CONST

        public static final ConfigOption TIMEOUT_CONST
        Consant addiotnal period of time to allow before considering a mutation to have timed out
      • TEST_FILTER

        public static final ConfigOption TEST_FILTER
        Filter limiting tests to be considered
      • AVOID_CALLS

        public static final ConfigOption AVOID_CALLS
        List of classes no to mutate lines of calls that contain call to
      • EXCLUDED_METHOD

        public static final ConfigOption EXCLUDED_METHOD
        Filter of methods not to be mutated
      • MAX_MUTATIONS_PER_CLASS

        public static final ConfigOption MAX_MUTATIONS_PER_CLASS
        Maximum number of mutations to allow per class
      • VERBOSE

        public static final ConfigOption VERBOSE
        Flag to indicate if verbose logging should be enabled
      • VERBOSITY

        public static final ConfigOption VERBOSITY
        Verbosity of output to produce
      • EXCLUDED_CLASSES

        public static final ConfigOption EXCLUDED_CLASSES
        Filter defining classes to exclude from mutation
      • EXCLUDED_TEST_CLASSES

        public static final ConfigOption EXCLUDED_TEST_CLASSES
        Filter defining test classes to excluded
      • OUTPUT_FORMATS

        public static final ConfigOption OUTPUT_FORMATS
        Formats in which to output results
      • CLASSPATH

        public static final ConfigOption CLASSPATH
        Classpath entries to analyse. Although classes on the launch classpath will also be analysed, this is the preferred place to specify the code to analyse
      • CLASSPATH_FILE

        public static final ConfigOption CLASSPATH_FILE
        Same as classPath above, but in a file. The file should contain paths to the jars to be added to the classpath. one path per line. This is usually only needed if you are running on windows and have a huge classpath
      • FAIL_WHEN_NOT_MUTATIONS

        public static final ConfigOption FAIL_WHEN_NOT_MUTATIONS
        Flag to indicate if an error should be thrown if no mutations found
      • SKIP_FAILING_TESTS

        public static final ConfigOption SKIP_FAILING_TESTS
        Ignore failing tests when computing coverage. Otherwise, the execution will fail.
      • CODE_PATHS

        public static final ConfigOption CODE_PATHS
        Filter defining paths that should be treated as containing mutable code
      • INCLUDED_GROUPS

        public static final ConfigOption INCLUDED_GROUPS
        TestNG groups/JUnit categories to include
      • INCLUDED_TEST_METHODS

        public static final ConfigOption INCLUDED_TEST_METHODS
        Test methods that should be included for challenging the mutants
      • EXCLUDED_GROUPS

        public static final ConfigOption EXCLUDED_GROUPS
        TestNG groups / JUnit categories to exclude
      • EXCLUDED_RUNNERS

        public static final ConfigOption EXCLUDED_RUNNERS
        JUnit4 runners to exclude
      • FULL_MUTATION_MATRIX

        public static final ConfigOption FULL_MUTATION_MATRIX
        Whether to compute a full mutation matrix.
      • MUTATION_UNIT_SIZE

        public static final ConfigOption MUTATION_UNIT_SIZE
        Maximum number of mutations to include within a single unit of analysis.
      • USE_INLINED_CODE_DETECTION

        public static final ConfigOption USE_INLINED_CODE_DETECTION
        Do/don't attempt to detect inlined code from finally blocks
      • HISTORY_INPUT_LOCATION

        public static final ConfigOption HISTORY_INPUT_LOCATION
        Location to read history from for incremental analysis
      • HISTORY_OUTPUT_LOCATION

        public static final ConfigOption HISTORY_OUTPUT_LOCATION
        Location to write history to for incremental analysis
      • MUTATION_THRESHOLD

        public static final ConfigOption MUTATION_THRESHOLD
        Mutation score below which to throw an error
      • TEST_STRENGTH_THRESHOLD

        public static final ConfigOption TEST_STRENGTH_THRESHOLD
        Test strength score below which to throw an error
      • MAX_SURVIVING

        public static final ConfigOption MAX_SURVIVING
        Number of surviving mutants at which to throw an error
      • COVERAGE_THRESHOLD

        public static final ConfigOption COVERAGE_THRESHOLD
        Line coverage score below which to throw an error
      • MUTATION_ENGINE

        public static final ConfigOption MUTATION_ENGINE
        Mutation engine to use
      • EXPORT_LINE_COVERAGE

        public static final ConfigOption EXPORT_LINE_COVERAGE
        Dump per test line coverage to disk
      • INCLUDE_LAUNCH_CLASSPATH

        public static final ConfigOption INCLUDE_LAUNCH_CLASSPATH
        Include launch classpath in analysis
      • JVM_PATH

        public static final ConfigOption JVM_PATH
        Path to executable with which to run tests
      • PLUGIN_CONFIGURATION

        public static final ConfigOption PLUGIN_CONFIGURATION
        Custom properties for plugins
      • USE_CLASSPATH_JAR

        public static final ConfigOption USE_CLASSPATH_JAR
        Communicate classpath using a temporary jar with a classpath manifest. Allows very long classpaths that would otherwise exceed OS limits, but may cause problems with some third party libraries.
      • PROJECT_BASE

        public static final ConfigOption PROJECT_BASE
        Base directory of a project. For a multi-module build this should be set to the directory that contains the top level build file. Usually this is the same directory as the source control root/
      • INPUT_ENCODING

        public static final ConfigOption INPUT_ENCODING
        Source file encoding
      • OUTPUT_ENCODING

        public static final ConfigOption OUTPUT_ENCODING
        Source file encoding
      • DRY_RUN

        public static final ConfigOption DRY_RUN
        Flag to indicate if dry run mode should be enabled
    • Method Detail

      • values

        public static ConfigOption[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (ConfigOption c : ConfigOption.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static ConfigOption valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • getParamName

        public String getParamName()
      • getDefault

        public <T> T getDefault​(Class<T> type)