Abstract

Coding rules automatically exclude language-specific anti-patterns in the source code. However, developers still need to validate project-specific anti-patterns manually. We present a novel static analysis tool DevReplay that generates coding rules as regular expressions from real-time source code editing. The generated regular expressions automatically repeat the same changes to the source code. Hence, users can share their own coding rules with inter-project members to keep source code consistency. As a field study, we submitted patches to the most popular open-source projects implemented by different languages, and project reviewers accepted 80% (8 of 10) of our patches.

Full Text
Published version (Free)

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call