eclemma
eclemma copied to clipboard
Code coverage class file editor
For debugging JaCoCo integrations it would be useful to have an read-only class file editor to display JaCoCo analysis data:
- Tab: Info
- VM class name
- Source file name
- class id
- total method count
- total instruction count
- total branches count
- total complexity count
- total lines count
- Tab: Methods
- Table-Tree listing all methods
- Columns: VM method descriptor, total instructions, total branches, total complexity, total lines
- Each method be expanded to list its lines
- Column data shown per line: Line Number, total instructions, total branches
- Tab: Lines
- Table listing all lines
- Columns: Line number, total instructions, total branches
- Tooltip per row: vm Method descriptors contributing to this line
brock_j
To help with debugging the result of instrumentations it might be a good idea to have a view or editor that can show the original bytecode and instrumented bytecode side by side.
I have implemented a prototype of this using the built in eclipse disassembler and compare viewers, but i think the result is a bit 'noisy' to be useful due to changes to program counters introduced by instrumenting. Will attach a screenshot to demonstrate