solution for #218 / first version you can give a try
* all files without coverage report are set to 0 coverage
* use non comment lines of code for coverage calculation
* all lines of the files are marked red (also comments and preprocessor directives)
* source and header files included - with header files I'm not sure (but there could also be code inside)?
Remove the sonar-ws-client dependency, which has been used for integration testing but has been obsoleted by the BDD integration test suite
Update the used JUnit version to 4.12
maintaining dependencies
- upgrade hamcrest and mockito to the latest versions
- remove unused commons-httpclient dependency
Upgrade used SSLR to 1.20 and squid-bridge to 2.4
Reactivate accidentally commented out ast scanner unit tests
Cleanup: organize imports
Update the used sonar common rules library to the version 1.2
Update the CI metadata in the pom
Upgrade the plugin to Sonar Plugin API 4.2
remove unnecessary maven-project dependency
* Add option sonar.cxx.coverage.forceZeroCoverage: If 'True', assign zero line coverage to source files without coverage report(s), which results in a more realistic overall Technical Debt value (default=True).
* add option to 'test & coverage' property sheet
* additional check if statements in file. Files without statements are ignored
* test with SonarQube 3.7.4
fix smoke test values
Merge pull request #321 from guwirth/enhancement/218_line_coverage_for_all_files

Enhancement/218 line coverage for all files
Merge branch 'master' of https://github.com/wenns/sonar-cxx
Revert "remove unnecessary maven-project dependency"

This reverts commit 7a6479800c496353bb77a21965a09941eb594400.