An Empirical Study on the Readability of Regular Expressions: Textual versus Graphical

被引:8
|
作者
Hollmann, Niklas [1 ]
Hanenberg, Stefan [1 ]
机构
[1] Univ Duisburg Essen, Paluno, Essen, Germany
关键词
D O I
10.1109/VISSOFT.2017.27
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Although the readability of source code plays an important role in software construction, not many studies are available that do actually compare the impact of different notations on the readability of source code. Among the huge set of possible languages to be studied, one language is frequently used in education as well as in practice: regular expressions. This paper introduces a randomized controlled trial performed on 22 participants that compares two different notations for regular expressions: a textual and a graphical one. It shows that a regular expression's length as well as the notation (textual vs. graphical) has a strong effect on the regular expression's readability while the participants' background showed no measurable effect. On average, the time required by the participants to answer questions about shortest words using the textual representation was almost three times higher than the time it took for answering such questions using the graphical representation.
引用
收藏
页码:74 / 84
页数:11
相关论文
共 50 条
  • [1] Graphical versus textual software measurement modelling: an empirical study
    Mora, B.
    Garcia, F.
    Ruiz, F.
    Piattini, M.
    SOFTWARE QUALITY JOURNAL, 2011, 19 (01) : 201 - 233
  • [2] Graphical versus textual software measurement modelling: an empirical study
    B. Mora
    F. García
    F. Ruiz
    M. Piattini
    Software Quality Journal, 2011, 19 : 201 - 233
  • [3] Comparison of a textual versus a graphical notation for the maintainability of MDE domain models: an empirical pilot study
    Santiago Meliá
    Cristina Cachero
    Jesús M. Hermida
    Enrique Aparicio
    Software Quality Journal, 2016, 24 : 709 - 735
  • [4] Comparison of a textual versus a graphical notation for the maintainability of MDE domain models: an empirical pilot study
    Melia, Santiago
    Cachero, Cristina
    Hermida, Jesus M.
    Aparicio, Enrique
    SOFTWARE QUALITY JOURNAL, 2016, 24 (03) : 709 - 735
  • [5] Graphical User Interface for Search of Mathematical Expressions with Regular Expressions
    Watabe, Takayuki
    Miyazaki, Yoshinori
    HUMAN-COMPUTER INTERACTION: DESIGN AND EVALUATION, PT I, 2015, 9169 : 438 - 447
  • [6] Tree-Based versus Hybrid Graphical-Textual Model Editors: An Empirical Study of Testing Specifications
    Predoaia, Ionut
    Harbin, James
    Gerasimou, Simos
    Vasiliou, Christina
    Kolovos, Dimitris
    Garcia-Dominguez, Antonio
    27TH INTERNATIONAL ACM/IEEE CONFERENCE ON MODEL DRIVEN ENGINEERING LANGUAGES AND SYSTEMS, MODELS, 2024, : 80 - 91
  • [7] Why arent regular expressions a lingua franca? An empirical study on the re-use and portability of regular expressions
    Davis, James C.
    Michael, Louis G.
    Coghlan, Christy A.
    Servant, Francisco
    Lee, Dongyoon
    ESEC/FSE 2019 - Proceedings of the 2019 27th ACM Joint Meeting European Software Engineering Conference and Symposium on the Foundations of Software Engineering, 2019, : 443 - 454
  • [8] An Empirical Study on the Efficiency of Graphical vs. Textual Representations in Requirements Comprehension
    Sharafi, Zohreh
    Marchetto, Alessandro
    Susi, Angelo
    Antoniol, Giuliano
    Gueheneuc, Yann-Gael
    2013 IEEE 21ST INTERNATIONAL CONFERENCE ON PROGRAM COMPREHENSION (ICPC), 2013, : 33 - 42
  • [9] Why aren't regular expressions a lingua franca? An empirical study on the re-use and portability of regular expressions
    Davis, James C.
    Michael, Louis G.
    Coghlan, Christy A.
    Servant, Francisco
    Lee, Dongyoon
    arXiv, 2021,
  • [10] Why Aren't Regular Expressions a Lingua Franca? An Empirical Study on the Re-use and Portability of Regular Expressions
    Davis, James C.
    Michael, Louis G.
    Coghlan, Christy A.
    Servant, Francisco
    Lee, Dongyoon
    ESEC/FSE'2019: PROCEEDINGS OF THE 2019 27TH ACM JOINT MEETING ON EUROPEAN SOFTWARE ENGINEERING CONFERENCE AND SYMPOSIUM ON THE FOUNDATIONS OF SOFTWARE ENGINEERING, 2019, : 443 - 454