SMaRT - SonarQube Maintenance Report and Tracker

SMaRT tool is an open-source plugin for Eclipse IDE that provide a set of information to developers based on SonarQube™ platform reports.

Our most sincere thanks to the students from Laboratory of Software Engineering and Applications (LaPESA) and the Department of Mathematics and Computer Science (DMC) at Faculty of Science and Technology (FCT) by the resources granted to this research.

The tool SMaRT (Software Maintenance, Report and Tracker) was developed as an Eclipse plug-in aimed to check if modifications on source code made by students improve (or decrease) its quality

* SMaRT uses SonarQube™ Scanner as well as quality profile to analyze students’ source code and provide a feedback about the student coding;

* To ensure integration with the SonarQube™ architecture, the proposed tool run locally, with few computational resources;

* SMaRT tool verify if a given modification in the source code, that had been made to correct defects, was effective and how effective it was.

Sonar

To ensure integration with the SonarQube™ architecture, the proposed tool run locally, with few computational resources.

Screenshots


Eclipse Integration

SMaRT integration with Eclipse IDE

After intall SMaRT, your Eclipse IDE instance will show a new menu

Generic placeholder image
#CID

#CID

Simple Understanding

SMaRT has a simple interface

According to our research, SMaRT provides a lot of useful information that helps the developer understand the quality of your code.

Generic placeholder image
#CID

#CID

Resolved and Unresolved Issues

Learn from your successes and mistakes.

All new issues are presented as well as issues resolved.

Generic placeholder image
#CID

#CID

Local and Server Issues

Another way to evaluate your code.

By analyzing the issues present on the server and the local repository the user has the possibility to evaluate if he agrees with what the SMaRT tool indicated.

Generic placeholder image
#CID

#CID

Issues per Rule

The complete skill-map

By analyzing issues according to the breached rule, you can get a clearer view of the most common types of breaches committed by the developer. From this analysis it is possible to draw a profile of your skills.

Generic placeholder image
#CID

#CID

Visual Analysis

An interactive view

From the use of the javascript library D3.js for data visualization, we were able to provide when developing a tool for visual analysis of the quality of your code. Higher severity issues are mapped to warmer colors and occupy more space on the chart while issues of less severity have been mapped to colder colors and occupy less prominent space. It is possible to interact with the classes and issues encountered.

Generic placeholder image

Download links are available below.

SMaRT tool needs Eclipse MARS.2+ IDE and SonarQube™ platform 5.6 LTS+

...

Eclipse IDE

Eclipse is an integrated development environment (IDE) used in computer programming, and is the most widely used Java IDE. It contains a base workspace and an extensible plug-in system for customizing the environment.

Download How to Install Learn More

...

SonarQube™

SonarQube™ is an open source platform for continuous inspection of code quality to perform automatic reviews with static analysis of code to detect bugs, code smells and security vulnerabilities on 20+ programming languages including Java.

Download How to Install Learn More

...

SMaRT

SMaRT is aimed at source code quality evaluation, supporting students to improve their source code and, consequently, their programming skills. SMaRT uses Sonar Scanner as well as quality profile to provide a feedback about the student coding.

Donwload How to Install Source Code

Before install SMaRT, you need to ensure that you have successfully downloaded, installed and configured the environment of development.

Pin a fixed-height footer to the bottom of the viewport in desktop browsers with this custom HTML and CSS. A fixed navbar has been added with padding-top: 60px; on the body > .container.

sonar-project.properties

# must be unique in a given SonarQube instance
sonar.projectKey=my:project
# this is the name and version displayed in the SonarQube UI. Was mandatory prior to SonarQube 6.1.
sonar.projectName=My project
sonar.projectVersion=1.0
 
# Path is relative to the sonar-project.properties file. Replace "\" by "/" on Windows.
# This property is optional if sonar.modules is set. 
sonar.sources=src
 
# Encoding of the source code. Default is default system encoding
sonar.sourceEncoding=UTF-8

#external.serverURL=http://127.0.0.1:9000
#external.serverURL=http://localhost:9000
# Developed by Pedro Gomes

Contact information of project participants.

Pedro Gomes

Pedro Henrique A. Gomes

Author and Developer.

FCT/UNESP - Campus de Presidente Prudente
pdrogomes@live.com

Cinque Terre

Gabriel Spadon de Souza

Co-Author and Contributor.

ICMC - Instituto de Ciências Matemáticas e de Computação
gabriel@spadon.com.br

Cinque Terre

Ronaldo Celso Messias Correia

Co-Author.

FCT/UNESP - Campus de Presidente Prudente
+55 (18) 3229-5618
ronaldo@fct.unesp.br

Pedro Gomes

Celso Olivete Junior

Co-Author.

FCT/UNESP - Campus de Presidente Prudente
+55 (18) 3229-5615
olivete@fct.unesp.br

Cinque Terre

Danilo Medeiros Eler

Co-Author.

FCT/UNESP - Campus de Presidente Prudente
+55 (18) 3229-5608
daniloeler@fct.unesp.br

Cinque Terre

Rogério Eduardo Garcia

Teacher Adviser.

FCT/UNESP - Campus de Presidente Prudente
+55 (18) 3229-5606
rogerio@fct.unesp.br

Project developed and presented to the Computer Science course of Department of Mathematics and Computer Science (DMC) of Universidade Estadual Paulista - Júlio de Mesquita Filho - UNESP - Campus de Presidente Prudente, as a mandatory requirement for approval in the subject of Trabalho de Conclusão de Curso - II, ministrated by Prof.Dr.Almir Olivete Artero.


Universidade Estadual Paulista
Departamento de Matemática e Computação
#CID
#CID
#CID
#CID