slocDir

버전 1.1.0.0 (2.44 KB) 작성자: David Roberts
Counts number source lines of code in a directory tree. (Requires sloc, FIle Exchange ID 3900)
다운로드 수: 4.2K
업데이트 날짜: 2009/7/22

라이선스 보기

This function returns the line count for directory tree. If there are multiple functions in one file, subfunctions are not counted separately, but rather together. This function calls sloc.m to count lines of code on an individual file. Sloc can be obtained from the File Exchange on MATLAB Central.

The following statistics are calculated for a directory tree
- sum of lines of code from all mfiles in the directory tree
- sum of lines of code from all mfiles in parent directory
- sum of lines of code from all mfiles in subdirectories
- lines of code in each mfile in directory tree

The output of this function can either be to a text file or the MATLAB command prompt or both.

인용 양식

David Roberts (2024). slocDir (https://www.mathworks.com/matlabcentral/fileexchange/23837-slocdir), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2008a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 File Operations에 대해 자세히 알아보기
도움

받음: sloc

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
버전 게시됨 릴리스 정보
1.1.0.0

Note in summary to also download sloc from the file exchange.

1.0.0.0