From: Heiko Abraham <abrahamh@we...> - 2011-07-16 11:03:37
I check the latest version (1.9) of lcov to work with ObjC (Cocoa) code. I see that the
text output of gcov give correct results (like myclass.m.gcov)
The output (genhtml) of the page shown, that zero functions are checked and
the line marker on some methods are with a offest of one line. So the
output tells me, that a branch is used, bu that are invalid.
I see, that the erroris inside geninfo only. The detection, what is a function
failed, if the ObjC function have one or more arguments.
I get the output:
geninfo: Argument "function +[MyClass firstArgument" isn't numeric in numeric gt (>) at ... line 1125
The variable $gcon_content contains the first part of the methode name !!!
So the parsing must be wrong.
Can someone give me a hint to debug the problem better? I.e. the gcov line to be parse
and must I check the parsing for *.m.gcov or the parsing of *.gcda?