Leveraging metamorphic testing to automatically detect inconsistencies in code generator families. (20th December 2019)
- Record Type:
- Journal Article
- Title:
- Leveraging metamorphic testing to automatically detect inconsistencies in code generator families. (20th December 2019)
- Main Title:
- Leveraging metamorphic testing to automatically detect inconsistencies in code generator families
- Authors:
- Boussaa, Mohamed
Barais, Olivier
Sunyé, Gerson
Baudry, Benoit - Other Names:
- Saadatmand Mehrdad guestEditor.
Lindström Birgitta guestEditor.
Aichernig Bernhard K. guestEditor. - Abstract:
- SUMMARY: Generative software development has paved the way for the creation of multiple code generators that serve as a basis for automatically generating code to different software and hardware platforms. In this context, the software quality becomes highly correlated to the quality of code generators used during software development. Eventual failures may result in a loss of confidence for the developers, who will unlikely continue to use these generators. It is then crucial to verify the correct behaviour of code generators in order to preserve software quality and reliability. In this paper, we leverage the metamorphic testing approach to automatically detect inconsistencies in code generators via so‐called "metamorphic relations". We define the metamorphic relation (i.e., test oracle) as a comparison between the variations of performance and resource usage of test suites running on different versions of generated code. We rely on statistical methods to find the threshold value from which an unexpected variation is detected. We evaluate our approach by testing a family of code generators with respect to resource usage and performance metrics for five different target software platforms. The experimental results show that our approach is able to detect, among 95 executed test suites, 11 performance and 15 memory usage inconsistencies. Abstract : This paper shows an approach based on metamorphic testing to automatically detect inconsistencies in code generator families.SUMMARY: Generative software development has paved the way for the creation of multiple code generators that serve as a basis for automatically generating code to different software and hardware platforms. In this context, the software quality becomes highly correlated to the quality of code generators used during software development. Eventual failures may result in a loss of confidence for the developers, who will unlikely continue to use these generators. It is then crucial to verify the correct behaviour of code generators in order to preserve software quality and reliability. In this paper, we leverage the metamorphic testing approach to automatically detect inconsistencies in code generators via so‐called "metamorphic relations". We define the metamorphic relation (i.e., test oracle) as a comparison between the variations of performance and resource usage of test suites running on different versions of generated code. We rely on statistical methods to find the threshold value from which an unexpected variation is detected. We evaluate our approach by testing a family of code generators with respect to resource usage and performance metrics for five different target software platforms. The experimental results show that our approach is able to detect, among 95 executed test suites, 11 performance and 15 memory usage inconsistencies. Abstract : This paper shows an approach based on metamorphic testing to automatically detect inconsistencies in code generator families. The metamorphic relation is defined as a comparison between the variations of performance and resource usage of test suites running on different versions of generated code. Statistical methods are applied to find the threshold value from which an unexpected variation is detected. The experimental results show that our approach is able to detect several non‐functional inconsistencies. … (more)
- Is Part Of:
- Software testing, verification & reliability. Volume 30:Number 1(2020)
- Journal:
- Software testing, verification & reliability
- Issue:
- Volume 30:Number 1(2020)
- Issue Display:
- Volume 30, Issue 1 (2020)
- Year:
- 2020
- Volume:
- 30
- Issue:
- 1
- Issue Sort Value:
- 2020-0030-0001-0000
- Page Start:
- n/a
- Page End:
- n/a
- Publication Date:
- 2019-12-20
- Subjects:
- code generators -- metamorphic testing -- non‐functional properties -- software quality -- test automation -- test oracle
Computer software -- Testing -- Periodicals
Computer software -- Verification -- Periodicals
Computer software -- Reliability -- Periodicals
005.14 - Journal URLs:
- http://onlinelibrary.wiley.com/ ↗
- DOI:
- 10.1002/stvr.1721 ↗
- Languages:
- English
- ISSNs:
- 0960-0833
- Deposit Type:
- Legaldeposit
- View Content:
- Available online (eLD content is only available in our Reading Rooms) ↗
- Physical Locations:
- British Library DSC - 8321.457500
British Library DSC - BLDSS-3PM
British Library STI - ELD Digital store - Ingest File:
- 17282.xml