Based on https://code.google.com/p/php-class-keyword-density-check/