Dissecting copy/delete/replace/swap mutations: insights from a GIN case study

Sherlock A. Licorish, Markus Wagner

Research output: Chapter in Book/Report/Conference proceedingConference PaperOther

3 Citations (Scopus)

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 languageEnglish
Title of host publicationProceedings of the 2022 Genetic and Evolutionary Computation Conference Companion
EditorsJonathan Fieldsend
Place of PublicationNew York NY USA
PublisherAssociation for Computing Machinery (ACM)
Pages1940-1945
Number of pages6
ISBN (Electronic)9781450392686
DOIs
Publication statusPublished - 2022
Externally publishedYes
EventThe Genetic and Evolutionary Computation Conference 2022 - Online, Boston, United States of America
Duration: 9 Jul 202213 Jul 2022
https://dl.acm.org/doi/proceedings/10.1145/3520304 (Proceedings)
https://gecco-2022.sigevo.org/HomePage (Website)

Conference

ConferenceThe Genetic and Evolutionary Computation Conference 2022
Abbreviated titleGECCO 2022
Country/TerritoryUnited States of America
CityBoston
Period9/07/2213/07/22
Internet address

Cite this