Hi,
I am trying to measure coverage on complex methods, but so far with very limited success.
Is it possible to define a custom metric and set up a quality gate in 6.x (or 5.x for that matter) for "coverage on complex method", i.e. coverage on methods that have a complexity of over "N" (likely N=2)?
Or if this is not possible, can coverage calculation report be restricted to only classes (speaking about JAVA here) with complexity/method > 2?
Third, can the Complexity "TreeMap" be somehow customized so that the size would be COMPLEXITY instead of LINES of CODE?
Thanks for the help in advance.
M.