Patent ID: 9122790
Filing Date: 2015-09-01
Classification: G06F

Abstract:
1. A method comprising: selecting code for evaluation; representing a code execution path for the selected code as a control flow graph, each node in the flow graph representing a code block; assigning a user-prioritization adjustment value to the block in the control flow graph, the assigned value based upon a position of the code block within the control flow graph, and the assigned value selected from the group consisting of: de-emphasizing the code block and emphasizing the code block; calculating a weighted code coverage score for the code block based upon the assigned value and a proximity value defined by a proximity of the code block to a second code block in the flow graph, the second code block having a non-zero assigned value; defining a weighted code coverage goal for testing the selected code based upon an aggregated weighted code coverage score for the code blocks; measuring execution for the code blocks during test execution, and aggregating the weighted code coverage scores of the executed code blocks, wherein the defined weighted code coverage goal is met when the aggregated scores of the executed blocks at least meets the defined code coverage goal.