mac统计项目代码行数
2018-07-02 13:50
495 查看
一、安装cloc
brew install cloc
二、统计
商城代码行数
$ cd /Users/shijun/Desktop/ideaWorkspace/Www
$ cloc ./
1051 text files.
1010 unique files.
200 files ignored.
github.com/AlDanial/cloc v 1.76 T=2.80 s (305.7 files/s, 82338.1 lines/s)
-----------------------------------------------------------------------------------
Language files blank comment code
-----------------------------------------------------------------------------------
JavaScript 125 12953 21263 73746
Java 374 4737 1945 32908
CSS 46 1019 875 23788
HTML 35 181 2847 19287
JSP 81 1568 1050 15119
XML 158 449 354 5976
PHP 28 1033 2402 5190
ASP 5 114 92 972
Maven 1 42 74 475
ASP.NET 1 4 0 49
Visualforce Component 1 0 0 10
INI 1 1 1 1
-----------------------------------------------------------------------------------
SUM: 856 22101 30903 177521
-----------------------------------------------------------------------------------
后台代码行数
$ cd /Users/shijun/Desktop/ideaWorkspace/Admin
$ cloc ./
1622 text files.
1496 unique files.
285 files ignored.
github.com/AlDanial/cloc v 1.76 T=3.46 s (387.4 files/s, 88473.6 lines/s)
-----------------------------------------------------------------------------------
Language files blank comment code
-----------------------------------------------------------------------------------
JavaScript 253 16248 24401 121357
Java 572 6672 2223 57702
CSS 169 832 382 35213
JSP 125 2014 786 17074
XML 170 714 377 7792
PHP 28 1033 2402 5190
HTML 15 115 208 1934
ASP 5 114 92 972
Maven 1 37 62 397
Markdown 1 21 0 68
ASP.NET 1 4 0 49
Visualforce Component 1 0 0 10
INI 1 1 1 1
-----------------------------------------------------------------------------------
SUM: 1342 27805 30934 247759
-----------------------------------------------------------------------------------
The total line code of mall web and manager web is 177521 + 247759 = 425280
brew install cloc
二、统计
商城代码行数
$ cd /Users/shijun/Desktop/ideaWorkspace/Www
$ cloc ./
1051 text files.
1010 unique files.
200 files ignored.
github.com/AlDanial/cloc v 1.76 T=2.80 s (305.7 files/s, 82338.1 lines/s)
-----------------------------------------------------------------------------------
Language files blank comment code
-----------------------------------------------------------------------------------
JavaScript 125 12953 21263 73746
Java 374 4737 1945 32908
CSS 46 1019 875 23788
HTML 35 181 2847 19287
JSP 81 1568 1050 15119
XML 158 449 354 5976
PHP 28 1033 2402 5190
ASP 5 114 92 972
Maven 1 42 74 475
ASP.NET 1 4 0 49
Visualforce Component 1 0 0 10
INI 1 1 1 1
-----------------------------------------------------------------------------------
SUM: 856 22101 30903 177521
-----------------------------------------------------------------------------------
后台代码行数
$ cd /Users/shijun/Desktop/ideaWorkspace/Admin
$ cloc ./
1622 text files.
1496 unique files.
285 files ignored.
github.com/AlDanial/cloc v 1.76 T=3.46 s (387.4 files/s, 88473.6 lines/s)
-----------------------------------------------------------------------------------
Language files blank comment code
-----------------------------------------------------------------------------------
JavaScript 253 16248 24401 121357
Java 572 6672 2223 57702
CSS 169 832 382 35213
JSP 125 2014 786 17074
XML 170 714 377 7792
PHP 28 1033 2402 5190
HTML 15 115 208 1934
ASP 5 114 92 972
Maven 1 37 62 397
Markdown 1 21 0 68
ASP.NET 1 4 0 49
Visualforce Component 1 0 0 10
INI 1 1 1 1
-----------------------------------------------------------------------------------
SUM: 1342 27805 30934 247759
-----------------------------------------------------------------------------------
The total line code of mall web and manager web is 177521 + 247759 = 425280
相关文章推荐
- 使用mac终端命令统计iOS项目的代码行数
- 分享统计Java web项目的行数的代码
- [2017.02.13] linux平台下统计C++项目文件个数和代码行数
- Java代码 统计项目的文件数量,和代码行数
- Mac 下统计目录及子目录代码行数
- 统计项目的总代码行数 Android studio
- 统计iOS项目的总代码行数方法
- Atitit.Guibutton与面板---项目规模的评估----文件数统计,结构,代码行数,每类型文件行数.
- 统计iOS项目的总代码行数的方法
- iOS开发之xcode统计项目代码行数
- 统计Java web项目的行数的代码
- Atitit.Gui按钮与面板---项目规模的评估----文件数统计,结构,代码行数,每类型文件行数.
- 发一个统计项目代码行数的Java代码
- VS统计项目总代码行数
- iOS项目代码行数统计
- 统计项目下Java文件数及代码行数
- .net winform下 C#/VB.NET项目代码行数统计(2009-6-25新版本)
- iOS 统计项目代码行数
- 在Eclipse统计项目的代码行数
- Atitit.Gui按钮与面板---项目规模的评估----文件数统计,结构,代码行数,每类型文件行数.