#81 Option to disable source xref

open
nobody
5
2010-07-13
2010-07-13
Anonymous
No

I find it important to share reports with managers, but I cannot always share the cobertura report because the HTML report always includes a cross-reference of the source code. This has been a major problem for me on several occasions. Setting up a site where the source is available -- in any format -- is a security hazard despite best of intentions to secure the site.

I recommend a configuration flag where the source is not used/hyperlinked.

Discussion

  • John Lewis
    John Lewis
    2010-07-13

    It is not quite what you are asking for, but when you run <cobertura-report> or cobertura-report.bat, you can either leave off the <fileset> or have it point to an empty directory. Then, a report will still be created with the information, and when you click on a link that would have shown the source, it will show a message instead that the source could not be found.