Ask the person to implement "Hello world" and then count the lines of code, number of classes, inheritance depth, number of external dependencies, etc.
$ perl -wle "print 'hello world'" $ echo "hello world" "Hello World" echo -e "#include <stdio.h>\nvoid main() {printf(\"Hello world\\\n\");}" | gcc -o ./foo -xc - && ./foo && rm foo echo "Hello world!" > hello.php
php hello.php