Coder Social home page Coder Social logo

enforce-sonarqube-plugin's Introduction

Build Status license

Enforce Sonarqube Plugin

Description

The plug-in enables analysis of Apex source code with SonarQube.

Steps to Analyze a Apex Project

Note: It's recommended to compile apex plug-in from a stable release
  1. Install SonarQube Server (see Setup and Upgrade for more details).

  2. Install SonarQube Runner and be sure your can call sonar-runner from the directory where you have your source code.

  3. Install Apex Plug-in (see Installing a Plugin for more details).

  4. Create a sonar-project.properties file at the root of your project (a sample project, available on GitHub).

  5. Run sonar-runner command from the project root dir.

  6. Follow the link provided at the end of the analysis to browse your project's quality in SonarQube UI (see: Browsing SonarQube).


Enforce plug-in for developers.

Prerequisites

To build a SonarQube plug-in, you need Java 8 (or greater) and Maven 3.1 (or greater).

Structure

Enforce plug-in divides its structure in the following modules:

enforce-sonarqube-plugin
  | - sonar-checks
  | - sonar-squid
  | - sonar-plugins
  /

sonar-checks: Represents all sonarqube rules for analyze Apex language.

sonar-squid: Represents to Static source analyzer, which provides an AST.

sonar-plugins: Represents to implementation of sonarqube plugin for Apex language.

enforce-sonarqube-plugin's People

Contributors

marcocdlv avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.