Abstract
Research studies are increasingly critical of publicly available code due to evidence of faults. This has led researchers to explore ways to improve such code, with static analysis and genetic code improvement previously singled out. Previous work has evaluated the feasibility of these techniques, using PMD (a static analysis tool) and GIN (a program repair tool) for enhancing Stack Overflow Java code snippets. Results reported in this regard pointed to the potential of these techniques, especially in terms of GIN's removal of PMD's performance faults from 58 programs. We use a contextual lens to explore these mutations in this study, to evaluate the promise of these techniques. The outcomes show that while the programs were syntactically correct after GIN's mutations (i.e., they compiled), many of GIN's mutations changed the semantics of the code, rendering its purpose questionable. However, certain code mutations tend to retain code semantics more than others. In addition, GIN's mutations at times affected PMD's parsing ability, potentially increasing false negatives. Overall, while these approaches may prove useful, full utility may not be claimed at this time. For enhancing the outcomes of these approaches, we outline ways to improve the utility of these techniques and multiple future research directions.
Original language | English |
---|---|
Title of host publication | Proceedings of the 2022 Genetic and Evolutionary Computation Conference Companion |
Editors | Jonathan Fieldsend |
Place of Publication | New York NY USA |
Publisher | Association for Computing Machinery (ACM) |
Pages | 1940-1945 |
Number of pages | 6 |
ISBN (Electronic) | 9781450392686 |
DOIs | |
Publication status | Published - 2022 |
Externally published | Yes |
Event | The Genetic and Evolutionary Computation Conference 2022 - Online, Boston, United States of America Duration: 9 Jul 2022 → 13 Jul 2022 https://dl.acm.org/doi/proceedings/10.1145/3520304 (Proceedings) https://gecco-2022.sigevo.org/HomePage (Website) |
Conference
Conference | The Genetic and Evolutionary Computation Conference 2022 |
---|---|
Abbreviated title | GECCO 2022 |
Country/Territory | United States of America |
City | Boston |
Period | 9/07/22 → 13/07/22 |
Internet address |
|