iOS - Xcode项目统计总代码行数
最新公司需要把项目代码量统计一下,第一时间找到Xcode插件管理工具Alcatraz,查找插件ZLXCodeLine,这是一个快速统计Xcode工程项目代码量的插件,好像已经不支持Alcatraz安装,在GitHub上也没有找到对应链接,所以有了下面这种方式:
步骤一:
打开终端,用cd命令 定位到工程所在的目录,然后调用以下命名即可把每个源代码文件行数及总数统计出来:
find . "(" -name "*.m" -or -name "*.mm" -or -name "*.cpp" -or -name "*.h" -or -name "*.rss" ")" -print | xargs wc -l
其中 -name "*.m"
就表示扩展名为.m的文件。同时要统计java文件和xml文件的命令分别是:
find . "(" -name "*.java" ")" -print | xargs wc -l
以及:
find . "(" -name "*.xml" ")" -print | xargs wc -l
如果要统计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 "^$"是去掉空行
注释也统计在代码量之内,毕竟也一个字一个字码出来的
在find .之后将文件名用括号括起来也可以,即 、打开终端 、cd 进入项目根目录(只拖你自己的文件夹 没有Pods文件夹的) 、输入命令 find . "(" -name "*.m" -or -name "*.mm" -or -name "*.cpp" -or -name "*.h" -or -name "*.rss" ")" -print | xargs wc -l 、回车出结果
最终结果:
find . "(" -name "*.m" -or -name "*.mm" -or -name "*.cpp" -or -name "*.h" -or -name "*.rss" ")" -print | xargs wc -l
./AppDelegate.h
./Classes/Home/我的/我的接单/SDMyOrderTaskController.h
./Classes/Home/我的/我的接单/Model/SDMyOrderTaskModel.h
./Classes/Home/我的/我的接单/Model/SDMyOrderTaskModel.m
./Classes/Home/我的/我的接单/view/SDMyOrderTaskCell.m
./Classes/Home/我的/我的接单/view/SDMyOrderTaskCell.h
./Classes/Home/我的/我的接单/SDMyOrderTaskController.m
./Classes/Home/我的/账户信息/Controller/SDModifyEmailViewController.h
./Classes/Home/我的/账户信息/Controller/SDValidationEmailViewController.h
./Classes/Home/我的/账户信息/Controller/SDPTProfileViewController.h
./Classes/Home/我的/账户信息/Controller/SDModifyPasswordController.h
./Classes/Home/我的/账户信息/Controller/SDValidationKeyViewController.h
./Classes/Home/我的/账户信息/Controller/SDModifyUserNameController.h
./Classes/Home/我的/账户信息/Controller/SDModifyPhoneViewController.h
./Classes/Home/我的/账户信息/Controller/SDValidationPhoneViewController.h
./Classes/Home/我的/账户信息/Controller/SDValidationEmailViewController.m
./Classes/Home/我的/账户信息/Controller/SDModifyEmailViewController.m
./Classes/Home/我的/账户信息/Controller/SDPTProfileViewController.m
./Classes/Home/我的/账户信息/Controller/SDModifyUserNameController.m
./Classes/Home/我的/账户信息/Controller/SDValidationKeyViewController.m
./Classes/Home/我的/账户信息/Controller/SDModifyPasswordController.m
./Classes/Home/我的/账户信息/Controller/SDValidationPhoneViewController.m
./Classes/Home/我的/账户信息/Controller/SDModifyPhoneViewController.m
./Classes/Home/我的/账户信息/View/SDProfileInfoCell.m
./Classes/Home/我的/账户信息/View/SDProfileInfoCell.h
./Classes/Home/物联感知/SDCityEventViewController.h
./Classes/Home/物联感知/SDSensorLocationController.m
./Classes/Home/物联感知/SDItemListViewController.m
./Classes/Home/物联感知/View/SDLeftTitleCell.m
./Classes/Home/物联感知/View/SDHomeListViewCell.m
./Classes/Home/物联感知/View/SDSwitchButton.h
./Classes/Home/物联感知/View/SDPointLegendView.m
./Classes/Home/物联感知/View/SDTerminalListCell.m
./Classes/Home/物联感知/View/SDItemCountView.m
./Classes/Home/物联感知/View/SDSensorListView.h
./Classes/Home/物联感知/View/SDlegendItemView.m
./Classes/Home/物联感知/View/SDSensorListCell.h
./Classes/Home/物联感知/View/SDLeftTitleCell.h
./Classes/Home/物联感知/View/SDTerminalListCell.h
./Classes/Home/物联感知/View/SDPointLegendView.h
./Classes/Home/物联感知/View/SDSwitchButton.m
./Classes/Home/物联感知/View/SDHomeListViewCell.h
./Classes/Home/物联感知/View/SDSensorListView.m
./Classes/Home/物联感知/View/SDItemCountView.h
./Classes/Home/物联感知/View/SDSensorListCell.m
./Classes/Home/物联感知/View/SDlegendItemView.h
./Classes/Home/物联感知/SDCityEventViewController.m
./Classes/Home/物联感知/SDItemListViewController.h
./Classes/Home/物联感知/SDSensorLocationController.h
./Classes/Home/任务处置/SDPTBaseUpdateController.h
./Classes/Home/任务处置/SDPTTaskUpdateController.h
./Classes/Home/任务处置/SDPTTaskDetailViewController.h
./Classes/Home/任务处置/SDPTBaseUpdateController.m
./Classes/Home/任务处置/SDPTTaskDetailViewController.m
./Classes/Home/任务处置/SDPTTaskUpdateController.m
./Classes/Home/新首页/SDHomeShowDataController.m
./Classes/Home/新首页/SDHomeShowDataController.h
./Classes/Home/新首页/Model/SDDataStatistcModel.m
./Classes/Home/新首页/Model/SDChartsModel.m
./Classes/Home/新首页/Model/SDDataStatistcModel.h
./Classes/Home/新首页/Model/SDChartsModel.h
./Classes/Home/新首页/View/SDLinePointCalloutView.m
./Classes/Home/新首页/View/SDHomeBarChartView.h
./Classes/Home/新首页/View/SDTaskDataStatisticView.h
./Classes/Home/新首页/View/SDHomeDataTotalCell.h
./Classes/Home/新首页/View/SDTaskDataStatisticIndicatorView.h
./Classes/Home/新首页/View/SDLinePointCalloutView.h
./Classes/Home/新首页/View/SDTaskDataStatisticView.m
./Classes/Home/新首页/View/SDHomeBarChartView.m
./Classes/Home/新首页/View/SDTaskDataStatisticIndicatorView.m
./Classes/Home/新首页/View/SDHomeDataTotalCell.m
./Classes/Home/SDHomeNewViewController.h
./Classes/Home/Map/SDOrderMapViewController.h
./Classes/Home/Map/Controller/SDTaskRouteNavigationController.m
./Classes/Home/Map/Controller/SDTaskRouteNavigationController.h
./Classes/Home/Map/Model/SDHomeNewTaskModel.h
./Classes/Home/Map/Model/SDHomeNewTaskModel.m
./Classes/Home/Map/View/SDTitleViewStyle.m
./Classes/Home/Map/View/SDRepairOrderCell.m
./Classes/Home/Map/View/SDOptionsTitleView.m
./Classes/Home/Map/View/SDTitleViewStyle.h
./Classes/Home/Map/View/SDRepairOrderCell.h
./Classes/Home/Map/View/SDOptionsTitleView.h
./Classes/Home/Map/SDOrderMapViewController.m
./Classes/Home/应用/工程安装/Controller/SDSensorUpdateController.h
./Classes/Home/应用/工程安装/Controller/SDEngineerInstallViewController.h
./Classes/Home/应用/工程安装/Controller/SDScanCodeInstallController.m
./Classes/Home/应用/工程安装/Controller/SDHistoryInstallController.m
./Classes/Home/应用/工程安装/Controller/SDEngineerInstallViewController.m
./Classes/Home/应用/工程安装/Controller/SDSensorUpdateController.m
./Classes/Home/应用/工程安装/Controller/SDScanCodeInstallController.h
./Classes/Home/应用/工程安装/Controller/SDHistoryInstallController.h
./Classes/Home/应用/工程安装/Manager/JZLocationConverter.m
./Classes/Home/应用/工程安装/Manager/SDLocationManager.h
./Classes/Home/应用/工程安装/Manager/JZLocationConverter.h
./Classes/Home/应用/工程安装/Manager/SDLocationManager.m
./Classes/Home/应用/工程安装/Model/SDEngineerHistoryModel.m
./Classes/Home/应用/工程安装/Model/SDStreetModel.h
./Classes/Home/应用/工程安装/Model/SDSensorTypeModel.h
./Classes/Home/应用/工程安装/Model/SDEngineerHistoryModel.h
./Classes/Home/应用/工程安装/Model/SDSensorTypeModel.m
./Classes/Home/应用/工程安装/Model/SDStreetModel.m
./Classes/Home/应用/工程安装/View/JSDropDownMenu/JSDropDownMenu.m
./Classes/Home/应用/工程安装/View/JSDropDownMenu/JSDropDownMenu.h
./Classes/Home/应用/工程安装/View/WKVerticalButton.m
./Classes/Home/应用/工程安装/View/SDQRCodeInputView.h
./Classes/Home/应用/工程安装/View/SDHistoryInstallCell.m
./Classes/Home/应用/工程安装/View/SDHistoryInstallCell.h
./Classes/Home/应用/工程安装/View/SDQRCodeInputView.m
./Classes/Home/应用/工程安装/View/WKVerticalButton.h
./Classes/Home/应用/停车位/SDParkingSpaceMapViewController.m
./Classes/Home/应用/停车位/SDParkingSpaceMapViewController.h
./Classes/Home/应用/停车位/Model/SDParkingDetailModel.m
./Classes/Home/应用/停车位/Model/SDParkingDetailModel.h
./Classes/Home/应用/停车位/View/SDParkingSapceDetaliView.m
./Classes/Home/应用/停车位/View/SDParkingSapceDetaliView.h
./Classes/Home/应用/SDApplicationListViewController.m
./Classes/Home/应用/SDApplicationListViewController.h
./Classes/Home/Model/SDHomeMenuModel.h
./Classes/Home/Model/SDHomeMenuModel.m
./Classes/Home/SDHomeNewViewController.m
./Classes/Tools/ThirdLib/BadgeView/M13BadgeView.h
./Classes/Tools/ThirdLib/BadgeView/M13BadgeView.m
./Classes/Tools/ThirdLib/DHGuidePageHUD/DHGifImageOperation.m
./Classes/Tools/ThirdLib/DHGuidePageHUD/DHGuidePageHUD.h
./Classes/Tools/ThirdLib/DHGuidePageHUD/DHGifImageOperation.h
./Classes/Tools/ThirdLib/DHGuidePageHUD/DHGuidePageHUD.m
./Classes/Tools/ThirdLib/SDPhotoBrowser/SDPhotoBrowserConfig.h
./Classes/Tools/ThirdLib/SDPhotoBrowser/SDPhotoBrowser.m
./Classes/Tools/ThirdLib/SDPhotoBrowser/SDWaitingView.m
./Classes/Tools/ThirdLib/SDPhotoBrowser/SDBrowserImageView.m
./Classes/Tools/ThirdLib/SDPhotoBrowser/SDWaitingView.h
./Classes/Tools/ThirdLib/SDPhotoBrowser/SDPhotoBrowser.h
./Classes/Tools/ThirdLib/SDPhotoBrowser/SDBrowserImageView.h
./Classes/Tools/ThirdLib/TZImagePickerController/TZPhotoPreviewCell.h
./Classes/Tools/ThirdLib/TZImagePickerController/TZPhotoPickerController.h
./Classes/Tools/ThirdLib/TZImagePickerController/TZImageCropManager.m
./Classes/Tools/ThirdLib/TZImagePickerController/TZImageManager.h
./Classes/Tools/ThirdLib/TZImagePickerController/TZAssetCell.m
./Classes/Tools/ThirdLib/TZImagePickerController/TZVideoPlayerController.m
./Classes/Tools/ThirdLib/TZImagePickerController/TZAssetModel.m
./Classes/Tools/ThirdLib/TZImagePickerController/NSBundle+TZImagePicker.m
./Classes/Tools/ThirdLib/TZImagePickerController/TZLocationManager.h
./Classes/Tools/ThirdLib/TZImagePickerController/TZImagePickerController.h
./Classes/Tools/ThirdLib/TZImagePickerController/UIView+Layout.m
./Classes/Tools/ThirdLib/TZImagePickerController/TZPhotoPreviewController.m
./Classes/Tools/ThirdLib/TZImagePickerController/TZProgressView.m
./Classes/Tools/ThirdLib/TZImagePickerController/TZGifPhotoPreviewController.h
./Classes/Tools/ThirdLib/TZImagePickerController/TZAssetCell.h
./Classes/Tools/ThirdLib/TZImagePickerController/TZImageManager.m
./Classes/Tools/ThirdLib/TZImagePickerController/TZImageCropManager.h
./Classes/Tools/ThirdLib/TZImagePickerController/TZPhotoPickerController.m
./Classes/Tools/ThirdLib/TZImagePickerController/TZPhotoPreviewCell.m
./Classes/Tools/ThirdLib/TZImagePickerController/NSBundle+TZImagePicker.h
./Classes/Tools/ThirdLib/TZImagePickerController/TZAssetModel.h
./Classes/Tools/ThirdLib/TZImagePickerController/TZVideoPlayerController.h
./Classes/Tools/ThirdLib/TZImagePickerController/TZPhotoPreviewController.h
./Classes/Tools/ThirdLib/TZImagePickerController/UIView+Layout.h
./Classes/Tools/ThirdLib/TZImagePickerController/TZImagePickerController.m
./Classes/Tools/ThirdLib/TZImagePickerController/TZLocationManager.m
./Classes/Tools/ThirdLib/TZImagePickerController/TZGifPhotoPreviewController.m
./Classes/Tools/ThirdLib/TZImagePickerController/TZProgressView.h
./Classes/Tools/ThirdLib/CoreArchive/CoreArchive.m
./Classes/Tools/ThirdLib/CoreArchive/Category/CoreArchive+Version.m
./Classes/Tools/ThirdLib/CoreArchive/Category/NSString+ArcFile.h
./Classes/Tools/ThirdLib/CoreArchive/Category/CoreArchive+Version.h
./Classes/Tools/ThirdLib/CoreArchive/Category/NSString+ArcFile.m
./Classes/Tools/ThirdLib/CoreArchive/CoreArchive.h
./Classes/Tools/ThirdLib/CoreArchive/Header/CoreArchiveHeader.h
./Classes/Tools/ThirdLib/ZFNavigationController/UINavigationController+ZFFullscreenPopGesture.m
./Classes/Tools/ThirdLib/ZFNavigationController/UINavigationController+ZFFullscreenPopGesture.h
./Classes/Tools/Common.m
./Classes/Tools/JXTAlertController.h
./Classes/Tools/GMTool.h
./Classes/Tools/Common.h
./Classes/Tools/JXTAlertController.m
./Classes/Tools/MacroTools/SDRequestApi.h
./Classes/Tools/MacroTools/SDToolsMacro.h
./Classes/Tools/MacroTools/SDDefineMacro.h
./Classes/Tools/GMTool.m
./Classes/Appointment(智能预约)/SDSmartAppointmentController.h
./Classes/Appointment(智能预约)/Controller/SDReserveDetailViewController.h
./Classes/Appointment(智能预约)/Controller/SDReserveFormController.m
./Classes/Appointment(智能预约)/Controller/SDReserveDetailViewController.m
./Classes/Appointment(智能预约)/Controller/SDReserveFormController.h
./Classes/Appointment(智能预约)/Model/SDAppointmentTaskModel.h
./Classes/Appointment(智能预约)/Model/SDAppointmentTaskModel.m
./Classes/Appointment(智能预约)/View/SDReservaViewCell.m
./Classes/Appointment(智能预约)/View/SDReservaViewCell.h
./Classes/Appointment(智能预约)/SDSmartAppointmentController.m
./Classes/Category/NSDictionary/NSDictionary+Extension.h
./Classes/Category/NSDictionary/NSDictionary+Extension.m
./Classes/Category/MD5/NSString+Hash.m
./Classes/Category/MD5/NSString+Hash.h
./Classes/Category/UIButton/UIButton+LMJ.m
./Classes/Category/UIButton/UIBarButtonItem+Extension.h
./Classes/Category/UIButton/UIButton+LMJ.h
./Classes/Category/UIButton/UIBarButtonItem+Extension.m
./Classes/Category/UIView/UIView+GestureCallback.m
./Classes/Category/UIView/UIView+Extension.h
./Classes/Category/UIView/UIView+GestureCallback.h
./Classes/Category/UIView/UIView+Extension.m
./Classes/Category/DYRegular.m
./Classes/Category/ColorHex/Color+Hex.h
./Classes/Category/ColorHex/Color+Hex.m
./Classes/Category/MBProgressHUD+LMJ.m
./Classes/Category/NSData/NSData+SDDataCache.m
./Classes/Category/NSData/NSData+SDDataCache.h
./Classes/Category/UIImageView/UIImage+XN.m
./Classes/Category/UIImageView/UIImage+ImageEffects.h
./Classes/Category/UIImageView/UIImageView+CornerRadius.h
./Classes/Category/UIImageView/UIImage+XN.h
./Classes/Category/UIImageView/UIImageView+CornerRadius.m
./Classes/Category/UIImageView/UIImage+ImageEffects.m
./Classes/Category/UINavigationBar/UINavigationBar+Awesome.h
./Classes/Category/UINavigationBar/UINavigationBar+Awesome.m
./Classes/Category/UIViewController/UIViewController+ESSeparatorInset.m
./Classes/Category/UIViewController/UIViewController+ESSeparatorInset.h
./Classes/Category/UITableView/UITableView+Addtions.m
./Classes/Category/UITableView/UITableViewCell+Addtions.h
./Classes/Category/UITableView/UITableView+Addtions.h
./Classes/Category/UITableView/UITableViewCell+Addtions.m
./Classes/Category/Foundation+Log.m
./Classes/Category/MBprogressHUD/MBProgressHUD+Show.h
./Classes/Category/MBprogressHUD/MBProgressHUD+Show.m
./Classes/Category/DYRegular.h
./Classes/Category/MBProgressHUD+LMJ.h
./Classes/Breakdown/Controller/SDSubmitSuccessController.h
./Classes/Breakdown/Controller/SDMyProblemViewController.h
./Classes/Breakdown/Controller/SDBreakdownSubmitViewController.h
./Classes/Breakdown/Controller/SDSubmitSuccessController.m
./Classes/Breakdown/Controller/SDMyProblemViewController.m
./Classes/Breakdown/Controller/SDBreakdownSubmitViewController.m
./Classes/Breakdown/Model/SDPhotoChooseItem.h
./Classes/Breakdown/Model/SDMyProblemModel.m
./Classes/Breakdown/Model/SDPhotoChooseItem.m
./Classes/Breakdown/Model/SDMyProblemModel.h
./Classes/Breakdown/View/SDPhotoChooseCell.h
./Classes/Breakdown/View/SDTableViewFooterView.m
./Classes/Breakdown/View/SDMyProblemCell.h
./Classes/Breakdown/View/SDPhotoItemCell.h
./Classes/Breakdown/View/SDTableViewFooterView.h
./Classes/Breakdown/View/SDPhotoChooseCell.m
./Classes/Breakdown/View/SDMyProblemCell.m
./Classes/Breakdown/View/SDPhotoItemCell.m
./Classes/Workbench(工作台)/SDWorkbenchViewController.m
./Classes/Workbench(工作台)/Controller/Scan/SDScanQRCodeViewController.m
./Classes/Workbench(工作台)/Controller/Scan/SDScanQRCodeViewController.h
./Classes/Workbench(工作台)/Controller/Sensor/SDSearchSensorViewController.h
./Classes/Workbench(工作台)/Controller/Sensor/SDSensorHistoryViewController.m
./Classes/Workbench(工作台)/Controller/Sensor/SDSensorStatusViewController.h
./Classes/Workbench(工作台)/Controller/Sensor/SDSensorHistoryViewController.h
./Classes/Workbench(工作台)/Controller/Sensor/SDSearchSensorViewController.m
./Classes/Workbench(工作台)/Controller/Sensor/SDSensorStatusViewController.m
./Classes/Workbench(工作台)/Model/SDSensorInfoModel.h
./Classes/Workbench(工作台)/Model/SDWorkOrderModel.h
./Classes/Workbench(工作台)/Model/SDSearchSensorHistoryModel.h
./Classes/Workbench(工作台)/Model/SDWorkOrderModel.m
./Classes/Workbench(工作台)/Model/SDSensorInfoModel.m
./Classes/Workbench(工作台)/Model/SDSearchSensorHistoryModel.m
./Classes/Workbench(工作台)/View/SDSensorStatusCell.m
./Classes/Workbench(工作台)/View/SDWorkOrderCell.h
./Classes/Workbench(工作台)/View/SDWorkOrderCell.m
./Classes/Workbench(工作台)/View/SDSensorStatusCell.h
./Classes/Workbench(工作台)/SDWorkbenchViewController.h
./Classes/Profile/Controller/派单/SDMySendOrderDetailController.h
./Classes/Profile/Controller/派单/SDMySendOrderController.m
./Classes/Profile/Controller/派单/SDMySendOrderDetailController.m
./Classes/Profile/Controller/派单/SDMySendOrderController.h
./Classes/Profile/Controller/关于我们/SDAboutMeViewController.h
./Classes/Profile/Controller/关于我们/SDAboutMeViewController.m
./Classes/Profile/Controller/接单/SDTaskHomeViewController.m
./Classes/Profile/Controller/接单/SDTaskTableViewController.m
./Classes/Profile/Controller/接单/SDTaskTableViewController.h
./Classes/Profile/Controller/接单/SDTaskHomeViewController.h
./Classes/Profile/Controller/实名认证/SDAuthenticationController.m
./Classes/Profile/Controller/实名认证/SDAuthenticationController.h
./Classes/Profile/Controller/SDProfileViewController.m
./Classes/Profile/Controller/SDProfileViewController.h
./Classes/Profile/Model/SDMyTaskModel.m
./Classes/Profile/Model/SDMyTaskModel.h
./Classes/Profile/View/SDProfileHearderView.m
./Classes/Profile/View/派单/SDSendOrderCell.h
./Classes/Profile/View/派单/SDSendOrderCell.m
./Classes/Profile/View/接单/SDReceiveOrderCell.h
./Classes/Profile/View/接单/SDReceiveOrderCell.m
./Classes/Profile/View/SDProfileHearderView.h
./Classes/Task/Controller/SDHomeViewController.m
./Classes/Task/Controller/SDTaskDetailViewController.m
./Classes/Task/Controller/Update/SDFireUpdateController.m
./Classes/Task/Controller/Update/SDTestViewController.m
./Classes/Task/Controller/Update/ISRDataHelper.m
./Classes/Task/Controller/Update/IATConfig.h
./Classes/Task/Controller/Update/SDTestOCRViewController.m
./Classes/Task/Controller/Update/SDElevatorUpdateController.h
./Classes/Task/Controller/Update/SDBaseUpdateController.h
./Classes/Task/Controller/Update/SDFireUpdateController.h
./Classes/Task/Controller/Update/SDTestViewController.h
./Classes/Task/Controller/Update/SDTestOCRViewController.h
./Classes/Task/Controller/Update/IATConfig.m
./Classes/Task/Controller/Update/ISRDataHelper.h
./Classes/Task/Controller/Update/SDBaseUpdateController.m
./Classes/Task/Controller/Update/SDElevatorUpdateController.m
./Classes/Task/Controller/SDUpdateInformationViewController.m
./Classes/Task/Controller/Search/SDSearchTaskViewController.h
./Classes/Task/Controller/Search/SDSearchTaskViewController.m
./Classes/Task/Controller/SDHomeViewController.h
./Classes/Task/Controller/Map/SDRouteNavigationController.m
./Classes/Task/Controller/Map/SDTerminalMultiPointViewController.h
./Classes/Task/Controller/Map/SDPositioningTaskController.h
./Classes/Task/Controller/Map/SDPositioningController.m
./Classes/Task/Controller/Map/SDTerminalMapViewController.h
./Classes/Task/Controller/Map/SDTerminalMultiPointViewController.m
./Classes/Task/Controller/Map/SDRouteNavigationController.h
./Classes/Task/Controller/Map/SDPositioningTaskController.m
./Classes/Task/Controller/Map/SDPositioningController.h
./Classes/Task/Controller/Map/SDTerminalMapViewController.m
./Classes/Task/Controller/Map/tool/MANaviAnnotation.h
./Classes/Task/Controller/Map/tool/LineDashPolyline.m
./Classes/Task/Controller/Map/tool/MANaviRoute.m
./Classes/Task/Controller/Map/tool/ErrorInfoUtility.h
./Classes/Task/Controller/Map/tool/CommonUtility.m
./Classes/Task/Controller/Map/tool/MANaviPolyline.m
./Classes/Task/Controller/Map/tool/MANaviRoute.h
./Classes/Task/Controller/Map/tool/MANaviAnnotation.m
./Classes/Task/Controller/Map/tool/LineDashPolyline.h
./Classes/Task/Controller/Map/tool/ErrorInfoUtility.m
./Classes/Task/Controller/Map/tool/MANaviPolyline.h
./Classes/Task/Controller/Map/tool/CommonUtility.h
./Classes/Task/Controller/SDTaskDetailViewController.h
./Classes/Task/Controller/SDUpdateInformationViewController.h
./Classes/Task/Model/SDMenuItemModel.h
./Classes/Task/Model/SDMenuClassifyModel.m
./Classes/Task/Model/ListItem/SDListItemModel.m
./Classes/Task/Model/ListItem/SDListItemModel.h
./Classes/Task/Model/Detail/SDTaskDetailModel.m
./Classes/Task/Model/Detail/SDSensorHistoryModel.h
./Classes/Task/Model/Detail/SDTaskDetailModel.h
./Classes/Task/Model/Detail/SDSensorHistoryModel.m
./Classes/Task/Model/Map/SDRoutePointModel.m
./Classes/Task/Model/Map/SDMapPointModel.h
./Classes/Task/Model/Map/SDTerminalLocationModel.h
./Classes/Task/Model/Map/SDRoutePointModel.h
./Classes/Task/Model/Map/SDMapPointModel.m
./Classes/Task/Model/Map/SDTerminalLocationModel.m
./Classes/Task/Model/SDMenuItemModel.m
./Classes/Task/Model/SDMenuClassifyModel.h
./Classes/Task/View/SDTextTableViewCell.m
./Classes/Task/View/SDImageListCell.h
./Classes/Task/View/SDImageCollectionViewCell.h
./Classes/Task/View/SDNotificationCell.h
./Classes/Task/View/SDHomeCollectionViewCell.m
./Classes/Task/View/SDHomeCollectionReusableView.m
./Classes/Task/View/Map/SDCustomAnnotationView.m
./Classes/Task/View/Map/SDRouteViewCell.m
./Classes/Task/View/Map/SDRouteDetailCell.m
./Classes/Task/View/Map/SDRouteHeaderViewCell.h
./Classes/Task/View/Map/SDTerminalPointView.h
./Classes/Task/View/Map/SDTerminalPointCalloutView.m
./Classes/Task/View/Map/SDRouteViewCell.h
./Classes/Task/View/Map/SDCustomAnnotationView.h
./Classes/Task/View/Map/SDRouteDetailCell.h
./Classes/Task/View/Map/SDRouteHeaderViewCell.m
./Classes/Task/View/Map/SDTerminalPointCalloutView.h
./Classes/Task/View/Map/SDTerminalPointView.m
./Classes/Task/View/SDTextTableViewCell.h
./Classes/Task/View/Dispose/SDDisposeHistoryCell.h
./Classes/Task/View/Dispose/SDDisposeHistoryCell.m
./Classes/Task/View/SDNotificationCell.m
./Classes/Task/View/SDImageCollectionViewCell.m
./Classes/Task/View/SDImageListCell.m
./Classes/Task/View/Upload/SDTextViewCell.m
./Classes/Task/View/Upload/SDTextViewItem.m
./Classes/Task/View/Upload/SDTextViewItem.h
./Classes/Task/View/Upload/SDTextViewCell.h
./Classes/Task/View/SDHomeCollectionReusableView.h
./Classes/Task/View/Player/SDPlayerViewCell.h
./Classes/Task/View/Player/SDPlayerViewCell.m
./Classes/Task/View/SDHomeCollectionViewCell.h
./Classes/Main/Controller/SDNavigationController.h
./Classes/Main/Controller/SDTabBarController.h
./Classes/Main/Controller/SDNavigationController.m
./Classes/Main/Controller/SDTabBarController.m
./Classes/Main/Common/DYYNetworkManager/DYYNetworkManager.h
./Classes/Main/Common/DYYNetworkManager/AnimatedGIFImageSerialization.h
./Classes/Main/Common/DYYNetworkManager/DYYNetworkManager.m
./Classes/Main/Common/DYYNetworkManager/AnimatedGIFImageSerialization.m
./Classes/Main/Common/UrlApiManager/SDUrlApiManager.m
./Classes/Main/Common/UrlApiManager/SDUrlApiManager.h
./Classes/Main/View/SideslipDrawer/SDSideslipDrawer.m
./Classes/Main/View/SideslipDrawer/SDSideslipDrawer.h
./Classes/Main/View/SDTabBar.h
./Classes/Main/View/SDTabBar.m
./Classes/Login/Controller/SDLoginViewController.m
./Classes/Login/Controller/SDRegistereViewController.m
./Classes/Login/Controller/SDForgetPasswordController.m
./Classes/Login/Controller/SDValidationChooseController.m
./Classes/Login/Controller/SDLoginViewController.h
./Classes/Login/Controller/SDRegistereViewController.h
./Classes/Login/Controller/SDValidationChooseController.h
./Classes/Login/Controller/SDForgetPasswordController.h
./Classes/Login/Model/SDUserInfoManager.m
./Classes/Login/Model/SDUserInfoModel.m
./Classes/Login/Model/SDUserInfoManager.h
./Classes/Login/Model/SDUserInfoModel.h
./Classes/Base/SDBaseTableViewController.m
./Classes/Base/SDBaseTableViewController.h
./main.m
./AppDelegate.m
total
total即为项目总代码量:
iOS - Xcode项目统计总代码行数的更多相关文章
- 统计iOS项目的总代码行数的方法
打开终端, 用cd命令 定位到工程所在的目录,然后调用以下命名即可把每个源代码文件行数及总数统计出来: find . "(" -name "*.m" -or - ...
- iOS 统计Xcode整个工程的代码行数
小技巧5-iOS 统计Xcode整个工程的代码行数 1.打开终端 2.cd 空格 将工程的文件夹拖到终端上,回车,此时进入到工程的路径 此时已经进入到工程文件夹下 3.运行指令 a. find . - ...
- Atitit.Guibutton与面板---项目规模的评估----文件数统计,结构,代码行数,每类型文件行数.
Atitit.Guibutton与面板---项目规模的评估----文件数统计,结构,代码行数,每类型文件行数. 1. Kpi::: 代码行数(凝视行数,空白的行数), 方法数,class数 1 2. ...
- Atitit.Gui按钮与面板---项目规模的评估----文件数统计,结构,代码行数,每类型文件行数.
Atitit.Gui按钮与面板---项目规模的评估----文件数统计,结构,代码行数,每类型文件行数. 1. Kpi::: 代码行数(注释行数,空白的行数), 方法数,class数 1 2. 过滤器 ...
- Visual Studio使用正则表达式快速统计总共代码行数
原文:Visual Studio使用正则表达式快速统计总共代码行数 按CTRL+SHIFT+F,勾上支持正则表达式,然后输入搜索内容: <span style="font-family ...
- 关于Servo项目中Rust代码行数的数据来源
我两个月之前的一篇博客<为什么我说Rust是靠谱的编程语言>(下面简称原文),在当中"6. 两个半大型成功案例"一节.我以前写道: Servo: 下一代浏览器渲染引擎( ...
- Visual Studio统计有效代码行数
在网上看到别人用的方法: 按CTRL+SHIFT+F (Find in files),勾上支持正则表达式,然后输入搜索内容: ^:b*[^:b#/]+.*$ 以上表达式的统计可做到:#开头和/开头或者 ...
- Git 统计提交代码行数
指定用户名 git log --author="your_name_here" --pretty=tformat: --numstat | awk '{ add += $1; su ...
- vs2005用正则表达式统计有效代码行数
正则表达式:^:b*[^:b#/]+.*$ 需要注意:#开头和/开头或者空行都不计入代码量. 如果需要只统计代码文件的代码量,可以按住Ctrl+Shift+F之后选择查找文件的类型. Form:htt ...
随机推荐
- Go语言之高级篇beego框架之配置beego环境
1.配置beego环境 进入部署目录中 软件部署目录: 把要部署的软件代码,放在src目录下面. 启动项目
- Java多线程学习(吐血超详细总结)(转)
林炳文Evankaka原创作品.转载请注明出处http://blog.csdn.net/evankaka 写在前面的话:此文只能说是java多线程的一个入门,其实Java里头线程完全可以写一本书了,但 ...
- 【GPU编解码】GPU硬解码---DXVA (转)
前面介绍利用NVIDIA公司提供的CUVID库进行视频硬解码,下面将介绍利用DXVA进行硬解码. 一.DXVA介绍 DXVA是微软公司专门定制的视频加速规范,是一种接口规范.DXVA规范制定硬件加速解 ...
- mod_wsgi的工作模式和配置
Openstack所有提供API接口的服务都是python web server,而其本身性能很弱,目前已经将它们配置到了apache上.但对于如何设置mod_wsgi的参数,我一直没有好好去阅读其文 ...
- V8 下的垃圾回收机制
V8 实现了准确式 GC,GC 算法采用了分代式垃圾回收机制.因此,V8 将内存(堆)分为新生代和老生代两部分. 1.新生代算法 新生代中的对象一般存活时间较短,使用 Scavenge GC 算法. ...
- libmongoc关于\$pullAll和\$addToSet的一个使用问题记录
问题描述及测试结果 在使用mongodb时,对一个document中的数组成员进行更新的时候,可以使用$pull $push $pop $addToSet $pullAll和$each $positi ...
- 【Android】详解Android Activity
目录结构: contents structure [+] 创建Activity 如何创建Activity 如何创建快捷图标 如何设置应用程序的名称.图标与Activity的名称.图标不相同 Activ ...
- MySQL -- Innodb中的change buffer
change buffer是一种特殊的数据结构,当要修改的辅助索引页不在buffer pool中时,用来cache对辅助索引页的修改.对辅助索引页的操作可能是insert.update和delete操 ...
- GIT无法自动忽略YellowRV1.1.uvgui.Administrator文件的解决方法
原来这个YellowRV1.1.uvgui.Administrator文件是在.gitignore之前被提交进服务器的,.gitignore对已经存在服务器里的文件是不起作用的.按照回答里投票最高的答 ...
- mariadb(MySql)设置远程访问权限
[问题]mariadb(MySql)安装之后,本地连接mysql是可以的,但是远程的机器不能连接和访问. [解决]修改mysql远程连接的ip限制配置. [步骤]1.本地mysql客户端连接mysql ...