SpoonLabs / coming

A tool for mining commits from Git repositories and diffs to automatically extract code change pattern instances and features with ast analysis
https://hal.inria.fr/hal-00861883/file/paper-short.pdf
MIT License
93 stars 33 forks source link

sort the code features in JSON files. #224

Closed SophieHYe closed 4 years ago

SophieHYe commented 4 years ago

Hi @martinezmatias, In this PR, I propose to sort the code features with the keys. In the previous version, the features were not sorted, for example, some statement features fall into different locations in a JSON file and mix with the method related features. In ComingMain.java, as we do not use the option featuretype, so I have removed it.

martinezmatias commented 4 years ago

Hi @SophieHYe Perfect, thanks. It seems perfect to me.

In ComingMain.java, as we do not use the option featuretype, so I have removed it.

Perfect. That's nice to avoid not used code.

Thanks!