some expressions are skipped during mutation phase
See original GitHub issueCurrent 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:
- Created 5 years ago
- Comments:23 (23 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
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.
I am working on a fix.