in lib/cc/analyzer/formatters/formatter.rb [9:24]
def write(data)
json = JSON.parse(data)
json["engine_name"] = current_engine.name
case json["type"].downcase
when "issue"
issues << json
when "warning"
warnings << json
when "measurement"
measurements << json
else
raise "Invalid type found: #{json["type"]}"
end
end