390ed49ad090b77e13318c03b6a894bf2978b81c,bears/coffee_script/CoffeeLintBear.py,CoffeeLintBear,process_output,#CoffeeLintBear#Any#Any#Any#,40

Before Change


        return "--reporter=csv", filename

    def process_output(self, output, filename, file):
        reader = DictReader(StringIO(output))

        for row in reader:
            try:

After Change


        assert len(output) == 1, "More than 1 file parsed, something went wrong"
        for item in tuple(output.values())[0]:
            yield Result.from_values(
                origin="{} ({})".format(self.name, item["rule"]),
                message=item["message"],
                file=filename,
                line=item.get("lineNumber", None),
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 2

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: uber/petastorm
Commit Name: 6e127316edc8118049ca29ff94e2f4c6d34580dc
Time: 2018-07-31
Author: selitvin@users.noreply.github.com
File Name: petastorm/codecs.py
Class Name: CompressedImageCodec
Method Name: encode


Project Name: MLWave/kepler-mapper
Commit Name: 31b2885ad4068cc8a1316dfaf957a5235101822c
Time: 2017-11-13
Author: nat@saulgill.com
File Name: examples/digits/digits.py
Class Name:
Method Name:


Project Name: MLWave/kepler-mapper
Commit Name: 63cb99af2d065bdf8947eebfe6f58e2ce00339a1
Time: 2017-11-13
Author: nat@saulgill.com
File Name: examples/digits/digits.py
Class Name:
Method Name: