CodeSize

display information about the code size of a given source file or project folder

您现在正在关注此提交

CodeSize displays information about the number of files/lines/characters within a given source file (*.m/c/h/java), function handle or project folder. CodeSize segments the results into comments and non-comments.
Now you can brag to your boss or client that your source code has a total of 2MB, with 40K lines, 25% of which are comments.

See contained help for usage and known issues/limitations.

Bugs and suggestions:
Please send to Yair Altman (altmany at gmail dot com)

引用格式

Yair Altman (2026). CodeSize (https://ww2.mathworks.cn/matlabcentral/fileexchange/15515-codesize), MATLAB Central File Exchange. 检索时间: .

类别

Help CenterMATLAB Answers 中查找有关 Environment and Settings 的更多信息

一般信息

MATLAB 版本兼容性

  • 兼容任何版本

平台兼容性

  • Windows
  • macOS
  • Linux
版本 已发布 发行说明 Action
1.0.0.0

Fixed processing recursion in class sub-folders; sorted subfolders/files; added block-comment disclaimer
Accepted no-extension filenames & func handles; added no-recursion option; added per-line & per-file info; clarified help