class Covered::Coverage

def as_json

@returns [Hash] The coverage counts and summary statistics.
A JSON-compatible representation of this coverage object.
def as_json
	{
		counts: counts,
		executable_count: executable_count,
		executed_count: executed_count,
		percentage: percentage.to_f.round(2),
	}
end