Code Quality - Code analysis


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.


  • 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.

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.


  • code inspections
  • intention actions.

Documentation / Reference

Powered by ComboStrap