Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Enhancing functional tests coverage using traceability and static analysis

a functional test and static analysis technology, applied in the field of improving functional test coverage, can solve the problem of not having known methods to achieve such a coverage assessment, and achieve the effect of enhancing code coverage and high functional test coverag

Inactive Publication Date: 2011-11-03
IBM CORP
View PDF25 Cites 18 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Benefits of technology

[0006]One aspect of the invention provides a method that may include the following steps: building a dependencies graph representing dependencies between code elements of a computer code; associating portions of the computer code with corresponding design specifications or requirements derived from a design document or a requirements document respectively which is associated with the computer code, to yield a design specifications or requirements-code tracing map; and analyzing the design specifications or requirements-code tracing map based at least partially on the dependenci

Problems solved by technology

Currently, there are no known methods to achieve such a coverage assessment without an explicit link between the design specifications or requirements and the tests.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Enhancing functional tests coverage using traceability and static analysis
  • Enhancing functional tests coverage using traceability and static analysis
  • Enhancing functional tests coverage using traceability and static analysis

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0017]Prior to setting forth the detailed description, it may be helpful to set forth definitions of certain terms that will be used hereinafter.

[0018]The term “requirement” or “functional requirement” as used herein in this application refers to a requirement that defines a function of a software system or its component. A function is described as a set of inputs, the behavior, and outputs. Functional requirements may be calculations, technical details, data manipulation and processing and other specific functionality that define what a system is supposed to accomplish. Behavioral requirements describing all the cases where the system uses the functional requirements are captured in use cases. Functional requirements are supported by non-functional requirements (also known as quality requirements), which impose constraints on the design or implementation.

[0019]The term “design specifications” as used herein in this application refers to a high level description, usually in computer...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

A method that may include: building a dependencies graph representing dependencies between code elements of a computer code; associating portions of the computer code with corresponding design specifications or requirements derived from a design specifications document or a requirements document respectively which is associated with the computer code, to yield a design specifications or requirements-code tracing map; and analyzing the design specifications or requirements-code tracing map based on the dependencies graph to yield an ordered list of design specifications or requirements respectively, wherein the order is selected such that functional tests written for the computer code and addressing design specifications or requirements of a higher order, will yield a higher level of functional test coverage of the computer code in terms of design specifications or requirements.

Description

BACKGROUND[0001]1. Technical Field[0002]The present invention relates to computer code testing and more particularly, to improving functional test coverage for a given computer code.[0003]2.Discussion of the Related Art[0004]Functional tests are used throughout the life cycle of computer code development in order to verify that the computer code being developed meets the functional requirements or the design according to which the computer code has been written. The functional requirements are usually set forth in a specification document, possibly written in a natural language by the client. A design is then written, also in a natural language by a computer system engineer. The design specifications contain high level description, in computer system terms, detailing how to address the requirements.[0005]An important quantitative parameter in the code testing domain is the coverage of the design specifications or requirements. The design specifications or requirements coverage usual...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F9/44
CPCG06F8/10G06F11/3676G06F8/20G06F8/73G06F8/75
Inventor BNAYAHU, JONATHANGOLDSTEIN, MAAYANMOSHKOVICH, DANYNISENSON, MOTISIMIONOVICI, YAHALOMITUR, SHMUEL
Owner IBM CORP
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products