Esempio n. 1
0
        private int?ExtractMutationIfAndId(SyntaxNode node)
        {
            var(engine, id) = MutantPlacer.FindEngine(node);

            if (engine == null)
            {
                return(null);
            }

            Logger.LogDebug(id == -1 ? $"Found a helper (engine:{engine})." : $"Found mutant {id} (controlled by {engine}).");

            return(id);
        }