This is Patch for the Feature request # 1949957.
File 1:
net.sourceforge.cobertura.reporting.Main
Changes: Accepts additional parameter (for the old data file) and if old file is valid, then reports are generated in compare mode instead of normal mode.
File 2: net.sourceforge.cobertura.reporting.html.CompareHTMLReport
Changes: Added a new file that generated HTML reports in compare mode.
File 3:
net.sourceforge.cobertura.reporting.html.files.source-viewer.css
Changes: Added new style for displaying the source code that is not covered in previous run, but covered in the new run ( improvement coverage code )
File 4:
org.codehaus.mojo.cobertura.tasks.ReportTask
Changes: Cobertura-Maven plugin is changed to set the oldfile argument when invoking cobertura for generating reports.
Cobertura patch for Feature request # 1949957 : KIRAN KUMAR KSHIRASAGAR
Logged In: YES
user_id=2070782
Originator: YES
Please let me know if you need any sample reports as well.
Logged In: YES
user_id=2070782
Originator: YES
Has anyone looked at the patch uploaded ? please let me know the feedback.