public static Finding DefaultFindingFactory(
            this IAnalyzer analyzer,
            IEnumerable <string> messages,
            int divisor)
        {
            var messagesCount = messages.Count();

            return(new Finding
            {
                ViolationCount = messagesCount,
                Analyzer = analyzer.GetAnalyzerName(),
                Messages = messages,
                RelativeViolationCount = (decimal)messagesCount / divisor
            });
        }