MICoDE is short for "Mining Implicit Code Design", which is a tool to automatically extract and abstract recurring designs from code base into design templates. The mined templates allows developers to make further customization for generating new code. The generated code involves the code skeleton of recurring design as well as the code bodies annotated with comments and hints to remind developers of necessary modification.

A demo video can be checked as follows. In addition, the source code of Microbat is available at https://github.com/llmhyy/MICoDE. Our paper is available here.


Reuse Simulation Experiment

The results shows that to create a new similar feature with a design template, (1) on average 69% of the elements in the template can be reused and (2) on average 60% code of the new feature can be adopted from the template. Details can be checked here.