Improve the coverage sensor. Details:
- Work with filesystem paths relative to projects basedir. This allows
  the project to be moved around after report creation without
  breaking a later feeding. As a side effect, it finally allows to
  enable the unit tests. To do so, pass '-r <basedir>' to gcovr. This
  may result in a smaller report (because gcovr ignores everything
  outside this directory) and lets gcovr generate paths relative to
  this directory.
- Update the shipped gcovr version to the last upstream release.



git-svn-id: http://svn.codehaus.org/sonar-plugins/trunk/cxx@5448 d25a0af3-c461-0410-a42d-853a01480fe4
Reduce technical debt by splitting the production code to make the units smaller and better testable. Modify the tests accordingly, remove the absolute path dependency and enable them.


git-svn-id: http://svn.codehaus.org/sonar-plugins/trunk/cxx@5451 d25a0af3-c461-0410-a42d-853a01480fe4
SONARPLUGINS-1751 Sonar CXX Plugin does not work with Sonar 3.0
Replace all the per-rule-repository profiles with one default profile which includes all rules. Move the priority field for the vera++ rules into the profile where it belongs to.



git-svn-id: http://svn.codehaus.org/sonar-plugins/trunk/cxx@5457 d25a0af3-c461-0410-a42d-853a01480fe4
added RATS bug workaround

git-svn-id: http://svn.codehaus.org/sonar-plugins/trunk/cxx@5487 d25a0af3-c461-0410-a42d-853a01480fe4
Upgrade to Parent version 13

git-svn-id: http://svn.codehaus.org/sonar-plugins/trunk/cxx@5502 d25a0af3-c461-0410-a42d-853a01480fe4
SONARPLUGINS-1754 Sonar - Cxx plugin - CxxXunitSensor parser only allows one Testsuite
The duplicated measure error arose because of repeatedly saving
measures to the 'null' resource. So the actual cause was that the
implementation relied on the classname pointing to a valid
resource. The fix is to fallback to creating a dummy unit test
resource without source code and save the measures against them. This
seems the obvious solution because the only lacking peace is actually
the source code file, and we wanna see the other statistics even if
the source cannot be found.

Cleanup the sensor while doing all this. Side effect: now we are
different enough from Core Surefire Plugin and reusing the
AbstractSurefireParser is from the table.



git-svn-id: http://svn.codehaus.org/sonar-plugins/trunk/cxx@5524 d25a0af3-c461-0410-a42d-853a01480fe4
SONARPLUGINS-1800 Integration of cppcheck 1.54
A couple of new rules and some description improvements. Also added an overlooked rule which was already in 1.50 but does not appear in the errorlist (Thanks go to Sylvain Hellegouarch)


git-svn-id: http://svn.codehaus.org/sonar-plugins/trunk/cxx@5537 d25a0af3-c461-0410-a42d-853a01480fe4
Added CppCheckSensor fix: when CppCheck could not find all include files, it produces the following xml line in output:

<error id="missingInclude" severity="style" msg="Cppcheck cannot find all the include files. Cppcheck can check the code without the include files found. But the results will probably be more accurate if all the include files are found. Please check your project's include directories and add all of them as include directories for Cppcheck. To see what files Cppcheck cannot find use --check-config."/>

The plugin crashed, beacause not all error attributes was present (file, line). Now it shows a warning message.

git-svn-id: http://svn.codehaus.org/sonar-plugins/trunk/cxx@5539 d25a0af3-c461-0410-a42d-853a01480fe4
Cleanup the unit test of the sample project to make it produce better valgrind reports


git-svn-id: http://svn.codehaus.org/sonar-plugins/trunk/cxx@5544 d25a0af3-c461-0410-a42d-853a01480fe4
SONARPLUGINS-1767 CXXRatsSensor crashes due to RATS bug
Adjust the unit test to cover this case


git-svn-id: http://svn.codehaus.org/sonar-plugins/trunk/cxx@5547 d25a0af3-c461-0410-a42d-853a01480fe4
Remove now obsoleted documentation in the Readme.txt file as all usefull information peaces are now available in the codehaus Wiki.


git-svn-id: http://svn.codehaus.org/sonar-plugins/trunk/cxx@5548 d25a0af3-c461-0410-a42d-853a01480fe4
Correct the version-tag in the pom. The version of a sonar-plugin which hits its first release should be "0.1-SNAPSHOT"


git-svn-id: http://svn.codehaus.org/sonar-plugins/trunk/cxx@5600 d25a0af3-c461-0410-a42d-853a01480fe4
[maven-release-plugin] prepare release sonar-cxx-plugin-0.1

git-svn-id: http://svn.codehaus.org/sonar-plugins/trunk/cxx@5601 d25a0af3-c461-0410-a42d-853a01480fe4
[maven-release-plugin] prepare for next development iteration

git-svn-id: http://svn.codehaus.org/sonar-plugins/trunk/cxx@5603 d25a0af3-c461-0410-a42d-853a01480fe4