The Impact of Code Bloat on Genetic Program Comprehension: Replication of a Controlled Experiment on Semantic Inference

被引:1
|
作者
Kosar, Tomaz [1 ]
Kovacevic, Zeljko [2 ]
Mernik, Marjan [1 ]
Slivnik, Bostjan [3 ]
机构
[1] Univ Maribor, Fac Elect Engn & Comp Sci, Koroska Cesta 46, Maribor 2000, Slovenia
[2] Zagreb Univ Appl Sci, Dept Comp Sci & Informat, Vrbik 8, Zagreb 10000, Croatia
[3] Univ Ljubljana, Fac Comp & Informat Sci, Vecna Pot 113, Ljubljana 1000, Slovenia
关键词
genetic programming; program comprehension; controlled experiment; replication; semantic inference; attribute grammars; LANGUAGE; ALGORITHMS; TOOL;
D O I
10.3390/math11173744
中图分类号
O1 [数学];
学科分类号
0701 ; 070101 ;
摘要
Our previous study showed that automatically generated attribute grammars were harder to comprehend than manually written attribute grammars, mostly due to unexpected solutions. This study is an internally differentiated replication of the previous experiment, but, unlike the previous one, it focused on testing the influence of code bloat on comprehension correctness and efficiency. While the experiment's context, design, and measurements were kept mostly the same as in the original experiment, more realistic code bloat examples were introduced. The replicated experiment was conducted with undergraduate students from two universities, showing statistically significant differences in comprehension correctness and efficiency between attribute grammars without code bloat and attribute grammars with code bloat, although the participants perceived attribute grammars with code bloat as simple as attribute grammars without code bloat. On the other hand, there was no statistically significant difference in comprehension correctness and efficiency between automatically generated attribute grammars with possible unexpected solutions and attribute grammars with code bloat, although there was a statistically significant difference in participants' perspective of simplicity between automatically generated attribute grammars with possible unexpected solutions and attribute grammars with code bloat. The participants perceived attribute grammars with code bloat as significantly simpler than automatically generated attribute grammars.
引用
收藏
页数:20
相关论文
共 24 条
  • [1] On Comprehension of Genetic Programming Solutions: A Controlled Experiment on Semantic Inference
    Slivnik, Bostjan
    Kovacevic, Zeljko
    Mernik, Marjan
    Kosar, Tomaz
    MATHEMATICS, 2022, 10 (18)
  • [2] Semantic approximation for reducing code bloat in Genetic Programming
    Quang Uy Nguyen
    Thi Huong Chu
    SWARM AND EVOLUTIONARY COMPUTATION, 2020, 58
  • [3] Trace Visualization for Program Comprehension: A Controlled Experiment
    Cornelissen, Bas
    Zaidman, Andy
    van Deursen, Arie
    van Rompaey, Bart
    ICPC: 2009 IEEE 17TH INTERNATIONAL CONFERENCE ON PROGRAM COMPREHENSION, 2009, : 100 - +
  • [4] A Controlled Experiment for Program Comprehension through Trace Visualization
    Cornelissen, Bas
    Zaidman, Andy
    van Deursen, Arie
    IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2011, 37 (03) : 341 - 355
  • [5] Program Comprehension and Code Complexity Metrics: A Replication Package of an fMRI Study
    Peitek, Norman
    Apel, Sven
    Parnin, Chris
    Brechmann, Andre
    Siegmund, Janet
    2021 IEEE/ACM 43RD INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING: COMPANION PROCEEDINGS (ICSE-COMPANION 2021), 2021, : 168 - 169
  • [6] Source-code comprehension tasks supported by UML design models: Results from a controlled experiment and a differentiated replication
    Gravino, Carmine
    Scanniello, Giuseppe
    Tortora, Genoveffa
    JOURNAL OF VISUAL LANGUAGES AND COMPUTING, 2015, 28 : 23 - 38
  • [7] The impacts of function extraction technology on program comprehension: A controlled experiment
    Collins, Rosann Webb
    Hevner, Alan R.
    Walton, Gwendolyn H.
    Linger, Richard C.
    INFORMATION AND SOFTWARE TECHNOLOGY, 2008, 50 (11) : 1165 - 1179
  • [9] Semantic-Based Extraction Approach for Generating Source Code Summary Towards Program Comprehension
    Kadar, Rozita
    Syed-Mohamad, Sharifah Mashita
    Rashid, Nur'Aini Abdul
    2015 9TH MALAYSIAN SOFTWARE ENGINEERING CONFERENCE (MYSEC2015), 2015, : 129 - 134
  • [10] Trace Visualization within the Software City Metaphor: A Controlled Experiment on Program Comprehension
    Dashuber, Veronika
    Philippsen, Michael
    2021 WORKING CONFERENCE ON SOFTWARE VISUALIZATION (VISSOFT 2021), 2021, : 55 - 64