FormatInstructionsBuilder.java

1
package com.ancientprogramming.fixedformat4j.format.impl;
2
3
import com.ancientprogramming.fixedformat4j.annotation.Align;
4
import com.ancientprogramming.fixedformat4j.annotation.Field;
5
import com.ancientprogramming.fixedformat4j.annotation.RecordAlign;
6
import com.ancientprogramming.fixedformat4j.annotation.FixedFormatBoolean;
7
import com.ancientprogramming.fixedformat4j.annotation.FixedFormatDecimal;
8
import com.ancientprogramming.fixedformat4j.annotation.FixedFormatEnum;
9
import com.ancientprogramming.fixedformat4j.annotation.FixedFormatNumber;
10
import com.ancientprogramming.fixedformat4j.annotation.FixedFormatPattern;
11
import com.ancientprogramming.fixedformat4j.annotation.Record;
12
import com.ancientprogramming.fixedformat4j.exception.FixedFormatException;
13
import com.ancientprogramming.fixedformat4j.format.FormatContext;
14
import com.ancientprogramming.fixedformat4j.format.FormatInstructions;
15
import com.ancientprogramming.fixedformat4j.format.data.FixedFormatBooleanData;
16
import com.ancientprogramming.fixedformat4j.format.data.FixedFormatDecimalData;
17
import com.ancientprogramming.fixedformat4j.format.data.FixedFormatEnumData;
18
import com.ancientprogramming.fixedformat4j.format.data.FixedFormatNumberData;
19
import com.ancientprogramming.fixedformat4j.format.data.FixedFormatPatternData;
20
21
import java.lang.reflect.AnnotatedElement;
22
import java.lang.reflect.Method;
23
import java.math.RoundingMode;
24
import java.time.LocalDate;
25
import java.time.LocalDateTime;
26
27
import static java.lang.String.format;
28
29
/**
30
 * Builds {@link FormatInstructions} and {@link FormatContext} from field annotations.
31
 *
32
 * @author Jacob von Eyben - <a href="https://eybenconsult.com">https://eybenconsult.com</a>
33
 * @since 1.6.0
34
 */
35
class FormatInstructionsBuilder {
36
37
  FormatInstructions build(AnnotatedElement annotationSource, Field fieldAnno, Class<?> datatype, Class<?> declaringClass) {
38 2 1. build : removed call to com/ancientprogramming/fixedformat4j/format/impl/FormatInstructionsBuilder::patternData → KILLED
2. build : removed call to java/lang/reflect/AnnotatedElement::getAnnotation → KILLED
    FixedFormatPatternData patternData = patternData(annotationSource.getAnnotation(FixedFormatPattern.class), datatype);
39 2 1. build : removed call to com/ancientprogramming/fixedformat4j/format/impl/FormatInstructionsBuilder::booleanData → KILLED
2. build : removed call to java/lang/reflect/AnnotatedElement::getAnnotation → KILLED
    FixedFormatBooleanData booleanData = booleanData(annotationSource.getAnnotation(FixedFormatBoolean.class));
40 2 1. build : removed call to com/ancientprogramming/fixedformat4j/format/impl/FormatInstructionsBuilder::numberData → KILLED
2. build : removed call to java/lang/reflect/AnnotatedElement::getAnnotation → KILLED
    FixedFormatNumberData numberData = numberData(annotationSource.getAnnotation(FixedFormatNumber.class));
41 2 1. build : removed call to com/ancientprogramming/fixedformat4j/format/impl/FormatInstructionsBuilder::decimalData → KILLED
2. build : removed call to java/lang/reflect/AnnotatedElement::getAnnotation → KILLED
    FixedFormatDecimalData decimalData = decimalData(annotationSource.getAnnotation(FixedFormatDecimal.class));
42 2 1. build : removed call to java/lang/reflect/AnnotatedElement::getAnnotation → KILLED
2. build : removed call to com/ancientprogramming/fixedformat4j/format/impl/FormatInstructionsBuilder::enumData → KILLED
    FixedFormatEnumData enumData = enumData(annotationSource.getAnnotation(FixedFormatEnum.class));
43 3 1. build : removed call to com/ancientprogramming/fixedformat4j/annotation/Field::align → KILLED
2. build : replaced call to com/ancientprogramming/fixedformat4j/format/impl/FormatInstructionsBuilder::resolveAlign with argument → KILLED
3. build : removed call to com/ancientprogramming/fixedformat4j/format/impl/FormatInstructionsBuilder::resolveAlign → KILLED
    Align resolvedAlign = resolveAlign(fieldAnno.align(), declaringClass);
44 5 1. build : replaced return value with null for com/ancientprogramming/fixedformat4j/format/impl/FormatInstructionsBuilder::build → KILLED
2. build : removed call to com/ancientprogramming/fixedformat4j/format/FormatInstructions::<init> → KILLED
3. build : removed call to com/ancientprogramming/fixedformat4j/annotation/Field::length → KILLED
4. build : removed call to com/ancientprogramming/fixedformat4j/annotation/Field::nullChar → KILLED
5. build : removed call to com/ancientprogramming/fixedformat4j/annotation/Field::paddingChar → KILLED
    return new FormatInstructions(fieldAnno.length(), resolvedAlign, fieldAnno.paddingChar(), fieldAnno.nullChar(), patternData, booleanData, numberData, decimalData, enumData);
45
  }
46
47
  private Align resolveAlign(Align fieldAlign, Class<?> declaringClass) {
48 3 1. resolveAlign : negated conditional → KILLED
2. resolveAlign : removed conditional - replaced equality check with true → KILLED
3. resolveAlign : removed conditional - replaced equality check with false → KILLED
    if (fieldAlign != Align.INHERIT) {
49 1 1. resolveAlign : replaced return value with null for com/ancientprogramming/fixedformat4j/format/impl/FormatInstructionsBuilder::resolveAlign → KILLED
      return fieldAlign;
50
    }
51 1 1. resolveAlign : removed call to java/lang/Class::getAnnotation → KILLED
    Record recordAnno = declaringClass.getAnnotation(Record.class);
52 3 1. resolveAlign : negated conditional → KILLED
2. resolveAlign : removed conditional - replaced equality check with true → KILLED
3. resolveAlign : removed conditional - replaced equality check with false → KILLED
    if (recordAnno == null) {
53 1 1. resolveAlign : replaced return value with null for com/ancientprogramming/fixedformat4j/format/impl/FormatInstructionsBuilder::resolveAlign → KILLED
      return Align.LEFT;
54
    }
55 5 1. resolveAlign : removed conditional - replaced equality check with true → KILLED
2. resolveAlign : removed conditional - replaced equality check with false → KILLED
3. resolveAlign : negated conditional → KILLED
4. resolveAlign : removed call to com/ancientprogramming/fixedformat4j/annotation/Record::align → KILLED
5. resolveAlign : replaced return value with null for com/ancientprogramming/fixedformat4j/format/impl/FormatInstructionsBuilder::resolveAlign → KILLED
    return recordAnno.align() == RecordAlign.RIGHT ? Align.RIGHT : Align.LEFT;
56
  }
57
58
  @SuppressWarnings({"unchecked", "rawtypes"})
59
  FormatContext<?> context(Class<?> datatype, Field fieldAnno) {
60 3 1. context : removed conditional - replaced equality check with true → KILLED
2. context : removed conditional - replaced equality check with false → KILLED
3. context : negated conditional → KILLED
    if (fieldAnno != null) {
61 4 1. context : removed call to com/ancientprogramming/fixedformat4j/annotation/Field::offset → KILLED
2. context : removed call to com/ancientprogramming/fixedformat4j/format/FormatContext::<init> → KILLED
3. context : removed call to com/ancientprogramming/fixedformat4j/annotation/Field::formatter → KILLED
4. context : replaced return value with null for com/ancientprogramming/fixedformat4j/format/impl/FormatInstructionsBuilder::context → KILLED
      return new FormatContext(fieldAnno.offset(), datatype, fieldAnno.formatter());
62
    }
63
    return null;
64
  }
65
66
  Class<?> datatype(Method method, Field fieldAnno) {
67 10 1. datatype : removed conditional - replaced equality check with true → KILLED
2. datatype : removed call to java/lang/reflect/Method::getName → KILLED
3. datatype : removed conditional - replaced equality check with false → KILLED
4. datatype : negated conditional → KILLED
5. datatype : removed call to java/lang/String::startsWith → KILLED
6. datatype : negated conditional → KILLED
7. datatype : removed conditional - replaced equality check with true → KILLED
8. datatype : removed call to java/lang/reflect/Method::getName → KILLED
9. datatype : removed call to java/lang/String::startsWith → KILLED
10. datatype : removed conditional - replaced equality check with false → KILLED
    if (method.getName().startsWith("get") || method.getName().startsWith("is")) {
68 2 1. datatype : removed call to java/lang/reflect/Method::getReturnType → KILLED
2. datatype : replaced return value with null for com/ancientprogramming/fixedformat4j/format/impl/FormatInstructionsBuilder::datatype → KILLED
      return method.getReturnType();
69
    }
70 5 1. datatype : Substituted 0 with 1 → SURVIVED
2. datatype : removed call to java/lang/String::format → SURVIVED
3. datatype : Substituted 3 with 4 → SURVIVED
4. datatype : replaced call to java/lang/String::format with argument → SURVIVED
5. datatype : removed call to com/ancientprogramming/fixedformat4j/exception/FixedFormatException::<init> → KILLED
    throw new FixedFormatException(format(
71
        "Cannot annotate method %s, with %s annotation. %s annotations must be placed on methods starting with 'get' or 'is'",
72 7 1. datatype : Substituted 1 with 0 → SURVIVED
2. datatype : removed call to java/lang/Class::getName → SURVIVED
3. datatype : removed call to java/lang/Class::getName → SURVIVED
4. datatype : removed call to java/lang/reflect/Method::getName → SURVIVED
5. datatype : removed call to java/lang/Object::getClass → KILLED
6. datatype : removed call to java/lang/Object::getClass → KILLED
7. datatype : Substituted 2 with 3 → KILLED
        method.getName(), fieldAnno.getClass().getName(), fieldAnno.getClass().getName()));
73
  }
74
75
  private FixedFormatPatternData patternData(FixedFormatPattern annotation, Class<?> datatype) {
76 3 1. patternData : negated conditional → KILLED
2. patternData : removed conditional - replaced equality check with false → KILLED
3. patternData : removed conditional - replaced equality check with true → KILLED
    if (annotation != null) {
77 3 1. patternData : removed call to com/ancientprogramming/fixedformat4j/format/data/FixedFormatPatternData::<init> → KILLED
2. patternData : removed call to com/ancientprogramming/fixedformat4j/annotation/FixedFormatPattern::value → KILLED
3. patternData : replaced return value with null for com/ancientprogramming/fixedformat4j/format/impl/FormatInstructionsBuilder::patternData → KILLED
      return new FixedFormatPatternData(annotation.value());
78
    }
79 4 1. patternData : removed conditional - replaced equality check with true → KILLED
2. patternData : removed conditional - replaced equality check with false → KILLED
3. patternData : removed call to java/lang/Object::equals → KILLED
4. patternData : negated conditional → KILLED
    if (LocalDate.class.equals(datatype)) {
80 1 1. patternData : replaced return value with null for com/ancientprogramming/fixedformat4j/format/impl/FormatInstructionsBuilder::patternData → KILLED
      return FixedFormatPatternData.LOCALDATE_DEFAULT;
81
    }
82 4 1. patternData : negated conditional → KILLED
2. patternData : removed conditional - replaced equality check with false → KILLED
3. patternData : removed call to java/lang/Object::equals → KILLED
4. patternData : removed conditional - replaced equality check with true → KILLED
    if (LocalDateTime.class.equals(datatype)) {
83 1 1. patternData : replaced return value with null for com/ancientprogramming/fixedformat4j/format/impl/FormatInstructionsBuilder::patternData → KILLED
      return FixedFormatPatternData.DATETIME_DEFAULT;
84
    }
85 1 1. patternData : replaced return value with null for com/ancientprogramming/fixedformat4j/format/impl/FormatInstructionsBuilder::patternData → KILLED
    return FixedFormatPatternData.DEFAULT;
86
  }
87
88
  private FixedFormatBooleanData booleanData(FixedFormatBoolean annotation) {
89 3 1. booleanData : removed conditional - replaced equality check with true → KILLED
2. booleanData : negated conditional → KILLED
3. booleanData : removed conditional - replaced equality check with false → KILLED
    if (annotation != null) {
90 4 1. booleanData : removed call to com/ancientprogramming/fixedformat4j/annotation/FixedFormatBoolean::trueValue → KILLED
2. booleanData : removed call to com/ancientprogramming/fixedformat4j/format/data/FixedFormatBooleanData::<init> → KILLED
3. booleanData : removed call to com/ancientprogramming/fixedformat4j/annotation/FixedFormatBoolean::falseValue → KILLED
4. booleanData : replaced return value with null for com/ancientprogramming/fixedformat4j/format/impl/FormatInstructionsBuilder::booleanData → KILLED
      return new FixedFormatBooleanData(annotation.trueValue(), annotation.falseValue());
91
    }
92 1 1. booleanData : replaced return value with null for com/ancientprogramming/fixedformat4j/format/impl/FormatInstructionsBuilder::booleanData → KILLED
    return FixedFormatBooleanData.DEFAULT;
93
  }
94
95
  private FixedFormatNumberData numberData(FixedFormatNumber annotation) {
96 3 1. numberData : negated conditional → KILLED
2. numberData : removed conditional - replaced equality check with true → KILLED
3. numberData : removed conditional - replaced equality check with false → KILLED
    if (annotation != null) {
97 5 1. numberData : removed call to com/ancientprogramming/fixedformat4j/annotation/FixedFormatNumber::negativeSign → KILLED
2. numberData : replaced return value with null for com/ancientprogramming/fixedformat4j/format/impl/FormatInstructionsBuilder::numberData → KILLED
3. numberData : removed call to com/ancientprogramming/fixedformat4j/format/data/FixedFormatNumberData::<init> → KILLED
4. numberData : removed call to com/ancientprogramming/fixedformat4j/annotation/FixedFormatNumber::sign → KILLED
5. numberData : removed call to com/ancientprogramming/fixedformat4j/annotation/FixedFormatNumber::positiveSign → KILLED
      return new FixedFormatNumberData(annotation.sign(), annotation.positiveSign(), annotation.negativeSign());
98
    }
99 1 1. numberData : replaced return value with null for com/ancientprogramming/fixedformat4j/format/impl/FormatInstructionsBuilder::numberData → KILLED
    return FixedFormatNumberData.DEFAULT;
100
  }
101
102
  private FixedFormatDecimalData decimalData(FixedFormatDecimal annotation) {
103 3 1. decimalData : removed conditional - replaced equality check with true → KILLED
2. decimalData : removed conditional - replaced equality check with false → KILLED
3. decimalData : negated conditional → KILLED
    if (annotation != null) {
104 7 1. decimalData : removed call to com/ancientprogramming/fixedformat4j/annotation/FixedFormatDecimal::decimalDelimiter → KILLED
2. decimalData : replaced return value with null for com/ancientprogramming/fixedformat4j/format/impl/FormatInstructionsBuilder::decimalData → KILLED
3. decimalData : removed call to com/ancientprogramming/fixedformat4j/format/data/FixedFormatDecimalData::<init> → KILLED
4. decimalData : removed call to com/ancientprogramming/fixedformat4j/annotation/FixedFormatDecimal::useDecimalDelimiter → KILLED
5. decimalData : removed call to com/ancientprogramming/fixedformat4j/annotation/FixedFormatDecimal::decimals → KILLED
6. decimalData : removed call to com/ancientprogramming/fixedformat4j/annotation/FixedFormatDecimal::roundingMode → KILLED
7. decimalData : removed call to java/math/RoundingMode::valueOf → KILLED
      return new FixedFormatDecimalData(annotation.decimals(), annotation.useDecimalDelimiter(), annotation.decimalDelimiter(), RoundingMode.valueOf(annotation.roundingMode()));
105
    }
106 1 1. decimalData : replaced return value with null for com/ancientprogramming/fixedformat4j/format/impl/FormatInstructionsBuilder::decimalData → KILLED
    return FixedFormatDecimalData.DEFAULT;
107
  }
108
109
  private FixedFormatEnumData enumData(FixedFormatEnum annotation) {
110 3 1. enumData : removed conditional - replaced equality check with false → KILLED
2. enumData : removed conditional - replaced equality check with true → KILLED
3. enumData : negated conditional → KILLED
    if (annotation != null) {
111 3 1. enumData : removed call to com/ancientprogramming/fixedformat4j/format/data/FixedFormatEnumData::<init> → KILLED
2. enumData : replaced return value with null for com/ancientprogramming/fixedformat4j/format/impl/FormatInstructionsBuilder::enumData → KILLED
3. enumData : removed call to com/ancientprogramming/fixedformat4j/annotation/FixedFormatEnum::value → KILLED
      return new FixedFormatEnumData(annotation.value());
112
    }
113 1 1. enumData : replaced return value with null for com/ancientprogramming/fixedformat4j/format/impl/FormatInstructionsBuilder::enumData → KILLED
    return FixedFormatEnumData.DEFAULT;
114
  }
115
}

Mutations

38

1.1
Location : build
Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder]/[method:build_localDateType_returnsLocalDateDefault()]
removed call to com/ancientprogramming/fixedformat4j/format/impl/FormatInstructionsBuilder::patternData → KILLED

2.2
Location : build
Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder]/[method:build_withNonDefaultPattern_capturesCustomPattern()]
removed call to java/lang/reflect/AnnotatedElement::getAnnotation → KILLED

39

1.1
Location : build
Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder]/[method:build_defaultAnnotations_returnsDefaultData()]
removed call to com/ancientprogramming/fixedformat4j/format/impl/FormatInstructionsBuilder::booleanData → KILLED

2.2
Location : build
Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder]/[method:build_withFixedFormatBoolean_capturesTrueFalseValues()]
removed call to java/lang/reflect/AnnotatedElement::getAnnotation → KILLED

40

1.1
Location : build
Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder]/[method:build_withFixedFormatNumber_capturesSignConfig()]
removed call to com/ancientprogramming/fixedformat4j/format/impl/FormatInstructionsBuilder::numberData → KILLED

2.2
Location : build
Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder]/[method:build_withFixedFormatNumber_capturesSignConfig()]
removed call to java/lang/reflect/AnnotatedElement::getAnnotation → KILLED

41

1.1
Location : build
Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder]/[method:build_withFixedFormatDecimal_capturesDecimals()]
removed call to com/ancientprogramming/fixedformat4j/format/impl/FormatInstructionsBuilder::decimalData → KILLED

2.2
Location : build
Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder]/[method:build_withNonDefaultDecimalConfig_capturesAllValues()]
removed call to java/lang/reflect/AnnotatedElement::getAnnotation → KILLED

42

1.1
Location : build
Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder]/[method:build_withFixedFormatEnum_numeric_capturesEnumFormat()]
removed call to java/lang/reflect/AnnotatedElement::getAnnotation → KILLED

2.2
Location : build
Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder]/[method:build_withoutFixedFormatEnum_returnsLiteralDefault()]
removed call to com/ancientprogramming/fixedformat4j/format/impl/FormatInstructionsBuilder::enumData → KILLED

43

1.1
Location : build
Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder]/[method:build_explicitFieldAlign_overridesRecordDefault()]
removed call to com/ancientprogramming/fixedformat4j/annotation/Field::align → KILLED

2.2
Location : build
Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder]/[method:build_inheritAlignOnClassWithoutRecordAnnotation_defaultsToLeft()]
replaced call to com/ancientprogramming/fixedformat4j/format/impl/FormatInstructionsBuilder::resolveAlign with argument → KILLED

3.3
Location : build
Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder]/[method:build_explicitFieldAlign_overridesRecordDefault()]
removed call to com/ancientprogramming/fixedformat4j/format/impl/FormatInstructionsBuilder::resolveAlign → KILLED

44

1.1
Location : build
Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder]/[method:build_explicitFieldAlign_overridesRecordDefault()]
replaced return value with null for com/ancientprogramming/fixedformat4j/format/impl/FormatInstructionsBuilder::build → KILLED

2.2
Location : build
Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder]/[method:build_explicitFieldAlign_overridesRecordDefault()]
removed call to com/ancientprogramming/fixedformat4j/format/FormatInstructions::<init> → KILLED

3.3
Location : build
Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder]/[method:build_capturesFieldLengthPaddingCharAndNullChar()]
removed call to com/ancientprogramming/fixedformat4j/annotation/Field::length → KILLED

4.4
Location : build
Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder]/[method:build_capturesFieldLengthPaddingCharAndNullChar()]
removed call to com/ancientprogramming/fixedformat4j/annotation/Field::nullChar → KILLED

5.5
Location : build
Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder]/[method:build_capturesFieldLengthPaddingCharAndNullChar()]
removed call to com/ancientprogramming/fixedformat4j/annotation/Field::paddingChar → KILLED

48

1.1
Location : resolveAlign
Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder]/[method:build_explicitFieldAlign_overridesRecordDefault()]
negated conditional → KILLED

2.2
Location : resolveAlign
Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder]/[method:build_inheritAlignOnClassWithoutRecordAnnotation_defaultsToLeft()]
removed conditional - replaced equality check with true → KILLED

3.3
Location : resolveAlign
Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder]/[method:build_explicitFieldAlign_overridesRecordDefault()]
removed conditional - replaced equality check with false → KILLED

49

1.1
Location : resolveAlign
Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder]/[method:build_explicitFieldAlign_overridesRecordDefault()]
replaced return value with null for com/ancientprogramming/fixedformat4j/format/impl/FormatInstructionsBuilder::resolveAlign → KILLED

51

1.1
Location : resolveAlign
Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder]/[method:build_inheritAlign_resolvesFromRecordAnnotation()]
removed call to java/lang/Class::getAnnotation → KILLED

52

1.1
Location : resolveAlign
Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder]/[method:build_inheritAlignOnClassWithoutRecordAnnotation_defaultsToLeft()]
negated conditional → KILLED

2.2
Location : resolveAlign
Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder]/[method:build_inheritAlign_resolvesFromRecordAnnotation()]
removed conditional - replaced equality check with true → KILLED

3.3
Location : resolveAlign
Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder]/[method:build_inheritAlignOnClassWithoutRecordAnnotation_defaultsToLeft()]
removed conditional - replaced equality check with false → KILLED

53

1.1
Location : resolveAlign
Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder]/[method:build_inheritAlignOnClassWithoutRecordAnnotation_defaultsToLeft()]
replaced return value with null for com/ancientprogramming/fixedformat4j/format/impl/FormatInstructionsBuilder::resolveAlign → KILLED

55

1.1
Location : resolveAlign
Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder]/[method:build_inheritAlignWithNoRecordAnnotation_defaultsToLeft()]
removed conditional - replaced equality check with true → KILLED

2.2
Location : resolveAlign
Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder]/[method:build_inheritAlign_resolvesFromRecordAnnotation()]
removed conditional - replaced equality check with false → KILLED

3.3
Location : resolveAlign
Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder]/[method:build_inheritAlignWithNoRecordAnnotation_defaultsToLeft()]
negated conditional → KILLED

4.4
Location : resolveAlign
Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder]/[method:build_inheritAlign_resolvesFromRecordAnnotation()]
removed call to com/ancientprogramming/fixedformat4j/annotation/Record::align → KILLED

5.5
Location : resolveAlign
Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder]/[method:build_inheritAlignWithNoRecordAnnotation_defaultsToLeft()]
replaced return value with null for com/ancientprogramming/fixedformat4j/format/impl/FormatInstructionsBuilder::resolveAlign → KILLED

60

1.1
Location : context
Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder]/[method:context_nullFieldAnnotation_returnsNull()]
removed conditional - replaced equality check with true → KILLED

2.2
Location : context
Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder]/[method:context_fromFieldAnnotation_capturesFormatterClass()]
removed conditional - replaced equality check with false → KILLED

3.3
Location : context
Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder]/[method:context_nullFieldAnnotation_returnsNull()]
negated conditional → KILLED

61

1.1
Location : context
Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder]/[method:context_fromFieldAnnotation_hasCorrectOffsetAndType()]
removed call to com/ancientprogramming/fixedformat4j/annotation/Field::offset → KILLED

2.2
Location : context
Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder]/[method:context_fromFieldAnnotation_capturesFormatterClass()]
removed call to com/ancientprogramming/fixedformat4j/format/FormatContext::<init> → KILLED

3.3
Location : context
Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder]/[method:context_fromFieldAnnotation_capturesFormatterClass()]
removed call to com/ancientprogramming/fixedformat4j/annotation/Field::formatter → KILLED

4.4
Location : context
Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder]/[method:context_fromFieldAnnotation_capturesFormatterClass()]
replaced return value with null for com/ancientprogramming/fixedformat4j/format/impl/FormatInstructionsBuilder::context → KILLED

67

1.1
Location : datatype
Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder]/[method:datatype_nonBeanStandardMethod_throwsFixedFormatException()]
removed conditional - replaced equality check with true → KILLED

2.2
Location : datatype
Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder]/[method:datatype_isBooleanMethod_returnsBooleanType()]
removed call to java/lang/reflect/Method::getName → KILLED

3.3
Location : datatype
Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder]/[method:datatype_isBooleanMethod_returnsBooleanType()]
removed conditional - replaced equality check with false → KILLED

4.4
Location : datatype
Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder]/[method:datatype_beanStandardMethod_returnsReturnType()]
negated conditional → KILLED

5.5
Location : datatype
Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder]/[method:datatype_isBooleanMethod_returnsBooleanType()]
removed call to java/lang/String::startsWith → KILLED

6.6
Location : datatype
Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder]/[method:datatype_isBooleanMethod_returnsBooleanType()]
negated conditional → KILLED

7.7
Location : datatype
Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder]/[method:datatype_beanStandardMethod_returnsReturnType()]
removed conditional - replaced equality check with true → KILLED

8.8
Location : datatype
Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder]/[method:datatype_beanStandardMethod_returnsReturnType()]
removed call to java/lang/reflect/Method::getName → KILLED

9.9
Location : datatype
Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder]/[method:datatype_beanStandardMethod_returnsReturnType()]
removed call to java/lang/String::startsWith → KILLED

10.10
Location : datatype
Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder]/[method:datatype_nonBeanStandardMethod_throwsFixedFormatException()]
removed conditional - replaced equality check with false → KILLED

68

1.1
Location : datatype
Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder]/[method:datatype_beanStandardMethod_returnsReturnType()]
removed call to java/lang/reflect/Method::getReturnType → KILLED

2.2
Location : datatype
Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder]/[method:datatype_beanStandardMethod_returnsReturnType()]
replaced return value with null for com/ancientprogramming/fixedformat4j/format/impl/FormatInstructionsBuilder::datatype → KILLED

70

1.1
Location : datatype
Killed by : none
Substituted 0 with 1 → SURVIVED
Covering tests

2.2
Location : datatype
Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder]/[method:datatype_nonBeanStandardMethod_throwsFixedFormatException()]
removed call to com/ancientprogramming/fixedformat4j/exception/FixedFormatException::<init> → KILLED

3.3
Location : datatype
Killed by : none
removed call to java/lang/String::format → SURVIVED Covering tests

4.4
Location : datatype
Killed by : none
Substituted 3 with 4 → SURVIVED Covering tests

5.5
Location : datatype
Killed by : none
replaced call to java/lang/String::format with argument → SURVIVED Covering tests

72

1.1
Location : datatype
Killed by : none
Substituted 1 with 0 → SURVIVED
Covering tests

2.2
Location : datatype
Killed by : none
removed call to java/lang/Class::getName → SURVIVED Covering tests

3.3
Location : datatype
Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder]/[method:datatype_nonBeanStandardMethod_throwsFixedFormatException()]
removed call to java/lang/Object::getClass → KILLED

4.4
Location : datatype
Killed by : none
removed call to java/lang/Class::getName → SURVIVED Covering tests

5.5
Location : datatype
Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder]/[method:datatype_nonBeanStandardMethod_throwsFixedFormatException()]
removed call to java/lang/Object::getClass → KILLED

6.6
Location : datatype
Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder]/[method:datatype_nonBeanStandardMethod_throwsFixedFormatException()]
Substituted 2 with 3 → KILLED

7.7
Location : datatype
Killed by : none
removed call to java/lang/reflect/Method::getName → SURVIVED Covering tests

76

1.1
Location : patternData
Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder]/[method:build_explicitFieldAlign_overridesRecordDefault()]
negated conditional → KILLED

2.2
Location : patternData
Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder]/[method:build_withNonDefaultPattern_capturesCustomPattern()]
removed conditional - replaced equality check with false → KILLED

3.3
Location : patternData
Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder]/[method:build_explicitFieldAlign_overridesRecordDefault()]
removed conditional - replaced equality check with true → KILLED

77

1.1
Location : patternData
Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder]/[method:build_withNonDefaultPattern_capturesCustomPattern()]
removed call to com/ancientprogramming/fixedformat4j/format/data/FixedFormatPatternData::<init> → KILLED

2.2
Location : patternData
Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder]/[method:build_withNonDefaultPattern_capturesCustomPattern()]
removed call to com/ancientprogramming/fixedformat4j/annotation/FixedFormatPattern::value → KILLED

3.3
Location : patternData
Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder]/[method:build_withNonDefaultPattern_capturesCustomPattern()]
replaced return value with null for com/ancientprogramming/fixedformat4j/format/impl/FormatInstructionsBuilder::patternData → KILLED

79

1.1
Location : patternData
Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder]/[method:build_localDateTimeType_returnsDateTimeDefault()]
removed conditional - replaced equality check with true → KILLED

2.2
Location : patternData
Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder]/[method:build_localDateType_returnsLocalDateDefault()]
removed conditional - replaced equality check with false → KILLED

3.3
Location : patternData
Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder]/[method:build_localDateType_returnsLocalDateDefault()]
removed call to java/lang/Object::equals → KILLED

4.4
Location : patternData
Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder]/[method:build_localDateType_returnsLocalDateDefault()]
negated conditional → KILLED

80

1.1
Location : patternData
Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder]/[method:build_localDateType_returnsLocalDateDefault()]
replaced return value with null for com/ancientprogramming/fixedformat4j/format/impl/FormatInstructionsBuilder::patternData → KILLED

82

1.1
Location : patternData
Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder]/[method:build_localDateTimeType_returnsDateTimeDefault()]
negated conditional → KILLED

2.2
Location : patternData
Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder]/[method:build_localDateTimeType_returnsDateTimeDefault()]
removed conditional - replaced equality check with false → KILLED

3.3
Location : patternData
Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder]/[method:build_localDateTimeType_returnsDateTimeDefault()]
removed call to java/lang/Object::equals → KILLED

4.4
Location : patternData
Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder]/[method:build_defaultAnnotations_returnsDefaultData()]
removed conditional - replaced equality check with true → KILLED

83

1.1
Location : patternData
Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder]/[method:build_localDateTimeType_returnsDateTimeDefault()]
replaced return value with null for com/ancientprogramming/fixedformat4j/format/impl/FormatInstructionsBuilder::patternData → KILLED

85

1.1
Location : patternData
Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder]/[method:build_defaultAnnotations_returnsDefaultData()]
replaced return value with null for com/ancientprogramming/fixedformat4j/format/impl/FormatInstructionsBuilder::patternData → KILLED

89

1.1
Location : booleanData
Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder]/[method:build_explicitFieldAlign_overridesRecordDefault()]
removed conditional - replaced equality check with true → KILLED

2.2
Location : booleanData
Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder]/[method:build_explicitFieldAlign_overridesRecordDefault()]
negated conditional → KILLED

3.3
Location : booleanData
Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder]/[method:build_withFixedFormatBoolean_capturesTrueFalseValues()]
removed conditional - replaced equality check with false → KILLED

90

1.1
Location : booleanData
Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder]/[method:build_withFixedFormatBoolean_capturesTrueFalseValues()]
removed call to com/ancientprogramming/fixedformat4j/annotation/FixedFormatBoolean::trueValue → KILLED

2.2
Location : booleanData
Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder]/[method:build_withFixedFormatBoolean_capturesTrueFalseValues()]
removed call to com/ancientprogramming/fixedformat4j/format/data/FixedFormatBooleanData::<init> → KILLED

3.3
Location : booleanData
Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder]/[method:build_withFixedFormatBoolean_capturesTrueFalseValues()]
removed call to com/ancientprogramming/fixedformat4j/annotation/FixedFormatBoolean::falseValue → KILLED

4.4
Location : booleanData
Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder]/[method:build_withFixedFormatBoolean_capturesTrueFalseValues()]
replaced return value with null for com/ancientprogramming/fixedformat4j/format/impl/FormatInstructionsBuilder::booleanData → KILLED

92

1.1
Location : booleanData
Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder]/[method:build_defaultAnnotations_returnsDefaultData()]
replaced return value with null for com/ancientprogramming/fixedformat4j/format/impl/FormatInstructionsBuilder::booleanData → KILLED

96

1.1
Location : numberData
Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder]/[method:build_explicitFieldAlign_overridesRecordDefault()]
negated conditional → KILLED

2.2
Location : numberData
Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder]/[method:build_explicitFieldAlign_overridesRecordDefault()]
removed conditional - replaced equality check with true → KILLED

3.3
Location : numberData
Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder]/[method:build_withFixedFormatNumber_capturesSignConfig()]
removed conditional - replaced equality check with false → KILLED

97

1.1
Location : numberData
Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder]/[method:build_withCustomNumberSigns_capturesPositiveAndNegativeChars()]
removed call to com/ancientprogramming/fixedformat4j/annotation/FixedFormatNumber::negativeSign → KILLED

2.2
Location : numberData
Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder]/[method:build_withCustomNumberSigns_capturesPositiveAndNegativeChars()]
replaced return value with null for com/ancientprogramming/fixedformat4j/format/impl/FormatInstructionsBuilder::numberData → KILLED

3.3
Location : numberData
Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder]/[method:build_withCustomNumberSigns_capturesPositiveAndNegativeChars()]
removed call to com/ancientprogramming/fixedformat4j/format/data/FixedFormatNumberData::<init> → KILLED

4.4
Location : numberData
Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder]/[method:build_withFixedFormatNumber_capturesSignConfig()]
removed call to com/ancientprogramming/fixedformat4j/annotation/FixedFormatNumber::sign → KILLED

5.5
Location : numberData
Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder]/[method:build_withCustomNumberSigns_capturesPositiveAndNegativeChars()]
removed call to com/ancientprogramming/fixedformat4j/annotation/FixedFormatNumber::positiveSign → KILLED

99

1.1
Location : numberData
Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder]/[method:build_defaultAnnotations_returnsDefaultData()]
replaced return value with null for com/ancientprogramming/fixedformat4j/format/impl/FormatInstructionsBuilder::numberData → KILLED

103

1.1
Location : decimalData
Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder]/[method:build_explicitFieldAlign_overridesRecordDefault()]
removed conditional - replaced equality check with true → KILLED

2.2
Location : decimalData
Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder]/[method:build_withNonDefaultDecimalConfig_capturesAllValues()]
removed conditional - replaced equality check with false → KILLED

3.3
Location : decimalData
Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder]/[method:build_explicitFieldAlign_overridesRecordDefault()]
negated conditional → KILLED

104

1.1
Location : decimalData
Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder]/[method:build_withNonDefaultDecimalConfig_capturesAllValues()]
removed call to com/ancientprogramming/fixedformat4j/annotation/FixedFormatDecimal::decimalDelimiter → KILLED

2.2
Location : decimalData
Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder]/[method:build_withFixedFormatDecimal_capturesDecimals()]
replaced return value with null for com/ancientprogramming/fixedformat4j/format/impl/FormatInstructionsBuilder::decimalData → KILLED

3.3
Location : decimalData
Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder]/[method:build_withFixedFormatDecimal_capturesDecimals()]
removed call to com/ancientprogramming/fixedformat4j/format/data/FixedFormatDecimalData::<init> → KILLED

4.4
Location : decimalData
Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder]/[method:build_withNonDefaultDecimalConfig_capturesAllValues()]
removed call to com/ancientprogramming/fixedformat4j/annotation/FixedFormatDecimal::useDecimalDelimiter → KILLED

5.5
Location : decimalData
Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder]/[method:build_withFixedFormatDecimal_capturesDecimals()]
removed call to com/ancientprogramming/fixedformat4j/annotation/FixedFormatDecimal::decimals → KILLED

6.6
Location : decimalData
Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder]/[method:build_withNonDefaultDecimalConfig_capturesAllValues()]
removed call to com/ancientprogramming/fixedformat4j/annotation/FixedFormatDecimal::roundingMode → KILLED

7.7
Location : decimalData
Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder]/[method:build_withNonDefaultDecimalConfig_capturesAllValues()]
removed call to java/math/RoundingMode::valueOf → KILLED

106

1.1
Location : decimalData
Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder]/[method:build_defaultAnnotations_returnsDefaultData()]
replaced return value with null for com/ancientprogramming/fixedformat4j/format/impl/FormatInstructionsBuilder::decimalData → KILLED

110

1.1
Location : enumData
Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder]/[method:build_withFixedFormatEnum_numeric_capturesEnumFormat()]
removed conditional - replaced equality check with false → KILLED

2.2
Location : enumData
Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder]/[method:build_explicitFieldAlign_overridesRecordDefault()]
removed conditional - replaced equality check with true → KILLED

3.3
Location : enumData
Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder]/[method:build_explicitFieldAlign_overridesRecordDefault()]
negated conditional → KILLED

111

1.1
Location : enumData
Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder]/[method:build_withFixedFormatEnum_numeric_capturesEnumFormat()]
removed call to com/ancientprogramming/fixedformat4j/format/data/FixedFormatEnumData::<init> → KILLED

2.2
Location : enumData
Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder]/[method:build_withFixedFormatEnum_numeric_capturesEnumFormat()]
replaced return value with null for com/ancientprogramming/fixedformat4j/format/impl/FormatInstructionsBuilder::enumData → KILLED

3.3
Location : enumData
Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder]/[method:build_withFixedFormatEnum_numeric_capturesEnumFormat()]
removed call to com/ancientprogramming/fixedformat4j/annotation/FixedFormatEnum::value → KILLED

113

1.1
Location : enumData
Killed by : com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder.[engine:junit-jupiter]/[class:com.ancientprogramming.fixedformat4j.format.impl.TestFormatInstructionsBuilder]/[method:build_withoutFixedFormatEnum_returnsLiteralDefault()]
replaced return value with null for com/ancientprogramming/fixedformat4j/format/impl/FormatInstructionsBuilder::enumData → KILLED

Active mutators

Tests examined


Report generated by PIT 1.23.1 support