I appreciate you pointing out the flaws, but I fear they sarcasm is not really warranted. Shit code or not, you can call it out without denigrating the guy.
It's nice they aired their source code out for people to look at, least we can do is to critique without snark.