Mining Source Code Improvement Patterns from Similar Code Review Works
Autor: | Yuki Ueda, Akinori Ihara, Takashi Ishio, Kenichi Matsumoto |
---|---|
Jazyk: | angličtina |
Rok vydání: | 2019 |
Předmět: |
History
Source code Computer science media_common.quotation_subject Time series analysis 02 engineering and technology Guidelines computer.software_genre Software 020204 information systems Encoding (memory) 0202 electrical engineering electronic engineering information engineering Code (cryptography) Training Sequential Pattern Mining media_common Code review sequential pattern mining Notice business.industry code review 020207 software engineering Encoding source code changes Key (cryptography) Manuals Data mining business computer |
Zdroj: | IWSC |
Popis: | Code review is key to ensuring the absence of potential issues in source code. Code reviewers spend a large amount of time to manually check submitted patches based on their knowledge. Since a number of patches sometimes have similar potential issues, code reviewers need to suggest similar source code changes to patch authors. If patch authors notice similar code improvement patterns by themselves before submitting to code review, reviewers’ cost would be reduced. In order to detect similar code changes patterns, this study employs a sequential pattern mining to detect source code improvement patterns that frequently appear in code review history. In a case study using a code review dataset of the OpenStack project, we found that the detected patterns by our proposed approach included effective examples to improve patches without reviewers’ manual check. We also found that the patterns have been changed in time series; our pattern mining approach timely achieves to track the effective code improvement patterns. IWSC 2019 : 2019 IEEE 13th International Workshop on Software Clones, 24-24 Feb. 2019, Hangzhou, China |
Databáze: | OpenAIRE |
Externí odkaz: |