390ed49ad090b77e13318c03b6a894bf2978b81c,bears/coffee_script/CoffeeLintBear.py,CoffeeLintBear,process_output,#CoffeeLintBear#Any#Any#Any#,40
Before Change
reader = DictReader(StringIO(output))
for row in reader:
try:
yield Result.from_values(
origin=self,
message=row["message"],
file=filename,
line=convert_if_not_empty(row["lineNumber"], int),
end_line=convert_if_not_empty(row["lineNumberEnd"], int),
severity=self.severity_map[row["level"]])
except KeyError: // Invalid CSV line, ignore
pass
After Change
return "--reporter=raw", filename
def process_output(self, output, filename, file):
output = json.loads(output)
assert len(output) == 1, "More than 1 file parsed, something went wrong"
for item in tuple(output.values())[0]:
yield Result.from_values(
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 4
Instances
Project Name: coala/coala-bears
Commit Name: 390ed49ad090b77e13318c03b6a894bf2978b81c
Time: 2016-04-26
Author: abdealikothari@gmail.com
File Name: bears/coffee_script/CoffeeLintBear.py
Class Name: CoffeeLintBear
Method Name: process_output
Project Name: comic/grand-challenge.org
Commit Name: b96135c218065188be9dfe1fea1dff76b6f66e4f
Time: 2019-02-26
Author: code@jmsmkn.com
File Name: app/grandchallenge/container_exec/tasks.py
Class Name:
Method Name: validate_docker_image_async
Project Name: mlflow/mlflow
Commit Name: b7222818e9dd4d33ee933388e73a11ad8d0bf89b
Time: 2018-09-06
Author: 33237569+tomasatdatabricks@users.noreply.github.com
File Name: tests/helper_functions.py
Class Name:
Method Name: score_model_in_sagemaker_docker_container
Project Name: home-assistant/home-assistant
Commit Name: 001f27cdb440aae0887fa9d52b6f981962eeb1ea
Time: 2014-10-17
Author: Paulus@PaulusSchoutsen.nl
File Name: homeassistant/components/http/__init__.py
Class Name: RequestHandler
Method Name: _handle_request