lib/jacoco/plugin.rb
def markdown_class(parser, report_markdown, report_url)
      class_coverage_above_minimum = true
      parser.classes.each do |jacoco_class| # Check metrics for each classes
        rp = report_class(jacoco_class)
        rl = report_link(jacoco_class.name, report_url)
        ln = "| #{rl} | #{rp[:covered]}% | #{rp[:required_coverage_percentage]}% | #{rp[:status]} |\n"
        report_markdown << ln

        class_coverage_above_minimum &&= rp[:covered] >= rp[:required_coverage_percentage]
      end

      class_coverage_above_minimum
    end
def markdown_class(parser, report_markdown, report_url)
      class_coverage_above_minimum = true
      parser.classes.each do |jacoco_class| # Check metrics for each classes
        rp = report_class(jacoco_class)
        rl = report_link(jacoco_class.name, report_url)
        ln = "| #{rl} | #{rp[:covered]}% | #{rp[:required_coverage_percentage]}% | #{rp[:status]} |\n"
        report_markdown << ln

        class_coverage_above_minimum &&= rp[:covered] >= rp[:required_coverage_percentage]
      end

      class_coverage_above_minimum
    end
def markdown_class ( parser , report_markdown , report_url ) class_coverage_above_minimum = true parser . classes . each do | jacoco_class | # Check metrics for each classes rp = report_class ( jacoco_class ) rl = report_link ( jacoco_class . name , report_url ) ln = "| #{rl} | #{rp[:covered]}% | #{rp[:required_coverage_percentage]}% | #{rp[:status]} |\n" report_markdown << ln class_coverage_above_minimum &&= rp [ :covered ] >= rp [ :required_coverage_percentage ] end class_coverage_above_minimum end
rubocop:enable Style/SignalException
rubocop : enable Style / SignalException