Patent ID: 8719799

Claim:
A computer-implemented method performed by a computerized device, comprising: obtaining coverage tasks, each coverage task associated with a code element of a Software-Under-Test (SUT), wherein the coverage tasks are associated with an initial distribution into at least two groups; for each group, computing coupling scores between the group and each of all other groups; grouping a set of closely coupled groups based on the computed coupling scores into a single group in a new distribution into groups, wherein the coupling score is calculated based on one or more coupling measurements selected from the group consisting of an explicit coupling measurements and an implicit coupling measurements, wherein the explicit coupling measurement of a first coverage task and a second coverage task is indicative of an interaction between a first code element of the first coverage task and a second code element of the second coverage task; and the explicit coupling measurement is a total number of invocations of the first code element by the second code element and of invocations of the second code element by the first code element, wherein an invocation of the first code element by the second code element is given a different weight than an invocation of the second code element by the first code element; and the implicit coupling measurement of the first coverage and the second coverage task is indicative of an implicit association between the first code element and the second code element.