Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
356 views
in Technique[技术] by (71.8m points)

unit testing - C++ Google Test & Gcov/Lcov report resulting in more functions than existent

I'm currently testing some C++ code with the Google Test framework and I get some weird results because the html report indicates that there are more functions that I can physically observe in the actual code. enter image description here

There are only 10 observable functions (with constructors and destructors).
I would provide the code but I'm not actually allowed to share it.I will try to provide any necessary details though.
What could be the cause for this?

question from:https://stackoverflow.com/questions/65951527/c-google-test-gcov-lcov-report-resulting-in-more-functions-than-existent

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...