> For example, coding standard says every "case" statement has to have a "default" switch. grep "case", grep "default", and you get wildly different numbers!
I hope that's an error in the document. I assume they meant "$(grep -r 'switch (' . | wc -l) != $(grep -r 'default:' . | wc -l)".