Skip to content
SonarQubeCommunityPublic

About

No description, website, or topics provided.

Resources

Stars

28 stars

Watchers

30 watching

Forks

Latest commit

 

History

762 Commits

Folders and files

Repository files navigation

SonarQube Lua Plugin

Description

This plugin enables analysis of Lua project within SonarQube:

Steps to Analyze a Lua Project

The metrics:

  • Computes the following metrics:

  • LINES_OF_CODE,

  • LINES,

  • FILES,

  • COMMENT_LINES,

  • FUNCTIONS,

  • STATEMENTS,

  • TABLECONSTRUCTORS,

  • COMPLEXITY;

Complexity

The following elements increment the complexity by one:

  • FUNCTION

  • FUNCSTAT

  • WHILE_STATEMENT

  • FOR_STATEMENT

  • IF_STATEMENT

  • DO_STATEMENT

  • REPEAT_STATEMENT

  • ELSEIF_STATEMENT

  • TAILCALL

  • BREAK

  • AND

  • OR

Rules

  • FunctionComplexityCheck.

  • MethodComplexityCheck

  • LocalFunctionComplexityCheck

  • FunctionCallComplexityCheck

  • FileComplexityCheck.

  • TableComplexityCheck

  • FunctionWithTooManyParametersCheck.

  • TableWithTooManyFieldsCheck.

  • NestedControlFlowDepthCheck

  • NestedFunctionsDepthCheck

  • NestedTablesDepthCheck

  • LocalFunctionNameCheck

  • LineLengthCheck

  • TooManyLinesInFileCheck

  • CommentRegularExpressionCheck

  • XPathCheck

About

No description, website, or topics provided.

Resources

Stars

28 stars

Watchers

30 watching

Forks

Releases

Packages

Used by

Contributors

Languages