History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: IDEADEV-15467
Type: Usability Problem Usability Problem
Status: Open Open
Priority: Normal Normal
Assignee: Anna Kozlova
Reporter: Taras Tielkes
Votes: 0
Watchers: 2
Operations

If you were logged in you would be able to see more operations.
IDEA: Development

Provide less verbose coverage label decorator for project view (configurable?)

Created: 13 Mar 07 18:11   Updated: 08 Jun 08 23:30
Component/s: Code Coverage, Project View
Fix Version/s: None

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown

Build: 6,755


 Description  « Hide
Analyze -> "Code coverage data" decorates the item labels in the project tree, and appends coverage information like:
0% classes, 0% lines covered
0% methods, 0% lines covered

I do not have a lot of experience with code converage, but usually I'm only interested in (average) line coverage.
I just want a single % value, and less clutter in the project view.

I would be nice if I could configure the code coverage functionality in IDEA to show only the following:
(12%) // for packages, only show average line coverage
(12%) // for classes, only show average line coverage
(12%) // when "show members" is enabled, then for methods, show line coverage (currently nothing shown for methods)

This would greatly reduce visual noise in the project view when reviewing coverage - while still showing the relevant top-level information that I'm after.
It's possible that other users want different values inside the label decoration, so I think it would be good to provide a configurable pattern for coverage label decoration.



 All   Comments   Work Log   Change History      Sort Order:
Yann Cébron - 13 Mar 07 18:26
How about a "coverage progress bar" next to the item, going from red - yellow - green? it's faster to recognize colors than reading numbers

Taras Tielkes - 20 Mar 07 19:32
Yann, in my opinion that would be quite distracting.
I filed this issue to see less information on screen - just a single percentage (a single rounded number, without fraction).

However, I understand what you're asking. But I think that should not be part of the default coverage decorator in project view.

Perhaps you want a separate 'coverage report' view - one that really tries to give maximum insight into coverage problem areas - for instance by combining coverage information with several relevant metrics?


Yann Cébron - 20 Mar 07 21:56
this chart would be much smaller than the current text, but ofcourse should be configurable