eclemma icon indicating copy to clipboard operation
eclemma copied to clipboard

Display bars hierachycally to improve readability

Open renataogarcia opened this issue 13 years ago • 1 comments

Here is the sample of this idea.

coverage-bar-hierarchy.jpg

coverage-bar-hierarchy2.jpg

I've implemented this here, however it is on top of this pull request.

Please let me know your thoughts.

Thanks and Regards, Renato

renataogarcia avatar Dec 08 '12 02:12 renataogarcia

Good idea!

What I wanted to archive with the new proportional size bars in the JaCoCo repors is to visualize the absolute amount of code. Especially to clearly mark the big blocks of untested code.

These bars work fine as long as you're on the same level (like in the JaCoCo reports). As soon as you drill down in a tree (like in EclEmma) we have several problems:

  • It isn't obvious any more which bars can be directly compared (which is somehow addressed by your fix)
  • Absolute sizes of Bars on different levels cannot be compared.

Maybe it's worth re-thinking the bar visualization and try different aproaches like tree maps.

Another alternative would be showing (higlighted) bars only for the currently selected group.

marchof avatar Dec 09 '12 15:12 marchof