Measuring the complexity of domain-specific languages developed using MDD

被引:0
作者
Boštjan Slivnik
机构
[1] University of Ljubljana,Faculty of Computer and Information Science
来源
Software Quality Journal | 2016年 / 24卷
关键词
Model-driven development; Domain-specific languages ; Metamodel quality; Quality metrics;
D O I
暂无
中图分类号
学科分类号
摘要
The standard ISO/IEC 25010 (SQuaRE) defines appropriateness as one of the three components of functional suitability, the other two components being completeness and correctness. As users of domain-specific language (DSL) are quite often domain experts with limited programming skills, a DSL might be considered appropriate if the resulting domain-specific programs do not contain an excessive amount of nondomain-related programming elements. This paper describes a metric for measuring the appropriateness of DSLs that are developed using model-driven development (MDD), its evaluation and use. The metric measures the depth of the deepest domain-specific command within abstract syntax trees generated by a DSL. It is aimed at being used during the development of a new DSL and for comparing different DSLs defined over the same domain. It is assumed that during MDD, the metamodel describes the domain-independent part of the DSL, while the model supplies the domain-specific part. This resembles the implementation of DSLs using existing metaprogramming tools that provide off-the-shelf implementations of programming constructs but require manual implementation of the domain-specific language elements.
引用
收藏
页码:737 / 753
页数:16
相关论文
共 27 条
[1]  
Barišić A(2012)How to reach a usable DSL? Moving toward a systematic evaluation Electronic Communications of the EASST 50 1-20
[2]  
Amaral V(2009)Domain-specific languages in practice: A user study on the success factors Model Driven Engineering Languages and Systems Lecture Notes in Computer Science 5795 423-437
[3]  
Goulão M(2010)Comparing general-purpose and domain-specific languages: An empirical study Computer Science and Information Systems 7 247-264
[4]  
Barroca B(2009)Comparison of most adaptive meta model with newly created Quality Meta-Model using CART algorithm International Journal of Electronics and Computer Science Engineering 1 2486-2491
[5]  
Hermans F(2005)When and how to develop domain-specific languages ACM Computing Surveys 37 316-344
[6]  
Pinzger M(2009)Definitions and approaches to model quality in model-based software development—A review of literature Information and Software Technology 51 1646-1669
[7]  
van Deursen A(2010)Annotation base parser generator Computer Science and Information Systems 7 291-307
[8]  
Kosar T(2008)Domain specific language implementation via compile-time meta-programming ACM Transactions on Programming Languages and Systems (TOPLAS) 30 31:1-31:40
[9]  
Oliveira N(undefined)undefined undefined undefined undefined-undefined
[10]  
Mernik M(undefined)undefined undefined undefined undefined-undefined