Timothee Cour
Timothee Cour
other example where I don't understand line count: * `import typetraits` should probably not be counted as a runtime line (not executed at runtime) * why is `ret &= a.front`...
should we have an option to discount it from line/function/branch coverage stats? otherwise it inflates the numbers
> parse Nim files by hand whatever the right way is, this isn't it ;-)
* random completely untested idea off the top of my head: for each file bar.nim you want coverage on, generate a coverage_bar.nim with contents: ```nim include bar.nim ```
> So either I need to parse Nim files by hand to consolidate the results or try to find X (compiler flags?) to generate C files more in sync with...
> Unfortunately the profiler has only a stacktrace object without any line number. I'm fixing this in https://github.com/nim-lang/Nim/pull/10119 > Sure we could work out a code profiler, starting by creating...
> I have no idea where this comes from. I would need some help here as I'm new to Nim. not sure either on quick inspection; but using doAssert instead...
(btw, hope you don't mind the issues I'm reporting; I think it's an awesome tool, I'm only trying to help by pointing out usability issues)
> I want to see if it's worth investing my time and my team in it. I really hope it'll turn out positive ... happy to help, and the forum...
Thanks, that would be very helpful. Also, any idea why a standard format (eg json or yaml) isn't being adopted instead? it would be a one-time job to convert everything...