question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

some expressions are skipped during mutation phase

See original GitHub issue

Current version (not released) fails to generate mutants for some expressions. Example:

namespace Test 
{
    using System;
    public static class CharCheckExtensions
    {
        public static string ChainCalls(string check)
        {
            return check.Replace("ab", "cd")
                .Replace("12", "34")
                .PadLeft(12)
                .Replace("12", "34");
        }
    }
}

After reviewing MutantOrchestrator.cs I understand that it is due to neglecting the ‘Expression’ properties for InvocationExpressionSyntax. As it represents the target for the invocation, one would logically assume it simply provides some variable name. It turns out that chained calls, as in the previous example, the ‘Expression’ member can contains quite some code as one can see here:sharplab.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:23 (23 by maintainers)

github_iconTop GitHub Comments

1reaction
dupdobcommented, Mar 4, 2019

Note: Previous close was a mishap Morning update: almost there current stryker release: 1717 mutants, 1604 ready (4 failed rollbacks) head of repo: 933 mutants, 898 ready (2 failed rollbacks)

my WIP: 1727 mutants, 1707 ready (0 failed rollback)

I am really happy with the current status: got 100+ new mutants, no failed rollback, only a handful of CompileError (remaining causes are : undetectable string concatenation and LinqMutants on non Linq methods). Location data has been restored for most mutants, some remaining to be done.

1reaction
dupdobcommented, Feb 24, 2019

I am working on a fix.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Exon Skipping - an overview
Gene deletions lead to exon skipping, premature stop codon introductions, or frameshift mutations, thereby resulting in incorrect truncated proteins. Such ...
Read more >
Multiple exon skipping strategies to by-pass dystrophin ...
Intra-exonic mutations in frame-shifting exons in the DMD gene that could respond to alternative exon skipping strategies.
Read more >
Overview of MET Amplification and MET Exon 14 Skipping ...
Giuseppe Giaccone, MD, PhD, discusses alterations in the MET gene that can be oncogenic drivers in patients with non–small cell lung cancer.
Read more >
Phenotype Variability: Penetrance and Expressivity
In fact, variability in phenotypic expression is more the rule than the exception. ... In fact, some people can carry the mutation but...
Read more >
Odd-skipped
Though odd-skipped is initially expressed in a striped pattern that reflects its function within the segmentation hierarchy, it is also ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found