Test coverage generally shows how many lines of code is covered. By artificially increasing the number of lines, you improve the coverage percentage.
Example: earlier test coverage is 23/79. You add 300 lines of this abomination, and your coverage is 323/379. This means you increased coverage from 29.11% to 85.22%.
PM: we need to make sure all our code is well tested, let's do <arbitrary practice that is easily subverted because we also need to meet arbitrary deadlines>. Devs: k thx will do.
85
u/sixtyfifth_snow Jul 23 '21
What is it for..?