Using Program Adaptation Techniques for Ada Coverage Testing

Abstract

Software development processes often employ program metrics tools to analyze software. Examples include static program analysis, code profiles, and coverage analysis. Automated tools can facilitate this study by collecting data and generating the desired measures. Unfortunately, the implementation of such tools has proven to be difficult and time consuming. In order to simplify the task of constructing analysis tools for Ada, we have examined a new parser generator system for use in a source to source transformation approach. Our goal is to allow developers to easily and compactly express what information they need from the input language in order to compute the desired statistics. One result of our research is AINT, an instrumenter and tester for Ada source code which was constructed using the new translation technology. AINT provides both statement and branch coverage testing of Ada programs, allowing users to evaluate the adequacy of their test data. This paper summarizes the new parsing system (called New Yacc) used to build AINT, then describes the implementation of our testing system.

Open PDF

Document Details

Document Type
Technical Report
Publication Date
Apr 01, 1990
Accession Number
ADA222499

Entities

People

  • Elizabeth L. White
  • James M. Purtilo

Organizations

  • University of Maryland

Tags

Communities of Interest

  • Materials and Manufacturing Processes

DTIC Thesaurus Topics

  • Application Software
  • Compilers
  • Computations
  • Computer Programs
  • Computer Science
  • Computers
  • Construction
  • Instrumentation
  • Language
  • Personality
  • Robotics
  • Software Development
  • Software Metrics
  • Software Testing
  • Translations
  • Two Dimensional
  • Universities

Fields of Study

  • Computer science
  • Engineering

Readers

  • Computational Linguistics
  • Database Systems and Applications
  • Instructional Design and Training Evaluation.