SOFTWARE METRICS Software Metrics :Roadmap Norman E Fenton and Martin Neil Presented by Santhosh Kumar Grandai.

Slides:



Advertisements
Similar presentations
1 Introducing Bayesian Nets in AgenaRisk An example based on Software Defect Prediction.
Advertisements

Predictor of Customer Perceived Software Quality By Haroon Malik.
On Representing Uncertainty In Some COCOMO Model Family Parameters October 27, 2004 John Gaffney Fellow, Software & Systems.
1. Profile Decision-making and risk assessment under uncertainty Special expertise on software project risk assessment Novel applications of causal models.
Software Quality Ranking: Bringing Order to Software Modules in Testing Fei Xing Michael R. Lyu Ping Guo.
SBSE Course 3. EA applications to SE Analysis Design Implementation Testing Reference: Evolutionary Computing in Search-Based Software Engineering Leo.
An Approach to Evaluate Data Trustworthiness Based on Data Provenance Department of Computer Science Purdue University.
Antony Tang 1, Ann Nicholson 2, Yan Jin 1, Jun Han 1 1 Faculty of ICT, Swinburne University of Technology 2 School of Computer Science and Software Engineering,
Software Measurement: Uncertainty and Causal Modeling Koosha Golmohammadi
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 28 Slide 1 Process Improvement.
Uncertainty Logical approach problem: we do not always know complete truth about the environment Example: Leave(t) = leave for airport t minutes before.
1 Software Testing and Quality Assurance Lecture 14 - Planning for Testing (Chapter 3, A Practical Guide to Testing Object- Oriented Software)
Knowledge Engineering a Bayesian Network for an Ecological Risk Assessment (KEBN-ERA) Owen Woodberry Supervisors: Ann Nicholson Kevin Korb Carmel Pollino.
SOFTWARE PROJECT MANAGEMENT Project Quality Management Dr. Ahmet TÜMAY, PMP.
S Neuendorf 2004 Prediction of Software Defects SASQAG March 2004 by Steve Neuendorf.
1 Prediction of Software Reliability Using Neural Network and Fuzzy Logic Professor David Rine Seminar Notes.
Graphical Causal Models: Determining Causes from Observations William Marsh Risk Assessment and Decision Analysis (RADAR) Computer Science.
SAS 03/ GSFC/SATC-ERAU-DoC Fault Tree Analysis Application for Safety and Reliability Massood Towhidnejad Embry-Riddle University Dolores Wallace & Al.
Cmpe 589 Spring Software Quality Metrics Product  product attributes –Size, complexity, design features, performance, quality level Process  Used.
CPIS 357 Software Quality & Testing
VTT-STUK assessment method for safety evaluation of safety-critical computer based systems - application in BE-SECBS project.
Software System Engineering: A tutorial
SOFTWARE ENGINEERING1 Introduction. Software Software (IEEE): collection of programs, procedures, rules, and associated documentation and data SOFTWARE.
Chapter 6 : Software Metrics
1 Department of Electrical and Computer Engineering University of Virginia Software Quality & Safety Assessment Using Bayesian Belief Networks Joanne Bechta.
University of Sunderland CIFM03Lecture 4 1 Software Measurement and Reliability CIFM03 Lecture 4.
Bayesian Graphical Models for Software Testing David A Wooff, Michael Goldstein, Frank P.A. Coolen Presented By Scott Young.
Software Project Management With Usage of Metrics Candaş BOZKURT - Tekin MENTEŞ Delta Aerospace May 21, 2004.
Software cost estimation Predicting the resources required for a software development process 1.
©Ian Sommerville 2000Software Engineering, 6th edition. Chapter 25 Slide 1 Process Improvement l Understanding, Modelling and Improving the Software Process.
Chapter 19: Quality Models and Measurements  Types of Quality Assessment Models  Data Requirements and Measurement  Comparing Quality Assessment Models.
LOGO Evaluating Quality-in-Use Using Bayesian Networks M.A. Moraga 1, M.F. Bertoa 2, M.C. Morcillo 2, C. Calero 1, A. Vallecillo 2 1 Universidad de Castilla-La.
Renaissance Risk Changing the odds in your favour Risk forecasting & examples.
OHTO -99 SOFTWARE ENGINEERING “SOFTWARE PRODUCT QUALITY” Today: - Software quality - Quality Components - ”Good” software properties.
Software Engineering 2 Software Testing Claire Lohr pp 413 Presented By: Feras Batarseh.
Lecture on Bayesian Belief Networks (Basics) Patrycja Gradowska Open Risk Assessment Workshop Kuopio, 2009.
Chapter 3: Software Project Management Metrics
BSBPMG504A Manage Project Costs 7.1 Estimate Costs Adapted from PMBOK 4 th Edition InitiationPlanning ExecutionClose Monitor Control The process of developing.
Uncertainty Management in Rule-based Expert Systems
©Ian Sommerville 2000Software Engineering, 7th edition. Chapter 26Slide 1 Software cost estimation l Predicting the resources required for a software development.
SOFTWARE PROCESS AND PROJECT METRICS. Topic Covered  Metrics in the process and project domains  Process, project and measurement  Process Metrics.
1 Research activities E. Nikolaidis B. Ramaswamy B. Dheenadayalan A. Keerti S. Mathew P. Soundappan D. Tiwary Vibration and Reliability Lab Friday, April.
Project Management. Introduction  Project management process goes alongside the system development process Process management process made up of three.
Using Bayesian Nets to Predict Software Defects in Arbitrary Software Lifecycles Martin Neil Agena Ltd London, UK Web:
Making knowledge work harder Process Improvement.
Slide 1 SPIN 23 February 2006 Norman Fenton Agena Ltd and Queen Mary University of London Improved Software Defect Prediction.
Decision Tree Algorithms Rule Based Suitable for automatic generation.
Software Measurement: A Necessary Scientific Basis By Norman Fenton Presented by Siv Hilde Houmb Friday 1 November.
Probabilistic Risk Assessment and Conceptual Design Bryan C Fuqua – SAIC Diana DeMott – SAIC
Using Bayesian Belief Networks in Assessing Software Architectures Jilles van Gurp & Jan Bosch.
CHAPTER 7 Apply Phase. What is Application? The application of the theory to the problem, phenomenon or issue in the world of practice.
SOFTWARE PROJECT MANAGEMENT
Modeling of Core Protection Calculator System Software February 28, 2005 Kim, Sung Ho Kim, Sung Ho.
Tool Support for Testing Classify different types of test tools according to their purpose Explain the benefits of using test tools.
Managing Qualitative Knowledge in Software Architecture Assesment Jilles van Gurp & Jan Bosch Högskolan Karlskrona/Ronneby in Sweden Department of Software.
CS223: Software Engineering Lecture 25: Software Testing.
Testing Integral part of the software development process.
United Nations Statistics Division Overview of handbook on cyclical composite indicators Expert Group Meeting on Short-Term Economic Statistics in Western.
Project management. Software project management ■It is the discipline of planning, organizing and managing resources to bring about the successful completion.
Software Test Metrics When you can measure what you are speaking about and express it in numbers, you know something about it; but when you cannot measure,
EEL5881 Software Engineering
Lecture on Bayesian Belief Networks (Basics)
Fault Tree Analysis Based on Dynamic Uncertain Causality Graph
Product reliability Measuring
د. حنان الداقيز خريف /28/2016 Software Quality Assurance ضمان جودة البرمجيات ITSE421 5 – The components of the SQA.
Software life cycle models
Software metrics.
The Organizational Impacts on Software Quality and Defect Estimation
Metrics for process and Projects
Presentation transcript:

SOFTWARE METRICS Software Metrics :Roadmap Norman E Fenton and Martin Neil Presented by Santhosh Kumar Grandai

OVERVIEW What is Software Metric? About Software Metrics Regression Models Causal Models - Bayesian Belief Net(BBN) Why do we need Causal Model? Conclusion

SOFTWARE METRIC Metrics is Measurement. Various Metrics on various Phases of life cycle model. Purpose – To detect problems early in the software process.

About Software Metrics.. Over 30 years old. Mid 1960’s – LOC used as the basis for measuring Programming productivity and Effort. Has Two Components. 1. Component Concerned with defining the actual measures. 2. Component Concerned with how we collect,manage and use the measures.

About Software Metrics…

About Software Metrics…. External Attributes - Ones interested to know about. Internal Attributes - Control and Measure Directly. To Predict Effort/Cost of development Process. To Predict quality of software products.

About Software Metrics and Regression Models First Key Metric was Lines of code(LOC). Quality Prediction - Defect Density Quality and Effort Quality Effort/Cost Product Size

REGRESSION MODELS Does not support quantitative managerial decision making during software life cycle - No support for risk assessment - No support for risk reduction Misunderstanding between cause and effect. Does not consider causality,uncertainty,evidence.

REGRESSION MODEL An practical Example, - Data on car accidents show that Jan and Feb are the months will fewest fatalities. - An regression model is built from available data. - No causal relationship. - Sensible decision about safest time to drive cannot be made. Month Number Of Fatalities

CAUSAL MODEL An practical Example, Month Weather Conditions Road Conditions Number of Journeys Average Speed Number of fatalities

CAUSAL MODEL In Software Metrics - Dominated by Regression Models. - Need causal Models. Problem complexity size Effort schedule Resource quality Product Quality

CAUSAL MODEL Can give answers to questions - For a specification of this complexity,and given these limited resources,how likely I am achieve a product of suitable quality? - How much can I scale down the resources if I am prepared to put up with a product of specified quality?. Regression models cannot.

Analysis We see that only defect counts are being used in measure of quality. Not true Consider Hypothesis “Suppose you know that a large number of defects are found in a software module prior to release.Is it likely that this module will reveal many defects post-release?.” - Yes, Popularly believed. - Empirical Evidence shows it is an invalid hypothesis.

Analysis

Modules with high pre – release faults had less post-release faults, - The amount of testing must be incorporated into any predictive module of defects. - Operational usage must also be incorporated.

REGRESSION MODELS Regression Models, - cannot consider resourcing constraints. - cannot handle uncertainty. - no cause and effect relationship. Not suitable for risk assessment and reduction.

CAUSAL MODEL Causal models can handle, - Diverse process and product variables. - Genuine cause and effect relationship. - Empirical evidence and expert judgement. - Uncertainty. It covers the crucial concepts missing from the classical regression-based approaches.

BBN Bayesian Belief Nets(BBN) is a type of causal model,which uses Bayesian probability. BBN is a graphical network together with the associated set of probability tables. - Nodes represent Uncertain values. - Causal relationship.

BBN To predict defect counts for software modules.

BBN

For given Input pre-release defects(less than 10) and many post-release(between 30 and 40), Output is ‘very low’ amount of testing was done. Given the Evidence of a variable BBN calculates the Probability of each state.

BBN Absence of BBN for a long time - No proper algorithm. - No software tool. Hugin tool is used.

BBN Used to, - Provide safety or reliability arguments for critical systems. - Provide improved reliability predictions of prototype military vehicles. - Provide predictions of insurance risk and operational risk. Drawback, - cannot be used in decision making in deployment of systems. -lacks political,financial,environmental criteria. - Multi Criteria Decision Aid(MCDA) deals with the above criteria. - Deployment of system – combination of two.

BBN Technology Transfer - Project managers are more likely to use this model for decision – making. - They do not understand the underlying theory. - Provide simple,configurable front ends.

Conclusion Statistical models do not provide decision – support for risk assessment and reduction. Causal models like BBN do provide decision – support for risk assessment and reduction. Organizations that collect basic metrics data and follow defined life-cycles,will be able to apply causal models effectively.

References Software Metrics : Roadmap,Norman E Fenton & Martin Neil,Computer Science Department,Queen Mary and Westfield College,London. BNs.htm

Thank you!!! Questions ?…