What I am saying in this if block is that:
Lines to cover = number of statements

What I am saying in the next if block is that:
Uncovered lines = number of statements

This will give you:
Coverage = (Lines to cover - Uncovered lines) / Lines to cover = 0%