class SimpleCov::Formatter::JSONFormatter::SourceFileFormatter
def method_coverage_section
def method_coverage_section { methods: @source_file.methods.map { |method| format_method(method) }, methods_covered_percent: @source_file.covered_percent(:method), covered_methods: @source_file.covered_methods.size, missed_methods: @source_file.missed_methods.size, total_methods: @source_file.methods.size } end