Sonar code quality testing essentials : achieve higher levels of software quality with sonar / Charalampos S. Arapidis.

Achieve higher levels of Software Quality with Sonar.

Saved in:
Bibliographic Details
Main Author: Arapidis, Charalampos S.
Format: eBook
Language:English
Published: Birmingham : Packt Publishing, 2012.
Series:Community experience distilled.
Subjects:
Online Access:Click for online access
Table of Contents:
  • Cover; Copyright; Credits; About the Author; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1: An Overview of Sonar; What is Sonar?; How it works; What makes Sonar different; Sonar in the lifecycle; Features of Sonar; Overview of all projects; Coding rules; Standard software metrics; Unit tests; Drill down to source code; Time machine; Maven ready; User friendly; Unified components; Security measures; Extensible plugin system; Covering software quality on Seven Axes; How Sonar manages quality; Architecture of Sonar; Source code analyzers; Squid; Checkstyle; PMD
  • FindBugsCobertura and Clover; The Sonar community and ecosystem; The SonarSource company; Awards and conferences; Sonar license; Summary; Chapter 2: Installing Sonar; Prerequisites for Sonar; Checking your Java installation; Installing Maven on Linux; Installing Maven on Windows; Installing MySQL on Linux; Installing MySQL on Windows; Downloading Sonar; Installing the Sonar web server; Sonar server basic configuration; Configuring MySQL; Creating the database; Setting up Sonar with MySQL; Starting Sonar as a service; Run as a service on Linux; Run as a service on Windows
  • Logging in to Sonar for the first timeSecuring your Sonar instance; Sonar authentication and sources visibility; Creating users and groups; Managing project roles; Backing up your data; Sonar instance configuration backup; Filesystem backup; Backing up the MySQL sonar database; Extending Sonar with plugins; Installing the Useless Code Tracker plugin; Upgrading Sonar from the Update Center section; Checking compatibility of plugins; Upgrading to latest Sonar version; Summary; Chapter 3: Analyzing your First Project; Using a Java runner; Configuring the runner
  • Setting up a Sonar server for remote connectionsConfiguring the project; Analysis with the Sonar Maven plugin; Installing Maven; Configuring the Sonar Maven plugin; Performing the analysis; Analysis with Ant; Installing Ant; Configuring and running Sonar analysis task; Browsing the Sonar web interface; The treemap gadget; Filtering your projects; The ""What Coverage?"" filter; Sonar components- an overview; Dashboard; Components; Violations drilldown; Time Machine; Clouds; Design; Hotspots; Libraries; Anatomy of the dashboard; Layout and widget arrangement; Eliminating your first violations
  • Unused modifier violationModified Order violation; Correctness
  • Repeated conditional tests; Creating your first analysis event; Getting visual feedback; Summary; Chapter 4: Following Coding Standards; A brief overview of coding standards and conventions; Java standards; Sonar profiles, rules, and violations; The Rules Compliance Index; Managing quality profiles; Creating a profile; Associating projects to profiles; Managing rules; Adding a rule; Configuring a rule; Regular expressions; Boolean expressions; Token and value-based rules; Backing up and restoring profiles