Determining functional design/requirements coverage of a computer code

a technology for computer code and requirements, applied in the field of determining the design/requirements coverage of functional tests, can solve problems such as no known methods for achieving such a coverage assessmen

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

AI Technical Summary

Problems solved by technology

Currently, there are no known methods to achieve such a coverage assessment without an explicit link between the design / 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
  • Determining functional design/requirements coverage of a computer code
  • Determining functional design/requirements coverage of a computer code
  • Determining functional design/requirements coverage of a computer code

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

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

[0019]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.

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

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 includes: running a set of functional tests over a computer code; determining, for each code element of the computer code, which functional test covered it, to yield a tests-elements coverage map; associating portions of the computer code with corresponding design portions or requirements derived from a design document or a requirements document respectively, associated with the computer code, to yield a design/requirements-code tracing map; deriving, from the tests-code coverage map and the design/requirements-code tracing map, a design/requirements-tests coverage map, exhibiting coverage of the computer code by the functional tests, in terms of the design or the requirements, wherein at least one of the running, the determining, the associating, and the deriving is executed by at least one processor.

Description

BACKGROUND[0001]1. Technical Field[0002]The present invention relates to computer code testing and more particularly, to determining design / requirements coverage of functional tests 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 contains 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 / requirements. The design / requirements coverage usually relates to the amoun...

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
Patent Type & Authority Applications(United States)
IPC IPC(8): G06F9/44
CPCG06F11/3676G06F8/10
Inventor BNAYAHU, JONATHANGOLDSTEIN, MAAYANMOSHKOVICH, DANYNISENSON, MOTISIMIONOVICI, YAHALOMITUR, SHMUEL
Owner IBM CORP
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products