On Monday, February 27, 2017 at 12:17:14 AM UTC-8, Marc R. Hoffmann wrote: > > Hi David, > > the columns are grouped (see vertical lines). For complexity, lines, > methods and classes the number of missed items and the number of total > items is shown. >
I did not notice until now the missing column separators. > * Element: Clear > * Missed Instructions: Clear > * Cov.: Instruction coverage > * Missed Branches: Clear > * Cov.: Branch coverage > * Missed: No idea. --> Missed complexity > * Cxty: Cyclomatic complexity? --> Yep > * Missed: Missed lines? --> Yep > * Lines: Count of lines? --> Total count > * Missed: Missed methods? --> Yep > * Methods: Count of methods? --> Total count > * Missed: Missed classes? --> Yep > * Classes: Class count? --> Total count > > The exact definition of the counters are described in documentation > <http://www.jacoco.org/jacoco/trunk/doc/counters.html>. > > I agree that the headers are quite minimalistic. I selected the format for > the sake of a compact rendering many years ago. I like the more compact > format and would leave it like it is. Maybe an alternative would be to add > tool tips? > > I have a unfinished pull request > <https://github.com/jacoco/jacoco/pull/382> to cutomize columns. This > would also allow users to write longer, more descriptive headers. Would > that help in your case? > I think the headers are fine the way they are, but you need a way to provide information to people who are not familiar with the semantics of the values. Tooltips are the classic and best answer to this problem. This doesn't need to be an "alternative", as tooltips won't be seen unless you hover the mouse over the column header. Looking at the code, it looks like this is very doable, but it would likely require changes all the way down to the HTMLElement class, but again, I've just taken a brief look at the code. > > Cheers, > -marc > > > > > On 26.02.17 23:25, David Karr wrote: > > Looking at the generated HTML table, I'm now not certain I know exactly > what each of these columns represents. I tried searching through the > documentation, but I found nothing. There are also no obvious tooltips to > provide additional information. > > Some of the columns are obvious, and many of them I can make educated > guesses for, but this seems like something that could be improved. > > I currently see the following headers: > > * Element: Clear > * Missed Instructions: Clear > * Cov.: Instruction coverage > * Missed Branches: Clear > * Cov.: Branch coverage > * Missed: No idea. > * Cxty: Cyclomatic complexity? > * Missed: Missed lines? > * Lines: Count of lines? > * Missed: Missed methods? > * Methods: Count of methods? > * Missed: Missed classes? > * Classes: Class count? > > I suppose I could dig into the source to figure this out (which I may do > for a PR for this), but could someone state authoritatively what these all > mean? > > -- > You received this message because you are subscribed to the Google Groups > "JaCoCo and EclEmma Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] <javascript:>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jacoco/a8d65cfc-f2ab-453a-b640-7ce84f3170f6%40googlegroups.com > > <https://groups.google.com/d/msgid/jacoco/a8d65cfc-f2ab-453a-b640-7ce84f3170f6%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > > > -- You received this message because you are subscribed to the Google Groups "JaCoCo and EclEmma Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jacoco/014d74c0-40ed-4b00-87bf-08331af7f2a7%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
