CM14.2: Pulse Experts: Sonar Qube Analysis

0 Likes

 

The Sonar Qube Expert  

In the second of a series of articles we are going to look at the Sonar Qube development tool and how you can harness this technology from within Pulse.

The Sonar Qube expert is a bundled expert that performs analysis on a project covering the areas of: design, comments, coding rules, potential bugs, complexity, unit tests and duplication. Plugins allow the range of languages, and metrics to be extended. The 7 axes of code quality can be an important metric in determining the health and quality of code being delivered. Sonar Cube automates this process and generates a detailed report, which can be inspected directly from within the Pulse Review.

The attached document describes the following 8 steps to implement this:

 

Step 1: Configuring Dimensions CM
Step 2: Create the Suite and Product
Step 3: Install and set up Sonar Qube Server
Step 4: Install the Sonar Qube Runner
Step 5: Configure the Pulse Expert
Step 6: Create an expert chain
Step 7: Make a deliver a modification
Step 8: View the newly created changeset results in Pulse

Download the this please dowload the associated PDF document and source file.

Experts supplied with Pulse

In Dimensions CM 14.2, Pulse comes with a comprehensive array of plugins that can be used, these include:

  • Checkstyle: enforces coding standards.
  • Jenkins: a continuous integration server that you can use with Pulse to execute, and report on, builds of changesets as they are delivered.
  • Kiuwan: measures, analyzes, and verifies the quality of your code.
  • PMD: analyzes source code and finds common programming bugs.
  • SDA Deployment: imports and deploys a component using Serena Deployment Automation.
  • SDA Generic Process: runs a generic process in Serena Deployment Automation.
  • SonarQube: inspects the quality of your code.
  • Dependency Vulnerabilities: finds third party dependencies in your code that may have known security vulnerabilities.

Please note that as well as the current experts that come with the standard Pulse installation, it is also possible to create your own expert. For more information please go to: http://www.serenacentral.com/blogs/technical/entry/new-in-14-2-pulse-create-an-example-custom-expert-tutorial

Labels:

How To-Best Practice
Comment List
Related
Recommended