[{ "testCaseDescription": "javascript-comment-insert-test", "expectedResult": { "rows": [ [ { "terms": [ { "category": "Program", "children": [ { "category": "Comment", "range": [ 0, 21 ] } ], "patch": "insert", "range": [ 0, 22 ] } ], "hasChanges": true, "range": [ 0, 22 ], "number": 1 } ], [ { "terms": [ { "category": "Program", "children": [], "patch": "insert", "range": [ 22, 22 ] } ], "hasChanges": true, "range": [ 22, 22 ], "number": 2 } ] ], "paths": [ "comment.js", "comment.js" ], "oids": [ "e69de29bb2d1d6434b8b29ae775ad8c2e48c5391", "a5821d24d27222b5f5b8024ed74f0f7f339d877d" ] }, "filePaths": [ "comment.js" ], "sha1": "c360f948051e18243b866c2415ad1a36a09d9637", "gitDir": "test/corpus/repos/javascript", "sha2": "7c3b4c7b3c45a927a54e34b57ba65aef50315756" } ,{ "testCaseDescription": "javascript-comment-replacement-insert-test", "expectedResult": { "rows": [ [ { "terms": [ { "category": "Program", "children": [ { "category": "Comment", "patch": "insert", "range": [ 0, 3 ] } ], "range": [ 0, 3 ] } ], "hasChanges": true, "range": [ 0, 3 ], "number": 1 } ], [ { "terms": [ { "category": "Program", "children": [ { "category": "Comment", "patch": "insert", "range": [ 3, 23 ] } ], "range": [ 3, 23 ] } ], "hasChanges": true, "range": [ 3, 23 ], "number": 2 } ], [ { "terms": [ { "category": "Program", "children": [ { "category": "Comment", "patch": "insert", "range": [ 23, 25 ] } ], "range": [ 23, 26 ] } ], "hasChanges": true, "range": [ 23, 26 ], "number": 3 } ], [ { "terms": [ { "category": "Program", "children": [ { "category": "Comment", "patch": "insert", "range": [ 26, 47 ] } ], "range": [ 26, 48 ] } ], "hasChanges": true, "range": [ 26, 48 ], "number": 4 } ], [ { "terms": [ { "category": "Program", "children": [ { "category": "Comment", "range": [ 0, 21 ] } ], "range": [ 0, 22 ] } ], "hasChanges": false, "range": [ 0, 22 ], "number": 1 }, { "terms": [ { "category": "Program", "children": [ { "category": "Comment", "range": [ 48, 69 ] } ], "range": [ 48, 70 ] } ], "hasChanges": false, "range": [ 48, 70 ], "number": 5 } ], [ { "terms": [ { "category": "Program", "children": [], "range": [ 22, 22 ] } ], "hasChanges": false, "range": [ 22, 22 ], "number": 2 }, { "terms": [ { "category": "Program", "children": [], "range": [ 70, 70 ] } ], "hasChanges": false, "range": [ 70, 70 ], "number": 6 } ] ], "paths": [ "comment.js", "comment.js" ], "oids": [ "a5821d24d27222b5f5b8024ed74f0f7f339d877d", "761aa7a3b13e167bf6b4e800787ddbf677bee26b" ] }, "filePaths": [ "comment.js" ], "sha1": "7c3b4c7b3c45a927a54e34b57ba65aef50315756", "gitDir": "test/corpus/repos/javascript", "sha2": "e2602caf9cd5bcc02807750b536e94d2d75dce60" } ,{ "testCaseDescription": "javascript-comment-delete-insert-test", "expectedResult": { "rows": [ [ { "terms": [ { "category": "Program", "children": [ { "category": "Comment", "patch": "replace", "range": [ 0, 3 ] } ], "range": [ 0, 3 ] } ], "hasChanges": true, "range": [ 0, 3 ], "number": 1 }, { "terms": [ { "category": "Program", "children": [ { "category": "Comment", "patch": "replace", "range": [ 0, 21 ] } ], "range": [ 0, 22 ] } ], "hasChanges": true, "range": [ 0, 22 ], "number": 1 } ], [ { "terms": [ { "category": "Program", "children": [ { "category": "Comment", "patch": "replace", "range": [ 3, 23 ] } ], "range": [ 3, 23 ] } ], "hasChanges": true, "range": [ 3, 23 ], "number": 2 } ], [ { "terms": [ { "category": "Program", "children": [ { "category": "Comment", "patch": "replace", "range": [ 23, 25 ] } ], "range": [ 23, 26 ] } ], "hasChanges": true, "range": [ 23, 26 ], "number": 3 } ], [ { "terms": [ { "category": "Program", "children": [ { "category": "Comment", "range": [ 26, 47 ] } ], "range": [ 26, 48 ] } ], "hasChanges": false, "range": [ 26, 48 ], "number": 4 }, { "terms": [ { "category": "Program", "children": [ { "category": "Comment", "range": [ 22, 43 ] } ], "range": [ 22, 44 ] } ], "hasChanges": false, "range": [ 22, 44 ], "number": 2 } ], [ { "terms": [ { "category": "Program", "children": [ { "category": "Comment", "range": [ 48, 69 ] } ], "range": [ 48, 70 ] } ], "hasChanges": false, "range": [ 48, 70 ], "number": 5 }, { "terms": [ { "category": "Program", "children": [ { "category": "Comment", "range": [ 44, 65 ] } ], "range": [ 44, 66 ] } ], "hasChanges": false, "range": [ 44, 66 ], "number": 3 } ], [ { "terms": [ { "category": "Program", "children": [], "range": [ 70, 70 ] } ], "hasChanges": false, "range": [ 70, 70 ], "number": 6 }, { "terms": [ { "category": "Program", "children": [], "range": [ 66, 66 ] } ], "hasChanges": false, "range": [ 66, 66 ], "number": 4 } ] ], "paths": [ "comment.js", "comment.js" ], "oids": [ "761aa7a3b13e167bf6b4e800787ddbf677bee26b", "3b33406a01816465ab4e84b83e2815cf7db929e5" ] }, "filePaths": [ "comment.js" ], "sha1": "e2602caf9cd5bcc02807750b536e94d2d75dce60", "gitDir": "test/corpus/repos/javascript", "sha2": "49cc96f3a784ba5178db11c706d5db469b43ebce" } ,{ "testCaseDescription": "javascript-comment-replacement-test", "expectedResult": { "rows": [ [ { "terms": [ { "category": "Program", "children": [ { "category": "Comment", "patch": "replace", "range": [ 0, 21 ] } ], "range": [ 0, 22 ] } ], "hasChanges": true, "range": [ 0, 22 ], "number": 1 }, { "terms": [ { "category": "Program", "children": [ { "category": "Comment", "patch": "replace", "range": [ 0, 3 ] } ], "range": [ 0, 3 ] } ], "hasChanges": true, "range": [ 0, 3 ], "number": 1 } ], [ { "terms": [ { "category": "Program", "children": [ { "category": "Comment", "patch": "replace", "range": [ 3, 23 ] } ], "range": [ 3, 23 ] } ], "hasChanges": true, "range": [ 3, 23 ], "number": 2 } ], [ { "terms": [ { "category": "Program", "children": [ { "category": "Comment", "patch": "replace", "range": [ 23, 25 ] } ], "range": [ 23, 26 ] } ], "hasChanges": true, "range": [ 23, 26 ], "number": 3 } ], [ { "terms": [ { "category": "Program", "children": [ { "category": "Comment", "range": [ 22, 43 ] } ], "range": [ 22, 44 ] } ], "hasChanges": false, "range": [ 22, 44 ], "number": 2 }, { "terms": [ { "category": "Program", "children": [ { "category": "Comment", "range": [ 26, 47 ] } ], "range": [ 26, 48 ] } ], "hasChanges": false, "range": [ 26, 48 ], "number": 4 } ], [ { "terms": [ { "category": "Program", "children": [ { "category": "Comment", "range": [ 44, 65 ] } ], "range": [ 44, 66 ] } ], "hasChanges": false, "range": [ 44, 66 ], "number": 3 }, { "terms": [ { "category": "Program", "children": [ { "category": "Comment", "range": [ 48, 69 ] } ], "range": [ 48, 70 ] } ], "hasChanges": false, "range": [ 48, 70 ], "number": 5 } ], [ { "terms": [ { "category": "Program", "children": [], "range": [ 66, 66 ] } ], "hasChanges": false, "range": [ 66, 66 ], "number": 4 }, { "terms": [ { "category": "Program", "children": [], "range": [ 70, 70 ] } ], "hasChanges": false, "range": [ 70, 70 ], "number": 6 } ] ], "paths": [ "comment.js", "comment.js" ], "oids": [ "3b33406a01816465ab4e84b83e2815cf7db929e5", "761aa7a3b13e167bf6b4e800787ddbf677bee26b" ] }, "filePaths": [ "comment.js" ], "sha1": "49cc96f3a784ba5178db11c706d5db469b43ebce", "gitDir": "test/corpus/repos/javascript", "sha2": "9d078a25b377999586a6663a66936bc16674af49" } ,{ "testCaseDescription": "javascript-comment-delete-replacement-test", "expectedResult": { "rows": [ [ { "terms": [ { "category": "Program", "children": [ { "category": "Comment", "patch": "delete", "range": [ 0, 3 ] } ], "range": [ 0, 3 ] } ], "hasChanges": true, "range": [ 0, 3 ], "number": 1 } ], [ { "terms": [ { "category": "Program", "children": [ { "category": "Comment", "patch": "delete", "range": [ 3, 23 ] } ], "range": [ 3, 23 ] } ], "hasChanges": true, "range": [ 3, 23 ], "number": 2 } ], [ { "terms": [ { "category": "Program", "children": [ { "category": "Comment", "patch": "delete", "range": [ 23, 25 ] } ], "range": [ 23, 26 ] } ], "hasChanges": true, "range": [ 23, 26 ], "number": 3 } ], [ { "terms": [ { "category": "Program", "children": [ { "category": "Comment", "patch": "delete", "range": [ 26, 47 ] } ], "range": [ 26, 48 ] } ], "hasChanges": true, "range": [ 26, 48 ], "number": 4 } ], [ { "terms": [ { "category": "Program", "children": [ { "category": "Comment", "range": [ 48, 69 ] } ], "range": [ 48, 70 ] } ], "hasChanges": false, "range": [ 48, 70 ], "number": 5 }, { "terms": [ { "category": "Program", "children": [ { "category": "Comment", "range": [ 0, 21 ] } ], "range": [ 0, 22 ] } ], "hasChanges": false, "range": [ 0, 22 ], "number": 1 } ], [ { "terms": [ { "category": "Program", "children": [ { "category": "Comment", "patch": "insert", "range": [ 22, 25 ] } ], "range": [ 22, 25 ] } ], "hasChanges": true, "range": [ 22, 25 ], "number": 2 } ], [ { "terms": [ { "category": "Program", "children": [ { "category": "Comment", "patch": "insert", "range": [ 25, 45 ] } ], "range": [ 25, 45 ] } ], "hasChanges": true, "range": [ 25, 45 ], "number": 3 } ], [ { "terms": [ { "category": "Program", "children": [ { "category": "Comment", "patch": "insert", "range": [ 45, 47 ] } ], "range": [ 45, 48 ] } ], "hasChanges": true, "range": [ 45, 48 ], "number": 4 } ], [ { "terms": [ { "category": "Program", "children": [], "range": [ 70, 70 ] } ], "hasChanges": false, "range": [ 70, 70 ], "number": 6 }, { "terms": [ { "category": "Program", "children": [], "range": [ 48, 48 ] } ], "hasChanges": false, "range": [ 48, 48 ], "number": 5 } ] ], "paths": [ "comment.js", "comment.js" ], "oids": [ "761aa7a3b13e167bf6b4e800787ddbf677bee26b", "c2a8148ac79eb59d05d153c2d7470b73ec1848c6" ] }, "filePaths": [ "comment.js" ], "sha1": "9d078a25b377999586a6663a66936bc16674af49", "gitDir": "test/corpus/repos/javascript", "sha2": "37d91a144f1c9462e8db4395152f3c1df2a16ad4" } ,{ "testCaseDescription": "javascript-comment-delete-test", "expectedResult": { "rows": [ [ { "terms": [ { "category": "Program", "children": [ { "category": "Comment", "patch": "delete", "range": [ 0, 21 ] } ], "range": [ 0, 22 ] } ], "hasChanges": true, "range": [ 0, 22 ], "number": 1 } ], [ { "terms": [ { "category": "Program", "children": [ { "category": "Comment", "range": [ 22, 25 ] } ], "range": [ 22, 25 ] } ], "hasChanges": false, "range": [ 22, 25 ], "number": 2 }, { "terms": [ { "category": "Program", "children": [ { "category": "Comment", "range": [ 0, 3 ] } ], "range": [ 0, 3 ] } ], "hasChanges": false, "range": [ 0, 3 ], "number": 1 } ], [ { "terms": [ { "category": "Program", "children": [ { "category": "Comment", "range": [ 25, 45 ] } ], "range": [ 25, 45 ] } ], "hasChanges": false, "range": [ 25, 45 ], "number": 3 }, { "terms": [ { "category": "Program", "children": [ { "category": "Comment", "range": [ 3, 23 ] } ], "range": [ 3, 23 ] } ], "hasChanges": false, "range": [ 3, 23 ], "number": 2 } ], [ { "terms": [ { "category": "Program", "children": [ { "category": "Comment", "range": [ 45, 47 ] } ], "range": [ 45, 48 ] } ], "hasChanges": false, "range": [ 45, 48 ], "number": 4 }, { "terms": [ { "category": "Program", "children": [ { "category": "Comment", "range": [ 23, 25 ] } ], "range": [ 23, 26 ] } ], "hasChanges": false, "range": [ 23, 26 ], "number": 3 } ], [ { "terms": [ { "category": "Program", "children": [], "range": [ 48, 48 ] } ], "hasChanges": false, "range": [ 48, 48 ], "number": 5 }, { "terms": [ { "category": "Program", "children": [], "range": [ 26, 26 ] } ], "hasChanges": false, "range": [ 26, 26 ], "number": 4 } ] ], "paths": [ "comment.js", "comment.js" ], "oids": [ "c2a8148ac79eb59d05d153c2d7470b73ec1848c6", "7c74dcdf6bb8fb8f0b945321c9c2d23da6a9973d" ] }, "filePaths": [ "comment.js" ], "sha1": "37d91a144f1c9462e8db4395152f3c1df2a16ad4", "gitDir": "test/corpus/repos/javascript", "sha2": "aed52648d318467c9d2f9b3bb8cb37d5e0f8ce4c" } ,{ "testCaseDescription": "javascript-comment-delete-rest-test", "expectedResult": { "rows": [ [ { "terms": [ { "category": "Program", "children": [ { "category": "Comment", "range": [ 0, 3 ] } ], "patch": "delete", "range": [ 0, 3 ] } ], "hasChanges": true, "range": [ 0, 3 ], "number": 1 } ], [ { "terms": [ { "category": "Program", "children": [ { "category": "Comment", "range": [ 3, 23 ] } ], "patch": "delete", "range": [ 3, 23 ] } ], "hasChanges": true, "range": [ 3, 23 ], "number": 2 } ], [ { "terms": [ { "category": "Program", "children": [ { "category": "Comment", "range": [ 23, 25 ] } ], "patch": "delete", "range": [ 23, 26 ] } ], "hasChanges": true, "range": [ 23, 26 ], "number": 3 } ], [ { "terms": [ { "category": "Program", "children": [], "patch": "delete", "range": [ 26, 26 ] } ], "hasChanges": true, "range": [ 26, 26 ], "number": 4 } ] ], "paths": [ "comment.js", "comment.js" ], "oids": [ "7c74dcdf6bb8fb8f0b945321c9c2d23da6a9973d", "e69de29bb2d1d6434b8b29ae775ad8c2e48c5391" ] }, "filePaths": [ "comment.js" ], "sha1": "aed52648d318467c9d2f9b3bb8cb37d5e0f8ce4c", "gitDir": "test/corpus/repos/javascript", "sha2": "7c6da72a3a3e446ba8fa022a17ce185fb6aa1cf8" }]