measurement & analysis - performing project measurement using sonar

12
Measurement & Analysis - Performing Project Measurement using Sonar Diaz -Bilotto, Nicolás Morales , Mauricio

Upload: pablo-nicolas-diaz

Post on 16-Nov-2014

377 views

Category:

Documents


3 download

DESCRIPTION

I made these Presentation briefly exposing sonar (http://sonar.codehaus.com), its capabilites and TQ measurement in a school proyect.

TRANSCRIPT

Page 1: Measurement & Analysis - Performing Project Measurement using Sonar

Measurement & Analysis - Performing Project

Measurement using Sonar

Diaz -Bilotto, NicolásMorales , Mauricio

Page 2: Measurement & Analysis - Performing Project Measurement using Sonar

Schedule

• Brief Introduction to Mesaurement and Analysis• Information needs• Measurement infromation model • Measurement construct• Performing Measuerement• Sonar :

o Concept & Architecture o Using Sonar in our processo Results

•  Bibliography 

Page 3: Measurement & Analysis - Performing Project Measurement using Sonar

Brief Introduction to Mesaurement and Analysis

• Measurement & Analysis (M&A) process area develops and sustain measurement capabilities  that suports management information needs [1]

• Top-performing organizations has a cultural bias towards informed decision making [2]

• Decision making is more effective when accurate and actual information is available

• Actually, information-need driven measurement process are better suited for software-intensive projects

Page 4: Measurement & Analysis - Performing Project Measurement using Sonar

Information needs

• Information needs are the key foundation in M&A process area • They are related directly to established objectives inside the

organization• Information needs are defined using PSM Measurement Information

Model; It provides a formal mechanism for linking information needs to software processes and products that can be measured [1].

• Information needs helps Measurement Analysts in a correct identification of Measurement Concepts, and these Measurements Concepts assists the creation of Measurement Constructs.

• Our information need is : "Evaluate programming labour quality."

Page 5: Measurement & Analysis - Performing Project Measurement using Sonar

Measurement Information Model.

Page 6: Measurement & Analysis - Performing Project Measurement using Sonar

Measurement Construct

• Indicator : Total Quality (TQ).• Measurement concept : Product Quality. • Relevant Entities : 

o Source code from every U3d branch and trunk.• Measure Method : 

o Obtain the last revision from SVN.o Measure TQ using Sonar. 

• Type of Method  :Objective.• Scale : Value in [ 0.0 ... 1.0 ]• Type of Scale : Ratio.• Unit of measurement : Dimensionless Quantity.• Decision Criteria : TQ >= 75%• Analysis Model :

o Compute the weighted sum of ... 

Page 7: Measurement & Analysis - Performing Project Measurement using Sonar

Measurement Construct (Cont.)

• Base measurementso Chidamber and Kemerer

Java Metrics (design) DIT : Depth of Inheritance

Treeo JDepend Metrics

(architecture) CA : Afferent Couplings

• Derived measurementso DRYness : inverse of

Duplicated lines density.o COVERAGE : code

coverage, from sonar.• Indicator : Total Quality.

Page 8: Measurement & Analysis - Performing Project Measurement using Sonar

Sonar

• Sonar is a system that performs automated measurement for maven-based projects. 

• "Sonar enables to you to collect, analyze and report metrics on source code." [3]

• It's hosted for Codehaus (codehaus.org).

• It's open source.• Provides a simple interface

to measurement results.

Page 9: Measurement & Analysis - Performing Project Measurement using Sonar

Sonar : Concept & Architecture

• Sonar architectrue is based in these componentso A set of maven plugins.o A Webserver.

• The plugins are provided using a custom maven repository hosted in the webserver.

• The webserver provides graphical interface for human access and simple RESTful web API.

Page 10: Measurement & Analysis - Performing Project Measurement using Sonar

Using Sonar in our process

• Sonar helps performing tedious and repetitive tasks in "Perform Measurement" process.

• "Collect data" and "Analyze data" tasks are practically performed using these tool

• Supervision and control is needed, sonar is a tool.

 

Page 11: Measurement & Analysis - Performing Project Measurement using Sonar

Results : TQ indicator - Saturday 3

Branch Result

trunk 68.2 %

calamares Compilation error

hipocampo 66.1%

tiburones 66.2%

delfines 68.2%

Page 12: Measurement & Analysis - Performing Project Measurement using Sonar

Bibliography

1. Practical Software Measurement: Objective Information for Decision Makers (9780201715163): John McGarry, David Card, Cheryl Jones, Beth Layman,Elizabeth Clark,Joseph Dean, Fred Hall.

2. CMMI product team, CMMI for Development (CMMI-DEV), Version 1.2 (http://www.sei.cmu.edu/library/abstracts/reports/06tr008.cfm)

3. Sonar homepage (http://sonar.codehaus.org)