private static void Analyze(Options options)
        {
            var solution = new Solution(options.Slug, options.Directory);
            var solutionAnalysisResult = SolutionAnalyzer.Analyze(solution);

            SolutionAnalysisWriter.Write(solutionAnalysisResult);
        }
Exemple #2
0
        private static void RunAnalysis(Options options)
        {
            Log.Information("Analyzing {Exercise} solution in directory {Directory}", options.Slug, options.InputDirectory);

            var solution         = SolutionParser.Parse(options);
            var solutionAnalysis = SolutionAnalyzer.Analyze(solution);

            SolutionAnalysisWriter.WriteToFile(options, solutionAnalysis);

            Log.Information("Analyzed {Exercise} solution in directory {Directory}. Status: {Status}. Comments: {Comments}", options.Slug, options.OutputDirectory, solutionAnalysis.Status, solutionAnalysis.Comments.Select(comment => comment.Comment));
        }
Exemple #3
0
        private static void Analyze(Options options)
        {
            var solutionAnalysisResult = SolutionAnalyzer.Analyze(options);

            SolutionAnalysisWriter.Write(solutionAnalysisResult);
        }