MatlabCodeAnalyzer
MatlabCodeAnalyzer copied to clipboard
A Code Style Checker and Analyzer for Matlab Code
Prior to this change, any line ending with `[punctuation + '...']`, for example `||...`, would cause the tokenizer to fail. Fixes #9
Prior to this change, any line ending with `[punctuation + '...']`, for example `||...`, would cause the tokenizer to fail. Fixes #9
Using latest commit from master (fc93e9a) and Matlab 2017b: `check` with throw an error when checking lines that ends with compact statements, e.g. `&&...` or `||...`. Steps to reproduce: -...
When a function has a `varargin` input argument, the code analyzer will warn that `varargin` is [not mentioned in the documentation](https://github.com/bastibe/MatlabCodeAnalyzer/blob/24ff19752109e3a374424163584de6ffe6eb5695/check.m#L492) and [shadows a built-in](https://github.com/bastibe/MatlabCodeAnalyzer/blob/24ff19752109e3a374424163584de6ffe6eb5695/check.m#L667). It seems to me that...
Are there plans to make this at least partially usable in GNU Octave?