Skip to content
Thomas Pohl edited this page Jul 3, 2017 · 15 revisions

Welcome to the sonar-esql-plugin wiki!

Prerequisite

Plugin version 1.* (deprecated)

IIB-Version: version 7 and later
Sonar-Version: 5.4.2

Plugin version 2.*

IIB-Version: version 7 and later
Sonar-Version: 5.6 and later

Installation

Simply place the plugin-jar in the plugin directory of SonarQube. (\extensions\plugins)

Analyzing ESQL code

Standalone using SonarQube Scanner

https://docs.sonarqube.org/display/SCAN/Analyzing+with+SonarQube+Scanner

Using Jenkins and SonarQube Scanner

https://docs.sonarqube.org/display/SCAN/Analyzing+with+SonarQube+Scanner+for+Jenkins

Checks

  • CommentRegularExpressionCheck
  • ElseIfWithoutElseCheck
  • FileNameCheck
  • FunctionNameCheck
  • IterateStatementCheck
  • LineLengthCheck
  • ModuleNameCheck
  • NestedIfDepthCheck
  • NonReservedKeywordCheck
  • OneStatementPerLineCheck
  • ParsingErrorCheck
  • ProcedureNameCheck
  • TooManyIterateOrLeaveInLoopCheck
  • TooManyLinesInFileCheck
  • UpperCaseKeywordCheck
  • UseBrokerSchemaCheck
  • VariableNameCheck
  • PropagateToLabelCheck
  • ConstantNameCheck

Clone this wiki locally