iOS开发_统计xcode代码行数
来源:互联网 发布:氰化钾淘宝叫什么名字 编辑:程序博客网 时间:2024/05/26 02:52
如果要统计ios开发代码,包括头文件的,终端命令进入项目目录下,命令如下
- find . -name "*.m" -or -name "*.h" -or -name "*.xib" -or -name "*.c" |xargs wc -l
列出每个文件的行数
- find . -name "*.m" -or -name "*.h" -or -name "*.xib" -or -name "*.c" |xargs grep -v "^$"|wc -l
列出代码行数总和
grep -v "^$"
是去掉空行- 注释也统计在代码量之内,毕竟也一个字一个字码出来的
0 0
- iOS开发_统计xcode代码行数
- iOS开发_统计xcode代码行数
- iOS开发_统计xcode代码行数
- iOS开发_统计xcode代码行数
- iOS开发_统计xcode代码行数
- iOS开发_统计xcode代码行数
- iOS开发_统计xcode代码行数
- iOS开发_统计xcode代码行数
- iOS开发_统计xcode代码行数
- iOS开发_统计xcode代码行数
- iOS开发_统计xcode代码行数
- iOS开发_统计xcode代码行数
- iOS开发_统计xcode代码行数
- iOS开发_统计xcode代码行数
- iOS开发_统计xcode代码行数
- iOS开发_统计xcode代码行数
- iOS开发_统计xcode代码行数
- iOS开发_统计xcode代码行数
- 跨平台的移动开发框架介绍
- 文件字节加解密
- opencv的hog源码分析(详细的hog.cpp注解)
- 黑马程序员—7—Java基础:有关异常学习笔记和学习心得体会
- rails的Mysql一主多从,主写从读解决方案
- iOS开发_统计xcode代码行数
- Oracle VM VirtualBox上安装ubuntu
- hdu 1203 I NEED A OFFER!
- 创建一个Windows 服务
- 【Linux】VirtualBox安装ubuntu排错LowGraphic
- 你应该尝试的5个跨平台移动开发工具
- hadoop集群搭建文档
- linux C++学习之路
- 将产品在移动应用市场中推向成功的十点建议