代码改变世界

代码统计利器--CLOC

2013-10-21 12:24  三戒1993  阅读(128)  评论(0编辑  收藏  举报


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.