1. A method in a computerized environment for determining coverage of testing in respect to a device, the device is associated with a set of coverage tasks and a coverage task hierarchy, the method comprising: obtaining a plurality of coverage tasks of the set of coverage tasks, wherein the set of coverage tasks are a set of code coverage tasks; the plurality of coverage tasks comprises a first coverage task and a second coverage task, the first coverage task and the second coverage task are associated with different hierarchies of the coverage task hierarchy; modifying the device to indicate coverage of the plurality of coverage tasks by a test; and determining coverage by the test of the device of the plurality of coverage tasks; the coverage task hierarchy is a code coverage task hierarchy, wherein the coverage task hierarchy is based on a representation of the device selected from the group consisting of a syntactic representation of the device, a call graph, and an object hierarchy, and whereby the device is transformed to indicate coverage of at least the first coverage task and the second coverage task.