An Empirical Study of the Intuitive Understanding of a Formal Pattern Language

被引:3
|
作者
Henkel, Elisabeth [1 ]
Hauff, Nico [1 ]
Eber, Lukas [1 ]
Langenfeld, Vincent [1 ]
Podelski, Andreas [1 ]
机构
[1] Univ Freiburg, Dept Comp Sci, Freiburg, Germany
关键词
Pattern Languages; Formal Requirements; Intuitive Understanding; Empirical Study;
D O I
10.1007/978-3-031-29786-1_2
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
[Context and motivation] Formal pattern languages with a restricted English grammar, such as the pattern language of Konrad and Cheng, give us the possibility to combine human intuition and the rigour of a machine. [Question/problem] The question arises to what extent the intuitive understanding of such a pattern language is in agreement with its formal semantics. [Principal ideas/results] We present an empirical study to address this question. The existence of a formal semantics allows us to use the machine as an objective judge to decide if the intuitive understanding is correct. The study confirms empirically the practical usefulness of HANFORPL in that the intuitive understanding matches the formal semantics in most practically relevant cases. The study reveals that a number of phrases of interest represent critical edge cases where even a prior exposure to formal logic is not a guarantee for the correct intuitive understanding. [Contribution] We show how the alignment of formal and intuitive semantics can be investigated, and that this alignment can not simply be assumed. Nonetheless, results regarding the understandability of HANFORPL are favourable with high understandability in commonly used patterns. The results of the study will be the basis of improvements in HANFORPL.
引用
收藏
页码:21 / 38
页数:18
相关论文
共 50 条
  • [1] A Formal Language of Pattern Compositions
    Bayley, Ian
    Zhu, Hong
    PROCEEDINGS OF THE SECOND INTERNATIONAL CONFERENCES ON PERVASIVE PATTERNS AND APPLICATIONS (PATTERNS 2010), 2010, : 1 - 6
  • [2] A tool for a formal pattern modeling language
    Kim, Soon-Kyeong
    Carrington, David
    FORMAL METHODS AND SOFTWARE ENGINEERING, PROCEEDINGS, 2006, 4260 : 568 - +
  • [3] A tool for a formal pattern modeling language
    Kim, Soon-Kyeong
    Carrington, David
    Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics), 2006, 4260 LNCS : 568 - 587
  • [4] Letting the intuitive bear on the formal; a didactical approach for the understanding of the limit of a sequence
    Mamona-Downs J.
    Educational Studies in Mathematics, 2001, 48 (2-3) : 259 - 288
  • [5] Understanding privacy policies A study in empirical analysis of language usage
    Laemmel, Ralf
    Pek, Ekaterina
    EMPIRICAL SOFTWARE ENGINEERING, 2013, 18 (02) : 310 - 374
  • [6] Understanding privacy policiesA study in empirical analysis of language usage
    Ralf Lämmel
    Ekaterina Pek
    Empirical Software Engineering, 2013, 18 : 310 - 374
  • [7] A formal pattern language for refactoring of Lisp programs
    Leitao, AM
    SIXTH EUROPEAN CONFERENCE ON SOFTWARE MAINTENANCE AND REENGINEERING, PROCEEDINGS, 2002, : 186 - 192
  • [8] An empirical research agenda for understanding formal methods productivity
    Jeffery, Ross
    Staples, Mark
    Andronick, June
    Klein, Gerwin
    Murray, Toby
    INFORMATION AND SOFTWARE TECHNOLOGY, 2015, 60 : 102 - 112
  • [9] Diagrams and Intuitive Formal Specifications
    Burton, James
    2008 IEEE SYMPOSIUM ON VISUAL LANGUAGES AND HUMAN-CENTRIC COMPUTING, PROCEEDINGS, 2008, : 262 - 263