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 条
  • [1] Domain-specific model checking using the Bogor framework
    Robby
    Dwyer, Matthew B.
    Hatcliff, John
    ASE 2006: 21ST IEEE INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING, PROCEEDINGS, 2006, : 369 - +
  • [2] Domain-Specific Language Facilitates Scheduling in Model Checking
    Tran, Nhat-Hoa
    Chiba, Yuki
    Aoki, Toshiaki
    2017 24TH ASIA-PACIFIC SOFTWARE ENGINEERING CONFERENCE (APSEC 2017), 2017, : 417 - 426
  • [3] Program Comprehension for Domain-Specific Languages
    Varanda Pereira, Maria Joao
    Mernik, Marjan
    da Cruz, Daniela
    Henriques, Pedro Rangel
    COMPUTER SCIENCE AND INFORMATION SYSTEMS, 2008, 5 (02) : 1 - 17
  • [4] From a program family to a domain-specific \language
    Consel, C
    DOMAIN-SPECIFIC PROGRAM GENERATION, 2003, 3016 : 19 - 29
  • [5] Efficient Parametric Model Checking Using Domain-Specific Modelling Patterns
    Calinescu, Radu
    Johnson, Kenneth
    Paterson, Colin
    2018 IEEE/ACM 40TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING: NEW IDEAS AND EMERGING TECHNOLOGIES RESULTS (ICSE-NIER), 2018, : 61 - 64
  • [6] Domain-specific model differencing for graphical domain-specific languages
    Jafarlou, Manouchehr Zadahmad
    ACM/IEEE 25TH INTERNATIONAL CONFERENCE ON MODEL DRIVEN ENGINEERING LANGUAGES AND SYSTEMS, MODELS 2022 COMPANION, 2022, : 205 - 208
  • [7] Checking Architectural and Implementation Constraints for Domain-Specific Component Frameworks using Models
    Noguera, Carlos
    Loiret, Frederic
    2009 35TH EUROMICRO CONFERENCE ON SOFTWARE ENGINEERING AND ADVANCED APPLICATIONS, PROCEEDINGS, 2009, : 125 - +
  • [8] Model Checking in the Presence of Schedulers Using a Domain-Specific Language for Scheduling Policies
    Nhat-Hoa Tran
    Chiba, Yuki
    Aoki, Toshiaki
    IEICE TRANSACTIONS ON INFORMATION AND SYSTEMS, 2019, E102D (07): : 1280 - 1295
  • [9] Domain-Specific Hierarchical Text Classification for Supporting Automated Environmental Compliance Checking
    Zhou, Peng
    El-Gohary, Nora
    JOURNAL OF COMPUTING IN CIVIL ENGINEERING, 2016, 30 (04)
  • [10] Statistical Model Checking of e-Motions Domain-Specific Modeling Languages
    Duran, Francisco
    Moreno-Delgado, Antonio
    Alvarez-Palomo, Jose M.
    FUNDAMENTAL APPROACHES TO SOFTWARE ENGINEERING (FASE 2016), 2016, 9633 : 305 - 322