• español
    • English
  • Login
  • English 
    • español
    • English

UniversidaddeCádiz

Área de Biblioteca, Archivo y Publicaciones
Communities and Collections
View Item 
  •   RODIN Home
  • Producción Científica
  • Artículos Científicos
  • View Item
  •   RODIN Home
  • Producción Científica
  • Artículos Científicos
  • View Item
JavaScript is disabled for your browser. Some features of this site may not work without it.

Assessment of Class Mutation Operators for C++ with the MuCPP Mutation System

Thumbnail
Identificadores

URI: http://hdl.handle.net/10498/23181

DOI: 10.1016/j.infsof.2016.07.002

URL: http://www.sciencedirect.com/science/article/pii/S0950584916301161

ISSN: 0950-5849

Files
Assessment Of Class Mutation Operators For C++ With The MuCPP Mutation System.pdf (1.118Mb)
Statistics
View statistics
Metrics and citations
 
Share
Export
Export reference to MendeleyRefworksEndNoteBibTexRIS
Metadata
Show full item record
Author/s
Delgado Pérez, PedroAuthority UCA; Medina Bulo, María InmaculadaAuthority UCA; Palomo Lozano, FranciscoAuthority UCA; García Domínguez, Antonio; Domínguez Jiménez, Juan JoséAuthority UCA
Date
2017-01
Department
Ingeniería Informática
Source
Information and Software Technology, Volume 81, 2017, Pages 169-184.
Abstract
Context: Mutation testing has been mainly analyzed regarding traditional mutation operators involving structured programming constructs common in mainstream languages, but mutations at the class level have not been assessed to the same extent. This fact is noteworthy in the case of C++ despite being one of the most relevant languages including object-oriented features. Objective: This paper provides a complete evaluation of class operators for the C++ programming language. MuCPP, a new system devoted to the application of mutation testing to this language, was developed to this end. This mutation system implements class mutation operators in a robust way, dealing with the inherent complexity of the language. Method: MuCPP generates the mutants by traversing the abstract syntax tree of each translation unit with the Clang API, and stores mutants as branches in the Git version control system. The tool is able to detect duplicate mutants, avoid system headers, and drive the compilation process. Then, MuCPP is used to conduct experiments with several open-source C programs. Results: The improvement rules listed in this paper to reduce unproductive class mutants have a significant impact in the computational cost of the technique. We also calculate the quantity and distribution of mutants generated with class operators, which generate far fewer mutants than their traditional counterparts. Conclusions: We show that the tests accompanying these programs cannot detect faults related to particular object-oriented features of C++. In order to increase the mutation score, we create new test scenarios to kill the surviving class mutants for all the applications. The results confirm that, while traditional mutation operators are still needed, class operators can complement them and help testers further improve the test suite.
Subjects
Mutation testing; Mutation system; Class mutation operators; Object-oriented programming
Collections
  • Artículos Científicos [11777]
  • Articulos Científicos Ing. Inf. [306]
Attribution-NonCommercial-NoDerivatives 4.0 Internacional
This work is under a Creative Commons License Attribution-NonCommercial-NoDerivatives 4.0 Internacional

Related items

Showing items related by title, author, creator and subject.

  • Assessment of C++ object-oriented mutation operators: A selective mutation approach 

    Delgado Pérez, PedroAuthority UCA; Segura, Sergio; Medina Bulo, María InmaculadaAuthority UCA (Wiley Online Library, 2017-03)
  • Mutation testing in the wild: findings from GitHub 

    Sánchez, Ana B.; Delgado Pérez, PedroAuthority UCA; Medina Bulo, María InmaculadaAuthority UCA; Segura, Sergio (SPRINGER, 2022-11)
  • Class mutation operators for C++ object-oriented systems 

    Delgado Pérez, PedroAuthority UCA; Medina Bulo, María InmaculadaAuthority UCA; Domínguez Jiménez, Juan JoséAuthority UCA; Domínguez-García, Antonio; Palomo Lozano, FranciscoAuthority UCA (Springer, 2015-04)

Browse

All of RODINCommunities and CollectionsBy Issue DateAuthorsTitlesSubjectsThis CollectionBy Issue DateAuthorsTitlesSubjects

My Account

LoginRegister

Statistics

View Usage Statistics

Información adicional

AboutDeposit in RODINPoliciesGuidelinesRightsLinksStatisticsNewsFrequently Asked Questions

RODIN is available through

OpenAIREOAIsterRecolectaHispanaEuropeanaBaseDARTOATDGoogle Academic

Related links

Sherpa/RomeoDulcineaROAROpenDOARCreative CommonsORCID

RODIN está gestionado por el Área de Biblioteca, Archivo y Publicaciones de la Universidad de Cádiz

Contact informationSuggestionsUser Support