Static analysis of computer code to determine impact of change to a code component upon a dependent code component

US9836390B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-9836390-B2
Application numberUS-201514708980-A
CountryUS
Kind codeB2
Filing dateMay 11, 2015
Priority dateSep 28, 2012
Publication dateDec 5, 2017
Grant dateDec 5, 2017

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

A method is provided to evaluate impact of a change to code of a depended upon component of a system stored in a computer readable storage device, upon a dependent component of the system, the method comprising: identifying a dependency relationship between a first component stored in a computer readable storage device and a second component stored in the computer readable storage device; in response to a determination that the second component depends upon the first component, configuring a computer system to obtain a first property evaluation corresponding to the first component; and in response to obtaining the first property evaluation corresponding to the first component, configuring the computer system to associate the first property evaluation with the second component, and obtain a second property evaluation corresponding to the second component, wherein the second component is associated with the first property evaluation.

First claim

Opening claim text (preview).

The invention claim is: 1. A method to evaluate impact of a change to code of a depended upon component of a system stored in a computer readable storage device, upon an unchanged dependent component of the system, comprising: providing in the computer readable storage device a first property evaluation summary structure of a first component of the system that associates multiple respective property evaluations of one or more dependent components with a first version of the first component of the system; providing in the computer readable storage device a second property evaluation summary structure of the first component of the system that associates multiple respective property evaluations of the one or more dependent components with a second version of the first component of the system; detecting, by a processor coupled to the computer readable storage device, whether a mismatch exists between a property evaluation within the first property evaluation summary structure of the first component of the system and a corresponding property evaluation within the second property evaluation summary structure of the first component of the system; and encoding, by the processor, in response to the detecting that the mismatch exists, an indication of whether a change in the corresponding property evaluation within the second property evaluation summary structure of the first component of the system has an impact upon an unchanged property evaluation within the first property evaluation summary structure of the first component of the system, wherein the computer readable storage device does not consist of transitory, propagating signals. 2. The method of claim 1 , wherein the respective property evaluations within the respective first and second property evaluation summary structures are associated with the same respective function. 3. The method of claim 2 , wherein the first and second functions are different functions. 4. The method of claim 1 , wherein the respective property evaluations within the respective first and second property evaluation summary structures are associated with the same respective function; and wherein at least one respective property evaluation within each of the respective first and second property evaluation summary structures indicates whether the respective function returns a null pointer. 5. The method of claim 1 , wherein the respective property evaluations within the respective first and second property evaluation summary structures are associated with the same respective function; and wherein at least one respective property evaluation within each of the respective first and second property evaluation summary structures indicates whether the respective function dereference its argument. 6. The method of claim 1 , wherein the respective property evaluations within the respective first and second property evaluation summary structures are associated with the same respective function; and wherein at least one respective property evaluation within each of the respective first and second property evaluation summary structures indicates whether the respective function is a result of a memory allocation operation. 7. The method of claim 1 , wherein the respective property evaluations within the respective first and second property evaluation summary structures are associated with the same respective class definition. 8. The method of claim 1 , wherein the respective property evaluations within the respective first and second property evaluation summary structures are associated with the same respective class definition; and wherein at least one respective property evaluation within each of the respective first and second property evaluation summary structures indicates a size of an instantiated class in bytes. 9. An article of manufacture that includes a computer readable storage device that stores code to configure a computer system to implement a method to evaluate impact of a change to code of a depended upon component of a system stored in the computer readable storage device, upon an unchanged dependent component of the system, comprising: providing in the computer readable storage device a first property evaluation summary structure of a first depended upon component of the system that associates multiple respective property evaluations of one or more dependent components with a first version of the first depended upon component of the system; providing in the computer readable storage device a second property evaluation summary structure of the first depended upon component of the system that associates multiple respective property evaluations of the one or more dependent components with a second version of the first depended upon component of the system; comparing, by a processor coupled to the computer readable storage device, respective property evaluations within the first property evaluation summary structure of the first depended upon component of the system with corresponding property evaluations within the second property evaluation summary structure of the first depended upon component of the system; detecting, by the processor, whether a mismatch exists between a property evaluation within the first property evaluation summary structure of the first depended upon component of the system and a corresponding property evaluation within the second property evaluation summary structure of the first depended upon component of the system; and encoding, by the processor, in response to the detecting that the mismatch exists, an indication of whether a change in the corresponding property evaluation within the second property evaluation summary structure of the first depended upon component of the system has an impact upon an unchanged property evaluation within the first property evaluation summary structure of the first depended upon component of the system, wherein the computer readable storage device does not consist of transitory, propagating signals. 10. The article of manufacture of claim 9 , wherein the respective property evaluations within the respective first and second property evaluation summary structures are associated with the same respective function. 11. The article of manufacture of claim 10 , wherein the first and second functions are different functions. 12. The article of manufacture of claim 9 , wherein the respective property evaluations within the respective first and second property evaluation summary structures are associated with the same respective function; and wherein at least one respective property evaluation within each of the respective first and second property evaluation summary structures indicates whether the respective function returns a null pointer. 13. The article of manufacture of claim 9 , wherein the respective property evaluations within the respective first and second property evaluation summary structures are associated with the same respective function; and wherein at least one respective property evaluation within each of the respective first and second property evaluation summary structures indicates whether the respective function dereference its argument. 14. The article of manufacture of claim 9 , wherein the respective property evaluations within the respective first and second property evaluation summary structures are associated with the same respective function; and wherein at least one respective property evaluation within each of the respective first and second property evaluation summary structures indicates whether the respective function is a result of a memory allocation operation. 15.

Assignees

Inventors

Classifications

  • for test version control, e.g. updating test cases to a new software version · CPC title

  • by runtime analysis (performance monitoring G06F11/3466) · CPC title

  • Version control (security arrangements therefor G06F21/57); Configuration management · CPC title

  • for test execution, e.g. scheduling of test suites · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US9836390B2 cover?
A method is provided to evaluate impact of a change to code of a depended upon component of a system stored in a computer readable storage device, upon a dependent component of the system, the method comprising: identifying a dependency relationship between a first component stored in a computer readable storage device and a second component stored in the computer readable storage device; in re…
Who is the assignee on this patent?
Synopsys Inc
What technology area does this patent fall under?
Primary CPC classification G06F11/3688. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Dec 05 2017 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 1 related publication on this page (citations in our corpus or others sharing the same primary CPC).