Documents

DOI

Microsoft VBA (Visual Basic for Applications) is a programming language widely used by end-user programmers, often alongside the popular spreadsheet software Excel. Together they form the popular Excel-VBA application ecosystem. Despite being popular, spreadsheets are known to be fault-prone, and to minimize risk of faults in the overall Excel-VBA ecosystem, it is important to support end-user programmers in improving the code quality of their VBA programs also, in addition to improving spreadsheet technology and practices. In traditional software development, automatic code inspection using static analysis tools has been found effective in improving code quality, but the practical relevance of this technique in an end-user development context remains unexplored. With the aim of popularizing it in the end-user community, in this paper we examine the relevance of automatic code inspection in terms of how inspection rules are perceived by VBA programmers. We conduct a qualitative study consisting of interviews with 14 VBA programmers, who share their perceptions about 20 inspection rules that most frequently detected code quality issues in an industrial dataset of 25 VBA applications, obtained from a financial services company. Results show that the 20 studied inspection rules can be grouped into three categories of user perceptions based on the type of issues they warn about: i) 11 rules that warn about serious problems which need fixing, ii) 7 rules that warn about bad practices which do not mandate fixing, and iii) 2 rules that warn about purposeful code elements rather than issues. Based on these perceptions, we conclude that automatic code inspection is considerably relevant in an end-user development context such as VBA. The perceptions also indicate which inspection rules deserve the most attention from interested researchers and tool developers. Lastly, our results also reveal 3 additional issue types that are not covered by the existing inspection rules, and are therefore impetus for creating new rules.

Original languageEnglish
Title of host publicationProceedings of EASE 2019 - Evaluation and Assessment in Software Engineering
Place of PublicationNew York, NY, USA
PublisherAssociation for Computing Machinery (ACM)
Pages167-176
Number of pages10
ISBN (Electronic)978-1-4503-7145-2
DOIs
Publication statusPublished - 2019
Event23rd Evaluation and Assessment in Software Engineering Conference, EASE 2019 - Copenhagen, Denmark
Duration: 14 Apr 201917 Apr 2019

Conference

Conference23rd Evaluation and Assessment in Software Engineering Conference, EASE 2019
CountryDenmark
CityCopenhagen
Period14/04/1917/04/19

    Research areas

  • Code quality, Developer perceptions, End-user development, Static analysis, VBA

ID: 53581589