SlideShare a Scribd company logo
1 of 74
1

Quality in Software Industry
Richa Goel
2

Contents
•
•
•
•
•
•
•

Quality : Meaning
Quality in Software Industry
Implementation of Quality
Measuring Quality
Various Types of Metrics
Case Studies
Software Quality Assurance
3

What is quality?
• A product should meet its specification.
• This is problematical for software systems
▫ Some quality requirements are difficult to specify in an
unambiguous way;
▫ Software specifications are usually incomplete and
often inconsistent.
Quality is…..
Invisible when GOOD
Impossible to ignore when BAD

4
5

Total Quality Is…
• Meeting Our Customer’s Requirements
• Doing Things Right the First Time;
Freedom from Failure (Defects)
• Consistency (Reduction in Variation)
• Continuous Improvement

• Quality in Everything We Do
6

Quality of a product is satisfied
customer
7

Software Quality ???
• Software Quality refers to any measurable
characteristics such as correctness,
maintainability, portability, testability, usability,
reliability, efficiency, integrity, reusability and
interoperability.

5
8

Software quality management
• Concerned with ensuring that the required level
of quality is achieved in a software product.
• Involves defining appropriate quality standards
and procedures and ensuring that these are
followed.
• Should aim to develop a ‘quality culture’ where
quality is seen as everyone’s responsibility.
9

Absence of Quality…
10

Definition: Software Quality
• What is software quality?
• What are the attributes of quality for software?

This is high quality software because...

?
11

Software Quality Attributes
Portability
Efficiency

Reliability
Usability

Testability

Understandability

Modifiability
12

Common problems in software
processes
•
•
•
•

Cost overruns
Schedule delays
Low productivity rate
Poor quality - in software, maintenance or fixes
13

Quality Concepts
 Quality of Design refers to the characteristics
that designer’s specify for an item.




Quality of Conformance is the degree to which the
design specifications are followed during
manufacturing.
Quality Control is the series of inspections,
reviews and tests used throughout the
development cycle to ensure that each work
product meets the requirements placed upon it.
6
14

Quality Concepts

• Quality of
Design

Design

Development
• Quality of
Conformance

• Quality
Control

Testing
15

Software Quality Measurements
We best manage what we can
measure.
16

Quality Measurement
• Measurement enables the Organization to improve
the software process; assist in planning, tracking
and controlling the software project and assess the
quality of the software thus produced.
• Metrics are analyzed and they provide a dashboard
to the management on the overall health of the
process, project and product.
• The validation of the metrics is a continuous
process spanning multiple projects.
17

What to
measure?

Why to
measure?

How to
measure?
18

What to check?
Should we track:
• Number of tests?
• Pass rate?
• Plan versus actual?
• Number of defects?
• Code coverage?
• Functional coverage?
• Performance figures?
19

What to measure?

Resource

Defects

Process

Code

Product/
Project
20

Metric Classification
• Products
▫ Explicit results of software development activities
▫ Deliverables, documentation, by products

• Processes
▫ Activities related to production of software

• Resources
▫ Inputs into the software development activities
▫ hardware, knowledge, people
21

Types of Software Metrics
• Product metrics – e.g., size, complexity, design
features, performance, quality level
• Process metrics – e.g., effectiveness of defect
removal, response time of the fix process
• Project metrics – e.g., number of software
developers, cost, schedule, productivity
22

Why measure?
 Are we meeting our business objectives?
 Are our customers satisfied with our products and
services?
 Are we earning a fair return on our investments?
 Can we reduce the cost of producing the product or
service?
 How can we improve the response to our customers’
needs or increase the functionality of our products?
 How can we improve our competitive position?
 Are we achieving the growth required for survival?
Without the right information, you are just
another person with an opinion
23

Why Measure Software?
• Determine the quality of the current product or
process

• Predict qualities of a product/process
• Improve quality of a product/process
24

Why measure?
• By analyzing the metrics the organization can
take corrective action to fix those areas in the
process, project or product which are the cause
of the software defects.
25

How to measure?
26

Purpose of Measuring
 Cost saving
 Employee satisfaction
 Customer satisfaction
 Quality
27

Purpose of Measuring
• Cost saving
▫ Quality of Product: Defects per KLOC or FP
▫ Project Status: Tracking against estimated schedule,
budget, size

• Employee satisfaction
▫ Work Effort: Each team member utilized

• Customer satisfaction
▫ Satisfaction: Survey (Six Months)

• Quality
▫ Quality of Process: COQ, ROI on QA, amount of
rework, quality of team time and teamwork
28

Goal of metrics
• to improve product quality and developmentteam productivity
• concerned with productivity and quality
measures
measures of SW development output as function
of effort and time
measures of usability
29

Help in…
• Allows manager to
(1) assess status of ongoing project
(2) track project risks
(3) uncover problem areas
(4) adjust tasks or workflow
(5) evaluate team’s ability to control quality
30

Define Metrics to
Be collected –
Project & Support
Group Metrics

Establish Data
Collection Mechanism
And send the
metrics data to QA Group

Analyze Metrics

Arrive at Organizational Process
Capability Baseline

Store data for
Future use
In Metrics
Database
31

Metrics Data Capture – Frequency &
Sources


What should be the frequency of collecting the data?



Sources for the data capture of the Metrics





Timesheets
Project plan, Schedule (MPP, XLS)
Defect tracking system
Ticket tracking sheet
32

Goal 1: Improve software
project planning
 How good is the software
effort planning?
 How good is the software
scheduling?
33

Effort Variance Metric
Effort Variance (in %)=[Actual Effort – Planned(Estimated) Effort]*100
[Planned ( Estimated ) Effort ]

Actual Effort (in hrs) = Planning, Tracking, Configuration, Defect Prevention,
Requirements, Design, Coding, Review, Rework & Testing
Planned Effort (in hrs) = Planning, Tracking, Configuration, Defect Prevention,
Requirements, Design, Coding, Review, Rework & Testing
This is to measure the variance of effort compared with the estimated effort in
terms of man days spend with respect to daily hrs
34

Schedule Variance Metric
Schedule Variance =[Actual Duration - Planned Duration] * 100
(in %)
[ Planned Duration ]

 Actual Duration (in Days) : Actual end date - Planned start date
 Planned Duration (in Days) : Planned end date - Planned start date
This is to measure the variance of schedule compared with the estimated
schedule in terms of duration in calendar days
35

Schedule Metrics - Sample
Project Code and Name:

Phase

Requirement
Actual
Schedule

Planned
Schedule

Design
Actual
Schedule

Requirement
Design
Coding
Testing
Delivery /
Release
Prepared By
:
Reviewed By (MR) :
Data Given by
:

Sign Date :
Sign/Date :

Planned
Schedule

Code/Unit Test
Actual
Schedule

Planned
Schedule
36

Goal 2 : Improve Productivity
What is the productivity in
different types of projects?
37

Productivity Metrics
Development =

Testing =

____Total project effort ____
Project size in LOC or FP

Total effort spent in execution of test cases
Total number of test cases executed

Maintenance =

Cumulative Actual Effort for a category of CRs completed
Number of CRs completed in the category
38

Goal 3 : Reduce number of
defects
 How many defects are we getting
with respect to the effort spent?
 How efficient and Effective are
our reviews?
39

Defect Density Metric
A "Defect" is a:
 Deviation from a standard
 Deviation from requirement
 Anything that causes customer dissatisfaction

Defect Density (DD)

=

Total no. of defects
Total effort (In hrs)

 Total no. of defects = Pre Delivery Defects ( reviews & testing ) + Post Delivery
Defects ( reported after delivery to customer )
 Total Effort ( in hrs ) = Planning, Tracking, Configuration Management, Defect
Prevention, Requirements, Design, Coding, Review, Rework & Testing
40

Review Efficiency Metric
Review efficiency = Review defects (including unit testing defects)*100
Review effort ( including unit testing effort )
 Review Defects = No. of defects in ( Requirements, Design, CUT )
 Review Effort (in hrs) = ( Requirements, Design, CUT ) Review Efforts





SRS review defects = 1
Design Review defects = 1
Code review defects = 1
Unit Testing defects = 0

 Review Effort = 15

Review Efficiency will be

0.2
41

Review Effectiveness Metric
Review effectiveness =

Total no. of Review defects
* 100
Total no. of defects ( Review + Testing )

DEFECT DATA

 SRS review defects =

2

 Design Review defects =
 Code review defects =

 Testing defects =

2

4

2
Review effectiveness will be

80%
42

Goal 4 : Reduce Cost of Quality
 What is the cost of detection
(Appraisal Costs)?
What is the cost of Correction
(Failure Costs)?
 What is the cost of Prevention
(Prevention Costs)?
43

Cost Of Quality (COQ) Metric
COQ ( in % ) =

( AC +PRC +FC ) * 100
( AC +PRC +FC + PDC )



Appraisal Cost ( AC )

= Review + Audit + Testing



Prevention Cost ( PRC )

= Project Management + Training + CM +
Defect Prevention + RFC / change request



Failure Cost ( FC )

= Rework + Idle Time + Complaints + post sales
defects



Production Cost ( PDC )

= Requirements, Design and Coding +
Tools/Scripts Development + manuals
44

Goal 5 : Improve customer
satisfaction
 Are we meeting our commitments to
the customer?
 How satisfied are customers with
our services and products?
45

Customer Satisfaction Metrics
 Customer Satisfaction Index / Rating
 Rating on a scale of 1 – 5 through Customer Satisfaction Surveys

 SLA Compliance
 [ ( Actual Incidents where SLA was met ) * 100 ] / [ Total No. of incidents ]
resolved

 SLA Variance
 [ ( Actual Resolution Time – SLA ) * 100 ] / [ SLA ]
46

Tell me now…
 Find Cost Of Quality (COQ) ?





Appraisal Cost = 3 %
Prevention Cost = 7 %
Production Cost = 78 %
Failure Cost = 12 %

COQ = 22 %

 Review efficiency in a project is 0.1, what does it mean?
One Review defect has been detected after spending 10 hours of review efforts



Defect Density helps in……
Reducing rework and controlling effort variance and schedule variance
47

Case Studies
48

Management review report
•
•
•
•
•

Progress reports
Periodic performance reports
Customer satisfaction feedback
Follow up reports
Review of significant findings
49

Software Development Projects
50

Development metrics
• In software development projects, we capture
the efficiency of correctness and robustness of
the code.
• We track them via:
▫ LOC (Line of Code)
▫ Function Points
▫ Cyclomatic Complexity
51

Line of Code analysis
• Derived by normalizing (dividing) any direct
measure (e.g. defects or human effort)
associated with the product or project by LOC.
• Size oriented metrics are widely used but their
validity and applicability is widely debated.
52

Function oriented Metrics
• Function points are computed from direct measures
of the information domain of a business software
application and assessment of its complexity.

• Once computed function points are used like LOC to
normalize measures for software productivity,
quality, and other attributes.
• The relationship of LOC and function points
depends on the language used to implement the
software.
53

Software Testing Projects
54

Check Points
• Main objectives of a project: High Quality & High Productivity
(Q&P)
• Quality has many dimensions
▫ reliability, maintainability, interoperability etc.

• More defects => more chances of failure => lesser reliability
• Hence quality goal: Have as few defects as possible in
the delivered software!
55

Metrics for Software Testing
• Defect Removal Effectiveness
DRE= Defects removed during development phase x100%
Defects latent in the product
Defects latent in the product = Defects removed during development
phase+ defects found later by user
• Efficiency of Testing Process (define size in KLoC or FP, Req.)
Testing Efficiency= Size of Software Tested
Resources used
56

Support Groups Metrics
57

SEPG & SQA Metrics
 Person / Process Trainings
 PI Index - Process Improvement suggestions per quarter
 SEPG Efforts
 Total effort spent in SEPG Activities
 Total effort spent in SQA Activities

 No. of NCs per project
58

ISS Metrics
 % Calls resolved same day =
Number of calls ( 24hrs category ) resolved within one day
Number of user calls ( 24 Hrs category )
 % Calls resolved in two days =
Number of calls ( 48hrs category ) resolved within two days
Number of user calls ( 48 Hrs category )
 % Network up time =
Network up time ( for the month )
Total Available time
59

RMG Metrics
 Average hiring cost per hire =

 Selection ratio

=

Total hiring cost for the month
Total no. of joinees

Total No. of offers
Total no. of candidates interviewed

 Offer to joinee ratio =

Total no. of joinees
Total no. of Offers

 Offer to Decline ratio =

Total no. of Declines
Total no. of Offers
60

Some important metrics
Indicator

Metric (Unit
/ s)

Effort

Effort Variance
(%)

Schedule

Schedule
Variance
(%)

Size

Size Variance
(%)

Formula

Base Measure
Source / s
/s

(Actual Effort –
Actual Effort
Planned Effort) *
Planned Effort
100 / (Planned
Effort)
(Actual End Date
Planned project
– Planned End
duration
Date) * 100 /
Planned End Date
(Planned Project
Actual End Date
Duration)
(Actual Software
Size – Estimated
Actual size
Software Size) *
Estimated size
100 / (Estimated
Software Size

Productivity
Productivity (KLOC / manday (Size) / (Effort)
Or
FP / manday)

Effort
Size

Timesheet
Project
schedule

Project
schedule

Estimation
sheet

Estimation
Sheet
61

Some important metrics
Indicat Metric (Unit
or
/ s)
Defect Density

Quality

Quality

Quality

Formula

Base
Measure / s

Source / s

No. of total
Defects (Pre Review & testing
(Defects / KLOC
(Total No. of
Defect log
delivery +
Defects) / (Size)
Post delivery)
Or
Estimation Sheet
Size
Defects / FP)
Review
Total no. of
(Total no. of review review defects
Efficiency
Review & testing
defects) / (review
Defect log
(Defects /
Review effort
hours)
Manhour)
in hours

(Appraisal efforts +
Failure efforts +
Cost of Quality
Review efforts
Timesheet
Prevention efforts) *
(%)
100 / (Total Project Testing efforts Project schedule
Effort)
Rework efforts
62

Sample Tracking Sheet
63

Software Quality Assurance
64

What is Software Quality Assurance?
• Used to Monitor and Improve the Software
Development Process
• Making Sure That Standards and Procedures are
Followed
• Ensures that Problems are Found and Dealt with
• Orientated to ‘Prevention’
65

Standards and Procedures
• Framework for which Software Evolves
• Standards
▫ Established Criteria to which Software Products are
Compared

• Procedures
▫ Established Criteria to which Development and
Control Procedures are Followed

• SQA is based on the Following of Standards and
Procedures
66

Techniques
• Audit

▫ The Major Technique used in SQA
▫ Perform Product Evaluation and Process Monitoring
▫ Performed Routinely throughout the Software
Development Process
▫ Look at a Process and/or Product in depth and
compare to Established Standards and Procedures
▫ Provide an indication of the Quality and Status of the
Software Product
67

Benefit of Software Quality Assurance
in Projects
• Without SQA, many Software Groups would not reach
their release goals/deadlines on time
• Lowers time spent on mundane areas and lets more time
be focused on important areas
• Decreases the time from Development to Deployment
• Can help catch errors before they are too costly to fix
68

SQA Activities
•
•
•
•

Document Auditing
Document Reviews
Metrics Calculation and Analysis
Meetings and Discussions
▫ Final Reports Submission
69

Reviews
70

Types of Review
• Formal Review
• Informal Review
71

Types of Review
Formal Review
• Planning
• Documented
• Thorough
• Focused on a certain purpose
72

Types of Review
Informal Review
• Undocumented
• Fast
• Few defined procedures
• Useful to check that the author is on track
73

Why do peer reviews?
•
•
•
•

To improve quality.
Catches 80% of all errors if done properly.
Catches both coding errors and design errors.
Training and insurance.
74

Thank You!!

More Related Content

What's hot

Software quality assurance
Software quality assuranceSoftware quality assurance
Software quality assuranceRajeev Sharan
 
SOFTWARE MEASUREMENT ESTABLISHING A SOFTWARE MEASUREMENT PROCESS
SOFTWARE MEASUREMENT ESTABLISHING A SOFTWARE MEASUREMENT PROCESSSOFTWARE MEASUREMENT ESTABLISHING A SOFTWARE MEASUREMENT PROCESS
SOFTWARE MEASUREMENT ESTABLISHING A SOFTWARE MEASUREMENT PROCESSAmin Bandeali
 
Software Quality Metrics Do's and Don'ts - QAI-Quest 1 Hour Presentation
Software Quality Metrics Do's and Don'ts - QAI-Quest 1 Hour PresentationSoftware Quality Metrics Do's and Don'ts - QAI-Quest 1 Hour Presentation
Software Quality Metrics Do's and Don'ts - QAI-Quest 1 Hour PresentationXBOSoft
 
Software Quality Analyst and Software Quality Management
Software Quality Analyst and Software Quality ManagementSoftware Quality Analyst and Software Quality Management
Software Quality Analyst and Software Quality Managementنور شزننا
 
Software quality assurance
Software quality assuranceSoftware quality assurance
Software quality assuranceRameesha Sadaqat
 
Fundamentals of Software Quality Assurance & Testing
Fundamentals of Software Quality Assurance & TestingFundamentals of Software Quality Assurance & Testing
Fundamentals of Software Quality Assurance & Testingrongbaz
 
Software engineering quality assurance and testing
Software engineering quality assurance and testingSoftware engineering quality assurance and testing
Software engineering quality assurance and testingBipul Roy Bpl
 
Software Metrics
Software MetricsSoftware Metrics
Software MetricsSwati Patel
 
Software quality assurance
Software quality assuranceSoftware quality assurance
Software quality assuranceEr. Nancy
 
Software quality metrics methodology _tanmi kiran
Software quality metrics methodology _tanmi kiranSoftware quality metrics methodology _tanmi kiran
Software quality metrics methodology _tanmi kiranTanmi Kapoor
 
Lecture3
Lecture3Lecture3
Lecture3soloeng
 
Software Quality Framework Introduction
Software Quality Framework IntroductionSoftware Quality Framework Introduction
Software Quality Framework IntroductionDon Hough
 
Quality assurance k.meenakshi
Quality assurance   k.meenakshiQuality assurance   k.meenakshi
Quality assurance k.meenakshiMeenakshiK19
 
Software Quality Management
Software Quality ManagementSoftware Quality Management
Software Quality ManagementKrishna Sujeer
 

What's hot (20)

Software quality assurance
Software quality assuranceSoftware quality assurance
Software quality assurance
 
SOFTWARE MEASUREMENT ESTABLISHING A SOFTWARE MEASUREMENT PROCESS
SOFTWARE MEASUREMENT ESTABLISHING A SOFTWARE MEASUREMENT PROCESSSOFTWARE MEASUREMENT ESTABLISHING A SOFTWARE MEASUREMENT PROCESS
SOFTWARE MEASUREMENT ESTABLISHING A SOFTWARE MEASUREMENT PROCESS
 
Software quality assurance
Software quality assuranceSoftware quality assurance
Software quality assurance
 
Software Quality Metrics Do's and Don'ts - QAI-Quest 1 Hour Presentation
Software Quality Metrics Do's and Don'ts - QAI-Quest 1 Hour PresentationSoftware Quality Metrics Do's and Don'ts - QAI-Quest 1 Hour Presentation
Software Quality Metrics Do's and Don'ts - QAI-Quest 1 Hour Presentation
 
Software Quality Analyst and Software Quality Management
Software Quality Analyst and Software Quality ManagementSoftware Quality Analyst and Software Quality Management
Software Quality Analyst and Software Quality Management
 
Software quality assurance
Software quality assuranceSoftware quality assurance
Software quality assurance
 
Fundamentals of Software Quality Assurance & Testing
Fundamentals of Software Quality Assurance & TestingFundamentals of Software Quality Assurance & Testing
Fundamentals of Software Quality Assurance & Testing
 
Software Quality Assurance
Software Quality AssuranceSoftware Quality Assurance
Software Quality Assurance
 
Software engineering quality assurance and testing
Software engineering quality assurance and testingSoftware engineering quality assurance and testing
Software engineering quality assurance and testing
 
Software Metrics
Software MetricsSoftware Metrics
Software Metrics
 
Qa
QaQa
Qa
 
Quality concept
Quality concept Quality concept
Quality concept
 
Software quality assurance
Software quality assuranceSoftware quality assurance
Software quality assurance
 
Software quality metrics methodology _tanmi kiran
Software quality metrics methodology _tanmi kiranSoftware quality metrics methodology _tanmi kiran
Software quality metrics methodology _tanmi kiran
 
Lecture3
Lecture3Lecture3
Lecture3
 
Software Quality Framework Introduction
Software Quality Framework IntroductionSoftware Quality Framework Introduction
Software Quality Framework Introduction
 
Quality assurance k.meenakshi
Quality assurance   k.meenakshiQuality assurance   k.meenakshi
Quality assurance k.meenakshi
 
Software Quality Management
Software Quality ManagementSoftware Quality Management
Software Quality Management
 
Quality Assurance in Software Ind.
Quality Assurance in Software Ind.Quality Assurance in Software Ind.
Quality Assurance in Software Ind.
 
Software metrics
Software metricsSoftware metrics
Software metrics
 

Similar to Quality in software industry

Software Engineering (Metrics for Process and Projects)
Software Engineering (Metrics for Process and Projects)Software Engineering (Metrics for Process and Projects)
Software Engineering (Metrics for Process and Projects)ShudipPal
 
Software Engineering (Software Quality Assurance)
Software Engineering (Software Quality Assurance)Software Engineering (Software Quality Assurance)
Software Engineering (Software Quality Assurance)ShudipPal
 
4S Akademi - QAI - Software Testing Principles and Concepts
4S Akademi - QAI - Software Testing Principles and Concepts4S Akademi - QAI - Software Testing Principles and Concepts
4S Akademi - QAI - Software Testing Principles and ConceptsSerdar Zeybek
 
Product quality management
Product quality managementProduct quality management
Product quality managementSunil Meena
 
Software Quality Assurance - Software Engineering
Software Quality Assurance - Software EngineeringSoftware Quality Assurance - Software Engineering
Software Quality Assurance - Software EngineeringPurvik Rana
 
Day 2 meet shilpa - measuring software quality-are you up-to-date on what an...
Day 2 meet shilpa  - measuring software quality-are you up-to-date on what an...Day 2 meet shilpa  - measuring software quality-are you up-to-date on what an...
Day 2 meet shilpa - measuring software quality-are you up-to-date on what an...XBOSoft
 
software engineering
software engineeringsoftware engineering
software engineeringshreeuva
 
Quality assurance and management, software engineering
Quality assurance and management, software engineeringQuality assurance and management, software engineering
Quality assurance and management, software engineeringRupesh Vaishnav
 
Testing Metrics and why Managers like them
Testing Metrics and why Managers like themTesting Metrics and why Managers like them
Testing Metrics and why Managers like themPractiTest
 
Introduction to Software Engineering
Introduction to Software EngineeringIntroduction to Software Engineering
Introduction to Software EngineeringMadhar Khan Pathan
 
Software Productivity Measurement
Software Productivity MeasurementSoftware Productivity Measurement
Software Productivity MeasurementAjeng Savitri
 
Quality Index: A Composite Metric for the Voice of Testing
Quality Index: A Composite Metric for the Voice of TestingQuality Index: A Composite Metric for the Voice of Testing
Quality Index: A Composite Metric for the Voice of TestingTechWell
 
Project Quality Management
Project Quality ManagementProject Quality Management
Project Quality Managementmzedan
 
Software engineering 11 software quality assurance plans
Software engineering 11 software quality assurance plansSoftware engineering 11 software quality assurance plans
Software engineering 11 software quality assurance plansVaibhav Khanna
 
software quality-assurance-5687e42d37017
software quality-assurance-5687e42d37017software quality-assurance-5687e42d37017
software quality-assurance-5687e42d37017CuongHoang80
 
Chapter 15 software product metrics
Chapter 15 software product metricsChapter 15 software product metrics
Chapter 15 software product metricsSHREEHARI WADAWADAGI
 
Testing Metrics and Tools, Analyse de tests
Testing Metrics and Tools, Analyse de testsTesting Metrics and Tools, Analyse de tests
Testing Metrics and Tools, Analyse de testsHervKoya
 
Software Engineering (Software Process: A Generic View)
Software Engineering (Software Process: A Generic View)Software Engineering (Software Process: A Generic View)
Software Engineering (Software Process: A Generic View)ShudipPal
 

Similar to Quality in software industry (20)

Software Engineering (Metrics for Process and Projects)
Software Engineering (Metrics for Process and Projects)Software Engineering (Metrics for Process and Projects)
Software Engineering (Metrics for Process and Projects)
 
Software Engineering (Software Quality Assurance)
Software Engineering (Software Quality Assurance)Software Engineering (Software Quality Assurance)
Software Engineering (Software Quality Assurance)
 
4S Akademi - QAI - Software Testing Principles and Concepts
4S Akademi - QAI - Software Testing Principles and Concepts4S Akademi - QAI - Software Testing Principles and Concepts
4S Akademi - QAI - Software Testing Principles and Concepts
 
Product quality management
Product quality managementProduct quality management
Product quality management
 
Software Quality Assurance - Software Engineering
Software Quality Assurance - Software EngineeringSoftware Quality Assurance - Software Engineering
Software Quality Assurance - Software Engineering
 
Day 2 meet shilpa - measuring software quality-are you up-to-date on what an...
Day 2 meet shilpa  - measuring software quality-are you up-to-date on what an...Day 2 meet shilpa  - measuring software quality-are you up-to-date on what an...
Day 2 meet shilpa - measuring software quality-are you up-to-date on what an...
 
software engineering
software engineeringsoftware engineering
software engineering
 
Quality assurance and management, software engineering
Quality assurance and management, software engineeringQuality assurance and management, software engineering
Quality assurance and management, software engineering
 
chapter 7.ppt
chapter 7.pptchapter 7.ppt
chapter 7.ppt
 
Testing Metrics and why Managers like them
Testing Metrics and why Managers like themTesting Metrics and why Managers like them
Testing Metrics and why Managers like them
 
Introduction to Software Engineering
Introduction to Software EngineeringIntroduction to Software Engineering
Introduction to Software Engineering
 
Software Productivity Measurement
Software Productivity MeasurementSoftware Productivity Measurement
Software Productivity Measurement
 
Quality Index: A Composite Metric for the Voice of Testing
Quality Index: A Composite Metric for the Voice of TestingQuality Index: A Composite Metric for the Voice of Testing
Quality Index: A Composite Metric for the Voice of Testing
 
Project Quality Management
Project Quality ManagementProject Quality Management
Project Quality Management
 
Software engineering 11 software quality assurance plans
Software engineering 11 software quality assurance plansSoftware engineering 11 software quality assurance plans
Software engineering 11 software quality assurance plans
 
software quality-assurance-5687e42d37017
software quality-assurance-5687e42d37017software quality-assurance-5687e42d37017
software quality-assurance-5687e42d37017
 
Chapter 15 software product metrics
Chapter 15 software product metricsChapter 15 software product metrics
Chapter 15 software product metrics
 
Testing Metrics and Tools, Analyse de tests
Testing Metrics and Tools, Analyse de testsTesting Metrics and Tools, Analyse de tests
Testing Metrics and Tools, Analyse de tests
 
Software Engineering (Software Process: A Generic View)
Software Engineering (Software Process: A Generic View)Software Engineering (Software Process: A Generic View)
Software Engineering (Software Process: A Generic View)
 
Software Testing
Software TestingSoftware Testing
Software Testing
 

Recently uploaded

Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsMiki Katsuragi
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DayH2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DaySri Ambati
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piececharlottematthew16
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyAlfredo García Lavilla
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfPrecisely
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Manik S Magar
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 

Recently uploaded (20)

Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering Tips
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DayH2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piece
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 

Quality in software industry

  • 1. 1 Quality in Software Industry Richa Goel
  • 2. 2 Contents • • • • • • • Quality : Meaning Quality in Software Industry Implementation of Quality Measuring Quality Various Types of Metrics Case Studies Software Quality Assurance
  • 3. 3 What is quality? • A product should meet its specification. • This is problematical for software systems ▫ Some quality requirements are difficult to specify in an unambiguous way; ▫ Software specifications are usually incomplete and often inconsistent.
  • 4. Quality is….. Invisible when GOOD Impossible to ignore when BAD 4
  • 5. 5 Total Quality Is… • Meeting Our Customer’s Requirements • Doing Things Right the First Time; Freedom from Failure (Defects) • Consistency (Reduction in Variation) • Continuous Improvement • Quality in Everything We Do
  • 6. 6 Quality of a product is satisfied customer
  • 7. 7 Software Quality ??? • Software Quality refers to any measurable characteristics such as correctness, maintainability, portability, testability, usability, reliability, efficiency, integrity, reusability and interoperability. 5
  • 8. 8 Software quality management • Concerned with ensuring that the required level of quality is achieved in a software product. • Involves defining appropriate quality standards and procedures and ensuring that these are followed. • Should aim to develop a ‘quality culture’ where quality is seen as everyone’s responsibility.
  • 10. 10 Definition: Software Quality • What is software quality? • What are the attributes of quality for software? This is high quality software because... ?
  • 12. 12 Common problems in software processes • • • • Cost overruns Schedule delays Low productivity rate Poor quality - in software, maintenance or fixes
  • 13. 13 Quality Concepts  Quality of Design refers to the characteristics that designer’s specify for an item.   Quality of Conformance is the degree to which the design specifications are followed during manufacturing. Quality Control is the series of inspections, reviews and tests used throughout the development cycle to ensure that each work product meets the requirements placed upon it. 6
  • 14. 14 Quality Concepts • Quality of Design Design Development • Quality of Conformance • Quality Control Testing
  • 15. 15 Software Quality Measurements We best manage what we can measure.
  • 16. 16 Quality Measurement • Measurement enables the Organization to improve the software process; assist in planning, tracking and controlling the software project and assess the quality of the software thus produced. • Metrics are analyzed and they provide a dashboard to the management on the overall health of the process, project and product. • The validation of the metrics is a continuous process spanning multiple projects.
  • 18. 18 What to check? Should we track: • Number of tests? • Pass rate? • Plan versus actual? • Number of defects? • Code coverage? • Functional coverage? • Performance figures?
  • 20. 20 Metric Classification • Products ▫ Explicit results of software development activities ▫ Deliverables, documentation, by products • Processes ▫ Activities related to production of software • Resources ▫ Inputs into the software development activities ▫ hardware, knowledge, people
  • 21. 21 Types of Software Metrics • Product metrics – e.g., size, complexity, design features, performance, quality level • Process metrics – e.g., effectiveness of defect removal, response time of the fix process • Project metrics – e.g., number of software developers, cost, schedule, productivity
  • 22. 22 Why measure?  Are we meeting our business objectives?  Are our customers satisfied with our products and services?  Are we earning a fair return on our investments?  Can we reduce the cost of producing the product or service?  How can we improve the response to our customers’ needs or increase the functionality of our products?  How can we improve our competitive position?  Are we achieving the growth required for survival? Without the right information, you are just another person with an opinion
  • 23. 23 Why Measure Software? • Determine the quality of the current product or process • Predict qualities of a product/process • Improve quality of a product/process
  • 24. 24 Why measure? • By analyzing the metrics the organization can take corrective action to fix those areas in the process, project or product which are the cause of the software defects.
  • 26. 26 Purpose of Measuring  Cost saving  Employee satisfaction  Customer satisfaction  Quality
  • 27. 27 Purpose of Measuring • Cost saving ▫ Quality of Product: Defects per KLOC or FP ▫ Project Status: Tracking against estimated schedule, budget, size • Employee satisfaction ▫ Work Effort: Each team member utilized • Customer satisfaction ▫ Satisfaction: Survey (Six Months) • Quality ▫ Quality of Process: COQ, ROI on QA, amount of rework, quality of team time and teamwork
  • 28. 28 Goal of metrics • to improve product quality and developmentteam productivity • concerned with productivity and quality measures measures of SW development output as function of effort and time measures of usability
  • 29. 29 Help in… • Allows manager to (1) assess status of ongoing project (2) track project risks (3) uncover problem areas (4) adjust tasks or workflow (5) evaluate team’s ability to control quality
  • 30. 30 Define Metrics to Be collected – Project & Support Group Metrics Establish Data Collection Mechanism And send the metrics data to QA Group Analyze Metrics Arrive at Organizational Process Capability Baseline Store data for Future use In Metrics Database
  • 31. 31 Metrics Data Capture – Frequency & Sources  What should be the frequency of collecting the data?  Sources for the data capture of the Metrics     Timesheets Project plan, Schedule (MPP, XLS) Defect tracking system Ticket tracking sheet
  • 32. 32 Goal 1: Improve software project planning  How good is the software effort planning?  How good is the software scheduling?
  • 33. 33 Effort Variance Metric Effort Variance (in %)=[Actual Effort – Planned(Estimated) Effort]*100 [Planned ( Estimated ) Effort ] Actual Effort (in hrs) = Planning, Tracking, Configuration, Defect Prevention, Requirements, Design, Coding, Review, Rework & Testing Planned Effort (in hrs) = Planning, Tracking, Configuration, Defect Prevention, Requirements, Design, Coding, Review, Rework & Testing This is to measure the variance of effort compared with the estimated effort in terms of man days spend with respect to daily hrs
  • 34. 34 Schedule Variance Metric Schedule Variance =[Actual Duration - Planned Duration] * 100 (in %) [ Planned Duration ]  Actual Duration (in Days) : Actual end date - Planned start date  Planned Duration (in Days) : Planned end date - Planned start date This is to measure the variance of schedule compared with the estimated schedule in terms of duration in calendar days
  • 35. 35 Schedule Metrics - Sample Project Code and Name: Phase Requirement Actual Schedule Planned Schedule Design Actual Schedule Requirement Design Coding Testing Delivery / Release Prepared By : Reviewed By (MR) : Data Given by : Sign Date : Sign/Date : Planned Schedule Code/Unit Test Actual Schedule Planned Schedule
  • 36. 36 Goal 2 : Improve Productivity What is the productivity in different types of projects?
  • 37. 37 Productivity Metrics Development = Testing = ____Total project effort ____ Project size in LOC or FP Total effort spent in execution of test cases Total number of test cases executed Maintenance = Cumulative Actual Effort for a category of CRs completed Number of CRs completed in the category
  • 38. 38 Goal 3 : Reduce number of defects  How many defects are we getting with respect to the effort spent?  How efficient and Effective are our reviews?
  • 39. 39 Defect Density Metric A "Defect" is a:  Deviation from a standard  Deviation from requirement  Anything that causes customer dissatisfaction Defect Density (DD) = Total no. of defects Total effort (In hrs)  Total no. of defects = Pre Delivery Defects ( reviews & testing ) + Post Delivery Defects ( reported after delivery to customer )  Total Effort ( in hrs ) = Planning, Tracking, Configuration Management, Defect Prevention, Requirements, Design, Coding, Review, Rework & Testing
  • 40. 40 Review Efficiency Metric Review efficiency = Review defects (including unit testing defects)*100 Review effort ( including unit testing effort )  Review Defects = No. of defects in ( Requirements, Design, CUT )  Review Effort (in hrs) = ( Requirements, Design, CUT ) Review Efforts     SRS review defects = 1 Design Review defects = 1 Code review defects = 1 Unit Testing defects = 0  Review Effort = 15 Review Efficiency will be 0.2
  • 41. 41 Review Effectiveness Metric Review effectiveness = Total no. of Review defects * 100 Total no. of defects ( Review + Testing ) DEFECT DATA  SRS review defects = 2  Design Review defects =  Code review defects =  Testing defects = 2 4 2 Review effectiveness will be 80%
  • 42. 42 Goal 4 : Reduce Cost of Quality  What is the cost of detection (Appraisal Costs)? What is the cost of Correction (Failure Costs)?  What is the cost of Prevention (Prevention Costs)?
  • 43. 43 Cost Of Quality (COQ) Metric COQ ( in % ) = ( AC +PRC +FC ) * 100 ( AC +PRC +FC + PDC )  Appraisal Cost ( AC ) = Review + Audit + Testing  Prevention Cost ( PRC ) = Project Management + Training + CM + Defect Prevention + RFC / change request  Failure Cost ( FC ) = Rework + Idle Time + Complaints + post sales defects  Production Cost ( PDC ) = Requirements, Design and Coding + Tools/Scripts Development + manuals
  • 44. 44 Goal 5 : Improve customer satisfaction  Are we meeting our commitments to the customer?  How satisfied are customers with our services and products?
  • 45. 45 Customer Satisfaction Metrics  Customer Satisfaction Index / Rating  Rating on a scale of 1 – 5 through Customer Satisfaction Surveys  SLA Compliance  [ ( Actual Incidents where SLA was met ) * 100 ] / [ Total No. of incidents ] resolved  SLA Variance  [ ( Actual Resolution Time – SLA ) * 100 ] / [ SLA ]
  • 46. 46 Tell me now…  Find Cost Of Quality (COQ) ?     Appraisal Cost = 3 % Prevention Cost = 7 % Production Cost = 78 % Failure Cost = 12 % COQ = 22 %  Review efficiency in a project is 0.1, what does it mean? One Review defect has been detected after spending 10 hours of review efforts  Defect Density helps in…… Reducing rework and controlling effort variance and schedule variance
  • 48. 48 Management review report • • • • • Progress reports Periodic performance reports Customer satisfaction feedback Follow up reports Review of significant findings
  • 50. 50 Development metrics • In software development projects, we capture the efficiency of correctness and robustness of the code. • We track them via: ▫ LOC (Line of Code) ▫ Function Points ▫ Cyclomatic Complexity
  • 51. 51 Line of Code analysis • Derived by normalizing (dividing) any direct measure (e.g. defects or human effort) associated with the product or project by LOC. • Size oriented metrics are widely used but their validity and applicability is widely debated.
  • 52. 52 Function oriented Metrics • Function points are computed from direct measures of the information domain of a business software application and assessment of its complexity. • Once computed function points are used like LOC to normalize measures for software productivity, quality, and other attributes. • The relationship of LOC and function points depends on the language used to implement the software.
  • 54. 54 Check Points • Main objectives of a project: High Quality & High Productivity (Q&P) • Quality has many dimensions ▫ reliability, maintainability, interoperability etc. • More defects => more chances of failure => lesser reliability • Hence quality goal: Have as few defects as possible in the delivered software!
  • 55. 55 Metrics for Software Testing • Defect Removal Effectiveness DRE= Defects removed during development phase x100% Defects latent in the product Defects latent in the product = Defects removed during development phase+ defects found later by user • Efficiency of Testing Process (define size in KLoC or FP, Req.) Testing Efficiency= Size of Software Tested Resources used
  • 57. 57 SEPG & SQA Metrics  Person / Process Trainings  PI Index - Process Improvement suggestions per quarter  SEPG Efforts  Total effort spent in SEPG Activities  Total effort spent in SQA Activities  No. of NCs per project
  • 58. 58 ISS Metrics  % Calls resolved same day = Number of calls ( 24hrs category ) resolved within one day Number of user calls ( 24 Hrs category )  % Calls resolved in two days = Number of calls ( 48hrs category ) resolved within two days Number of user calls ( 48 Hrs category )  % Network up time = Network up time ( for the month ) Total Available time
  • 59. 59 RMG Metrics  Average hiring cost per hire =  Selection ratio = Total hiring cost for the month Total no. of joinees Total No. of offers Total no. of candidates interviewed  Offer to joinee ratio = Total no. of joinees Total no. of Offers  Offer to Decline ratio = Total no. of Declines Total no. of Offers
  • 60. 60 Some important metrics Indicator Metric (Unit / s) Effort Effort Variance (%) Schedule Schedule Variance (%) Size Size Variance (%) Formula Base Measure Source / s /s (Actual Effort – Actual Effort Planned Effort) * Planned Effort 100 / (Planned Effort) (Actual End Date Planned project – Planned End duration Date) * 100 / Planned End Date (Planned Project Actual End Date Duration) (Actual Software Size – Estimated Actual size Software Size) * Estimated size 100 / (Estimated Software Size Productivity Productivity (KLOC / manday (Size) / (Effort) Or FP / manday) Effort Size Timesheet Project schedule Project schedule Estimation sheet Estimation Sheet
  • 61. 61 Some important metrics Indicat Metric (Unit or / s) Defect Density Quality Quality Quality Formula Base Measure / s Source / s No. of total Defects (Pre Review & testing (Defects / KLOC (Total No. of Defect log delivery + Defects) / (Size) Post delivery) Or Estimation Sheet Size Defects / FP) Review Total no. of (Total no. of review review defects Efficiency Review & testing defects) / (review Defect log (Defects / Review effort hours) Manhour) in hours (Appraisal efforts + Failure efforts + Cost of Quality Review efforts Timesheet Prevention efforts) * (%) 100 / (Total Project Testing efforts Project schedule Effort) Rework efforts
  • 64. 64 What is Software Quality Assurance? • Used to Monitor and Improve the Software Development Process • Making Sure That Standards and Procedures are Followed • Ensures that Problems are Found and Dealt with • Orientated to ‘Prevention’
  • 65. 65 Standards and Procedures • Framework for which Software Evolves • Standards ▫ Established Criteria to which Software Products are Compared • Procedures ▫ Established Criteria to which Development and Control Procedures are Followed • SQA is based on the Following of Standards and Procedures
  • 66. 66 Techniques • Audit ▫ The Major Technique used in SQA ▫ Perform Product Evaluation and Process Monitoring ▫ Performed Routinely throughout the Software Development Process ▫ Look at a Process and/or Product in depth and compare to Established Standards and Procedures ▫ Provide an indication of the Quality and Status of the Software Product
  • 67. 67 Benefit of Software Quality Assurance in Projects • Without SQA, many Software Groups would not reach their release goals/deadlines on time • Lowers time spent on mundane areas and lets more time be focused on important areas • Decreases the time from Development to Deployment • Can help catch errors before they are too costly to fix
  • 68. 68 SQA Activities • • • • Document Auditing Document Reviews Metrics Calculation and Analysis Meetings and Discussions ▫ Final Reports Submission
  • 70. 70 Types of Review • Formal Review • Informal Review
  • 71. 71 Types of Review Formal Review • Planning • Documented • Thorough • Focused on a certain purpose
  • 72. 72 Types of Review Informal Review • Undocumented • Fast • Few defined procedures • Useful to check that the author is on track
  • 73. 73 Why do peer reviews? • • • • To improve quality. Catches 80% of all errors if done properly. Catches both coding errors and design errors. Training and insurance.

Editor's Notes

  1. One of the managers while discussing a certain topic said, "We should release our product with utmost quality". Another manager responded to this statement by asking this question, "How do you measure quality?" The first manager replied, "My definition of quality is a satisfied customer"….