You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks to the doxy-coverage and coverxygen project members for all the time & effort that has been put into the projects.
I am currently evaluating the use of coverxygen - working with a C/C++ code base.
I hade some starting difficulties, so I am currently playing around with a reduced code sample. It basically seems to work.
My flow:
# change directory to coverxygen repository, then generate Doxygen documentation from my example in ./test/average
$ cd ./test/average/ && doxygen && cd ../..
# run coverxygen
$ python3 -m coverxygen --xml-dir ./test/average/doc/xml/ --output ./test/average/doc/average.info --output ./test/average/doc/coverage.info --src-dir ./test/average/
# output lcov
$ lcov --summary ./test/average/doc/coverage.info
Reading tracefile ./test/average/doc/coverage.info
Summary coverage rate:
lines......: 60.0% (3 of 5 lines)
functions..: no data found
branches...: no data found
# generate HTML report and view it in the browser
$ genhtml --no-function-coverage --no-branch-coverage ./test/average/doc/coverage.info -o ./test/average/doc/coverage
Reading data file ./test/average/doc/coverage.info
Found 2 entries.
Found common filename prefix "/mnt/somepath/coverxygen/test"
Writing .css and .png files.
Generating output.
Processing file average/average.cpp
Processing file average/doc/xml/todo.xml
Writing directory view page.
Overall coverage rate:
lines......: 60.0% (3 of 5 lines)
Undocumented functions are detected as expected.
Before:
After:
Where (if at all) can I exclude the check for #includes, usings and probably other keywords/expressions/statements?
Where (if at all) can I exclude the check for #includes, usings and probably other keywords/expressions/statements?
It should not mark those lines. It should only mark the constructs which are also listed in the summary table (classes, defines etc.). I don't really understand what's going on there. Maybe you can check the .xml files generated by Doxygen and check if you find those two lines mentioned in of the .xml files. This might then give an insight what is going on.
What needs to be done to get this detailed summary?
You need to run coverxygen with the --format summary parameter.
Can you also check if all parameters of a function/method have been commented?
Hi all!
Thanks to the doxy-coverage and coverxygen project members for all the time & effort that has been put into the projects.
I am currently evaluating the use of coverxygen - working with a C/C++ code base.
I hade some starting difficulties, so I am currently playing around with a reduced code sample. It basically seems to work.
My flow:
Undocumented functions are detected as expected.
Before:
After:
Where (if at all) can I exclude the check for
#include
s,using
s and probably other keywords/expressions/statements?Your README.md shows the following example:
What needs to be done to get this detailed summary?
Can you also check if all parameters of a function/method have been commented?
Any help is very much appreciated.
The text was updated successfully, but these errors were encountered: