Identifying and deleting unnecessary code lines
AssigneeInternational Business Machines Corporation
InventorsGabriele De Capoa, Emilia Amato, Crescenzo Migliaccio
Life of this patent
Estimating the term…
Loading patent…
AssigneeInternational Business Machines Corporation
InventorsGabriele De Capoa, Emilia Amato, Crescenzo Migliaccio
Estimating the term…
Provided are techniques for identifying and deleting unnecessary code lines. A plurality of global behavioral rules are stored, where each of the global behavioral rules includes a behavioral pattern code fragment, a plurality of recommendations, and a recommendation score for each of the plurality of recommendations. It is determined that a code fragment in a portion of code matches a behavioral pattern code fragment of a global behavioral rule of the plurality of global behavioral rules. A recommendation from the plurality of recommendations of the global behavioral rule is provided based on the recommendation score of that recommendation. In response to the recommendation being applied, a recommendation score of the recommendation is increased. In response to the recommendation being rejected, an action taken is identified, and the action taken is stored as a new recommendation for the behavioral pattern code fragment of the global behavioral rule.
A computer-implemented method, comprising operations for:
A computer program product, the computer program product comprising a computer readable storage medium having program code embodied therewith, the program code executable by at least one processor to perform operations for:
A computer system, comprising:
Dependencies are inferred from the claim text.