Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Blueriq Model Analyzer(BMA) is designed to evaluate Blueriq Models and assess its maintainability and quality. The Model Analyzer is developed to work with the well known code quality platform called SonarQube. The BMA itself is a SonarQube plugin which will run inside is series of components which either work with or extends SonarQube.

Table of Contents

How does it work

When you want to analyze one your source code projects, it being either a Java, C# or Blueriq project, you can leverage SonarQube do handle the analysis for you. SonarQube consist out a few concepts.

SonarQube Server

The main application of SonarQube, where your analysis projects are stored and can be viewed. It also houses registered SonarQube Plugins.

SonarQube Plugin

A SonarQube Plugin is an extension for SonarQube. A plugin makes its possible to analyse language specific source code, and SonarQube delivers plugins for a variety of language, such as Java and C#. These  

SonarQube delivers a couple plugins out of the box. These plugins perform the analysis of your source code projects.

SonarQube Scanner

A SonarQube Scanner is a tool to execute your source code analysis. SonarQube delivers a scanners for a variety of build systems, such as Maven and MSBuild. You configure a Scanner to execute your source code analysis. A Sonar scanner

Blueriq Model Analyzer

The Model Analyzer consist out of two three components. A Sonarqube SonarQube Plugin and a Sonarqube Scanner, SonarQube Scanner and SonarQube Quality Gate


SonarQube uses indexed folders directories and files of a project to assign issues and measures on. With a Java or C# project the source directory is scanned and indexed into SonarQube.

After the files have been indexed an Sonarqube Plugin analyzer is run to scan analyze the files for issues and collects its measures. Since Blueriq doesn't work with a source directory but with a branch export from the Management Service, we need to create our own folder structure. Therefore Therefor we have created owe a property needs to be set blueriq.scanner.workingDirectory, where the BMA can create a folder structure that represents a blueriq project structure. This includes the repository and branch.

...