change
macroOn this page you can find more details about our proposed annotations for the patches.
In our study, we focus on Coreutils patches studied by the CoREBench
project.
We express the change introduced by a patch using the change()
macro that takes
two parameters: the code expression before and the code expression after the
change. For example, if a statement
int y = x - 1;
is changed to a statement
int y = x + 1;
then we annotate that change using our change()
macro the following way:
int y = change(x - 1, x + 1);
The table below summarises the information about Coreutils patches from CoREBench and our corresponding annotations. The first column is the ID of the patch; we use the same numbering as CoREBench. The second column is a link to the diff for each patch on Coreutils web page. The third column is a link to a downloadable patch containing our annotations. Finally, the last column is a link to a web page containing a preview of the original patch and our annotations.
For simplicity, we present only the annotations for the patches and omit all other modifications introduced for technical reasons.
ID | Patch | Annotations | Details |
---|---|---|---|
1 | [0928c2](http://git.savannah.gnu.org/cgit/coreutils.git/commit/?id=0928c2414ab21682600e6572bc628a405fb1ea80) | [1.diff](1.diff) | [1.html](1.html) |
2 | [20c0b8](http://git.savannah.gnu.org/cgit/coreutils.git/commit/?id=20c0b8701fda7e34f3a2f944d795da487274cf10) | [2.diff](2.diff) | [2.html](2.html) |
3 | [3e466a](http://git.savannah.gnu.org/cgit/coreutils.git/commit/?id=3e466ad05181d95057e6612ff11059c91396cd0e) | [3.diff](3.diff) | [3.html](3.html) |
4 | [d461bf](http://git.savannah.gnu.org/cgit/coreutils.git/commit/?id=d461bfd2743547360793acd2118d4c08ad7b84a8) | [4.diff](4.diff) | [4.html](4.html) |
5=16 | [ae494d](http://git.savannah.gnu.org/cgit/coreutils.git/commit/?id=ae494d4be80df2aff50a2ac46fdc0c23de109ea3) | [5_16.diff](5_16.diff) | [5_16.html](5_16.html) |
6 | [ec48be](http://git.savannah.gnu.org/cgit/coreutils.git/commit/?id=ec48beadfa0ae1216788eaf6bf558ee2013eac18) | [6.diff](6.diff) | [6.html](6.html) |
7 | [77f89d](http://git.savannah.gnu.org/cgit/coreutils.git/commit/?id=77f89d014be68e42de5107aee0be95d18ee1735c) | [7.diff](7.diff) | [7.html](7.html) |
8 | [3786fb](http://git.savannah.gnu.org/cgit/coreutils.git/commit/?id=3786fb6de3918692675287953825ef623bcff9b6) | [8.diff](8.diff) | [8.html](8.html) |
9=18=20 | [6c5f11](http://git.savannah.gnu.org/cgit/coreutils.git/commit/?id=6c5f11fbfe56e4fa717953cdc3166d09fd8fd2ea) | [9_18_20.diff](9_18_20.diff) | [9_18_20.html](9_18_20.html) |
10 | [24ebca](http://git.savannah.gnu.org/cgit/coreutils.git/commit/?id=24ebca61a3a0f10d6cd2800b188b3c034d1c4755) | [10.diff](10.diff) | [10.html](10.html) |
11 | [2e636a](http://git.savannah.gnu.org/cgit/coreutils.git/commit/?id=2e636af1ef3f6a5ef872bdd2297dd25198c69395) | [11.diff](11.diff) | [11.html](11.html) |
12=17 | [7380cf](http://git.savannah.gnu.org/cgit/coreutils.git/commit/?id=7380cf792aa35b9328519c5f374036d5260704cb) | [12_17.diff](12_17.diff) | [12_17.html](12_17.html) |
13 | [84457c](http://git.savannah.gnu.org/cgit/coreutils.git/commit/?id=84457c491e775f664a1c33274cd2c5acadb5be73) | [13.diff](13.diff) | [13.html](13.html) |
14 | [bcb907](http://git.savannah.gnu.org/cgit/coreutils.git/commit/?id=bcb9078e380d81be62e8df00c45afc2f57392dc2) | [14.diff](14.diff) | [14.html](14.html) |
15 | [cfe104](http://git.savannah.gnu.org/cgit/coreutils.git/commit/?id=cfe1040c093be1c1a9b2403e713f1d1c2242a4bc) | [15.diff](15.diff) | [15.html](15.html) |
19 | [86e4b7](http://git.savannah.gnu.org/cgit/coreutils.git/commit/?id=86e4b778b148bdd82395fdc312ce8d937f303e33) | [19.diff](19.diff) | [19.html](19.html) |
21 | [ae5717](http://git.savannah.gnu.org/cgit/coreutils.git/commit/?id=ae5717158f1b9f31b986b0f4416582684039ec55) | [21.diff](21.diff) | [21.html](21.html) |
22 | [7eff59](http://git.savannah.gnu.org/cgit/coreutils.git/commit/?id=7eff5901c419afb8945bd96a5ed12d196802bc79) | [22.diff](22.diff) | [22.html](22.html) |