Few years back, we were collecting a number of matlab scripts/functions to create a toolbox.
We found that the scripts were of varying degrees of quality.We put down a set of rules by reviewing literatures on static code analysis in various languages.
We created a modular, plug-play application to check for quality of m-scripts/functions we received.
Sharing here the skeleton of the tool.
By no means this is a full package. In fact, the true intention behind this application is to drive home a point, an architecture, a method and the need of a simple tool such as this for measuring the qualit of m scripts.
To Do:
-> Include literature survey of static quality analysis methods and strategies in other languages.
-> Support analysis of OOP
-> Documentation of scripts and api files
-> Save CheckSet
-> Run independently as a common function
This tool, (and many others in the forum) would not be possible without Yair Altman. He is a true genius when it comes to MATLAB.
Special mention to Kenneth Eaton for his simple but amazing ftoc.
引用格式
ES (2024). MATLAB Scripts Quality Checker - MSQC (https://www.mathworks.com/matlabcentral/fileexchange/66159-matlab-scripts-quality-checker-msqc), MATLAB Central File Exchange. 检索时间: .
MATLAB 版本兼容性
平台兼容性
Windows macOS Linux类别
标签
致谢
参考作品: ftoc (v1.2)
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!版本 | 已发布 | 发行说明 | |
---|---|---|---|
1.0.0.0 | Updated Title to a meaningful name. |