DevReplay: Linter that generates regular expressions for repeating code changes
抄録
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.
収録刊行物
-
- Science of Computer Programming
-
Science of Computer Programming 223 2022-08-12
Elsevier
- Tweet
詳細情報 詳細情報について
-
- CRID
- 1050858784329962368
-
- ISSN
- 18727964
-
- HANDLE
- 10061/14792
-
- 本文言語コード
- en
-
- 資料種別
- journal article
-
- データソース種別
-
- IRDB