Code Quality - Code analysis

Card Puncher Data Processing

Code Quality - Code analysis

About

Code analysis is an application that scans code and reports :

  • problems
  • or improvement

The application performing code analysis is a linter (a parser/lexer program)

Example: Bad variable name writing

Bad name writing is a problem that occurs when the developer makes a mistake in the variable name.

Example:

  • The variable has been written: $contextpath and not $contextPath with an uppercase letter P
  • The variable is then unused
  • The linter will report it and colors the variable characters in grey.

Code Analysis Variable Unused Name Error

Because this language is dynamic (no variable and type declaration), it allows for the declaration of variables everywhere and will not create any problems when it runs.

Features

  • code inspections
  • intention actions.

Documentation / Reference







Share this page:
Follow us:
Task Runner