Extensible code auto-fix framework based on xml query languages
US-2015082276-A1 · Mar 19, 2015 · US
US9262134B2 · US · B2
| Field | Value |
|---|---|
| Publication number | US-9262134-B2 |
| Application number | US-201414221707-A |
| Country | US |
| Kind code | B2 |
| Filing date | Mar 21, 2014 |
| Priority date | Mar 21, 2014 |
| Publication date | Feb 16, 2016 |
| Grant date | Feb 16, 2016 |
A practical reading order for non-experts. Skip the full description unless you need deep technical detail.
What the patent document calls the invention.
A short plain-language summary of the technical disclosure.
Who owns or filed the patent and who is credited as inventor.
Filing, priority, publication, and grant dates set the timeline.
The legal scope of protection — read this for what is actually claimed.
Technology tags used to group this patent with similar filings.
Prior art links and similar publications in this corpus.
Official abstract text for this publication.
A code base, including a code base history, is searched for code term(s) and change(s) that have been made to the code term(s). The code base includes, but is not limited to, multiple: (i) instances of code; (ii) product releases; (iii) code components; and/or (iv) code drafting projects.
Opening claim text (preview).
What is claimed is: 1. A method comprising: receiving a static analysis rule and a corresponding dynamic analysis rule associated with a first proposed code change to a first code segment; applying the static analysis rule to a code set to identify a set of code segments of potential interest; and applying the dynamic analysis rule to code segments within the identified set of code segments of potential interest to determine an identity of a set of code segments of interest that are related to the first code segment with respect to the advisability of making the first proposed code change in a member of the group consisting of: (i) the first code segment, and (ii) at least one of the code segments of potential interest; wherein: the static analysis rule includes a code snippet for matching with code segments within the code set to identify the set of code segments of potential interest; and the dynamic analysis rule includes target change data to determine related code segments within the identified set of code segments of potential interest, the related code segments forming, at least in part, the set of code segments of interest. 2. The method of claim 1 further comprising: determining the static analysis rule and the corresponding dynamic analysis rule, based, at least in part, upon the first proposed code change. 3. The method of claim 2 wherein the determining the static analysis rule and the corresponding dynamic analysis rule is performed using programming language syntax awareness. 4. The method of claim 2 wherein the static analysis rule and the corresponding dynamic analysis rule are selected from a set of code rules. 5. The method of claim 1 further comprising: presenting the identity of the code segments of interest and respectively corresponding change history in human readable form and format. 6. The method of claim 5 wherein the presenting is performed automatically and in real time. 7. The method of claim 1 further comprising: proposing a second proposed code change to a code segment of potential interest automatically and without substantial human intervention based, at least in part, upon the advisability of making the first proposed code change. 8. The method of claim 1 further comprising: indexing the identity of the code segments of interest and their respectively corresponding change history. 9. A computer program product comprising a non-transitory computer readable storage medium having stored thereon: first program instructions programmed to receive a static analysis rule and a corresponding dynamic analysis rule associated with a first proposed code change to a first code segment; second program instructions programmed to apply the static analysis rule to a code set to identify a set of code segments of potential interest; and third program instructions programmed to apply the dynamic analysis rule to code segments within the identified set of code segments of potential interest to determine an identity of a set of code segments of interest that are related to the first code segment with respect to the advisability of making the first proposed code change in a member of the group consisting of: (i) the first code segment, and (ii) at least one of the code segments of potential interest; wherein: the static analysis rule includes a code snippet for matching with code segments within the code set to identify the set of code segments of potential interest; and the dynamic analysis rule includes target change data to determine related code segments within the identified set of code segments of potential interest, the related code segments forming, at least in part, the set of code segments of interest. 10. The computer program product of claim 9 further comprising the non-transitory computer readable storage medium having stored thereon: fourth program instructions programmed to determine the static analysis rule and the corresponding dynamic analysis rule, based, at least in part, upon the first proposed code change. 11. The computer program product of claim 10 wherein determining the static analysis rule and the corresponding dynamic analysis rule is performed using programming language syntax awareness. 12. The computer program product of claim 10 wherein the static analysis rule and the corresponding dynamic analysis rule are selected from a set of code rules. 13. The computer program product of claim 9 further comprising the non-transitory computer readable storage medium having stored thereon: fourth program instructions programmed to present the identity of the code segments of interest and respectively corresponding change history in human readable form and format. 14. The computer program product of claim 13 wherein presenting the identity of the code segments of interest is performed automatically and in real time. 15. A computer system comprising: a hardware processor set; and a computer readable storage medium; wherein: the hardware processor set is structured, located, connected and/or programmed to run program instructions stored on the computer readable storage medium; and the program instructions include: first program instructions programmed to receive a static analysis rule and a corresponding dynamic analysis rule associated with a first proposed code change to a first code segment; second program instructions programmed to apply the static analysis rule to a code set to identify a set of code segments of potential interest; and third program instructions programmed to apply the dynamic analysis rule to code segments within the identified set of code segments of potential interest to determine an identity of a set of code segments of interest that are related to the first code segment with respect to the advisability of making the first proposed code change in a member of the group consisting of: (i) the first code segment, and (ii) at least one of the code segments of potential interest; wherein: the static analysis rule includes a code snippet for matching with code segments within the code set to identify the set of code segments of potential interest; and the dynamic analysis rule includes target change data to determine related code segments within the identified set of code segments of potential interest, the related code segments forming, at least in part, the set of code segments of interest. 16. The computer system of claim 15 wherein the program instructions further include: fourth program instructions programmed to determine the static analysis rule and the corresponding dynamic analysis rule, based, at least in part, upon the first proposed code change. 17. The computer system of claim 16 wherein determining the static analysis rule and the corresponding dynamic analysis rule is performed using programming language syntax awareness. 18. The computer system of claim 16 wherein the static analysis rule and the corresponding dynamic analysis rule are selected from a set of code rules. 19. The computer system of claim 15 wherein the program instructions further include: fourth program instructions programmed to present the identity of the code segments of interest and respectively corresponding change history in human readable form and format. 20. The computer system of claim 19 wherein presenting the identity of the code segments of interest is performed automatically and in real time.
Software maintenance or management · CPC title
Syntactic analysis · CPC title
Transformation of program code · CPC title
Version control (security arrangements therefor G06F21/57); Configuration management · CPC title
Structural analysis for program understanding · CPC title
Related publications grouped by family.
Answers are generated from the same data shown on this page.