CM 14.2: Pulse Experts: Running PMD Analysis

0 Likes

The PMD Expert

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

The PMD expert is used to analyse primarily Java source but also code from various languages and detects common coding flaws such as unused variables, empty catch blocks etc. PMD is bundled with Pulse, which means it comes pre-installed and ready to use within a Pulse Expert Chain.

 

Note: Languages supported include: Java, JavaScript, PLSQL, Apache Velocity, XML, XSL, C, C , C#, PHP, Ruby, Fortran, JavaScript, PLSQL, Apache Velocity, Ruby, Scala, Objective C, Matlab, Python, Go.

For more information on how to implement this please download the PDF document and source file. The document describes the following 5 steps to implement this:

Step 1: Configuring Dimensions CM
Step 2: Create the Suite and Product
Step 3: Add the PMD Expert Chain
Step 4: Deliver NumericPropertyDescriptor.java
Step 5: 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