Unlock instant, AI-driven research and patent intelligence for your innovation.

Determining the possibility of adverse effects arising from a code change

A possibility, disadvantageous technique, applied in the field of large-scale computer programs

Inactive Publication Date: 2010-08-04
INT BUSINESS MASCH CORP
View PDF2 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006]These known methods only provide a partial solution for predicting adverse effects

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 the possibility of adverse effects arising from a code change
  • Determining the possibility of adverse effects arising from a code change
  • Determining the possibility of adverse effects arising from a code change

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0029] Definition of terms

[0030] Class: Any type in an object-oriented programming language (eg, classes and interfaces in Java) is a "class" (Java is a trademark of Sun Microsystems, Inc.).

[0031] Test Cases: Test cases are used to verify the correctness of the software. These test cases can be of various types, such as "unit test", "functional test", "system test". These are collectively referred to as "test cases".

[0032] Related: consider figure 1 example given. Since A references B, class A has a direct dependency to class B. Class C modifies persistent data represented by class D, which is consumed by class E, which in turn modifies persistent data represented by class F. Said data (class F) is consumed by class G. Thus, classes E and G have an indirect dependency on class C. Any change in class C can potentially affect classes E and G.

[0033] overview

[0034] Embodiments of the present invention will be given using an example of the Java programming ...

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

Some of the set of classes within a computer program are important in the sense that the most useful information about the software can be derived from these classes alone. The important classes within the software are identified, as well as any dependent classes. Test cases are defined and associated with all classes. A code change for a class invokes the relevant test case or cases being run. The corresponding test case or cases for any dependent class are also run. If they run successfully (in the sense that the expected results arise), then it is highly likely that the changes introduced in the first class are not affecting the correct execution of the dependent classes.

Description

technical field [0001] The present invention relates to the field of software development, and to large-scale computer programs exhibiting complexity. In particular, the invention relates to the possibility of determining adverse effects in other components of a program caused by code changes elsewhere in the program. Background technique [0002] Any large software product / program is typically developed by a large, many, and possibly geographically distributed team of programmers. There are many challenges. One of the challenges is to ensure that code changes introduced by one component (or part) do not affect the correct execution of other related components (or parts). The dependencies of these components can be derived from referencing the type, or from consuming data produced by that type. Typically, the correlation between components is not known exactly due to incomplete specifications or because specifications are not updated. [0003] One solution to this probl...

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): G06F9/44
CPCG06F11/3672
Inventor 拉维·科塔里纳特瓦尔·莫达尼
Owner INT BUSINESS MASCH CORP