diff --git a/index.md b/index.md index 6f4fb91b35..51f789f890 100644 --- a/index.md +++ b/index.md @@ -257,6 +257,29 @@ Test quality metrics for framework packages.
2024-04-29T12:21:25
main
2024-04-29T12:21:02
main
2024-04-15T08:26:37
main
- -1 - | -- - - - - - | -|
- -2 - | -- - - - - - | -package com.mastercard.test.flow.builder.concrete; |
- -3 - | -- - - - - - | -|
- -4 - | -- - - - - - | -import static java.util.Comparator.comparing; |
- -5 - | -- - - - - - | -|
- -6 - | -- - - - - - | -import java.util.ArrayList; |
- -7 - | -- - - - - - | -import java.util.Collections; |
- -8 - | -- - - - - - | -import java.util.List; |
- -9 - | -- - - - - - | -import java.util.Map; |
- -10 - | -- - - - - - | -import java.util.Set; |
- -11 - | -- - - - - - | -import java.util.TreeSet; |
- -12 - | -- - - - - - | -import java.util.stream.Stream; |
- -13 - | -- - - - - - | -|
- -14 - | -- - - - - - | -import com.mastercard.test.flow.Actor; |
- -15 - | -- - - - - - | -import com.mastercard.test.flow.Context; |
- -16 - | -- - - - - - | -import com.mastercard.test.flow.Dependency; |
- -17 - | -- - - - - - | -import com.mastercard.test.flow.Flow; |
- -18 - | -- - - - - - | -import com.mastercard.test.flow.Interaction; |
- -19 - | -- - - - - - | -import com.mastercard.test.flow.Message; |
- -20 - | -- - - - - - | -import com.mastercard.test.flow.Metadata; |
- -21 - | -- - - - - - | -import com.mastercard.test.flow.Residue; |
- -22 - | -- - - - - - | -import com.mastercard.test.flow.util.Flows; |
- -23 - | -- - - - - - | -|
- -24 - | -- - - - - - | -/** |
- -25 - | -- - - - - - | - * An immutable implementation of {@link Flow} |
- -26 - | -- - - - - - | - */ |
- -27 - | -- - - - - - | -public class ConcreteFlow implements Flow { |
- -28 - | -- - - - - - | -|
- -29 - | -- - - - - - | - private final Flow basis; |
- -30 - | -- - - - - - | - private final ConcreteMetadata metadata; |
- -31 - | -- - - - - - | - private final ConcreteRootInteraction root; |
- -32 - | -- - - - - - | - private final Set<Actor> implicit = new TreeSet<>( comparing( Actor::name ) ); |
- -33 - | -- - - - - - | - private List<Dependency> dependencies = new ArrayList<>(); |
- -34 - | -- - - - - - | - private final List<Context> contexts = new ArrayList<>(); |
- -35 - | -- - - - - - | - private final List<Residue> residue = new ArrayList<>(); |
- -36 - | -- - - - - - | -|
- -37 - | -- - - - - - | - /** |
- -38 - | -- - - - - - | - * @param basis The {@link Flow} upon which this one is based |
- -39 - | -- - - - - - | - * @param metadata human-readable data for this {@link Flow} |
- -40 - | -- - - - - - | - * @param root The root {@link Interaction} of the {@link Flow} |
- -41 - | -- - - - - - | - * @param implicit The {@link Actor}s that support this {@link Flow}'s |
- -42 - | -- - - - - - | - * behaviour, but that are not modelled in the |
- -43 - | -- - - - - - | - * {@link Interaction} structure |
- -44 - | -- - - - - - | - * @param contexts The {@link Context}s in which this {@link Flow} is valid |
- -45 - | -- - - - - - | - * @param residue The {@link Residue} that we should expact after the |
- -46 - | -- - - - - - | - * {@link Flow} has been processed |
- -47 - | -- - - - - - | - */ |
- -48 - | -- - - - - - | - public ConcreteFlow( Flow basis, ConcreteMetadata metadata, ConcreteRootInteraction root, |
- -49 - | -- - - - - - | - Set<Actor> implicit, Map<Class<? extends Context>, Context> contexts, |
- -50 - | -- - - - - - | - Map<Class<? extends Residue>, Residue> residue ) { |
- -51 - | -- - - - - - | - this.metadata = metadata; |
- -52 - | -- - - - - - | - this.basis = basis; |
- -53 - | -- - - - - - | - this.root = root; |
- -54 - | -
-
-1
-
-1. <init> : negated conditional → KILLED - - - - |
- if( implicit != null ) { |
- -55 - | -- - - - - - | - this.implicit.addAll( implicit ); |
- -56 - | -- - - - - - | - } |
- -57 - | -
-
-1
-
-1. <init> : negated conditional → KILLED - - - - |
- if( contexts != null ) { |
- -58 - | -- - - - - - | - this.contexts.addAll( contexts.values() ); |
- -59 - | -- - - - - - | - } |
- -60 - | -
-
-1
-
-1. <init> : negated conditional → KILLED - - - - |
- if( residue != null ) { |
- -61 - | -- - - - - - | - this.residue.addAll( residue.values() ); |
- -62 - | -- - - - - - | - } |
- -63 - | -- - - - - - | - } |
- -64 - | -- - - - - - | -|
- -65 - | -- - - - - - | - @Override |
- -66 - | -- - - - - - | - public Metadata meta() { |
- -67 - | -
-
-1
-
-1. meta : replaced return value with null for com/mastercard/test/flow/builder/concrete/ConcreteFlow::meta → KILLED - - - - |
- return metadata; |
- -68 - | -- - - - - - | - } |
- -69 - | -- - - - - - | -|
- -70 - | -- - - - - - | - @Override |
- -71 - | -- - - - - - | - public Interaction root() { |
- -72 - | -
-
-1
-
-1. root : replaced return value with null for com/mastercard/test/flow/builder/concrete/ConcreteFlow::root → KILLED - - - - |
- return root; |
- -73 - | -- - - - - - | - } |
- -74 - | -- - - - - - | -|
- -75 - | -- - - - - - | - @Override |
- -76 - | -- - - - - - | - public Stream<Actor> implicit() { |
- -77 - | -
-
-1
-
-1. implicit : replaced return value with Stream.empty for com/mastercard/test/flow/builder/concrete/ConcreteFlow::implicit → KILLED - - - - |
- return implicit.stream(); |
- -78 - | -- - - - - - | - } |
- -79 - | -- - - - - - | -|
- -80 - | -- - - - - - | - @Override |
- -81 - | -- - - - - - | - public Flow basis() { |
- -82 - | -
-
-1
-
-1. basis : replaced return value with null for com/mastercard/test/flow/builder/concrete/ConcreteFlow::basis → KILLED - - - - |
- return basis; |
- -83 - | -- - - - - - | - } |
- -84 - | -- - - - - - | -|
- -85 - | -- - - - - - | - @Override |
- -86 - | -- - - - - - | - public Stream<Dependency> dependencies() { |
- -87 - | -
-
-1
-
-1. dependencies : replaced return value with Stream.empty for com/mastercard/test/flow/builder/concrete/ConcreteFlow::dependencies → KILLED - - - - |
- return dependencies.stream(); |
- -88 - | -- - - - - - | - } |
- -89 - | -- - - - - - | -|
- -90 - | -- - - - - - | - /** |
- -91 - | -- - - - - - | - * Adds a {@link Dependency}. This is only possible before {@link #complete()} |
- -92 - | -- - - - - - | - * is called. |
- -93 - | -- - - - - - | - * |
- -94 - | -- - - - - - | - * @param dependency The new {@link Dependency} |
- -95 - | -- - - - - - | - * @return <code>this</code> |
- -96 - | -- - - - - - | - */ |
- -97 - | -- - - - - - | - public ConcreteFlow with( ConcreteDependency dependency ) { |
- -98 - | -- - - - - - | - dependencies.add( dependency ); |
- -99 - | -- - - - - - | - // invoke the dependency now to copy statically-known content |
- -100 - | -
-
-2
-
-1. with : negated conditional → KILLED -2. with : negated conditional → KILLED - - - - |
- if( dependency.source() != null && dependency.source().isComplete() |
- -101 - | -
-
-2
-
-1. with : negated conditional → KILLED -2. with : negated conditional → KILLED - - - - |
- && dependency.sink() != null && dependency.sink().isComplete() ) { |
- -102 - | -- - - - - - | -|
- -103 - | -- - - - - - | - // this is where malformed dependencies will show themselves, so let's produce |
- -104 - | -- - - - - - | - // helpful failures |
- -105 - | -- - - - - - | - Object value = dependency.source().getValue() |
- -106 - | -
-
-1
-
-1. lambda$with$1 : replaced return value with null for com/mastercard/test/flow/builder/concrete/ConcreteFlow::lambda$with$1 → KILLED - - - - |
- .orElseThrow( () -> new IllegalStateException( String.format( |
- -107 - | -- - - - - - | - "Failed to find dependency source field '%s' in:\n" |
- -108 - | -- - - - - - | - + " flow:%s\n" |
- -109 - | -- - - - - - | - + " msg:%s", |
- -110 - | -- - - - - - | - dependency.source().field(), |
- -111 - | -- - - - - - | - Flows.structure( dependency.source().flow() ), |
- -112 - | -- - - - - - | - dependency.source().getMessage() |
- -113 - | -
-
-1
-
-1. lambda$null$0 : replaced return value with "" for com/mastercard/test/flow/builder/concrete/ConcreteFlow::lambda$null$0 → KILLED - - - - |
- .map( Message::assertable ) |
- -114 - | -- - - - - - | - .orElse( null ) ) ) ); |
- -115 - | -- - - - - - | -|
- -116 - | -- - - - - - | - Message msg = dependency.sink().getMessage() |
- -117 - | -
-
-1
-
-1. lambda$with$2 : replaced return value with null for com/mastercard/test/flow/builder/concrete/ConcreteFlow::lambda$with$2 → KILLED - - - - |
- .orElseThrow( () -> new IllegalStateException( String.format( |
- -118 - | -- - - - - - | - "Failed to find dependency sink message in:\n %s", |
- -119 - | -- - - - - - | - Flows.structure( dependency.sink().flow() ) ) ) ); |
- -120 - | -- - - - - - | -|
- -121 - | -- - - - - - | - String field = dependency.sink().field(); |
- -122 - | -- - - - - - | - msg.set( field, value ); |
- -123 - | -- - - - - - | - } |
- -124 - | -
-
-1
-
-1. with : replaced return value with null for com/mastercard/test/flow/builder/concrete/ConcreteFlow::with → KILLED - - - - |
- return this; |
- -125 - | -- - - - - - | - } |
- -126 - | -- - - - - - | -|
- -127 - | -- - - - - - | - /** |
- -128 - | -- - - - - - | - * Call this when all dependencies has been populated |
- -129 - | -- - - - - - | - * |
- -130 - | -- - - - - - | - * @return <code>this</code> |
- -131 - | -- - - - - - | - */ |
- -132 - | -- - - - - - | - public ConcreteFlow complete() { |
- -133 - | -- - - - - - | - dependencies = Collections.unmodifiableList( dependencies ); |
- -134 - | -
-
-1
-
-1. complete : replaced return value with null for com/mastercard/test/flow/builder/concrete/ConcreteFlow::complete → KILLED - - - - |
- return this; |
- -135 - | -- - - - - - | - } |
- -136 - | -- - - - - - | -|
- -137 - | -- - - - - - | - @Override |
- -138 - | -- - - - - - | - public Stream<Context> context() { |
- -139 - | -
-
-1
-
-1. context : replaced return value with Stream.empty for com/mastercard/test/flow/builder/concrete/ConcreteFlow::context → KILLED - - - - |
- return contexts.stream(); |
- -140 - | -- - - - - - | - } |
- -141 - | -- - - - - - | -|
- -142 - | -- - - - - - | - @Override |
- -143 - | -- - - - - - | - public Stream<Residue> residue() { |
- -144 - | -
-
-1
-
-1. residue : replaced return value with Stream.empty for com/mastercard/test/flow/builder/concrete/ConcreteFlow::residue → KILLED - - - - |
- return residue.stream(); |
- -145 - | -- - - - - - | - } |
- -146 - | -- - - - - - | -} |
Mutations | ||
54 | -- |
-
-
-
- 1.1 |
-
57 | -- |
-
-
-
- 1.1 |
-
60 | -- |
-
-
-
- 1.1 |
-
67 | -- |
-
-
-
- 1.1 |
-
72 | -- |
-
-
-
- 1.1 |
-
77 | -- |
-
-
-
- 1.1 |
-
82 | -- |
-
-
-
- 1.1 |
-
87 | -- |
-
-
-
- 1.1 |
-
100 | -- |
-
-
-
- 1.1 2.2 |
-
101 | -- |
-
-
-
- 1.1 2.2 |
-
106 | -- |
-
-
-
- 1.1 |
-
113 | -- |
-
-
-
- 1.1 |
-
117 | -- |
-
-
-
- 1.1 |
-
124 | -- |
-
-
-
- 1.1 |
-
134 | -- |
-
-
-
- 1.1 |
-
139 | -- |
-
-
-
- 1.1 |
-
144 | -- |
-
-
-
- 1.1 |
-
- -1 - | -- - - - - - | -package com.mastercard.test.flow.builder.concrete; |
- -2 - | -- - - - - - | -|
- -3 - | -- - - - - - | -import java.util.ArrayList; |
- -4 - | -- - - - - - | -import java.util.Collections; |
- -5 - | -- - - - - - | -import java.util.List; |
- -6 - | -- - - - - - | -import java.util.Set; |
- -7 - | -- - - - - - | -import java.util.TreeSet; |
- -8 - | -- - - - - - | -import java.util.stream.Stream; |
- -9 - | -- - - - - - | -|
- -10 - | -- - - - - - | -import com.mastercard.test.flow.Actor; |
- -11 - | -- - - - - - | -import com.mastercard.test.flow.Interaction; |
- -12 - | -- - - - - - | -import com.mastercard.test.flow.Message; |
- -13 - | -- - - - - - | -|
- -14 - | -- - - - - - | -/** |
- -15 - | -- - - - - - | - * An immutable implementation of {@link Interaction} |
- -16 - | -- - - - - - | - */ |
- -17 - | -- - - - - - | -public class ConcreteInteraction implements Interaction { |
- -18 - | -- - - - - - | -|
- -19 - | -- - - - - - | - private final ConcreteInteraction parent; |
- -20 - | -- - - - - - | - private final Message request; |
- -21 - | -- - - - - - | - private final Actor responder; |
- -22 - | -- - - - - - | - private final Message response; |
- -23 - | -- - - - - - | - private final Set<String> tags; |
- -24 - | -- - - - - - | - private List<Interaction> children = new ArrayList<>(); |
- -25 - | -- - - - - - | -|
- -26 - | -- - - - - - | - /** |
- -27 - | -- - - - - - | - * @param parent The {@link Interaction} that caused this one |
- -28 - | -- - - - - - | - * @param request The request content |
- -29 - | -- - - - - - | - * @param responder The {@link Actor} that receives the request and issues the |
- -30 - | -- - - - - - | - * response |
- -31 - | -- - - - - - | - * @param response The response content |
- -32 - | -- - - - - - | - * @param tags Descriptive tags |
- -33 - | -- - - - - - | - */ |
- -34 - | -- - - - - - | - public ConcreteInteraction( ConcreteInteraction parent, Message request, |
- -35 - | -- - - - - - | - Actor responder, Message response, Set<String> tags ) { |
- -36 - | -- - - - - - | - this.parent = parent; |
- -37 - | -- - - - - - | - this.request = request; |
- -38 - | -- - - - - - | - this.responder = responder; |
- -39 - | -- - - - - - | - this.response = response; |
- -40 - | -- - - - - - | - this.tags = Collections.unmodifiableSet( new TreeSet<>( tags ) ); |
- -41 - | -- - - - - - | - } |
- -42 - | -- - - - - - | -|
- -43 - | -- - - - - - | - @Override |
- -44 - | -- - - - - - | - public Actor requester() { |
- -45 - | -
-
-1
-
-1. requester : replaced return value with null for com/mastercard/test/flow/builder/concrete/ConcreteInteraction::requester → KILLED - - - - |
- return parent().responder(); |
- -46 - | -- - - - - - | - } |
- -47 - | -- - - - - - | -|
- -48 - | -- - - - - - | - @Override |
- -49 - | -- - - - - - | - public Message request() { |
- -50 - | -
-
-1
-
-1. request : replaced return value with null for com/mastercard/test/flow/builder/concrete/ConcreteInteraction::request → KILLED - - - - |
- return request; |
- -51 - | -- - - - - - | - } |
- -52 - | -- - - - - - | -|
- -53 - | -- - - - - - | - @Override |
- -54 - | -- - - - - - | - public Actor responder() { |
- -55 - | -
-
-1
-
-1. responder : replaced return value with null for com/mastercard/test/flow/builder/concrete/ConcreteInteraction::responder → KILLED - - - - |
- return responder; |
- -56 - | -- - - - - - | - } |
- -57 - | -- - - - - - | -|
- -58 - | -- - - - - - | - @Override |
- -59 - | -- - - - - - | - public Message response() { |
- -60 - | -
-
-1
-
-1. response : replaced return value with null for com/mastercard/test/flow/builder/concrete/ConcreteInteraction::response → KILLED - - - - |
- return response; |
- -61 - | -- - - - - - | - } |
- -62 - | -- - - - - - | -|
- -63 - | -- - - - - - | - @Override |
- -64 - | -- - - - - - | - public Interaction parent() { |
- -65 - | -
-
-1
-
-1. parent : replaced return value with null for com/mastercard/test/flow/builder/concrete/ConcreteInteraction::parent → KILLED - - - - |
- return parent; |
- -66 - | -- - - - - - | - } |
- -67 - | -- - - - - - | -|
- -68 - | -- - - - - - | - @Override |
- -69 - | -- - - - - - | - public Stream<Interaction> children() { |
- -70 - | -
-
-1
-
-1. children : replaced return value with Stream.empty for com/mastercard/test/flow/builder/concrete/ConcreteInteraction::children → KILLED - - - - |
- return children.stream(); |
- -71 - | -- - - - - - | - } |
- -72 - | -- - - - - - | -|
- -73 - | -- - - - - - | - @Override |
- -74 - | -- - - - - - | - public Set<String> tags() { |
- -75 - | -
-
-1
-
-1. tags : replaced return value with Collections.emptySet for com/mastercard/test/flow/builder/concrete/ConcreteInteraction::tags → KILLED - - - - |
- return tags; |
- -76 - | -- - - - - - | - } |
- -77 - | -- - - - - - | -|
- -78 - | -- - - - - - | - /** |
- -79 - | -- - - - - - | - * Adds a child interaction. This is only possible before {@link #complete()} is |
- -80 - | -- - - - - - | - * called. |
- -81 - | -- - - - - - | - * |
- -82 - | -- - - - - - | - * @param child The new child |
- -83 - | -- - - - - - | - * @return <code>this</code> |
- -84 - | -- - - - - - | - */ |
- -85 - | -- - - - - - | - public ConcreteInteraction with( Interaction child ) { |
- -86 - | -- - - - - - | - children.add( child ); |
- -87 - | -
-
-1
-
-1. with : replaced return value with null for com/mastercard/test/flow/builder/concrete/ConcreteInteraction::with → KILLED - - - - |
- return this; |
- -88 - | -- - - - - - | - } |
- -89 - | -- - - - - - | -|
- -90 - | -- - - - - - | - /** |
- -91 - | -- - - - - - | - * Call this when all children have been populated |
- -92 - | -- - - - - - | - * |
- -93 - | -- - - - - - | - * @return <code>this</code> |
- -94 - | -- - - - - - | - */ |
- -95 - | -- - - - - - | - public ConcreteInteraction complete() { |
- -96 - | -- - - - - - | - children = Collections.unmodifiableList( children ); |
- -97 - | -
-
-1
-
-1. complete : replaced return value with null for com/mastercard/test/flow/builder/concrete/ConcreteInteraction::complete → KILLED - - - - |
- return this; |
- -98 - | -- - - - - - | - } |
- -99 - | -- - - - - - | -|
- -100 - | -- - - - - - | -} |
Mutations | ||
45 | -- |
-
-
-
- 1.1 |
-
50 | -- |
-
-
-
- 1.1 |
-
55 | -- |
-
-
-
- 1.1 |
-
60 | -- |
-
-
-
- 1.1 |
-
65 | -- |
-
-
-
- 1.1 |
-
70 | -- |
-
-
-
- 1.1 |
-
75 | -- |
-
-
-
- 1.1 |
-
87 | -- |
-
-
-
- 1.1 |
-
97 | -- |
-
-
-
- 1.1 |
-
- -1 - | -- - - - - - | -package com.mastercard.test.flow.model; |
- -2 - | -- - - - - - | -|
- -3 - | -- - - - - - | -import java.util.ArrayList; |
- -4 - | -- - - - - - | -import java.util.Collections; |
- -5 - | -- - - - - - | -import java.util.Iterator; |
- -6 - | -- - - - - - | -import java.util.List; |
- -7 - | -- - - - - - | -import java.util.Set; |
- -8 - | -- - - - - - | -import java.util.stream.Stream; |
- -9 - | -- - - - - - | -|
- -10 - | -- - - - - - | -import com.mastercard.test.flow.Flow; |
- -11 - | -- - - - - - | -import com.mastercard.test.flow.Model; |
- -12 - | -- - - - - - | -import com.mastercard.test.flow.util.TaggedGroup; |
- -13 - | -- - - - - - | -|
- -14 - | -- - - - - - | -/** |
- -15 - | -- - - - - - | - * Combines other {@link Model} instances |
- -16 - | -- - - - - - | - */ |
- -17 - | -- - - - - - | -public class CombineModel extends TitledModel { |
- -18 - | -- - - - - - | -|
- -19 - | -- - - - - - | - private final List<Model> children = new ArrayList<>(); |
- -20 - | -- - - - - - | - private TaggedGroup tags = new TaggedGroup(); |
- -21 - | -- - - - - - | -|
- -22 - | -- - - - - - | - /** |
- -23 - | -- - - - - - | - */ |
- -24 - | -- - - - - - | - public CombineModel() { |
- -25 - | -- - - - - - | - } |
- -26 - | -- - - - - - | -|
- -27 - | -- - - - - - | - /** |
- -28 - | -- - - - - - | - * @param title A human-readable title for this group of {@link Flow}s |
- -29 - | -- - - - - - | - */ |
- -30 - | -- - - - - - | - public CombineModel( String title ) { |
- -31 - | -- - - - - - | - super( title ); |
- -32 - | -- - - - - - | - } |
- -33 - | -- - - - - - | -|
- -34 - | -- - - - - - | - /** |
- -35 - | -- - - - - - | - * Adds child models to this model |
- -36 - | -- - - - - - | - * |
- -37 - | -- - - - - - | - * @param m The model instances |
- -38 - | -- - - - - - | - * @return <code>this</code> |
- -39 - | -- - - - - - | - */ |
- -40 - | -- - - - - - | - public CombineModel with( Model... m ) { |
- -41 - | -- - - - - - | - Collections.addAll( children, m ); |
- -42 - | -- - - - - - | -|
- -43 - | -- - - - - - | - Iterator<Model> ci = children.iterator(); |
- -44 - | -
-
-1
-
-1. with : negated conditional → KILLED - - - - |
- if( ci.hasNext() ) { |
- -45 - | -- - - - - - | - tags = new TaggedGroup( ci.next().tags() ); |
- -46 - | -
-
-1
-
-1. with : negated conditional → KILLED - - - - |
- while( ci.hasNext() ) { |
- -47 - | -- - - - - - | - tags.combine( ci.next().tags() ); |
- -48 - | -- - - - - - | - } |
- -49 - | -- - - - - - | - } |
- -50 - | -- - - - - - | -|
- -51 - | -
-
-1
-
-1. with : replaced return value with null for com/mastercard/test/flow/model/CombineModel::with → KILLED - - - - |
- return this; |
- -52 - | -- - - - - - | - } |
- -53 - | -- - - - - - | -|
- -54 - | -- - - - - - | - @Override |
- -55 - | -- - - - - - | - public TaggedGroup tags() { |
- -56 - | -
-
-1
-
-1. tags : replaced return value with null for com/mastercard/test/flow/model/CombineModel::tags → KILLED - - - - |
- return tags; |
- -57 - | -- - - - - - | - } |
- -58 - | -- - - - - - | -|
- -59 - | -- - - - - - | - @Override |
- -60 - | -- - - - - - | - public Stream<Flow> flows( Set<String> include, Set<String> exclude ) { |
- -61 - | -
-
-2
-
-1. lambda$flows$0 : replaced return value with Stream.empty for com/mastercard/test/flow/model/CombineModel::lambda$flows$0 → KILLED -2. flows : replaced return value with Stream.empty for com/mastercard/test/flow/model/CombineModel::flows → KILLED - - - - |
- return children.stream().flatMap( c -> c.flows( include, exclude ) ); |
- -62 - | -- - - - - - | - } |
- -63 - | -- - - - - - | -|
- -64 - | -- - - - - - | - @Override |
- -65 - | -- - - - - - | - public Stream<Model> subModels() { |
- -66 - | -
-
-1
-
-1. subModels : replaced return value with Stream.empty for com/mastercard/test/flow/model/CombineModel::subModels → KILLED - - - - |
- return children.stream(); |
- -67 - | -- - - - - - | - } |
- -68 - | -- - - - - - | -|
- -69 - | -- - - - - - | - @Override |
- -70 - | -- - - - - - | - public Model listener( Listener l ) { |
- -71 - | -
-
-1
-
-1. listener : removed call to java/util/List::forEach → KILLED - - - - |
- children.forEach( c -> c.listener( l ) ); |
- -72 - | -
-
-1
-
-1. listener : replaced return value with null for com/mastercard/test/flow/model/CombineModel::listener → KILLED - - - - |
- return this; |
- -73 - | -- - - - - - | - } |
- -74 - | -- - - - - - | -|
- -75 - | -- - - - - - | -} |
Mutations | ||
44 | -- |
-
-
-
- 1.1 |
-
46 | -- |
-
-
-
- 1.1 |
-
51 | -- |
-
-
-
- 1.1 |
-
56 | -- |
-
-
-
- 1.1 |
-
61 | -- |
-
-
-
- 1.1 2.2 |
-
66 | -- |
-
-
-
- 1.1 |
-
71 | -- |
-
-
-
- 1.1 |
-
72 | -- |
-
-
-
- 1.1 |
-
1.1
Location : box
Killed by : com.mastercard.test.flow.assrt.filter.cli.CliTest.[engine:junit-jupiter]/[class:com.mastercard.test.flow.assrt.filter.cli.CliTest]/[method:lines()] replaced return value with null for com/mastercard/test/flow/assrt/filter/cli/Cli::box → KILLED
1.1
Location : box
Killed by : com.mastercard.test.flow.assrt.filter.cli.CliTest.[engine:junit-jupiter]/[class:com.mastercard.test.flow.assrt.filter.cli.CliTest]/[method:lines()] removed call to java/util/function/Consumer::accept → KILLED
1.1
Location : box
Killed by : com.mastercard.test.flow.assrt.filter.cli.CliTest.[engine:junit-jupiter]/[class:com.mastercard.test.flow.assrt.filter.cli.CliTest]/[method:lines()] replaced return value with null for com/mastercard/test/flow/assrt/filter/cli/Cli::box → KILLED
1.1
Location : content
Killed by : com.mastercard.test.flow.assrt.filter.cli.CliTest.[engine:junit-jupiter]/[class:com.mastercard.test.flow.assrt.filter.cli.CliTest]/[method:lines()] replaced return value with null for com/mastercard/test/flow/assrt/filter/cli/Cli::content → KILLED
1.1
Location : append
Killed by : com.mastercard.test.flow.assrt.filter.cli.CliTest.[engine:junit-jupiter]/[class:com.mastercard.test.flow.assrt.filter.cli.CliTest]/[method:lines()] Replaced integer addition with subtraction → KILLED
1.1
Location : append
Killed by : com.mastercard.test.flow.assrt.filter.cli.CliTest.[engine:junit-jupiter]/[class:com.mastercard.test.flow.assrt.filter.cli.CliTest]/[method:lines()] replaced return value with null for com/mastercard/test/flow/assrt/filter/cli/Cli::append → KILLED
1.1
Location : fill
Killed by : com.mastercard.test.flow.assrt.filter.cli.CliTest.[engine:junit-jupiter]/[class:com.mastercard.test.flow.assrt.filter.cli.CliTest]/[method:indexedTaggedList()] negated conditional → KILLED
2.2
Location : fill
Killed by : com.mastercard.test.flow.assrt.filter.cli.CliTest.[engine:junit-jupiter]/[class:com.mastercard.test.flow.assrt.filter.cli.CliTest]/[method:indexedTaggedList()] changed conditional boundary → KILLED
1.1
Location : fill
Killed by : com.mastercard.test.flow.assrt.filter.cli.CliTest.[engine:junit-jupiter]/[class:com.mastercard.test.flow.assrt.filter.cli.CliTest]/[method:fluency()] replaced return value with null for com/mastercard/test/flow/assrt/filter/cli/Cli::fill → KILLED
1.1
Location : styled
Killed by : com.mastercard.test.flow.assrt.filter.cli.CliTest.[engine:junit-jupiter]/[class:com.mastercard.test.flow.assrt.filter.cli.CliTest]/[method:descriptionList()] Replaced integer addition with subtraction → KILLED
1.1
Location : styled
Killed by : com.mastercard.test.flow.assrt.filter.cli.CliTest.[engine:junit-jupiter]/[class:com.mastercard.test.flow.assrt.filter.cli.CliTest]/[method:descriptionList()] replaced return value with null for com/mastercard/test/flow/assrt/filter/cli/Cli::styled → KILLED
1.1
Location : ellipsised
Killed by : com.mastercard.test.flow.assrt.filter.cli.CliTest.[engine:junit-jupiter]/[class:com.mastercard.test.flow.assrt.filter.cli.CliTest]/[method:indexedTaggedList()] replaced return value with null for com/mastercard/test/flow/assrt/filter/cli/Cli::ellipsised → KILLED
2.2
Location : ellipsised
Killed by : com.mastercard.test.flow.assrt.filter.cli.CliTest.[engine:junit-jupiter]/[class:com.mastercard.test.flow.assrt.filter.cli.CliTest]/[method:indexedTaggedList()] Replaced integer subtraction with addition → KILLED
3.3
Location : ellipsised
Killed by : com.mastercard.test.flow.assrt.filter.cli.CliTest.[engine:junit-jupiter]/[class:com.mastercard.test.flow.assrt.filter.cli.CliTest]/[method:indexedTaggedList()] Replaced integer subtraction with addition → KILLED
1.1
Location : endLine
Killed by : com.mastercard.test.flow.assrt.filter.cli.CliTest.[engine:junit-jupiter]/[class:com.mastercard.test.flow.assrt.filter.cli.CliTest]/[method:lines()] Replaced integer subtraction with addition → KILLED
2.2
Location : endLine
Killed by : com.mastercard.test.flow.assrt.filter.cli.CliTest.[engine:junit-jupiter]/[class:com.mastercard.test.flow.assrt.filter.cli.CliTest]/[method:lines()] Replaced integer subtraction with addition → KILLED
1.1
Location : endLine
Killed by : com.mastercard.test.flow.assrt.filter.cli.CliTest.[engine:junit-jupiter]/[class:com.mastercard.test.flow.assrt.filter.cli.CliTest]/[method:lines()] changed conditional boundary → KILLED
2.2
Location : endLine
Killed by : negated conditional → TIMED_OUT
1.1
Location : endLine
Killed by : com.mastercard.test.flow.assrt.filter.cli.CliTest.[engine:junit-jupiter]/[class:com.mastercard.test.flow.assrt.filter.cli.CliTest]/[method:fluency()] replaced return value with null for com/mastercard/test/flow/assrt/filter/cli/Cli::endLine → KILLED
1.1
Location : <init>
Killed by : com.mastercard.test.flow.assrt.filter.cli.CliTest.[engine:junit-jupiter]/[class:com.mastercard.test.flow.assrt.filter.cli.CliTest]/[method:lines()] Replaced integer subtraction with addition → KILLED
1.1
Location : <init>
Killed by : com.mastercard.test.flow.assrt.filter.cli.CliTest.[engine:junit-jupiter]/[class:com.mastercard.test.flow.assrt.filter.cli.CliTest]/[method:lines()] negated conditional → KILLED
1.1
Location : <init>
Killed by : com.mastercard.test.flow.assrt.filter.cli.CliTest.[engine:junit-jupiter]/[class:com.mastercard.test.flow.assrt.filter.cli.CliTest]/[method:title()] Replaced integer subtraction with addition → KILLED
1.1
Location : section
Killed by : com.mastercard.test.flow.assrt.filter.cli.CliTest.[engine:junit-jupiter]/[class:com.mastercard.test.flow.assrt.filter.cli.CliTest]/[method:nesting()] replaced return value with null for com/mastercard/test/flow/assrt/filter/cli/Cli$Box::section → KILLED
1.1
Location : box
Killed by : com.mastercard.test.flow.assrt.filter.cli.CliTest.[engine:junit-jupiter]/[class:com.mastercard.test.flow.assrt.filter.cli.CliTest]/[method:nesting()] Replaced integer addition with subtraction → KILLED
1.1
Location : box
Killed by : com.mastercard.test.flow.assrt.filter.cli.CliTest.[engine:junit-jupiter]/[class:com.mastercard.test.flow.assrt.filter.cli.CliTest]/[method:nesting()] removed call to java/util/function/Consumer::accept → KILLED
1.1
Location : box
Killed by : com.mastercard.test.flow.assrt.filter.cli.CliTest.[engine:junit-jupiter]/[class:com.mastercard.test.flow.assrt.filter.cli.CliTest]/[method:nesting()] replaced return value with null for com/mastercard/test/flow/assrt/filter/cli/Cli$Box::box → KILLED
1.1
Location : paragraph
Killed by : com.mastercard.test.flow.assrt.filter.cli.CliTest.[engine:junit-jupiter]/[class:com.mastercard.test.flow.assrt.filter.cli.CliTest]/[method:title()] removed call to java/util/stream/Stream::forEach → KILLED
1.1
Location : lambda$paragraph$1
Killed by : com.mastercard.test.flow.assrt.filter.cli.CliTest.[engine:junit-jupiter]/[class:com.mastercard.test.flow.assrt.filter.cli.CliTest]/[method:title()] removed call to java/util/Deque::forEach → KILLED
1.1
Location : paragraph
Killed by : com.mastercard.test.flow.assrt.filter.cli.CliTest.[engine:junit-jupiter]/[class:com.mastercard.test.flow.assrt.filter.cli.CliTest]/[method:paragraph()] replaced return value with null for com/mastercard/test/flow/assrt/filter/cli/Cli$Box::paragraph → KILLED
1.1
Location : line
Killed by : com.mastercard.test.flow.assrt.filter.cli.CliTest.[engine:junit-jupiter]/[class:com.mastercard.test.flow.assrt.filter.cli.CliTest]/[method:lines()] removed call to java/util/stream/Stream::forEach → KILLED
1.1
Location : line
Killed by : com.mastercard.test.flow.assrt.filter.cli.CliTest.[engine:junit-jupiter]/[class:com.mastercard.test.flow.assrt.filter.cli.CliTest]/[method:lines()] replaced return value with null for com/mastercard/test/flow/assrt/filter/cli/Cli$Box::line → KILLED
1.1
Location : words
Killed by : com.mastercard.test.flow.assrt.filter.cli.TagPhaseTest.[engine:junit-jupiter]/[class:com.mastercard.test.flow.assrt.filter.cli.TagPhaseTest]/[method:wrapping()] removed call to java/util/Deque::forEach → KILLED
1.1
Location : lambda$words$4
Killed by : com.mastercard.test.flow.assrt.filter.cli.TagPhaseTest.[engine:junit-jupiter]/[class:com.mastercard.test.flow.assrt.filter.cli.TagPhaseTest]/[method:wrapping()] removed call to java/util/List::forEach → KILLED
1.1
Location : words
Killed by : com.mastercard.test.flow.assrt.filter.cli.CliTest.[engine:junit-jupiter]/[class:com.mastercard.test.flow.assrt.filter.cli.CliTest]/[method:fluency()] replaced return value with null for com/mastercard/test/flow/assrt/filter/cli/Cli$Box::words → KILLED
1.1
Location : descriptionList
Killed by : com.mastercard.test.flow.assrt.filter.cli.CliTest.[engine:junit-jupiter]/[class:com.mastercard.test.flow.assrt.filter.cli.CliTest]/[method:descriptionList()] Replaced integer addition with subtraction → KILLED
1.1
Location : descriptionList
Killed by : com.mastercard.test.flow.assrt.filter.cli.CliTest.[engine:junit-jupiter]/[class:com.mastercard.test.flow.assrt.filter.cli.CliTest]/[method:descriptionList()] removed call to java/util/function/Consumer::accept → KILLED
1.1
Location : descriptionList
Killed by : com.mastercard.test.flow.assrt.filter.cli.CliTest.[engine:junit-jupiter]/[class:com.mastercard.test.flow.assrt.filter.cli.CliTest]/[method:fluency()] replaced return value with null for com/mastercard/test/flow/assrt/filter/cli/Cli$Box::descriptionList → KILLED
1.1
Location : indexedTaggedList
Killed by : com.mastercard.test.flow.assrt.filter.cli.CliTest.[engine:junit-jupiter]/[class:com.mastercard.test.flow.assrt.filter.cli.CliTest]/[method:indexedTaggedList()] Replaced integer addition with subtraction → KILLED
1.1
Location : indexedTaggedList
Killed by : com.mastercard.test.flow.assrt.filter.cli.CliTest.[engine:junit-jupiter]/[class:com.mastercard.test.flow.assrt.filter.cli.CliTest]/[method:indexedTaggedList()] removed call to java/util/function/Consumer::accept → KILLED
1.1
Location : indexedTaggedList
Killed by : com.mastercard.test.flow.assrt.filter.cli.CliTest.[engine:junit-jupiter]/[class:com.mastercard.test.flow.assrt.filter.cli.CliTest]/[method:fluency()] replaced return value with null for com/mastercard/test/flow/assrt/filter/cli/Cli$Box::indexedTaggedList → KILLED
1.1
Location : close
Killed by : com.mastercard.test.flow.assrt.filter.cli.CliTest.[engine:junit-jupiter]/[class:com.mastercard.test.flow.assrt.filter.cli.CliTest]/[method:lines()] replaced return value with null for com/mastercard/test/flow/assrt/filter/cli/Cli$Box::close → KILLED
1.1
Location : item
Killed by : com.mastercard.test.flow.assrt.filter.cli.CliTest.[engine:junit-jupiter]/[class:com.mastercard.test.flow.assrt.filter.cli.CliTest]/[method:descriptionList()] replaced return value with null for com/mastercard/test/flow/assrt/filter/cli/Cli$DescriptionList::item → KILLED
1.1
Location : close
Killed by : com.mastercard.test.flow.assrt.filter.cli.CliTest.[engine:junit-jupiter]/[class:com.mastercard.test.flow.assrt.filter.cli.CliTest]/[method:descriptionList()] removed call to java/util/Map::forEach → KILLED
1.1
Location : lambda$close$1
Killed by : com.mastercard.test.flow.assrt.filter.cli.CliTest.[engine:junit-jupiter]/[class:com.mastercard.test.flow.assrt.filter.cli.CliTest]/[method:descriptionList()] Replaced integer subtraction with addition → KILLED
2.2
Location : lambda$close$1
Killed by : com.mastercard.test.flow.assrt.filter.cli.CliTest.[engine:junit-jupiter]/[class:com.mastercard.test.flow.assrt.filter.cli.CliTest]/[method:descriptionList()] Replaced integer subtraction with addition → KILLED
1.1
Location : lambda$close$1
Killed by : com.mastercard.test.flow.assrt.filter.cli.CliTest.[engine:junit-jupiter]/[class:com.mastercard.test.flow.assrt.filter.cli.CliTest]/[method:descriptionList()] removed call to java/util/Deque::forEach → KILLED
1.1
Location : close
Killed by : com.mastercard.test.flow.assrt.filter.cli.CliTest.[engine:junit-jupiter]/[class:com.mastercard.test.flow.assrt.filter.cli.CliTest]/[method:fluency()] replaced return value with null for com/mastercard/test/flow/assrt/filter/cli/Cli$DescriptionList::close → KILLED
1.1
Location : item
Killed by : com.mastercard.test.flow.assrt.filter.cli.CliTest.[engine:junit-jupiter]/[class:com.mastercard.test.flow.assrt.filter.cli.CliTest]/[method:indexedTaggedList()] replaced return value with null for com/mastercard/test/flow/assrt/filter/cli/Cli$IndexedTaggedList::item → KILLED
1.1
Location : lambda$close$0
Killed by : com.mastercard.test.flow.assrt.filter.cli.CliTest.[engine:junit-jupiter]/[class:com.mastercard.test.flow.assrt.filter.cli.CliTest]/[method:indexedTaggedList()] replaced int return with 0 for com/mastercard/test/flow/assrt/filter/cli/Cli$IndexedTaggedList::lambda$close$0 → KILLED
1.1
Location : close
Killed by : com.mastercard.test.flow.assrt.filter.cli.CliTest.[engine:junit-jupiter]/[class:com.mastercard.test.flow.assrt.filter.cli.CliTest]/[method:indexedTaggedList()] Replaced integer addition with subtraction → KILLED
1.1
Location : close
Killed by : com.mastercard.test.flow.assrt.filter.cli.CliTest.[engine:junit-jupiter]/[class:com.mastercard.test.flow.assrt.filter.cli.CliTest]/[method:indexedTaggedList()] removed call to java/util/List::forEach → KILLED
1.1
Location : lambda$close$4
Killed by : com.mastercard.test.flow.assrt.filter.cli.CliTest.[engine:junit-jupiter]/[class:com.mastercard.test.flow.assrt.filter.cli.CliTest]/[method:indexedTaggedList()] Replaced integer addition with subtraction → KILLED
1.1
Location : lambda$close$4
Killed by : com.mastercard.test.flow.assrt.filter.cli.CliTest.[engine:junit-jupiter]/[class:com.mastercard.test.flow.assrt.filter.cli.CliTest]/[method:indexedTaggedList()] Replaced integer subtraction with addition → KILLED
2.2
Location : lambda$close$4
Killed by : com.mastercard.test.flow.assrt.filter.cli.CliTest.[engine:junit-jupiter]/[class:com.mastercard.test.flow.assrt.filter.cli.CliTest]/[method:indexedTaggedList()] Replaced integer subtraction with addition → KILLED
3.3
Location : lambda$close$4
Killed by : com.mastercard.test.flow.assrt.filter.cli.CliTest.[engine:junit-jupiter]/[class:com.mastercard.test.flow.assrt.filter.cli.CliTest]/[method:indexedTaggedList()] Replaced integer subtraction with addition → KILLED
1.1
Location : lambda$close$4
Killed by : com.mastercard.test.flow.assrt.filter.cli.CliTest.[engine:junit-jupiter]/[class:com.mastercard.test.flow.assrt.filter.cli.CliTest]/[method:indexedTaggedList()] removed call to java/util/List::forEach → KILLED
1.1
Location : lambda$close$4
Killed by : com.mastercard.test.flow.assrt.filter.cli.CliTest.[engine:junit-jupiter]/[class:com.mastercard.test.flow.assrt.filter.cli.CliTest]/[method:indexedTaggedList()] removed call to java/util/Deque::forEach → KILLED
2.2
Location : lambda$close$4
Killed by : com.mastercard.test.flow.assrt.filter.cli.CliTest.[engine:junit-jupiter]/[class:com.mastercard.test.flow.assrt.filter.cli.CliTest]/[method:indexedTaggedList()] Replaced integer subtraction with addition → KILLED
1.1
Location : lambda$null$3
Killed by : com.mastercard.test.flow.assrt.filter.cli.CliTest.[engine:junit-jupiter]/[class:com.mastercard.test.flow.assrt.filter.cli.CliTest]/[method:indexedTaggedList()] removed call to java/util/List::forEach → KILLED
1.1
Location : close
Killed by : com.mastercard.test.flow.assrt.filter.cli.CliTest.[engine:junit-jupiter]/[class:com.mastercard.test.flow.assrt.filter.cli.CliTest]/[method:fluency()] replaced return value with null for com/mastercard/test/flow/assrt/filter/cli/Cli$IndexedTaggedList::close → KILLED