If you need to use a raster PNG badge, change the '.svg' to '.png' in the link
Remove redundant check
This check is done in a method that is always called before we get here
so this is unnecessary.
relevant lines covered
hits per line