b9f710538abab20f120d3d3e23c123ba7a6f7536,tests/c_languages/codeclone_detection/ClangCloneDetectionBearTest.py,ClangCloneDetectionBearTest,test_clones,#ClangCloneDetectionBearTest#,53

Before Change


                                        self.assertEqual(results, [], msg))

    def test_clones(self):
        self.clone_files = [
            os.path.join(self.base_test_path, "clones", elem)
            for elem in os.listdir(os.path.join(self.base_test_path,
                                                "clones"))]

        self.check_clone_detection_bear(self.clone_files,
                                        lambda results, msg:
                                        self.assertNotEqual(results, [], msg))

After Change


                                        self.assertEqual(results, [], msg))

    def test_clones(self):
        clone_files = ["python_casing.c",
                       "several_duplicates.c",
                       "s3c.c",
                       "python_casing2.c",
                       "s3a.c",
                       "s1c.c",
                       "s3b.c",
                       "s2c.c",
                       "s4a.c",
                       "s4c.c",
                       "s2b.c",
                       "s4b.c",
                       "kernel_scrolling.c",
                       "one_big_one_small.c",
                       "bubblesort.c",
                       "s3d.c",
                       "s1b.c",
                       "s1a.c",
                       "faculty.c",
                       "s2a.c",
                       "s4d.c",
                       "s2d.c",
                       "s3e.c"]
        clone_files = [os.path.join(self.base_test_path, "clones", name)
                       for name in clone_files]

        // Actual `Result` objects for each test files
        files_results = [self.get_results_clone_detection_bear(filepath) for
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 7

Instances


Project Name: coala/coala-bears
Commit Name: b9f710538abab20f120d3d3e23c123ba7a6f7536
Time: 2018-07-10
Author: rafidteam@gmail.com
File Name: tests/c_languages/codeclone_detection/ClangCloneDetectionBearTest.py
Class Name: ClangCloneDetectionBearTest
Method Name: test_clones


Project Name: tgsmith61591/pmdarima
Commit Name: 942f284052b22214d830c1bc2c8de03bffaa8d07
Time: 2020-02-18
Author: aaronreidsmith@gmail.com
File Name: build_tools/azure/render_meta.py
Class Name:
Method Name:


Project Name: sony/nnabla
Commit Name: f59fb87d9613da132096e85b60cf6c0a8efc1cf6
Time: 2018-09-24
Author: Yukio.Oobuchi@sony.com
File Name: python/src/nnabla/utils/data_source_implements.py
Class Name: CacheDataSource
Method Name: __init__