Feeding test metrics into an integrated development environment to aid software developers to improve code quality
AssigneeInternational Business Machines Corporation
InventorsMatthew James Ponsford, William John Izard
Life of this patent
Estimating the term…
Abstract
An IDE or program operable with an IDE retrieves automated test results for a code sequence. The IDE or separate program detects the code sequence during source code development in an IDE. The test results are then presented in the IDE during source code development.
Claims18
A method for using test results in an integrated development environment, comprising:
- storing quality metrics compiled from automated test results for a plurality of code sequences in association with function names for the plurality of code sequences, wherein the code quality metrics are accessible by the integrated development environment;
- detecting, in a user interface of the integrated development environment, an indication of a code sequence, wherein said detecting the indication of the code sequence is during source code development in the integrated development environment;
- finding multiple of the function names that match the indication of the code sequence, wherein those of the plurality of code sequences associated with the multiple function names perform a same task differently;
- and
- presenting the quality metrics compiled from the automated test results for those of the plurality of code sequences associated with the multiple of the function names that match the indication of the code sequence.
An apparatus for using test results in a software development environment, comprising:
- a processor, and
- a memory interconnected with the processor and having stored thereon a software development environment, the software development environment configured to,
- store quality metrics compiled from automated test results for a plurality of code sequences in association with function names for the plurality of code sequences, wherein the code quality metrics are accessible by the software development environment;
- detect, in a user interface of the software development environment, an indication of a code sequence, wherein the software development environment configured to detect the indication of the code sequence is during source code development in the software development environment;
- find multiple of the function names that match the indication of the code sequence, wherein those of the plurality of code sequences associated with the multiple function names perform a same task differently;
- and
- present the quality metrics compiled from the automated test results for those of the plurality of code sequences associated with the multiple of the function names that match the indication of the code sequence.
A computer program product comprising a computer-readable storage medium having encoded thereon computer-executable program instructions for using test results in an integrated development environment, comprising:
- first program instructions for storing quality metrics compiled from automated test results for a plurality of code sequences in association with function names for the plurality of code sequences, wherein the code quality metrics are accessible by the integrated development environment;
- second program instructions for detecting, in a user interface of the integrated development environment, an indication of a code sequence, wherein said detecting the indication of the code sequence is during source code development in the integrated development environment;
- third program instructions for finding multiple of the function names that match the indication of the code sequence, wherein those of the plurality of code sequences associated with the multiple function names perform a same task differently;
- and
- fourth program instructions for presenting the quality metrics compiled from the automated test results for those of the plurality of code sequences associated with the multiple of the function names that match the indication of the code sequence.
Dependencies are inferred from the claim text.