If you need to use a raster PNG badge, change the '.svg' to '.png' in the link
Fix length check. (#352)
The length of an array is never negative, so the condition as written can never hold.
relevant lines covered
hits per line