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.
-> 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 (2021). MATLAB Scripts Quality Checker - MSQC (https://www.mathworks.com/matlabcentral/fileexchange/66159-matlab-scripts-quality-checker-msqc), MATLAB Central File Exchange. Retrieved .
Inspired by: ftoc (v1.2)
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!