Details
Description
The cppncss generated report is not converted to sonar results.
The problem is because of "C:\" in the item tag. The filename is consider here as "C". The file name derivation from the name attribute is not correct
Sample report created from CppNcss
<cppncss>
<measure type="Function">
<labels>
<label>Nr.</label>
<label>NCSS</label>
<label>CCN</label>
</labels>
<item name="DatabaseSchema::createAllTables() at C:\src\DatabaseSchema.cpp:31">
<value>1</value>
<value>130</value>
<value>25</value>
</item>
</measure>
</cppncss>
Please try the following path. CppNcss can now recognize Unix and Windows filenames properly.
Unit tests added.
Changes commited to svn.