Skip to content

Instantly share code, notes, and snippets.

@allenluce-zz
Created February 27, 2013 02:05
Show Gist options
  • Save allenluce-zz/5044307 to your computer and use it in GitHub Desktop.
Save allenluce-zz/5044307 to your computer and use it in GitHub Desktop.
Google's code review diff sizes to description mapping.
if diff_size == 0:
desc = "a code review of unknown size"
elif diff_size < 2:
desc = "a wee code review"
elif diff_size < 5:
desc = "a tiny code review"
elif diff_size < 30:
desc = "a small code review"
elif diff_size < 100:
desc = "a medium-size code review"
elif diff_size < 1000:
desc = "a code review"
elif diff_size < 2000:
desc = "a freakin huge code review"
elif diff_size < 3000:
desc = "a jupiterian code review"
elif diff_size < 4000:
desc = "a month long code review"
elif diff_size < 5000:
desc = "a whopping big code review"
elif diff_size < 10000:
desc = "the mother of all code reviews"
elif diff_size < 20000:
desc = "the grandmother of all code reviews"
else:
desc = "a category 5 code review"
return desc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment