SlideShare uma empresa Scribd logo
1 de 16
A Regression Analysis Approach for
Building a Prediction Model for
System Testing Defects
(Paper No: S1-3)

Muhammad Dhiauddin bin Mohamed Suffian
Faculty of Computer Science & Information System
mdhiauddin2@live.utm.my
AP Dr. Suhaimi Ibrahim
Advanced Informatics School
suhaimiibrahim@utm.my
Presentation Outline
•
•
•
•
•

Introduction
Related Works
Research Methodology
Findings and Discussion
Conclusion and Recommendation
Introduction
• Defect prediction is very significant to the independent
testing team
– ensure all potential field defects could be successfully contained
within system testing phase
– defects could be prevented from escaping to the end-users
– achieve the target of zero known post release defects for the software
delivered to end-users

• Common understanding of defect  forecast defects in
software [1][2]
• Defect prediction for system testing
– predict failures in system testing instead of defects [3]
– predict remaining defects in software release as part of test process
simulation [4]
Introduction (cont.)
• Motivation to undertake this research effort:
Assigning
appropriate
number of test
engineers across
multiple test
projects

• Re-align test
execution to
meet deadline
• Action plan
when actual ≠
prediction

• Right test
scenarios to
capture
predicted
defects
• Better root
cause analysis

• Decision by
management on
software release
• Stability of
whole
development
process
Introduction (cont.)
• Objectives:
– To analyze existing techniques of building
prediction model for system testing defects
– To build prediction model for system testing
defects using statistical approach
– To evaluate the proposed prediction model based
on specified acceptance criteria.
Related Works
• Defect terminology:
– any flaw in the system or even in the system’s
components could cause the system to
malfunction [5]
– deviation from its specification: physical software
or work products [6]
– imperfection in the process as well as work
product besides software [7]
– defect generated from V & V activities
Related Works (cont.)
•

Approaches to defect prediction:
– Term is used interchangeably with defect estimation to describe the proactive process
of characterizing defects found in software in producing high quality product [8]
– size and complexity metrics: McCabe’s cyclomatic complexity as well as lines of code
(LOC) e.g. Defect = 4.86 + 0.018 Lines of Code [6]
– categorized into project management, work product assessment and process
improvement [7]
– used Rayleigh Model to predict defect density at different phases of project life cycle ]9]
– combination of product and project metrics via regression analysis [10]
– used mathematical distributions as quality prediction model as part of software fault
prediction techniques [11]
– Used development information as important factor for the prediction and model quality
[12]
– applying object-oriented metrics for predicting faults in open source software [13]
– several inputs can be used to simulate system test phase in SDLC [14]
– applied statistical method in Six Sigma to predict defect density [15]
– used defect decay model to predict remaining defects in on-going testing process [16]
Related Works (cont.)
•

Issues:
– Strength: Easy to use, efficient, effective and able to indicate the process
performances; Weakness: need to have sampling, require stable process and
does not account for changes [7]
– Critiques [6]:
•
•
•
•
•

unknown relationship between defect and failures
problems with multivariate statistical approach,
problems of using size and complexity metrics as sole predictors of defects
problems in statistical methodology and data quality
false claims about software decomposition

• Measuring the success:
– measuring the percent of faults found in the identified files [17]
– help in maintenance resource planning as well as software insurance [18]
Research Methodology

Source of data:
ONE applied
R&D
organization

V-shaped
process model

Metrics from V&V:
•requirement review
•design review
•test plan review
•test cases review
•code inspection & unit testing
•system testing

Software type:
•Web-based
•Componentbased

Language:
•PHP
•.NET
•Java
Findings and Discussion
Prediction of
System Testing
Defects
Findings and Discussion(cont.)
Initial data set

Initial regression analysis result
Findings and Discussion (cont.)
Revised data set
Findings and Discussion (cont.)
Findings and Discussion (cont.)
Verification result

Selected prediction model for initial implementation
Functional Defects
–

= 4.00 - 0.204 Requirement Error - 0.631 Coding Error +
1.90 KLOC – 0.140 Requirement Page + 0.125 Design Page
0.169 Total Test Cases + 0.221Total Effort Days
Conclusion and Recommendation
•

Achievement:
– Demonstrated the successful construction of prediction model for system
testing defects by applying regression analysis approach
– Demonstrated the ability to predict defects for system testing by using metrics
in requirement, design and coding phase

•

Future works:
– To predict non-functional defects such as performance, security and usability
defects
– To predict defects based on severity of defects i.e. critical, major and minor
defects
– To incorporate more factors in building similar model such as function point,
programming languages, and number of classes
– To develop software tool that could dynamically generate the latest prediction
equation in real time and assist in prediction activity
THANK YOU

Mais conteúdo relacionado

Mais procurados

Mais procurados (20)

Software Product Measurement and Analysis in a Continuous Integration Environ...
Software Product Measurement and Analysis in a Continuous Integration Environ...Software Product Measurement and Analysis in a Continuous Integration Environ...
Software Product Measurement and Analysis in a Continuous Integration Environ...
 
A Review on Software Fault Detection and Prevention Mechanism in Software Dev...
A Review on Software Fault Detection and Prevention Mechanism in Software Dev...A Review on Software Fault Detection and Prevention Mechanism in Software Dev...
A Review on Software Fault Detection and Prevention Mechanism in Software Dev...
 
Software engineering-quiz
Software engineering-quizSoftware engineering-quiz
Software engineering-quiz
 
Software Metrics - Software Engineering
Software Metrics - Software EngineeringSoftware Metrics - Software Engineering
Software Metrics - Software Engineering
 
Slides chapters 21-23
Slides chapters 21-23Slides chapters 21-23
Slides chapters 21-23
 
Chapter 15 software product metrics
Chapter 15 software product metricsChapter 15 software product metrics
Chapter 15 software product metrics
 
software metrics(process,project,product)
software metrics(process,project,product)software metrics(process,project,product)
software metrics(process,project,product)
 
Software metrics
Software metricsSoftware metrics
Software metrics
 
Software Testing and Quality Assurance Assignment 3
Software Testing and Quality Assurance Assignment 3Software Testing and Quality Assurance Assignment 3
Software Testing and Quality Assurance Assignment 3
 
Defect Prediction: Accomplishments and Future Challenges
Defect Prediction: Accomplishments and Future ChallengesDefect Prediction: Accomplishments and Future Challenges
Defect Prediction: Accomplishments and Future Challenges
 
Metrics
MetricsMetrics
Metrics
 
Software metrics
Software metricsSoftware metrics
Software metrics
 
SOFTWARE TESTING: ISSUES AND CHALLENGES OF ARTIFICIAL INTELLIGENCE & MACHINE ...
SOFTWARE TESTING: ISSUES AND CHALLENGES OF ARTIFICIAL INTELLIGENCE & MACHINE ...SOFTWARE TESTING: ISSUES AND CHALLENGES OF ARTIFICIAL INTELLIGENCE & MACHINE ...
SOFTWARE TESTING: ISSUES AND CHALLENGES OF ARTIFICIAL INTELLIGENCE & MACHINE ...
 
Unit 6
Unit 6Unit 6
Unit 6
 
Software metrics
Software metricsSoftware metrics
Software metrics
 
What is Software Quality and how to measure it?
What is Software Quality and how to measure it?What is Software Quality and how to measure it?
What is Software Quality and how to measure it?
 
Building a software testing environment
Building a software testing environmentBuilding a software testing environment
Building a software testing environment
 
Software Metrics
Software MetricsSoftware Metrics
Software Metrics
 
Software quality
Software qualitySoftware quality
Software quality
 
Software Testing and Quality Assurance unit1
Software Testing and Quality Assurance  unit1Software Testing and Quality Assurance  unit1
Software Testing and Quality Assurance unit1
 

Destaque

Regression testing
Regression testingRegression testing
Regression testing
Mohua Amin
 
Presentation for WOM Marketing Summit 2013 by Edelman Japan
Presentation for WOM Marketing Summit 2013 by Edelman JapanPresentation for WOM Marketing Summit 2013 by Edelman Japan
Presentation for WOM Marketing Summit 2013 by Edelman Japan
Edelman Japan
 
2012 エデルマン・トラストバロメーター
2012 エデルマン・トラストバロメーター2012 エデルマン・トラストバロメーター
2012 エデルマン・トラストバロメーター
Edelman Japan
 
2012 Edelman goodpurpose
2012 Edelman goodpurpose2012 Edelman goodpurpose
2012 Edelman goodpurpose
Edelman Japan
 
regioadviseurs slide share
 regioadviseurs slide share regioadviseurs slide share
regioadviseurs slide share
Al Sauerfield
 
Olivia Paige Hall Powerpoint
Olivia Paige Hall PowerpointOlivia Paige Hall Powerpoint
Olivia Paige Hall Powerpoint
guest29f65ff5
 
Presentation for Keizai Koho Center by Ben Boyd
Presentation for Keizai Koho Center by Ben BoydPresentation for Keizai Koho Center by Ben Boyd
Presentation for Keizai Koho Center by Ben Boyd
Edelman Japan
 

Destaque (20)

Prioritizing Test Cases for Regression Testing A Model Based Approach
Prioritizing Test Cases for Regression Testing A Model Based ApproachPrioritizing Test Cases for Regression Testing A Model Based Approach
Prioritizing Test Cases for Regression Testing A Model Based Approach
 
Standard Regression Testing Does Not Work
Standard Regression Testing Does Not WorkStandard Regression Testing Does Not Work
Standard Regression Testing Does Not Work
 
Software bug prediction
Software bug prediction Software bug prediction
Software bug prediction
 
Regression testing
Regression testingRegression testing
Regression testing
 
Software Defect Prediction on Unlabeled Datasets
Software Defect Prediction on Unlabeled DatasetsSoftware Defect Prediction on Unlabeled Datasets
Software Defect Prediction on Unlabeled Datasets
 
Presentation for WOM Marketing Summit 2013 by Edelman Japan
Presentation for WOM Marketing Summit 2013 by Edelman JapanPresentation for WOM Marketing Summit 2013 by Edelman Japan
Presentation for WOM Marketing Summit 2013 by Edelman Japan
 
SymetriQ SICSA
SymetriQ SICSASymetriQ SICSA
SymetriQ SICSA
 
Leadership training brisbane_trust
Leadership training brisbane_trustLeadership training brisbane_trust
Leadership training brisbane_trust
 
JOBA 2009 - 2
JOBA 2009 - 2JOBA 2009 - 2
JOBA 2009 - 2
 
2012 エデルマン・トラストバロメーター
2012 エデルマン・トラストバロメーター2012 エデルマン・トラストバロメーター
2012 エデルマン・トラストバロメーター
 
De Boer Coverstory 10
De Boer Coverstory 10De Boer Coverstory 10
De Boer Coverstory 10
 
SymetriQ Cloudstorm London March 2010
SymetriQ Cloudstorm London March 2010SymetriQ Cloudstorm London March 2010
SymetriQ Cloudstorm London March 2010
 
Microsoft Cloud Computing E-Book
Microsoft Cloud Computing E-BookMicrosoft Cloud Computing E-Book
Microsoft Cloud Computing E-Book
 
2012 Edelman goodpurpose
2012 Edelman goodpurpose2012 Edelman goodpurpose
2012 Edelman goodpurpose
 
Strategia web demo
Strategia web demoStrategia web demo
Strategia web demo
 
regioadviseurs slide share
 regioadviseurs slide share regioadviseurs slide share
regioadviseurs slide share
 
Why is Hybrid Cloud important?
Why is Hybrid Cloud important?Why is Hybrid Cloud important?
Why is Hybrid Cloud important?
 
Olivia Paige Hall Powerpoint
Olivia Paige Hall PowerpointOlivia Paige Hall Powerpoint
Olivia Paige Hall Powerpoint
 
Presentation for Keizai Koho Center by Ben Boyd
Presentation for Keizai Koho Center by Ben BoydPresentation for Keizai Koho Center by Ben Boyd
Presentation for Keizai Koho Center by Ben Boyd
 
Presentatie social media KHN
Presentatie social media KHNPresentatie social media KHN
Presentatie social media KHN
 

Semelhante a A Regression Analysis Approach for Building a Prediction Model for System Testing Defects

Mt s10 stlc&test_plan
Mt s10 stlc&test_planMt s10 stlc&test_plan
Mt s10 stlc&test_plan
TestingGeeks
 
Introduction-to-Software-Engineering.ppt
Introduction-to-Software-Engineering.pptIntroduction-to-Software-Engineering.ppt
Introduction-to-Software-Engineering.ppt
DrPreethiD1
 
Process model rup
Process model rupProcess model rup
Process model rup
Aryan Ajmer
 
process models- software engineering
process models- software engineeringprocess models- software engineering
process models- software engineering
Arun Nair
 

Semelhante a A Regression Analysis Approach for Building a Prediction Model for System Testing Defects (20)

A Method for Predicting Defects in System Testing for V-Model
A Method for Predicting Defects in System Testing for V-ModelA Method for Predicting Defects in System Testing for V-Model
A Method for Predicting Defects in System Testing for V-Model
 
Software testing and introduction to quality
Software testing and introduction to qualitySoftware testing and introduction to quality
Software testing and introduction to quality
 
Pressman ch-22-process-and-project-metrics
Pressman ch-22-process-and-project-metricsPressman ch-22-process-and-project-metrics
Pressman ch-22-process-and-project-metrics
 
SE Lecture 2.ppt
SE Lecture 2.pptSE Lecture 2.ppt
SE Lecture 2.ppt
 
Process and Project Metrics-1
Process and Project Metrics-1Process and Project Metrics-1
Process and Project Metrics-1
 
Mt s10 stlc&test_plan
Mt s10 stlc&test_planMt s10 stlc&test_plan
Mt s10 stlc&test_plan
 
Introduction-to-Software-Engineering.ppt
Introduction-to-Software-Engineering.pptIntroduction-to-Software-Engineering.ppt
Introduction-to-Software-Engineering.ppt
 
Introduction-to-Software-Engineering (1).ppt
Introduction-to-Software-Engineering (1).pptIntroduction-to-Software-Engineering (1).ppt
Introduction-to-Software-Engineering (1).ppt
 
Introduction to Software Engineering ppt
Introduction to Software Engineering pptIntroduction to Software Engineering ppt
Introduction to Software Engineering ppt
 
Introduction-to-Software-Engineering (1).ppt
Introduction-to-Software-Engineering (1).pptIntroduction-to-Software-Engineering (1).ppt
Introduction-to-Software-Engineering (1).ppt
 
Introduction-to-Software-Engineering.ppt
Introduction-to-Software-Engineering.pptIntroduction-to-Software-Engineering.ppt
Introduction-to-Software-Engineering.ppt
 
Process model rup
Process model rupProcess model rup
Process model rup
 
Management (IP)
Management (IP)Management (IP)
Management (IP)
 
software Engineering process
software Engineering processsoftware Engineering process
software Engineering process
 
Unit 1.pdf
Unit 1.pdfUnit 1.pdf
Unit 1.pdf
 
Week_02.pptx
Week_02.pptxWeek_02.pptx
Week_02.pptx
 
Unit iv-testing-pune-university-sres-coe
Unit iv-testing-pune-university-sres-coeUnit iv-testing-pune-university-sres-coe
Unit iv-testing-pune-university-sres-coe
 
process models- software engineering
process models- software engineeringprocess models- software engineering
process models- software engineering
 
Mis unit iii by arnav
Mis unit iii by arnavMis unit iii by arnav
Mis unit iii by arnav
 
Softweare Engieering
Softweare Engieering Softweare Engieering
Softweare Engieering
 

Mais de MIMOS Berhad/Open University Malaysia/Universiti Teknologi Malaysia

Mais de MIMOS Berhad/Open University Malaysia/Universiti Teknologi Malaysia (8)

An Alternative of Secured Online Shopping System via Point-Based Contactless ...
An Alternative of Secured Online Shopping System via Point-Based Contactless ...An Alternative of Secured Online Shopping System via Point-Based Contactless ...
An Alternative of Secured Online Shopping System via Point-Based Contactless ...
 
A Proposal of Postgraduate Programme for Software Testing Specialization
A Proposal of Postgraduate Programme for Software Testing SpecializationA Proposal of Postgraduate Programme for Software Testing Specialization
A Proposal of Postgraduate Programme for Software Testing Specialization
 
Performance Testing Strategy for Cloud-Based System using Open Source Testing...
Performance Testing Strategy for Cloud-Based System using Open Source Testing...Performance Testing Strategy for Cloud-Based System using Open Source Testing...
Performance Testing Strategy for Cloud-Based System using Open Source Testing...
 
Performance Testing: Analyzing Differences of Response Time between Performan...
Performance Testing: Analyzing Differences of Response Time between Performan...Performance Testing: Analyzing Differences of Response Time between Performan...
Performance Testing: Analyzing Differences of Response Time between Performan...
 
Adopting Six Sigma Approach in Predicting Functional Defects for System Testing
Adopting Six Sigma Approach in Predicting Functional Defects for System TestingAdopting Six Sigma Approach in Predicting Functional Defects for System Testing
Adopting Six Sigma Approach in Predicting Functional Defects for System Testing
 
Testing Experience Magazine Vol.14 June 2011
Testing Experience Magazine Vol.14 June 2011Testing Experience Magazine Vol.14 June 2011
Testing Experience Magazine Vol.14 June 2011
 
Testing Experience Magazine Vol.12 Dec 2010
Testing Experience Magazine Vol.12 Dec 2010Testing Experience Magazine Vol.12 Dec 2010
Testing Experience Magazine Vol.12 Dec 2010
 
Breaking the Software - A Topic on Software Engineering & Testing
Breaking the Software -  A Topic on Software Engineering & TestingBreaking the Software -  A Topic on Software Engineering & Testing
Breaking the Software - A Topic on Software Engineering & Testing
 

Último

Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
AnaAcapella
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
QucHHunhnh
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
ZurliaSoop
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
heathfieldcps1
 

Último (20)

Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
 
Third Battle of Panipat detailed notes.pptx
Third Battle of Panipat detailed notes.pptxThird Battle of Panipat detailed notes.pptx
Third Battle of Panipat detailed notes.pptx
 
Asian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptxAsian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptx
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Magic bus Group work1and 2 (Team 3).pptx
Magic bus Group work1and 2 (Team 3).pptxMagic bus Group work1and 2 (Team 3).pptx
Magic bus Group work1and 2 (Team 3).pptx
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docx
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docx
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 

A Regression Analysis Approach for Building a Prediction Model for System Testing Defects

  • 1. A Regression Analysis Approach for Building a Prediction Model for System Testing Defects (Paper No: S1-3) Muhammad Dhiauddin bin Mohamed Suffian Faculty of Computer Science & Information System mdhiauddin2@live.utm.my AP Dr. Suhaimi Ibrahim Advanced Informatics School suhaimiibrahim@utm.my
  • 2. Presentation Outline • • • • • Introduction Related Works Research Methodology Findings and Discussion Conclusion and Recommendation
  • 3. Introduction • Defect prediction is very significant to the independent testing team – ensure all potential field defects could be successfully contained within system testing phase – defects could be prevented from escaping to the end-users – achieve the target of zero known post release defects for the software delivered to end-users • Common understanding of defect  forecast defects in software [1][2] • Defect prediction for system testing – predict failures in system testing instead of defects [3] – predict remaining defects in software release as part of test process simulation [4]
  • 4. Introduction (cont.) • Motivation to undertake this research effort: Assigning appropriate number of test engineers across multiple test projects • Re-align test execution to meet deadline • Action plan when actual ≠ prediction • Right test scenarios to capture predicted defects • Better root cause analysis • Decision by management on software release • Stability of whole development process
  • 5. Introduction (cont.) • Objectives: – To analyze existing techniques of building prediction model for system testing defects – To build prediction model for system testing defects using statistical approach – To evaluate the proposed prediction model based on specified acceptance criteria.
  • 6. Related Works • Defect terminology: – any flaw in the system or even in the system’s components could cause the system to malfunction [5] – deviation from its specification: physical software or work products [6] – imperfection in the process as well as work product besides software [7] – defect generated from V & V activities
  • 7. Related Works (cont.) • Approaches to defect prediction: – Term is used interchangeably with defect estimation to describe the proactive process of characterizing defects found in software in producing high quality product [8] – size and complexity metrics: McCabe’s cyclomatic complexity as well as lines of code (LOC) e.g. Defect = 4.86 + 0.018 Lines of Code [6] – categorized into project management, work product assessment and process improvement [7] – used Rayleigh Model to predict defect density at different phases of project life cycle ]9] – combination of product and project metrics via regression analysis [10] – used mathematical distributions as quality prediction model as part of software fault prediction techniques [11] – Used development information as important factor for the prediction and model quality [12] – applying object-oriented metrics for predicting faults in open source software [13] – several inputs can be used to simulate system test phase in SDLC [14] – applied statistical method in Six Sigma to predict defect density [15] – used defect decay model to predict remaining defects in on-going testing process [16]
  • 8. Related Works (cont.) • Issues: – Strength: Easy to use, efficient, effective and able to indicate the process performances; Weakness: need to have sampling, require stable process and does not account for changes [7] – Critiques [6]: • • • • • unknown relationship between defect and failures problems with multivariate statistical approach, problems of using size and complexity metrics as sole predictors of defects problems in statistical methodology and data quality false claims about software decomposition • Measuring the success: – measuring the percent of faults found in the identified files [17] – help in maintenance resource planning as well as software insurance [18]
  • 9. Research Methodology Source of data: ONE applied R&D organization V-shaped process model Metrics from V&V: •requirement review •design review •test plan review •test cases review •code inspection & unit testing •system testing Software type: •Web-based •Componentbased Language: •PHP •.NET •Java
  • 10. Findings and Discussion Prediction of System Testing Defects
  • 11. Findings and Discussion(cont.) Initial data set Initial regression analysis result
  • 12. Findings and Discussion (cont.) Revised data set
  • 14. Findings and Discussion (cont.) Verification result Selected prediction model for initial implementation Functional Defects – = 4.00 - 0.204 Requirement Error - 0.631 Coding Error + 1.90 KLOC – 0.140 Requirement Page + 0.125 Design Page 0.169 Total Test Cases + 0.221Total Effort Days
  • 15. Conclusion and Recommendation • Achievement: – Demonstrated the successful construction of prediction model for system testing defects by applying regression analysis approach – Demonstrated the ability to predict defects for system testing by using metrics in requirement, design and coding phase • Future works: – To predict non-functional defects such as performance, security and usability defects – To predict defects based on severity of defects i.e. critical, major and minor defects – To incorporate more factors in building similar model such as function point, programming languages, and number of classes – To develop software tool that could dynamically generate the latest prediction equation in real time and assist in prediction activity