1. 程式人生 > >程式碼統計利器--CLOC

程式碼統計利器--CLOC

MAC下安裝命令:
$
brew install cloc

其他的linux安裝

$ aptitude install cloc

使用方法.到目錄下執行:

$ cloc .

The default output will show you a breakdown by language. Here’s an example of what it’ll look like:

php much?

php much?

You can, of course, customize the poop out of it as well.

cloc --help to nerd out.