If you need to use a raster PNG badge, change the '.svg' to '.png' in the link
"$@" -> $@
Double quoting $@ is dangerous since when $@ expansion is empty
zero-length argument "" is being passed instead of no arguments.
This breaks at least configure and may break other stuff.
relevant lines covered
hits per line