One discovered mutation site, as recorded by the plugin.
Constructors
MutationRecordmutRecId :: MutationIdmutRecOperator :: TextmutRecOriginal :: TextmutRecReplacement :: TextmutRecModule :: TextHaskell module name containing the mutation site (e.g.
).Foo.BarmutRecLine :: Word1-based source line number where the mutated expression starts.
mutRecEndLine :: Word1-based source line number where the mutated expression ends. For single-line spans this equals mutRecLine.
mutRecColStart :: Word1-based start column of the mutated expression on mutRecLine.
mutRecColEnd :: Word1-based end column of the mutated expression on mutRecEndLine (exclusive — one past the last character). When mutRecEndLine differs from mutRecLine,
col_startandcol_endare independent column numbers on different lines; they do not form a contiguous range andcol_endcan be smaller thancol_start.mutRecSourceFile :: Maybe (Path Rel File)Source file path relative to the project root, as reported by GHC.
mutRecSourceLines :: [Text]Source lines of the mutated expression (from the actual source file).
mutRecMutatedLines :: [Text]Source lines after applying the mutation (computed by the plugin).
mutRecContextBefore :: [Text]Up to 3 source lines immediately before the mutated line.
mutRecContextAfter :: [Text]Up to 3 source lines immediately after the mutated line.
mutRecCoveringTests :: Maybe (Map Text [TestId])Tests whose execution reaches this mutation site, keyed by test suite name. The empty string
""is used for anonymous/single-suite setups. Nothing means coverage has not been collected yet.mutRecBinding :: Maybe TextSource name (
OccName) of the enclosing top-level binding, if known. Used by the report to suggest the exact{-# ANN <binding> ... #-}disable annotation for this mutation.mutRecMitigation :: Maybe TextOptional human-readable hint about how this specific mutation can be mitigated other than by killing it (e.g. that it is an equivalent mutant and which config key suppresses it). Set by the operator that produced the mutation.
Instances9Eq, Show, Generic, FromJSON, ToJSON, Validity, …
Eq MutationRecordDefined in sydtest-mutation-runtime-0.2.0.0 · Test.Syd.Mutation.ManifestShow MutationRecordDefined in sydtest-mutation-runtime-0.2.0.0 · Test.Syd.Mutation.ManifestGeneric MutationRecordDefined in sydtest-mutation-runtime-0.2.0.0 · Test.Syd.Mutation.ManifestFromJSON MutationRecordDefined in sydtest-mutation-runtime-0.2.0.0 · Test.Syd.Mutation.ManifestToJSON MutationRecordDefined in sydtest-mutation-runtime-0.2.0.0 · Test.Syd.Mutation.ManifestValidity MutationRecordDefined in sydtest-mutation-runtime-0.2.0.0 · Test.Syd.Mutation.ManifestHasCodec MutationRecordDefined in sydtest-mutation-runtime-0.2.0.0 · Test.Syd.Mutation.ManifestGenValid MutationRecordDefined in sydtest-mutation-runtime-0.2.0.0 · Test.Syd.Mutation.Manifesttype Rep MutationRecord = D1 ('MetaDataDefined in sydtest-mutation-runtime-0.2.0.0 · Test.Syd.Mutation.Manifest"MutationRecord"
"Test.Syd.Mutation.Manifest"
"sydtest-mutation-runtime-0.2.0.0-DXmIo5BpBXHKPuY8GFhvTn"
'False) (C1 ('MetaCons"MutationRecord"
'PrefixI 'True) ((((S1 ('MetaSel ('Just"mutRecId"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 MutationId) :*: S1 ('MetaSel ('Just"mutRecOperator"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)) :*: (S1 ('MetaSel ('Just"mutRecOriginal"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just"mutRecReplacement"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text))) :*: ((S1 ('MetaSel ('Just"mutRecModule"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just"mutRecLine"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word)) :*: (S1 ('MetaSel ('Just"mutRecEndLine"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word) :*: S1 ('MetaSel ('Just"mutRecColStart"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word)))) :*: (((S1 ('MetaSel ('Just"mutRecColEnd"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word) :*: S1 ('MetaSel ('Just"mutRecSourceFile"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe (Path Rel File)))) :*: (S1 ('MetaSel ('Just"mutRecSourceLines"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Text]) :*: S1 ('MetaSel ('Just"mutRecMutatedLines"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Text]))) :*: ((S1 ('MetaSel ('Just"mutRecContextBefore"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Text]) :*: S1 ('MetaSel ('Just"mutRecContextAfter"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Text])) :*: (S1 ('MetaSel ('Just"mutRecCoveringTests"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe (Map Text [TestId]))) :*: (S1 ('MetaSel ('Just"mutRecBinding"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just"mutRecMitigation"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text))))))))