Quality assurance in software systems through autonomic reliability, availability and serviceability code generatioin
AssigneeInternational Business Machines Corporation
InventorsNaga Arun Kumar Ayachitula, Andrew J. Bradfield, Shu-Ping Chang, James S. Lipscomb
Life of this patent
Estimating the term…
Abstract
A system and method for automatic code generation includes parsing source code in a source program to automatically generate reliability, accessibility and serviceability (RAS) code in response to the source code. The automatically generated code is executed in a check in stage. All, a portion or none of the automatically generated code is selectively removed during a check out stage to keep the source program clean and focused.
Claims20
A system for automatic code generation, comprising:
- a code analyzer configured to parse source code, the code analyzer including an automatic mechanism configured to respond to code in the source program to automatically generate and remove reliability, accessibility and serviceability (RAS) code;
- a check in stage configured to execute the automatically generated code when a developer has to check in the code;
- and
- a check out stage configured to selectively remove all, a portion or none of the automatically generated code during check out to keep the source program clean and focused.
A method for automatic code generation, comprising:
- parsing source code in a source program to automatically generate reliability, accessibility and serviceability (RAS) code in response to the source code;
- executing the automatically generated code in a check in stage;
- and
- selectively removing all, a portion or none of the automatically generated code during a check out stage to keep the source program clean and focused.
The method as recited in claim 12, wherein parsing includes parsing the source code to add the automatically generated RAS code in accordance with a RAS policy.
A computer program product for automatic code generation comprising a computer useable medium including a computer readable program, wherein the computer readable program when executed on a computer causes the computer to perform the steps of:
- parsing source code in a source program to automatically generate reliability, accessibility and serviceability (RAS) code in response to the source code;
- executing the automatically generated code in a check in stage;
- and
- selectively removing all, a portion or none of the automatically generated code during a check out stage to keep the source program clean and focused.
Dependencies are inferred from the claim text.