Research Heaven, West Virginia FY2003 Initiative: Hany Ammar, Mark Shereshevsky, Walid AbdelMoez, Rajesh Gunnalan, and Ahmad Hassan LANE Department of.

Slides:



Advertisements
Similar presentations
DETAILED DESIGN, IMPLEMENTATIONA AND TESTING Instructor: Dr. Hany H. Ammar Dept. of Computer Science and Electrical Engineering, WVU.
Advertisements

Reasoning about human error with interactive systems based on formal models of behaviour Paul Curzon Queen Mary, University of London Paul Curzon Queen.
1 ECE 453 – CS 447 – SE 465 Software Testing & Quality Assurance Case Studies Instructor Paulo Alencar.
Analysis of CK Metrics “Empirical Analysis of Object-Oriented Design Metrics for Predicting High and Low Severity Faults” Yuming Zhou and Hareton Leung,
1 SWE Introduction to Software Engineering Lecture 25 – Object-Oriented Design (Chapter 14)
Software Engineering I Object-Oriented Design
Modeling State-Dependent Objects Using Colored Petri Nets
Software Fault Injection Kalynnda Berens Science Applications International Corporation NASA Glenn Research Center.
1 A Student Guide to Object- Orientated Development Chapter 9 Design.
Correlation and Regression Analysis
Methodology for Architectural Level Reliability Risk Analysis Lalitha Krothapalli CSC 532.
UML Diagrams: Sequence Diagrams The Requirements Model, and The Dynamic Analysis Model Instructor: Dr. Hany H. Ammar Dept. of Computer Science and Electrical.
Basic Concepts The Unified Modeling Language (UML) SYSC System Analysis and Design.
Copyright Critical Software S.A All Rights Reserved. VAL-COTS Validation of Real Time COTS Products Ricardo Barbosa, Henrique Madeira, Nuno.
Software Architecture Risk Assessment (SARA) Tool Khader Basha Shaik Problem Report Defense Master of Science in Computer Science Lane Department of Computer.
1 NASA OSMA SAS02 Software Reliability Modeling: Traditional and Non-Parametric Dolores R. Wallace Victor Laing SRS Information Services Software Assurance.
1 Refining Reliability Estimation of Mobile Software Systems The International Workshop on Software Architectures and Mobility, ICSE-SAM 2008, Leipzig,
CS527: (Advanced) Topics in Software Engineering Overview of Software Quality Assurance Tao Xie ©D. Marinov, T. Xie.
Software Faults and Fault Injection Models --Raviteja Varanasi.
SAS 03/ GSFC/SATC-ERAU-DoC Fault Tree Analysis Application for Safety and Reliability Massood Towhidnejad Embry-Riddle University Dolores Wallace & Al.
Research Heaven, West Virginia Verification and Validation of Adaptive Systems Online Failure Detection and Identification for IFCS through Statistical.
1SAS 03/ GSFC/SATC- NSWC-DD System and Software Reliability Dolores R. Wallace SRS Technologies Software Assurance Technology Center
IV&V Facility 1 FY2002 Initiative: Software Architecture Metrics Hany Ammar, Mark Shereshevsky, Nicholay Gradetsky, Diaa Eldin Nassar, Walid AbdelMoez,
8:15 AM Tuesday September 15, 2009 Karl Frank, Point of Contact for Constellation Projects Establishing IV&V Expectations Diagrams for illustrative purposes.
University of Coimbra, DEI-CISUC
Software Architecture Metrics Hany Ammar, Mark Shereshevsky, Ali Mili, Walid Rabie and Nicholay Gradetsky Lane Department of Computer Science & Electrical.
Research Heaven, West Virginia 1 FY 2004 Initiative: Risk Assessment of Software Architectures Hany Ammar, Katerina Goseva-Popstojanova, Ajith Guedem,
Evaluation of software engineering. Software engineering research : Research in SE aims to achieve two main goals: 1) To increase the knowledge about.
Chapter 8 Introduction to Hypothesis Testing
IV&V Facility PI: Katerina Goseva – Popstojanova Students: Sunil Kamavaram & Olaolu Adekunle Lane Department of Computer Science and Electrical Engineering.
NASA Software Productivity Consortium Affiliation NASA Office of Safety and Mission Assurance Software Assurance Symposium September 5, 2001 Cynthia Calhoun.
Research Heaven, West Virginia A Compositional Approach for Validation of Formal Models Bojan Cukic, Dejan Desovski West Virginia University NASA OSMA.
AMA INTERNATIONAL UNIVERSITY BHARAIN SOFTWARE ENGINEERING PROJECT - SBI 302 SOFTWARE ENGINEERING PROJECT - SBI 302A SOFTWARE ENGINEERING PROJECT - SBI.
UML Diagrams: Sequence Diagrams The Requirements Model, and The Dynamic Analysis Model Instructor: Dr. Hany H. Ammar Dept. of Computer Science and Electrical.
Research Heaven, West Virginia 1 FY 2003 Initiative: IV&V of UML Hany Ammar, Katerina Goseva-Popstojanova, V. Cortelessa, Ajith Guedem, Kalaivani Appukutty,
Software Safety Risk Evaluation Process Yorick Bouma, , Group III.
The Examination of Residuals. Examination of Residuals The fitting of models to data is done using an iterative approach. The first step is to fit a simple.
1 OO Metrics-Sept2001 Principal Components of Orthogonal Object-Oriented Metrics Victor Laing SRS Information Services Software Assurance Technology Center.
West Virginia University Towards Practical Software Reliability Assessment for IV&V Projects B. Cukic, E. Gunel, H. Singh, V. Cortellessa Department of.
Coverage Criteria for Testing of Object Interactions in Sequence Diagrams Atanas (Nasko) Rountev Scott Kagan Jason Sawin Ohio State University.
Chapter 13: Regression Testing Omar Meqdadi SE 3860 Lecture 13 Department of Computer Science and Software Engineering University of Wisconsin-Platteville.
IV&V Facility 1 FY 2002 Initiative IV&V of UML Hany Ammar, Katerina Goseva-Popstojanova, V. Cortelessa, Ajith Guedem, Diaa Eldin Nassar, Walid AbdelMoez,
UML diagrams What is UML UML diagrams –Static modeoing –Dynamic modeling 1.
MSE Presentation 1 By Padmaja Havaldar- Graduate Student Under the guidance of Dr. Daniel Andresen – Major Advisor Dr. Scott Deloach-Committee Member Dr.
1 West Virginia University FY2001 University SOFTWARE INITIATIVE PROPOSAL for the NASA SOFTWARE IV&V FACILITY Initiative Title: Verification & Validation.
West Virginia University Architectural-Level Risk Analysis for UML Dynamic Specifications Dr. Sherif M. Yacoub Hewlett-Packard Laboratories.
Dr.Basem Alkazemi
Research Heaven, West Virginia 1 FY 2004 Initiative: Risk Assessment of Software Architectures Hany Ammar, Katerina Goseva-Popstojanova, Ajith Guedem,
Software Architecture Risk Assessment (SARA) Tool Khader Shaik, Wallid Abdelmoez, Dr. Hanny Ammar Lane Department of Computer Science and Electrical Engineering,
Software Engineering Emphasis for Engineering Computing Courses William Hankley Computing & Information Sciences Kansas State University.
Experimentation in Computer Science (Part 2). Experimentation in Software Engineering --- Outline  Empirical Strategies  Measurement  Experiment Process.
©2007 · Georges Merx and Ronald J. NormanSlide 1 Chapter 15 The Unified Modeling Language: a Primer.
1 Technical & Business Writing (ENG-715) Muhammad Bilal Bashir UIIT, Rawalpindi.
Regression Analysis. 1. To comprehend the nature of correlation analysis. 2. To understand bivariate regression analysis. 3. To become aware of the coefficient.
West Virginia University Sherif Yacoub, Hany H. Ammar, and Ali Mili A UML Model for Analyzing Software Quality Sherif Yacoub, Hany H. Ammar, and Ali Mili.
Object-Oriented (OO) estimation Martin Vigo Gabriel H. Lozano M.
04 - OOD Intro.CSC4071 Software Design ‘Requirements’ defines –The goals the system needs to satisfy. ‘Specification’ defines –The externally-observable.
Design and implementation Chapter 7 – Lecture 1. Design and implementation Software design and implementation is the stage in the software engineering.
“The Role of Experience in Software Testing Practice” A Review of the Article by Armin Beer and Rudolf Ramler By Jason Gero COMP 587 Prof. Lingard Spring.
UML Diagrams By Daniel Damaris Novarianto S..
Achieving High Software Reliability
Instructor: Dr. Hany H. Ammar
University of Central Florida COP 3330 Object Oriented Programming
UML Diagrams Jung Woo.
Software Risk Assessment based on UML models
Behavioral Models for Software Development
Software Engineering Experimentation
Software Architecture Risk Assessment (SARA) Tool
Introduction to Pattern Oriented Analysis and Design (POAD)
Methodology for Architectural Level Reliability Risk Analysis
Presentation transcript:

Research Heaven, West Virginia FY2003 Initiative: Hany Ammar, Mark Shereshevsky, Walid AbdelMoez, Rajesh Gunnalan, and Ahmad Hassan LANE Department of Computer Science and Electrical Engineering West Virginia University The OSMA Software Assurance Symposium July 30, 2003 Lakeview, WV WVU UI: WVU UI: Quantitative Relations Between Static and Dynamic Software Metrics

Research Heaven, West Virginia NASA OSMA SAS’03 2 Two main views of software systems:  The static view of the structure and composition,  The dynamic view during execution Static and dynamic properties of software have been widely studied in the literature.

Research Heaven, West Virginia NASA OSMA SAS’03 3 So how good is static analysis? IV&V testing is mostly focused of static analysis –Software rarely executed at Fairmont. Why? –NASA software supports NASA hardware –So, some software can’t run without its associated hardware Traditional view: –Dynamic execution more informative than static analysis This research: –To what extent are static measure surrogate for dynamic measures? –Compare insights gained from static and dynamic measures

Research Heaven, West Virginia NASA OSMA SAS’03 4 This talk Propose three hypotheses of possible correlations between selected static and dynamic metrics –Hypothesis I: Static coupling metrics correlate with error propagation in software architectures. –Hypothesis II: Static error propagation correlates with dynamic error propagation –Hypothesis III: Change proneness” correlates with dynamic coupling of components Experiments to measure –static metrics –dynamic metrics –for selected case studies Statistical analysis of the data: –computing correlations –developing linear or non-linear regression models. In summary: –Hypothesis I: not quite supported –Hypothesis II: supported –Hypothesis III: rejected

Research Heaven, West Virginia NASA OSMA SAS’03 5 Project Overview FY03 Conduct empirical study of the relationship between the static and dynamic metrics. Measure Static Metrics Measure related Dynamic Metrics Conduct statistical Analysis of the Data FY04 Establish Relationships between Static and Dynamic Metrics

Research Heaven, West Virginia Tools

Research Heaven, West Virginia NASA OSMA SAS’03 7 Tools for Static Metrics We can automatically collect several static metrics (OO metrics,Complexity metrics and Size/Volume metrics). We are currently using Understand for Java and C++ by Scientific Toolworks for collecting static metrics.

Research Heaven, West Virginia NASA OSMA SAS’03 8 Tools for Dynamic Metrics Rational Rose-Realtime simulation facility is used to simulate UML models At the code level, Rational Purifyplus produces dynamic sequence diagrams at run-time JProbe profiler by Quest Software serves a similar purpose for Java code but does not produce sequence diagrams.

Research Heaven, West Virginia Hypothesis I Static coupling metrics correlate with error propagation in software architectures.

Research Heaven, West Virginia NASA OSMA SAS’03 10 Study of Static Coupling Metrics and Error Propagation Correlate the experimental data on –error propagation –static information coupling (connector based). Correlate: –experimental error propagation –and static NAS (number of associations) coupling measure (connector Based). Correlate: –experimental error propagation –and CBO (connector based).

Research Heaven, West Virginia NASA OSMA SAS’03 11

Research Heaven, West Virginia NASA OSMA SAS’03 12 Table Highlighting Non-zero Values Information Flow Vs Ep

Research Heaven, West Virginia NASA OSMA SAS’03 13 Table Highlighting Non-zero Values CBO Vs Ep

Research Heaven, West Virginia NASA OSMA SAS’03 14 Correlation Values Correlation between Information Flow Coupling and Error Propagation is Correlation between CBO and Error Propagation is Correlation between NAS and Error Propagation is 0.0 The correlations are only for the values where the # fault injections >25.

Research Heaven, West Virginia NASA OSMA SAS’03 15 Discussion of Results Information flow coupling metric shows a higher correlation with dynamic error propagation than CBO. On further analysis the R 2 correlation between Information Flow and EP was This low correlation value could be partly due to the small size of our sample (9 data points) This result is not sufficient to validate the Hypothesis I

Research Heaven, West Virginia Hypothesis II: Static error propagation correlates with dynamic error propagation

Research Heaven, West Virginia NASA OSMA SAS’03 17 Static and Dynamic Error Propagation We will use the experimental data on error propagation and the static error propagation measure(connector Based). The static error propagation measure is based on the relation developed in the software architecture metrics USIP using the information flow between components.

Research Heaven, West Virginia NASA OSMA SAS’03 18 Experimental (Dynamic) Error Propagation Matrix of HCS

Research Heaven, West Virginia NASA OSMA SAS’03 19 Static Error Propagation Matrix of HCS

Research Heaven, West Virginia NASA OSMA SAS’03 20 Correlation Results There is a strong correlation between static error propagation and dynamic error propagation. Correlation = R 2 = This supports Hypothesis II and our conjecture that some static metrics correlate with related dynamic metrics.

Research Heaven, West Virginia Hypothesis III: “Change proneness” correlates with dynamic coupling of components

Research Heaven, West Virginia NASA OSMA SAS’03 22 Change Proneness and Change Propagation Hypothesis III “change proneness correlates with dynamic coupling of components” – from the study of Erik Arisholm June 2002, –Dynamic Coupling Measures for Object-Oriented Software, –Eighth IEEE Symposium on Software Metrics Correlate –dynamic import coupling, –dynamic export coupling metrics –with change proneness measured –based on the software architecture metrics USIP using interface change propagation probabilities.

Research Heaven, West Virginia NASA OSMA SAS’03 23 Dynamic Coupling Metrics The dynamic coupling metrics we focus on are as follows 1.Dynamic Export Coupling 2.Dynamic Import Coupling 3.Total Dynamic Coupling sum of both import and export coupling.

Research Heaven, West Virginia NASA OSMA SAS’03 24 Experiment The experiment was conducted on the SharpTool case study.with 32 components. Dynamic coupling was obtained by counting the object interactions dynamically at run time. During the run all functionalities of the tool were executed.

Research Heaven, West Virginia NASA OSMA SAS’03 25 Experiment Results

Research Heaven, West Virginia NASA OSMA SAS’03 26 Discussion of Results Zero correlation between –change proneness –and dynamic coupling. We also computed CBO and found zero correlation between change proneness and CBO This negates Hypothesis III. The study in the paper by Erik Arisholm was done using actual project changes data. In our experiment we used static change proneness data using our interface change propagation probabilities defined in the architecture metrics USIP

Research Heaven, West Virginia

NASA OSMA SAS’03 28 So how good is static analysis? Hypothesis I: Static coupling metrics correlate with error propagation in software architectures. –Not Sure Hypothesis II: Static error propagation correlates with dynamic error propagation –Yes Hypothesis III: Change proneness” correlates with dynamic coupling of components –No And so, what does all this mean? –IV&V can not run code –And still offer value added to NASA systems