Top Banner
T5 Metrics 5/5/16 9:45 Quality Metrics: The Dirty Word in the Room Presented by: Annette Ash SolutionsIQ Consulting Brought to you by: 350 Corporate Way, Suite 400, Orange Park, FL 32073 8882688770 9042780524 [email protected] http://www.stareast.techwell.com/
31

Quality Metrics: The Dirty Word in the Room

Feb 10, 2017

Download

Software

Josiah Renaudin
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Quality Metrics: The Dirty Word in the Room

   

     T5  Metrics  5/5/16  9:45              

Quality  Metrics:  The  Dirty  Word  in  the  Room  

 Presented  by:  

 

Annette    Ash    

SolutionsIQ  Consulting      

Brought  to  you  by:        

   

   

350  Corporate  Way,  Suite  400,  Orange  Park,  FL  32073    888-­‐-­‐-­‐268-­‐-­‐-­‐8770  ·∙·∙  904-­‐-­‐-­‐278-­‐-­‐-­‐0524  -­‐  [email protected]  -­‐  http://www.stareast.techwell.com/      

 

Page 2: Quality Metrics: The Dirty Word in the Room

       

Annette    Ash    SolutionsIQ  Consulting      A  passionate,  motivated,  and  driven  IT  professional,  Annette  Ash  has  thirty  years  of  experience  helping  to  build  software  development  teams  with  an  emphasis  in  software  quality.  She  is  currently  a  coach  and  trainer  with  SolutionsIQ.  In  the  testing  field  Annette  has  seen  and  been  a  part  of  the  constant  changes  within  software  development  and  test.  She  enjoys  the  benefits  that  come  from  empowering  individuals  and  teams  to  succeed.  The  most  rewarding  part  is  the  amazement  these  teams  feel  when  they  realize  what  they  have  accomplished  in  such  a  short  period  of  time.      

   

Page 3: Quality Metrics: The Dirty Word in the Room

Copyright © 2015 SolutionsIQ Inc. All rights reserved.

6801 185th Ave NE, Suite 200 Redmond, WA 98052 solutionsiq.com 1.800.235.4091

Quality Metrics The Dirty Word In the Room

Annette Ash Sr. Agile Coach and Trainer [email protected] 435.730.4440

Page 4: Quality Metrics: The Dirty Word in the Room

<Footer Content: Presentation Title, Partner Name, Other> 2

Page 5: Quality Metrics: The Dirty Word in the Room

<Footer Content: Presentation Title, Partner Name, Other> 3

Agenda _______________________________________________________

• Purpose of Quality Metrics • Good vs Bad Quality Metrics • Benchmarking Against Yourself • Implementing and Driving the Right Kind of Quality

Metrics

Page 6: Quality Metrics: The Dirty Word in the Room

<Footer Content: Presentation Title, Partner Name, Other> 4

Page 7: Quality Metrics: The Dirty Word in the Room

<Footer Content: Presentation Title, Partner Name, Other> 5

Why Quality Metrics??? Who Benefits??? When Are Metrics Useful???

Page 8: Quality Metrics: The Dirty Word in the Room

<Footer Content: Presentation Title, Partner Name, Other> 6

Companies use Quality Metrics

*Discussion

Page 9: Quality Metrics: The Dirty Word in the Room

<Footer Content: Presentation Title, Partner Name, Other> 7

Types of Quality Metrics

Page 10: Quality Metrics: The Dirty Word in the Room

<Footer Content: Presentation Title, Partner Name, Other> 8

Who Benefits

Page 11: Quality Metrics: The Dirty Word in the Room

<Footer Content: Presentation Title, Partner Name, Other> 9

Quality Metrics

Used Correctly or Incorrectly

Page 12: Quality Metrics: The Dirty Word in the Room

<Footer Content: Presentation Title, Partner Name, Other> 10

Metrics - Too Complicated - Benefit Only Management - Make Employees Meet #’s - Tool to reward or punish

Page 13: Quality Metrics: The Dirty Word in the Room

<Footer Content: Presentation Title, Partner Name, Other> 11

Metrics - Easy to Understand - Team Centric - Easy to Collect - Actionable

Page 14: Quality Metrics: The Dirty Word in the Room

<Footer Content: Presentation Title, Partner Name, Other> 12

Page 15: Quality Metrics: The Dirty Word in the Room

<Footer Content: Presentation Title, Partner Name, Other> 13

Page 16: Quality Metrics: The Dirty Word in the Room

<Footer Content: Presentation Title, Partner Name, Other> 14

Static Code Analysis Tools Help Teams

Make and Set Goals

Page 17: Quality Metrics: The Dirty Word in the Room

<Footer Content: Presentation Title, Partner Name, Other> 15

Page 18: Quality Metrics: The Dirty Word in the Room

Open source platform used by development teams to manage source code quality.

7 deadly vices that will wreck havoc on code.

Sonar covers quality based on 7 axes that they then report on:

Page 19: Quality Metrics: The Dirty Word in the Room

Deadly Vices in Software Code 1. Bugs and Potential Bugs 2. Coding Standards Breach

3. Duplications

4. Lack of Unit Tests 5. Bad Distribution of Complexity

6. Not Enough or Too Many comments

7. Design and Architecture

Page 20: Quality Metrics: The Dirty Word in the Room

Technical Debt These Vices Contribute to Technical Debt and are tracked through SonarQube’s Issues:

Page 21: Quality Metrics: The Dirty Word in the Room

Bugs and Potential Bugs

Represent things that are going wrong in the code today or may go wrong tomorrow.

Coding Standards Breaches are also tracked as issues

»The bugs and coding standards are configurable

Page 22: Quality Metrics: The Dirty Word in the Room

Duplications Duplications perpetuates the bugs and coding standards breaches and so on

Sonar uses its own copy/paste detections engine

Page 23: Quality Metrics: The Dirty Word in the Room

Unit Tests • Unit tests keep bugs and regressions from slipping into

production. If changes are made to existing code they help you know that you didn’t break it.

• Units tests are fully automated • Invokes a unit of work in the system and checks a

single assumption about the behavior of that unit of work

Page 24: Quality Metrics: The Dirty Word in the Room

Regression Tests/Combined

Integration/Functional/Acceptance/UI Tests

Page 25: Quality Metrics: The Dirty Word in the Room

Bad Distribution of Complexity

Cramming too much logic into a method or class

Page 26: Quality Metrics: The Dirty Word in the Room

Not Enough or Too Many Comments

A readable and understandable source code should balance between too many comments and not enough

Page 27: Quality Metrics: The Dirty Word in the Room

Design and Architecture

Include things like having high complexity at the project architecture level rather than in a single method or file.

Page 28: Quality Metrics: The Dirty Word in the Room

Treemap

Treemap is a generic component that adapts depending on the structure of the project (modules, packages and files). It shows the components that are at the top level, regardless of the type. You can then drill down into any component.

Page 29: Quality Metrics: The Dirty Word in the Room

Steps to Great Quality Goals 1. Team Centered 2. Use as a team motivation tool

3. Let team decide and commit

4. Revise and update over time 5. Keep them simple and easy to understand

6. Add a static code analysis Tool and add to Continuous Integration

<Footer Content: Presentation Title, Partner Name, Other> 27

Page 30: Quality Metrics: The Dirty Word in the Room

<Footer Content: Presentation Title, Partner Name, Other> 28