コード例 #1
0
ファイル: MutantExecutor.cs プロジェクト: mdaniyalkhan/MuTest
        private static void PrintMethodSummary(MethodDetail method, StringBuilder mutationProcessLog)
        {
            if (method.Mutants.Any())
            {
                method.CalculateMutationScore();

                mutationProcessLog.Append(method.MutationScore.ToString().PrintWithPreTagWithMarginImportant(color: Colors.BlueViolet));
                mutationProcessLog.Append(
                    $"Method Coverage: Mutation({method.MutationScore.Mutation}) Line({method.LinesCovered}{method.LineCoverage}) Branch({method.BlocksCovered}{method.BranchCoverage})"
                    .PrintWithPreTagWithMarginImportant(color: Colors.Blue));
            }
        }