Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
gcov 的输出表示没有执行 70 % of 10 的行
但我的代码有超过 10 行..
它不计算大括号,否则声明
请帮忙 ..
gcov只计算实际进入二进制文件的代码行数 - 大括号只是语法的一部分。
gcov
大概else正在优化/编译出来?
else