Are a Static Analysis Tool Study's Findings Static? A Replication

被引:0
作者
Liu, David [1 ]
Calver, Jonathan [1 ]
Craig, Michelle [1 ]
机构
[1] Univ Toronto, Toronto, ON, Canada
来源
PROCEEDINGS OF THE 2024 CONFERENCE INNOVATION AND TECHNOLOGY IN COMPUTER SCIENCE EDUCATION, VOL 1, ITICSE 2024 | 2024年
关键词
static analysis; replication; style checker; error messages;
D O I
10.1145/3649217.3653545
中图分类号
TP39 [计算机的应用];
学科分类号
081203 ; 0835 ;
摘要
In 2017, Edwards et al. studied a large corpus of Java programs collected through an automated submission and assessment system that integrated static analysis feedback. They found that errors reported were most commonly related to formatting, but that the frequency of errors they categorized as "Coding Flaws" correlated with program correctness grades. They argued that static analysis feedback could detect problems relating to code correctness and could therefore be useful beyond evaluating conformance to style rules, but that students may overlook non-cosmetic error messages because of the relative volume of formatting errors. In this paper we perform a conceptual replication of the Edwards et al. study with 1270 CS1 students learning Python. We confirm that almost a decade later and even after being instructed to use the auto-formatting options within their IDE, students still encounter mostly formatting errors when using a static analysis tool. We find that the second-most common category of errors detected are "Coding Flaws", and, like Edwards et al., that the frequency of coding flaws identified by the static analysis tool correlates to program correctness. When we examine trends based on levels of prior programming experience, we find that all students tend to make more formatting errors than other kinds of errors, but that students with no prior programming experience have more errors reported across all error categories.
引用
收藏
页码:80 / 86
页数:7
相关论文
共 24 条
  • [1] AHADI A, 2016, P 16 KOL CALL INT C, P2, DOI DOI 10.1145/2999541.2999554
  • [2] Bao-An Nguyen, 2020, 2020 International Computer Symposium (ICS), P473, DOI 10.1109/ICS51289.2020.00099
  • [3] Compiler Error Messages Considered Unhelpful: The Landscape of Text-Based Programming Error Message Research
    Becker, Brett A.
    Denny, Paul
    Pettit, Raymond
    Bouchard, Durell
    Bouvier, Dennis J.
    Harrington, Brian
    Kamil, Amir
    Karkare, Amey
    McDonald, Chris
    Osera, Peter-Michael
    Pearce, Janice L.
    Prather, James
    [J]. PROCEEDINGS OF THE WORKING GROUP REPORTS ON INNOVATION AND TECHNOLOGY IN COMPUTER SCIENCE EDUCATION (ITICSE-WGR '19), 2019, : 177 - 210
  • [4] Hyperstyle: A Tool for Assessing the Code Quality of Solutions to Programming Assignments
    Birillo, Anastasiia
    Vlasov, Ilya
    Burylov, Artyom
    Selishchev, Vitalii
    Goncharov, Artyom
    Tikhomirova, Elena
    Vyahhi, Nikolay
    Bryksin, Timofey
    [J]. PROCEEDINGS OF THE 53RD ACM TECHNICAL SYMPOSIUM ON COMPUTER SCIENCE EDUCATION (SIGCSE 2022), VOL 1, 2022, : 307 - 313
  • [5] Brown Neil C. C., 2022, ICER 2022 V1: Proceedings of the 2022 ACM Conference on International Computing Education Research V.1, P309, DOI 10.1145/3501385.3543971
  • [6] Bui Tung., 2019, 52 HAW INT C SYST SC, P1
  • [7] Investigating Static Analysis Errors in Student Java']Java Programs
    Edwards, Stephen H.
    Kandru, Nischel
    Rajagopal, Mukund B. M.
    [J]. PROCEEDINGS OF THE 2017 ACM CONFERENCE ON INTERNATIONAL COMPUTING EDUCATION RESEARCH (ICER 17), 2017, : 65 - 73
  • [8] A Systematic Investigation of Replications in Computing Education Research
    Hao, Qiang
    Smith, David H.
    Iriumi, Naitra
    Tsikerdekis, Michael
    Ko, Andrew J.
    [J]. ACM TRANSACTIONS ON COMPUTING EDUCATION, 2019, 19 (04)
  • [9] Eastwood-Tidy: C Linting for Automated Code Style Assessment in Programming Courses
    Hart, Rowan
    Hays, Brian
    McMillin, Connor
    Rezig, El Kindi
    Rodriguez-Rivera, Gustavo
    Turkstra, Jeffrey A.
    [J]. PROCEEDINGS OF THE 54TH ACM TECHNICAL SYMPOSIUM ON COMPUTER SCIENCE EDUCATION, VOL 1, SIGCSE 2023, 2023, : 799 - 805
  • [10] Jansen Julian, 2017, POSTPR 10 SEM ADV TE, V2070