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

Code Checker for MATLAB v2.17.0

Testability checks

  • checkAbstractClassInstantiation
  • checkAssertInputs
  • checkAvoidVararginout
  • checkCodeInterpretable
  • checkFunctionCallExcessInputs
  • checkGlobalUsed
  • checkIfElse
  • checkLogicalOperator
  • checkMixedTypesExpression
  • checkNestingDepth
  • checkNumberOfInputsOutputsFunction
  • checkPersistentUsed
  • checkReuseIteratorVariableName
  • checkSuperclassPropertyImplementation
  • checkSwitchOtherwise
  • checkTryExceptionHandling
  • checkTryUsed
  • checkWarningUsed
  • checkUseIteratorVariableNameOutsideLoop