📜 ⬆️ ⬇️

project scores

It can be useful. How easy it is to calculate:

- number of lines of code
find project_folder -name * .php -exec cat {} \; | wc -l

-classes of classes, functions, if-s, etc.
find project_folder -name * .php -exec cat {} \; | grep class | wc -l
')
Walked through all his projects. An interesting observation is that in similar projects the number of if-s falls, the number of classes and functions grows.

Source: https://habr.com/ru/post/43686/


All Articles