melexis / sphinx-coverity-extension

Sphinx plugin to generate Coverity defects report or table in reStructuredText documentation. Coverity report is then personally styled while data integrity is guaranteed.
GNU General Public License v3.0
5 stars 2 forks source link

Provide option for column file:linenum #34

Closed Letme closed 5 years ago

Letme commented 5 years ago

Provide new column where you would print in format of file:linenum of the defect. This will be useful when someone does not have access to CID, but still wants to read/compare report with the source code (manually).

That means instead of link to CID, print the file path and line number. Since this will be long and to enable some context, we could also maybe use the format of the Link towards gitlab (there linenum is in format filename.c#L140.

JasperCraeghs commented 5 years ago

Is there a way to get the line number from the defect object?

Letme commented 5 years ago

I do not know, if it is soap response (in defect.xml I dont see it, only the functionName). You should investigate.

Letme commented 5 years ago

Closed by #35