Comment #7 on issue 476 by anquetil.nicolas: VerveineJ should export some
metrics
http://code.google.com/p/moose-technology/issues/detail?id=476
In VerveineJ, I have attached the javadoc to the entity, but it is not part
of the source anchor.
One of the issue is that I don't really have access to it. I can more or
less reconstruct the javadoc through the list of its tags, but this is not
the "real" comment that is in the source code.
I believe I could get the line number of the javadoc, but I am still not
convinced that it would be the ideal solution.
I prefer the idea of doing the minimum processing (and interpretation)
possible on the data, and leave the user decide what s-he wants to do with
it (given that s-he has the needed elementd for that).
I added Cyclomatic and Number of Statement metrics because as you point
out, they cannot be computed from the MSE.
I am giving the user the possibility to compute the LOC s-he wants, by
attaching the source anchor to the code entity (did not do it for the
javadoc, but I believe I could). From that s-he is able to compute the LOC
s-he wants (with or without javadoc).
Anybody else as an opinion on this to try to find a consensual
decision .... ?