class CC::Analyzer::Formatters::HTMLFormatter

Constants

LANGUAGES

Public Instance Methods

failed(_) click to toggle source
# File lib/cc/analyzer/formatters/html_formatter.rb, line 391
def failed(_)
  exit 1
end
finished() click to toggle source
# File lib/cc/analyzer/formatters/html_formatter.rb, line 387
def finished
  puts ReportTemplate.new(issues, @filesystem).render
end

Private Instance Methods

issues() click to toggle source
# File lib/cc/analyzer/formatters/html_formatter.rb, line 397
def issues
  @issues ||= IssueCollection.new(@filesystem)
end
measurements() click to toggle source
# File lib/cc/analyzer/formatters/html_formatter.rb, line 405
def measurements
  @measurements ||= []
end
warnings() click to toggle source
# File lib/cc/analyzer/formatters/html_formatter.rb, line 401
def warnings
  @warnings ||= []
end