IBM Patents Optimization... Sigh.
google.com
google.com
I remember one funny year when they pushed the patent expectation down to the lower banded employees (of which I was one at the time). We all dutifully submitted (internally) a number of patent "inventions" to meet the requirement and get the magic bonus $$ if you actually got one awarded. At the time, it didn't feel like an honest effort to generate innovation, but rather just another out-of-normal-process to heap on employees who were mostly trying not to get laid off.
But in this case, it really is as bad as the title declares. Claim 1 covers the process of any attempt at optimization.
The only things close to redeeming specificity are in the description and background. The first claim still covers everything.
One small caveat: IBM is attempting to patent optimization. They filed an application and that application has been published.
But, as of yet, it hasn't been granted. Fingers-crossed, let's hope this doesn't go through.
A method for developing a computer program product, the method comprising: evaluating one or more refactoring actions to determine a performance attribute; associating the performance attribute with a refactoring action used in computer code; and undoing the refactoring action of the computer code based on the performance attribute.
The only really limiting factor is that it could be read narrowly to require a very close "associat[ion]" between the "refactoring action", the "performance attribute", and the "undoing"; e.g. some sort of "refactor-and-keep-only-if-faster" button in Eclipse.
Dependent claims, in this case 2 - 5 (the ones that refer to another claim), add specificity, but do not narrow the scope of the original independent claim. They exist as a legal tactic; helping to ensure that a more specific variant of the invention is covered, in the event that the parent claim is later invalidated (ruled too broad, revoked upon discovery of prior art, struck after re-examination, etc).
The original point stands: If this patent issues, any competing invention that merely contains all the elements of that broad independent claim, would be infringing.
Those more-specific dependent claims are only a concern if you plan on prevailing in court against the broad one. As setting foot in a courtroom is a net loss for most innovators, the very existence of those dependent claims is essentially irrelevant.