Al momento, stai seguendo questo contributo
- Vedrai gli aggiornamenti nel tuo feed del contenuto seguito
- Potresti ricevere delle email a seconda delle tue preferenze per le comunicazioni
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.
Cita come
David Roberts (2026). slocDir (https://it.mathworks.com/matlabcentral/fileexchange/23837-slocdir), MATLAB Central File Exchange. Recuperato .
Riconoscimenti
Ispirato da: sloc
Informazioni generali
- Versione 1.1.0.0 (2,44 KB)
Compatibilità della release di MATLAB
- Compatibile con qualsiasi release
Compatibilità della piattaforma
- Windows
- macOS
- Linux
