Statistics about Magento2 lines of code, comments and used languages. Updated from time to time and compared with different versions.
Generating the data:
$ go install github.com/hotei/sloc
$ git clone https://github.com/magento/magento2.git
$ git checkout <tag>
$ composer.phar install
$ ./bin/magento setup:upgrade
$ ./bin/magento setup:di:compile
$ sloc