jenkinsci/cppcheck-plugin — pull request #14 by mixalturek (2014-04-29 20:37:57+00:00)
Title: [JENKINS-18109] Show all violations highlighted on a single page

- New URL ".../cppcheckResult/source.all" points to a dynamic page rendered using a newly implemented class CppcheckSourceAll. Optional parameters are before=NUM and after=NUM to specify number of displayed lines, their default value is 5. A link was added above the table on the details page.
- Variable cppcheckfile refactored to cppcheckFile (f/F) to prevent copy-paste errors.
- Null check for return value of diffCurrentAndPrevious() removed, the method never returns null (found by FindBugs).
- Source details show only part of the path relative to the workspace in the header instead of the very long absolute path, the method getFileNameHtmlWrap() removed.
- Cppcheck message must be HTML escaped before passing to the page (e.g. "Comparison of a variable having boolean value using relational (<, >, <= or >=) operator.").
- Missing space added to the tooltip on the page with source code of a whole file.
- Annotations added to deprecated members present for backward compatibility.