• DocumentCode
    2524075
  • Title

    Automating Coverage Metrics for Dynamic Web Applications

  • Author

    Alalfi, Manar H. ; Cordy, James R. ; Dean, Thomas R.

  • Author_Institution
    Sch. of Comput., Queen´´s Univ., Kingston, ON, Canada
  • fYear
    2010
  • fDate
    15-18 March 2010
  • Firstpage
    51
  • Lastpage
    60
  • Abstract
    Building comprehensive test suites for web applications poses new challenges in software testing. Coverage criteria used for traditional systems to assess the quality of test cases are simply not sufficient for complex dynamic applications. As a result, faults in web applications can often be traced to insufficient testing coverage of the complex interactions between the components. This paper presents a new set of coverage criteria for web applications, based on page access, use of server variables, and interactions with the database. Following an instrumentation transformation to insert dynamic tracking of these aspects, a static analysis is used to automatically create a coverage database by extracting and executing only the instrumentation statements of the program. The database is then updated dynamically during execution by the instrumentation calls themselves. We demonstrate the usefulness of our coverage criteria and the precision of our approach on the analysis of the popular internet bulletin board system PhpBB 2.0.
  • Keywords
    Internet; information retrieval; program diagnostics; program testing; reverse engineering; Internet bulletin board system; PhpBB 2.0; complex dynamic application; coverage criteria; coverage metrics; dynamic Web application; dynamic tracking; instrumentation transformation; page access; server variable; software testing; static analysis; testing coverage; Arrays; Databases; Grammar; Instruments; Measurement; Servers; Testing; Enhancement; Maintenance; Reverse Engineering; Testing; Web Applications;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Software Maintenance and Reengineering (CSMR), 2010 14th European Conference on
  • Conference_Location
    Madrid
  • ISSN
    1534-5351
  • Print_ISBN
    978-1-61284-369-8
  • Electronic_ISBN
    1534-5351
  • Type

    conf

  • DOI
    10.1109/CSMR.2010.21
  • Filename
    5714417