Treffer: User-Centric Study and Enhancement of Python Static Code Analysers

Title:
User-Centric Study and Enhancement of Python Static Code Analysers
Publisher Information:
Psychology of Programming Interest Group
Publication Year:
2023
Collection:
Lund University Publications (LUP)
Subject Terms:
Document Type:
Buch book part<br />conference object
Language:
English
Accession Number:
edsbas.94F2EDCD
Database:
BASE

Weitere Informationen

Despite the growing integration of code analysis tools into developer workflows, usability challengespersist in many aspects. Previous research, primarily focused on static languages and professional developers, has largely overlooked the needs of novice developers and non-static languages like Python.In this paper, we investigate the experiences of novice Python programmers with static code analysistools. We aim to understand how these novices interact with and perceive these tools, with a focus onidentifying usability pain points. To this end, we conducted initial user research with a survey followedby interviews. The insights derived from these studies were used to develop an enhanced version of thePylint extension to Visual Studio Code, incorporating additional quick-fixes to improve the user experience connected to configuration of static analysis tools. The developed prototype extension was finallyevaluated in a user study. The results from the interviews and surveys suggest that false positives, otherwise reported as a dominant cause of usability issues with code analysis, may not be as dominant fornovice users who may focus on other aspects and not challenge the code analysis results. In addition,the results from the evaluation give early input on one possible direction for an enhanced Python codeanalyser interaction focused on novices.