Changes in source code
AssigneeInternational Business Machines Corporation
InventorsMark Andrew Woolley, Mark John Pocock, Andrew Wright
Life of this patent
Estimating the term…
Abstract
Embodiments for describing an impact of a change in source code on a trace are presented. One embodiment comprises determining whether or not a change in source code between a first version and a second version of the source code affects a trace output of the source code. Responsive to determining that the change in the source code affects the trace output, metadata descriptive of the change in the source code is generated.
Claims19
A computer-implemented method, the method comprising:
- based on a result of static analysis of source code, determining that a change in of the source code affects a corresponding trace output of the source code at runtime;
- generating a metadata record descriptive of the change in the source code, wherein the metadata record includes an indication of a significance of the change in the source code;
- concatenating the metadata records in an order corresponding to the changes in the source code, wherein the changes in the source code have a corresponding stream of trace change data;
- and
- displaying the corresponding metadata records in conjunction with displaying the trace output.
-3. (canceled)
A computer program product, wherein the computer program product comprises a computer readable storage medium having program instructions embodied therewith, the program instruction executable by a processing to cause the processing unit to perform the method comprising:
- based on a result of static analysis of source code, determining that a change in the source code affects a corresponding trace output of the source code at runtime;
- generating a metadata record descriptive of the change in the source code, wherein the metadata record includes an indication of a significance of the change in the source code;
- concatenating the metadata records in an order corresponding to the changes in the source code, wherein the changes in the source code have a corresponding stream of trace change data;
- and
- displaying the corresponding metadata records in conjunction with displaying the trace output.
A, the system comprising:
- one or more processors;
- and a computer-readable memory coupled to the one or more processors, the computer-readable memory comprising instructions for:
- based on a result of static analysis of source code, determining that a change in the source code affects a corresponding trace output of the source code at runtime;
- generating a metadata record descriptive of the change in the source code, wherein the metadata record includes an indication of a significance of the change in the source code;
- concatenating the metadata records in an order corresponding to the changes in the source code, wherein the changes in the source code have a corresponding stream of trace change data;
- and
- displaying the corresponding metadata records in conjunction with displaying the trace output.
Dependencies are inferred from the claim text.