行覆盖只是指出代码的哪些行被执行。
Line coverage simply indicates that a particular line of code was exercised.
行覆盖率:类文件中覆盖的行百分比。
Line coverage: the percentage of lines covered in the class file.
这表明行覆盖的确不能很好地指示测试的有效性。
It turns out that line coverage isn't such a great indicator of test effectiveness.
printf So here I'm culling printf in a loop again and again, but I'm literally overwriting the previous thing that I wrote.
所以这里我一次次地在循环中使用,但是我逐行地覆盖了我之前所写的东西。
应用推荐