System and Method for Predicting the Impact of Source Code Modification Based on Historical Source Code Modifications

Uloženo v:
Podrobná bibliografie
Název: System and Method for Predicting the Impact of Source Code Modification Based on Historical Source Code Modifications
Document Number: 20250013461
Datum vydání: January 9, 2025
Appl. No: 18/890633
Application Filed: September 19, 2024
Abstrakt: Methods, systems, and computer-readable media are disclosed herein that utilizes historical changes made to files and methods in computer programming code to predict related files and methods that may be affected by current and/or future changes made to other files and methods. In aspects, when computer code for a particular method is going to be edited, other methods are identified that were changed in previous editing sessions that also included changes to the particular method. Using scoring techniques for the other methods, a recommendation is provided that details the relative strength of whether the other methods are predicted to be affected by any changes made to the computer code for the particular method that is edited.
Assignees: Cerner Innovation, Inc. (Kansas City, MO, US)
Claim: 1. One or more non-transitory computer-readable media having computer-executable instructions embodied thereon that, when executed via one or more hardware processors, cause the one or more hardware processors to facilitate a plurality of operations, the operations comprising: receiving, via the one or more hardware processors, a set of modifications to a first method; identifying a second method that is likely to be affected by a modification to the first method, wherein the identifying includes (a) accessing information associated with the set of modifications and with the first method and (b) analyzing the information associated with the set of modifications and with the first method to determine that the second method is likely to be affected by at least a portion of the set of modifications; based on determining that the second method is likely to be affected by the modification to the first method: transmitting, via an electronic interface, a first set of impact information that identifies the second method; receiving an input in response to transmitting the first set of impact information; based on the input, traversing a dependency graph to identify at least a third method that is likely to be affected by one or more modifications to the second method; and transmitting, via the electronic interface, a second set of impact information that identifies the third method.
Claim: 2. The one or more non-transitory computer-readable media of claim 1, wherein the set of modifications includes one or more historical modifications made to the first method.
Claim: 3. The one or more non-transitory computer-readable media of claim 1, wherein the operations further comprise determining whether the second method was affected by one or more historical modifications made to the first method before the modification to the first method.
Claim: 4. The one or more non-transitory computer-readable media of claim 1, wherein the information is associated with one or more historical modifications made to the first method.
Claim: 5. The one or more non-transitory computer-readable media of claim 1, wherein the operations further comprise determining that the second method was affected by at least a portion of a set of historical modifications made to the first method before the modification.
Claim: 6. The one or more non-transitory computer-readable media of claim 1, wherein: the identifying is performed at an impact detection module, the impact detection module is associated with the one or more hardware processors, and the impact detection module is configured to determine whether the second method is likely to be affected by the at least a portion of the set of modifications.
Claim: 7. The one or more non-transitory computer-readable media of claim 1, wherein the operations further comprise (a) identifying a request that identifies the first method and (b) identifying in the request a particular modification being made to the first method.
Claim: 8. A system having one or more hardware processors configured to facilitate a plurality of operations, the operations comprising: receiving, via the one or more hardware processors, a set of modifications to a first method; identifying a second method that is likely to be affected by a modification to the first method, wherein the identifying includes (a) accessing information associated with the set of modifications and with the first method and (b) analyzing the information associated with the set of modifications and with the first method to determine that the second method is likely to be affected by at least a portion of the set of modifications; based on determining that the second method is likely to be affected by the modification to the first method: transmitting, via an electronic interface, a first set of impact information that identifies the second method; receiving an input in response to transmitting the first set of impact information; based on the input, traversing a dependency graph to identify at least a third method that is likely to be affected by one or more modifications to the second method; and transmitting, via the electronic interface, a second set of impact information that identifies the third method.
Claim: 9. The system of claim 8, wherein the set of modifications includes one or more historical modifications made to the first method.
Claim: 10. The system of claim 8, wherein the operations further comprise determining whether the second method was affected by one or more historical modifications made to the first method before the modification to the first method.
Claim: 11. The system of claim 8, wherein the information is associated with one or more historical modifications made to the first method.
Claim: 12. The system of claim 8, wherein the operations further comprise determining that the second method was affected by at least a portion of a set of historical modifications made to the first method before the modification.
Claim: 13. The system of claim 8, wherein: the identifying is performed at an impact detection module, the impact detection module is associated with the one or more hardware processors, and the impact detection module is configured to determine whether the second method is likely to be affected by the at least a portion of the set of modifications.
Claim: 14. The system of claim 8, wherein the operations further comprise (a) identifying a request that identifies the first method and (b) identifying in the request a particular modification being made to the first method.
Claim: 15. A method, comprising: receiving, via one or more hardware processors, a set of modifications to a first method; identifying a second method that is likely to be affected by a modification to the first method, wherein the identifying includes (a) accessing information associated with the set of modifications and with the first method and (b) analyzing the information associated with the set of modifications and with the first method to determine that the second method is likely to be affected by at least a portion of the set of modifications; based on determining that the second method is likely to be affected by the modification to the first method: transmitting, via an electronic interface, a first set of impact information that identifies the second method; receiving an input in response to transmitting the first set of impact information; based on the input, traversing a dependency graph to identify at least a third method that is likely to be affected by one or more modifications to the second method; and transmitting, via the electronic interface, a second set of impact information that identifies the third method.
Claim: 16. The method of claim 15, wherein the set of modifications includes one or more historical modifications made to the first method.
Claim: 17. The method of claim 15, further comprising determining whether the second method was affected by one or more historical modifications made to the first method before the modification to the first method.
Claim: 18. The method of claim 15, wherein the information is associated with one or more historical modifications made to the first method.
Claim: 19. The method of claim 15, further comprising determining that the second method was affected by at least a portion of a set of historical modifications made to the first method before the modification.
Claim: 20. The method of claim 15, further comprising (a) identifying a request that identifies the first method and (b) identifying in the request a particular modification being made to the first method.
Current International Class: 06; 06; 06
Přístupové číslo: edspap.20250013461
Databáze: USPTO Patent Applications
Popis
Abstrakt:Methods, systems, and computer-readable media are disclosed herein that utilizes historical changes made to files and methods in computer programming code to predict related files and methods that may be affected by current and/or future changes made to other files and methods. In aspects, when computer code for a particular method is going to be edited, other methods are identified that were changed in previous editing sessions that also included changes to the particular method. Using scoring techniques for the other methods, a recommendation is provided that details the relative strength of whether the other methods are predicted to be affected by any changes made to the computer code for the particular method that is edited.