A language-parametric test coverage framework for executable domain-specific languages

dc.contributor.authorKhorram, Faezeh
dc.contributor.authorBousse, Erwan
dc.contributor.authorGarmendia Jorge, Antonio
dc.contributor.authorMottu, Jean-Marie
dc.contributor.authorSunye, Gerson
dc.contributor.authorWimmer, Manuel
dc.date.accessioned2026-02-26T09:47:27Z
dc.date.issued2024-02-08
dc.date.updated2026-02-26T08:58:37Z
dc.description.abstractTest coverage is an effective technique to measure test case quality and to enable fault localization. However, for Executable Domain -Specific Languages (xDSLs), coverage metrics and associated tools are currently manually defined for each xDSL resulting in costly, error -prone, and non -reusable work. To address this problem, we propose a novel language -parametric test coverage framework for xDSLs. We define two coverage metrics adapted to xDSLs: model element and branch coverage. For performing coverage measurements, we propose a generic technique which can be used out -of -the -box by domain experts using any xDSL to define, execute, and test models. In addition, the coverage of model elements and branches can be parameterized for a given xDSL through the definition of coverage rules using a dedicated language. We showcase two test coverage applications for xDSLs: measuring the quality of test suites for executable models and localizing the models' faults using Spectrum -Based Fault Localization techniques. We evaluate our approach using four different xDSLs. Results show that (i) we can generate meaningful coverage measurements for all investigated models, (ii) the provided coverage rule language enables framework parameterization for all xDSLs, and (iii) the computed coverage measurements are useful in identifying defects of the models.
dc.formatapplication/pdf
dc.identifier.citationKhorram, Faezeh; Bousse, Erwan; Garmendia, Antonio; Mottu, Jean-Marie; Sunye, Gerson; Wimmer, Manuel (2024). A language-parametric test coverage framework for executable domain-specific languages. Journal Of Systems And Software, 211(), 111977-. DOI: 10.1016/j.jss.2024.111977
dc.identifier.doihttps://doi.org/10.1016/j.jss.2024.111977
dc.identifier.issn0164-1212
dc.identifier.publicationfirstpage111977
dc.identifier.publicationtitleJournal of Systems and Software
dc.identifier.publicationvolume211
dc.identifier.urihttps://hdl.handle.net/10115/180217
dc.language.isoen
dc.publisherElsevier
dc.relation.isformatofhttps://doi.org/10.1016/j.jss.2024.111977
dc.relation.ispartofJournal Of Systems And Software, 2024, 211, 111977
dc.rights.accessRightsinfo:eu-repo/semantics/closedAccess
dc.sourceJournal Of Systems And Software
dc.subjectAdministração pública e de empresas, ciências contábeis e turismo
dc.subjectCiência da computação
dc.subjectCiências ambientais
dc.subjectComputer science, software engineering
dc.subjectComputer science, software, graphics, programming
dc.subjectComputer science, theory & methods
dc.subjectEducação física
dc.subjectEngenharias iii
dc.subjectEngenharias iv
dc.subjectHardware and architecture
dc.subjectInformation systems
dc.subjectInterdisciplinar
dc.subjectMedicina i
dc.subjectSoftware
dc.titleA language-parametric test coverage framework for executable domain-specific languages
dc.typearticle
dc.type.hasVersionhttp://purl.org/coar/version/c_970fb48d4fbd8a85

Files

Original bundle

Now showing 1 - 1 of 1
Loading...
Name:
Language_Parametric_MoCL_2024.pdf
Size:
2.79 MB
Format:
Adobe Portable Document Format

License bundle

Now showing 1 - 1 of 1
Loading...
Name:
license.txt
Size:
2.96 KB
Format:
Item-specific license agreed upon to submission
Description: