Partially hit lines are typically branches that have one, or more, missing execution paths. In the example above, the missing execution path is clearly entering the
if branch. The result of
ref.name() == "" was always
False, therefore the proceeding lines were never executed.
This layout is an example of Unexpected Coverage Changes. The coverage on line 149 and 150 was covered before this commit. Now these lines are partially hit and missed, respectively.
Updated over 2 years ago