Automatic determination of invalid call sequences in software components

A technology for calling sequences and software programs, which is applied in software testing/debugging, multi-programming devices, program control devices, etc., and can solve the problems of time-consuming, incomplete collection of invalid calling sequences, etc.

Active Publication Date: 2009-01-21
MICROSOFT TECH LICENSING LLC
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This can be very time consuming as it relies on the tester's imagination and effort to come up with potentially invalid call sequences
Also, despite the tester's valiant efforts, the tester's set of invalid call sequences may be incomplete

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
  • Automatic determination of invalid call sequences in software components
  • Automatic determination of invalid call sequences in software components
  • Automatic determination of invalid call sequences in software components

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0022] The present invention relates to methods, systems and computer program products for testing of objects to identify one or more sequences of calls that lead to anomalies. Use the method and the parameter types associated with the method to produce a set of operations that can be performed by the object. Parameter generators can feed interesting parameter values ​​to specific parameter types that are more likely to cause exceptions to be thrown. Automatically constructs many sequences of calls using operations that are steps in the sequence within the set of operations. Each sequence of calls is then executed using a new object instance. If an exception is thrown, a report may be issued containing information helpful in assessing the appropriateness of the exception. This information may include the exception type and the sequence of calls that caused the exception to be thrown.

[0023] Embodiments of the present invention may comprise special purpose or general purpo...

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

Computerized testing of an object to identify the sequence or sequences of calls that resulted in the exception. Automatically generates a set of potential operations (consisting of methods and associated parameter values). Parameter generators can feed interesting parameter values ​​that are more likely to cause exceptions to be thrown. Automatically constructs a sequence of many calls using the operations in the operations collection as steps in the sequence. Each sequence of calls is then executed using a new instance of the object. If an exception is thrown, a report may be issued containing information helpful in assessing the appropriateness of the exception. This information may include the exception type and the invalid sequence of calls that caused the exception to be thrown. The invalid call sequence can also be minimized to help the tester assess the root cause and appropriateness of the exception.

Description

technical field [0001] The present invention relates to software development technology. More specifically, the invention relates to mechanisms for testing objects to identify call sequences that result in thrown exceptions. Background technique [0002] Computers have revolutionized the way we work and play. There are numerous functions and applications that can be implemented by a general-purpose computing system in response to the execution of software applications. However, the utility and functionality of a computing system does depend on the correct encoding of the source code that is compiled or interpreted into the binary instructions that are actually executed by the processor. If there are code errors, this often results in deviations from expected functionality. [0003] Currently, considerable efforts are being made to reduce the number of undesired functional deviations in many software programs appropriately before and after a software application is sent to...

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 Patents(China)
IPC IPC(8): G06F11/36G06F11/28G06F9/44G06F9/46
CPCG06F11/3688G06F9/46
Inventor J·R·兰伯特
Owner MICROSOFT TECH LICENSING LLC
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