Patent Document ID: 9507695
Application ID: 14251845

Base Claim:
1. A method for indicating significance of tested code statements, the method comprising: a processor receiving a rule containing a first set of code statements; the processor comparing the first set of code statements of the rule to a plurality of code statements of a source code; the processor, in response to the first set of code statements of the rule matching a second set of code statements of the plurality of code statements of the source code, applying a weight modifier to the rule, wherein applying the weight modifier to the rule assigns a weighted value to the first set of code statements of the rule; the processor, in response to the first set of code statements of the rule matching a third set of code statements of the plurality of code statements of the source code, applying the weight modifier to the rule a second time, wherein the rule includes a first instance of the weighted value and the weight modifier assigns a second instance of the weighted value to the rule; the processor applying a cumulative weight value of the rule to the second set of code statements and the third set of codes statements of the plurality of code statements of the source code, wherein the cumulative weight value indicates a significance of the second set of code statements and the third set of code statements, and is based on accumulated applications of the weighted value to the rule, by the weight modifier; and the processor, in response to receiving a request for a test coverage report, displaying in the test coverage report, the cumulative weight value of the second set of code statements and the third set of code statements, of the plurality of code statements of the source code.

---

Claim 2:
2. The method of claim 1 , wherein the first set of code statements of the rule which is compared to the second set of code statements of the plurality of statements of the source code, includes a selection of at least one from the following group of programming language constructs: checked exception, throw, try/catch, unchecked exception, visibility of a method, high usage code, custom constructs, logging messages, application programming interfaces (APIs), code comments, and logical complexity.