What does it mean that return statement is partially covered? It happens also for other lines e.g 2 consecutive lines (like variable declaration) has different coverage. One is fully covered but second is only partially. I don’t know how to interpret that.
@nekoffski, this looks like it has to do with how you are collecting coverage. Codecov is getting the upload here and is parsing the lines that are reported:
Oh, thanks for giving me the hint that this could be issue with generating .xml file! It turned out that yellow lines are places where exceptions could be throwed. Unfortunately, in this case other part of code is reponsible for checking for exception so I had to disable it by adding --exclude-throw-branches flag.