Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
10.1109/CSMR.2013.22guideproceedingsArticle/Chapter ViewAbstractPublication PagesConference Proceedingsacm-pubtype
Article

ACRE: An Automated Aspect Creator for Testing C++ Applications

Published: 05 March 2013 Publication History

Abstract

We present ACRE, an Automated aspect creator, to use aspect-oriented programming (AOP) to perform memory, invariant and interferences testing for software programs written in C++. ACRE allows developers without knowledge in AOP to use aspects to test their programs without modifying the behavior of their source code. ACRE uses a domain-specific language (DSL), which statements testers insert into the source code like comments to describe the aspects to be used. The presence of DSL statements in the code does not modify the program's compilation and behavior. ACRE parses the DSL statements and automatically generates appropriate aspects that are then weaved into the source code to identify bugs due to memory leaks, incorrect algorithm implementation, or interference among threads. Thanks to the use of aspects and ACRE, testers can add or remove tests easily. Using an aspect generated by ACRE, we find a memory leak in a complex C++ software program, NOMAD, used in both industry and research. We also verify a crucial mathematical point of the algorithm behind NOMAD and collect data to find possible interference bugs, in NOMAD.

Cited By

View all
  • (2018)Software semantics and syntax as a tool for automated test generationInternational Journal of Critical Computer-Based Systems10.1504/IJCCBS.2017.0899877:4(369-396)Online publication date: 13-Dec-2018

Index Terms

  1. ACRE: An Automated Aspect Creator for Testing C++ Applications
    Index terms have been assigned to the content through auto-classification.

    Recommendations

    Comments

    Information & Contributors

    Information

    Published In

    cover image Guide Proceedings
    CSMR '13: Proceedings of the 2013 17th European Conference on Software Maintenance and Reengineering
    March 2013
    431 pages
    ISBN:9780769549484

    Publisher

    IEEE Computer Society

    United States

    Publication History

    Published: 05 March 2013

    Author Tags

    1. AOP
    2. C++
    3. NOMAD
    4. interference bug pattern
    5. invariant testing
    6. memory testing

    Qualifiers

    • Article

    Contributors

    Other Metrics

    Bibliometrics & Citations

    Bibliometrics

    Article Metrics

    • Downloads (Last 12 months)0
    • Downloads (Last 6 weeks)0
    Reflects downloads up to 04 Oct 2024

    Other Metrics

    Citations

    Cited By

    View all
    • (2018)Software semantics and syntax as a tool for automated test generationInternational Journal of Critical Computer-Based Systems10.1504/IJCCBS.2017.0899877:4(369-396)Online publication date: 13-Dec-2018

    View Options

    View options

    Get Access

    Login options

    Media

    Figures

    Other

    Tables

    Share

    Share

    Share this Publication link

    Share on social media