Patent ID: 8875100

Claim:
A method for providing a performance accounting framework comprising: receiving a request to evaluate a section of source code associated with an application for providing the performance accounting framework, wherein the request is associated with a request to check the section of source code into a repository; creating a flow graph associated with the section of source code, wherein the flow graph comprises a plurality of execution paths and wherein each of the plurality of execution paths are associated with a weighting defined within the section of source code; performing at least one evaluation on the section of source code according to the flow graph; calculating by a computing device a performance metric according to the at least one evaluation, the performance metric comprising a spread calculation between a minimum case and a worst case; determining whether the performance metric is within a defined project design goal; in response to determining that the performance metric is within the defined project design goal, checking the section of the source code into a repository; in response to determining that the performance metric is not within the defined project design goal, rejecting the request to check the section of the source code into the repository; and providing a report to a developer of the calculated performance metric.