Domain-Specific Program Checking

被引:0
作者
Renggli, Lukas [1 ]
Ducasse, Stephane [2 ]
Girba, Tudor [3 ]
Nierstrasz, Oscar [1 ]
机构
[1] Univ Bern, Software Composit Grp, CH-3012 Bern, Switzerland
[2] INRIA, RMoD, Lille, France
[3] Software Engn GmbH, Sw eng, Bern, Switzerland
来源
OBJECTS, MODELS, COMPONENTS, PATTERNS | 2010年 / 6141卷
基金
瑞士国家科学基金会;
关键词
D O I
暂无
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
Lint-like program checkers are popular tools that ensure code quality by verifying compliance with best practices for a particular programming language. The proliferation of internal domain-specific languages and models, however, poses new challenges for such tools. Traditional program checkers produce many false positives and fail to accurately check constraints, best practices, common errors, possible optimizations and portability issues particular to domain-specific languages. We advocate the use of dedicated rules to check domain-specific practices. We demonstrate the implementation of domain-specific rules, the automatic repair of violations, and their application to two case-studies: (1) Seaside defines several internal DSLs through a creative use of the syntax of the host language; and (2) Magritte adds meta-descriptions to existing code by means of special methods. Our empirical validation demonstrates that domain-specific program checking significantly improves code quality when compared with general purpose program checking.
引用
收藏
页码:213 / +
页数:3
相关论文
共 50 条
[41]   Domain-specific Individualization of Workflows [J].
Raedisch, Tim ;
Weissenberg, Norbert ;
Holtkamp, Bernhard .
GCC 2008: SEVENTH INTERNATIONAL CONFERENCE ON GRID AND COOPERATIVE COMPUTING, PROCEEDINGS, 2008, :719-726
[42]   Certifying domain-specific policies [J].
Lowry, M ;
Pressburger, T ;
Rosu, G .
16TH ANNUAL INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING (ASE 2001), PROCEEDINGS, 2001, :81-90
[43]   The Case for Domain-Specific Networks [J].
Abts, Dennis ;
Kim, John .
2023 IEEE SYMPOSIUM ON HIGH-PERFORMANCE INTERCONNECTS, HOTI, 2023, :49-52
[44]   Simulated Domain-Specific Provenance [J].
Alper, Pinar ;
Fairweather, Elliot ;
Curcin, Vasa .
PROVENANCE AND ANNOTATION OF DATA AND PROCESSES, IPAW 2018, 2018, 11017 :71-83
[45]   Customizable Domain-Specific Computing [J].
Cong, Jason ;
Sarkar, Vivek ;
Reinman, Glenn ;
Bui, Alex .
IEEE DESIGN & TEST OF COMPUTERS, 2011, 28 (02) :6-14
[46]   Debugging in Domain-Specific Modelling [J].
Mannadiar, Raphael ;
Vangheluwe, Hans .
SOFTWARE LANGUAGE ENGINEERING, 2011, 6563 :276-285
[47]   A domain-specific modeling milestone [J].
Gray, Jeff ;
Rumpe, Bernhard ;
Tolvanen, Juha-Pekka .
SOFTWARE AND SYSTEMS MODELING, 2021, 20 (04) :917-918
[48]   DOMAIN-SPECIFIC FORMS OF NEGLECT [J].
UMILTA, C .
JOURNAL OF CLINICAL AND EXPERIMENTAL NEUROPSYCHOLOGY, 1995, 17 (02) :209-219
[49]   Tools for Domain-specific modeling [J].
Kelly, S .
DR DOBBS JOURNAL, 2004, 29 (09) :79-81
[50]   DIAGNOSTICS FOR DOMAIN-SPECIFIC CONSTRAINTS [J].
GRANT, J ;
KARMILOFFSMITH, A .
BEHAVIORAL AND BRAIN SCIENCES, 1991, 14 (04) :621-621