Code Checker for MATLAB
Table of Contents
1.
Introduction
2.
Getting Started
3.
User Guide
4.
Checks
❱
4.1.
Generic checks
❱
4.1.1.
checkArgumentsBlockUsed
4.1.2.
checkAvoidFunctions
4.1.3.
checkCopyrightNotice
4.1.4.
checkScriptFileUsed
4.1.5.
checkCharacterArray
4.1.6.
checkStringDataType
4.1.7.
checkGetterAndSetter
4.1.8.
checkTestSuffix
4.1.9.
checkComplexity
4.1.10.
checkDependencies
4.1.11.
checkMexFiles
4.2.
Naming convention checks
❱
4.2.1.
checkAvoidNames
4.2.2.
checkFunctionPrefix
4.2.3.
checkLoopIteratorNaming
4.2.4.
checkNameIsShadowing
4.2.5.
checkNameLength
4.2.6.
checkStructFieldNames
4.3.
Compatibility checks
❱
4.3.1.
checkBuiltinFunctionCompatibility
4.3.2.
checkCoderCompatibilityFunctionCalls
4.3.3.
checkConcatenateExpandedArray
4.3.4.
checkDynamicFields
4.3.5.
checkJavaUsed
4.4.
Testability and functionality checks
❱
4.4.1.
checkAbstractClassInstantiation
4.4.2.
checkAssertInputs
4.4.3.
checkAvoidVararginout
4.4.4.
checkCodeInterpretable
4.4.5.
checkComparisons
4.4.6.
checkFunctionCallExcessInputs
4.4.7.
checkGlobalUsed
4.4.8.
checkIfElse
4.4.9.
checkLogicalOperator
4.4.10.
checkMixedTypesExpression
4.4.11.
checkNestingDepth
4.4.12.
checkNumberOfInputsOutputsFunction
4.4.13.
checkPersistentUsed
4.4.14.
checkReuseIteratorVariableName
4.4.15.
checkSuperclassPropertyImplementation
4.4.16.
checkSwitchOtherwise
4.4.17.
checkTryExceptionHandling
4.4.18.
checkTryUsed
4.4.19.
checkWarningUsed
4.4.20.
checkUseIteratorVariableNameOutsideLoop
4.5.
Layout and readability checks
❱
4.5.1.
checkWhiteSpaceEndOfLine
4.5.2.
checkZeroBeforeDecimalPoint
4.5.3.
checkCodeLength
4.5.4.
checkCommandSyntax
4.5.5.
checkConstantDefinitionAtTop
4.5.6.
checkContiguousStructFieldDefinitions
4.5.7.
checkDuplicateAttributes
4.5.8.
checkEditorWarnings
4.5.9.
checkExpressionAlignment
4.5.10.
checkFollowedBySpace
4.5.11.
checkFunctionIndented
4.5.12.
checkIfTrue
4.5.13.
checkIndentationLength
4.5.14.
checkLineLength
4.5.15.
checkMagicNumber
4.5.16.
checkMissingComma
4.5.17.
checkMissingSemicolon
4.5.18.
checkNegatedBoolean
4.5.19.
checkNestedFunction
4.5.20.
checkNoInputArg
4.5.21.
checkOneStatementPerLine
4.5.22.
checkOperatorsLineContinuation
4.5.23.
checkParenthesesLogicalOperators
4.5.24.
checkParenthesesMathematicalOperators
4.5.25.
checkSubFunction
4.5.26.
checkSuppressAll
4.5.27.
checkSurrBySpaces
4.5.28.
checkTabCharacterUsed
4.5.29.
checkAvoidComments
4.5.30.
checkBlockComment
4.5.31.
checkMethodAccessPermissions
4.5.32.
checkMethodsInClassdef
4.5.33.
checkNumberOfOutputsConstructor
4.5.34.
checkPropertiesBeforeMethods
4.5.35.
checkPropertyClassRedundancy
4.6.
Security Checks
❱
4.6.1.
checkSecurityCertificateFilename
4.6.2.
checkSecurityConstantNames
4.6.3.
checkSecurityUsernamePassword
4.6.4.
checkSecurityXml
4.6.5.
checkShellEscape
5.
Metrics
❱
5.1.
reportFunctions
5.2.
reportVariables
5.3.
reportDependencies
5.4.
reportComplexity
5.5.
reportBinaryExpressions
5.6.
reportCellArrays
5.7.
reportMexFiles
6.
Configuration Editor
7.
Predefined Configurations
8.
Command line interface
9.
Function Reference
❱
9.1.
start
9.2.
showLicenseAgreement
9.3.
showLicenseDialog
9.4.
getConfigurationFolder
9.5.
setConfigurationFolder
9.6.
getActiveConfigurationFile
9.7.
activateConfigurationFile
9.8.
getConfigurationFiles
9.9.
createConfigurationFile
9.10.
updateConfigurationFile
9.11.
openConfigurationFile
9.12.
listPredefinedConfigurations
9.13.
getReportsFolder
9.14.
setReportsFolder
9.15.
getExemption
9.16.
getAllExemptions
10.
System Requirements
11.
Considerations and Known Limitations
12.
Release Notes
13.
Acknowledgement
Troubleshooting
Datatype Detection
Light
Rust
Coal
Navy
Ayu
Code Checker for MATLAB v2.16.0
Security Checks
checkSecurityConstantNames
checkSecurityWebOptions
checkSecurityXml
checkShellEscape