Code Coverage Integration in CLion

Answered

Hello all,

I just have what I hope is a very quick question: Is there any kind of code coverage integration in CLion? I've been looking around the internet and I have not found any mention of it. I am afraid I am simply missing something. I can always use something like gcov, but I was just wondering if there was some tool that was very well integrated into CLion or whether there was functionality in CLion for reading gcov (or other code coverage/profiling tool) output.

Thank you in advance.

Sincerely,
-Eugene

6 comments
Comment actions Permalink

Hi Eugene.
It's not implemented in CLion yet.
We have the feature request about Valgrind integration: https://youtrack.jetbrains.com/issue/CPP-548
Feel free to comment or upvote.

0
Comment actions Permalink

Oh OK. Thank you very much!

0
Comment actions Permalink

It would be great to have a source code editor window and summary window integration like that one provided by this package https://atom.io/packages/lcov-info for the Atom IDE.

0
Comment actions Permalink

I've got my cmake code coverage working very well with gcovr, it produces html reports for me.  It'd be great of clion supported this!

0
Comment actions Permalink

We have the feature request about Code Coverage support: https://youtrack.jetbrains.com/issue/CPP-9678. Please comment or upvote.

0

Please sign in to leave a comment.