Top Banner
A Method for Predicting Defects in System Testing for V-Model (Paper ID: 37) Muhammad Dhiauddin bin Mohamed Suffian Faculty of Computer Science & Information System [email protected] AP Dr. Suhaimi bin Ibrahim Advanced Informatics School [email protected] PARIS 2012
14

A Method for Predicting Defects in System Testing for V-Model

Dec 05, 2014

Download

Education

Paper presented during 2nd Postgraduate Annual Research in Informatics Seminar 2012 (PARIS2012)
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: A Method for Predicting Defects in System Testing for V-Model

A Method for Predicting Defects in System Testing for V-Model

(Paper ID: 37)

Muhammad Dhiauddin bin Mohamed SuffianFaculty of Computer Science & Information System

[email protected]

AP Dr. Suhaimi bin IbrahimAdvanced Informatics School

[email protected]

PARIS 2012

Page 2: A Method for Predicting Defects in System Testing for V-Model

Presentation Outline

• Introduction• Related Work• Findings and Discussion• Case Study• Conclusion and Recommendation

Page 3: A Method for Predicting Defects in System Testing for V-Model

Introduction• V-model emphasizes on early testing activities:

– rigor verification and validation activities throughout the phases: reviews, inspection, unit testing, integration testing and system testing

• System testing is important in V-model:– Carried out by independent team– Ensure that all defects are discovered within the phase – Validate that the software or system under test meets the specification

• Independent testing team faces challenges in completing test– Meeting the deadline to ensure on-time release– Finding as many defects as possible

ProblemProblem

• There is a need to have early indicator of total defects to be found in system testing There is a need to have early indicator of total defects to be found in system testing before it startsbefore it starts• Systematic method needs to be developed for predicting defects in system testing Systematic method needs to be developed for predicting defects in system testing using metrics from prior phases (development-related + testing-related activities) using metrics from prior phases (development-related + testing-related activities)

Page 4: A Method for Predicting Defects in System Testing for V-Model

Introduction (cont.)• How does prediction help independent testing team?

Page 5: A Method for Predicting Defects in System Testing for V-Model

Related Work

Page 6: A Method for Predicting Defects in System Testing for V-Model

Findings and Discussion

Page 7: A Method for Predicting Defects in System Testing for V-Model

Findings and Discussion(cont.)

Page 8: A Method for Predicting Defects in System Testing for V-Model

Findings and Discussion(cont.)

Page 9: A Method for Predicting Defects in System Testing for V-Model

Findings and Discussion(cont.)

Page 10: A Method for Predicting Defects in System Testing for V-Model

Case StudyData set for regression analysis

Metrics

• Number of requirement pages• Number of design pages• Code size in a form of lines of code• Total test cases• Total effort in test case design• Total effort in phases prior to system testing• Requirement error• Design error• Code error• Test cases error• Total defects logged in a form of all defects and functional defects

Page 11: A Method for Predicting Defects in System Testing for V-Model

Case Study (cont.)

Page 12: A Method for Predicting Defects in System Testing for V-Model

Case Study (cont.)Verification result

Functional Defects Functional Defects = 4.00 - 0.204 Requirement Error - 0.631 Coding = 4.00 - 0.204 Requirement Error - 0.631 Coding Error + 1.90 KLOC – 0.140 Requirement Page + Error + 1.90 KLOC – 0.140 Requirement Page +

0.125 Design Page – 0.169 Total Test Cases + 0.125 Design Page – 0.169 Total Test Cases + 0.221Total Effort Days 0.221Total Effort Days

Selected equation

Page 13: A Method for Predicting Defects in System Testing for V-Model

Conclusion and Recommendation• Achievement:

– The proposed method provides systematic way towards predicting defects for system testing in V-model by using prior phases’ metrics.

– Statistical analysis used serves as the powerful tool to measure how good the method is in determining the accuracy of the prediction

– Having maximum and minimum range for predicting defects allows independent testing team to have a control plan on what to do should the prediction does not fall within the specified range

• Future works:– More metrics are taken into consideration to construct the prediction,

particularly product-related metrics.– Future prediction could also forecast non-functional defects as well as defects

based on severity. – Having specific prediction for different types of software which makes it more

practical and useful.

Page 14: A Method for Predicting Defects in System Testing for V-Model

THANK YOU