1.

Record Nr.

UNINA9910462123903321

Autore

Arapidis Charalampos S

Titolo

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

Pubbl/distr/stampa

Birmingham, : Packt Publishing, 2012

ISBN

1-283-59395-5

9786613906403

1-84951-787-8

Edizione

[1st edition]

Descrizione fisica

1 online resource (318 p.)

Collana

Community experience distilled

Disciplina

621.38930285536

Soggetti

Software sequencers

Electronic books.

Lingua di pubblicazione

Inglese

Formato

Materiale a stampa

Livello bibliografico

Monografia

Note generali

Includes index.

Nota di contenuto

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

Creating a coding standards profile

Sommario/riassunto

Achieve higher levels of Software Quality with Sonar