Software Engineering Metrics for specification Quality Metrics are used to access the quality of the analysis model n r =n f +n nf WHERE n r= Total No.

Slides:



Advertisements
Similar presentations
Introducing Formal Methods, Module 1, Version 1.1, Oct., Formal Specification and Analytical Verification L 5.
Advertisements

DETAILED DESIGN, IMPLEMENTATIONA AND TESTING Instructor: Dr. Hany H. Ammar Dept. of Computer Science and Electrical Engineering, WVU.
Testing and Test Case Development A “primitive” method of testing, with NO test preparation, may include the following steps : – Initiate the system –
Software Metrics Software Engineering.
CMSC 345, Version 11/07 SD Vick from S. Mitchell Software Testing.
Detailed Design Kenneth M. Anderson Lecture 21
SIM5102 SOFTWARE EVALUATION
Software Metrics II Speaker: Jerry Gao Ph.D. San Jose State University URL: Sept., 2001.
2 -1 Analysis of algorithms Best case: easiest Worst case Average case: hardest.
Ch3: Software Engineering Principles 1 What is a principle?  Definition:  Goals of accounting principles:  Goals of software engineering principles?
Object-Oriented Metrics
1 These courseware materials are to be used in conjunction with Software Engineering: A Practitioner’s Approach, 5/e and are provided with permission by.
Technical Metrics for Software Chapter 18. Chapter Assistance -- Michael Jager January 9, Chapter Outline D Software Quality D A Framework.
RESOURCE MEASUREMENT: PRODUCTIVITY, TEAMS AND TOOLS.
C++ for Engineers and Scientists Third Edition
Software Metrics.
Chapter 10: Architectural Design
Testing Dr. Andrew Wallace PhD BEng(hons) EurIng
Cyclomatic Complexity Dan Fleck Fall 2009 Dan Fleck Fall 2009.
Chapter 15 Software Product Metrics
©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 20 Slide 1 Defect testing l Testing programs to establish the presence of system defects.
1 Software Quality CIS 375 Bruce R. Maxim UM-Dearborn.
1 Software testing. 2 Testing Objectives Testing is a process of executing a program with the intent of finding an error. A good test case is in that.
Software Measurement & Metrics
1. Software Metric- A definition 2. Types of Software metrics 3. Frame work of product metrics 4. Product metrics.
1 Chapter 4: Selection Structures. In this chapter, you will learn about: – Selection criteria – The if-else statement – Nested if statements – The switch.
1 Software Engineering: A Practitioner’s Approach, 6/e Chapter 15b: Product Metrics for Software Software Engineering: A Practitioner’s Approach, 6/e Chapter.
Product Metrics An overview. What are metrics? “ A quantitative measure of the degree to which a system, component, or process possesses a given attribute.”
Version control – Project repository, version management capability, make facility, issue/bug tracking Change control Configuration audit – compliments.
1Software Measurement Advanced Software Engineering COM360 University of Sunderland © 2001.
Agenda Introduction Overview of White-box testing Basis path testing
The Lower Bounds of Problems
Software Quality Metrics
1 SYSC Software Project Management: Software Quality1 Software Quality & Metrics Software Quality & Metrics Sources: 1.Roger S. Pressman, Software.
A Study of Balanced Search Trees: Brainstorming a New Balanced Search Tree Anthony Kim, 2005 Computer Systems Research.
Enabling Reuse-Based Software Development of Large-Scale Systems IEEE Transactions on Software Engineering, Volume 31, Issue 6, June 2005 Richard W. Selby,
SOFTWARE DESIGN. INTRODUCTION There are 3 distinct types of activities in design 1.External design 2.Architectural design 3.Detailed design Architectural.
Measurement and quality assessment Framework for product metrics – Measure, measurement, and metrics – Formulation, collection, analysis, interpretation,
1 These courseware materials are to be used in conjunction with Software Engineering: A Practitioner’s Approach, 5/e and are provided with permission by.
Theory and Practice of Software Testing
1 AASHTOWare Bridge Design Tool AASHTOWare Bridge Rating/Design User Group Training Meeting Virginia Beach – August 2013.
White Box Testing by : Andika Bayu H.
CS223: Software Engineering Lecture 21: Unit Testing Metric.
1 Week 7 Software Engineering Spring Term 2016 Marymount University School of Business Administration Professor Suydam.
A Framework for Nuclear Software (NuFA)
Metrics for Specification Quality
Software Metrics 1.
Design Characteristics and Metrics
Software Engineering (CSI 321)
Lecture 15: Technical Metrics
DATA STRUCTURES AND OBJECT ORIENTED PROGRAMMING IN C++
Software Engineering Design
Object-Oriented Metrics
Data Coverage and Code Coverage
White Box Testing.
Data Structures Recursion CIS265/506: Chapter 06 - Recursion.
Design Metrics Software Engineering Fall 2003
Design Metrics Software Engineering Fall 2003
Lecture 17 Software Metrics
Information flow-Test coverage measure
Chapter 14 Software Testing Techniques
Halstead software science measures and other metrics for source code
Different Levels of Testing
Activity: Prime Path Coverage CS 4501 / 6501 Software Testing
Presented by Trey Brumley and Ryan Carter
Chapter 19 Technical Metrics for Software
Exam 1 review CS 360 Lecture 20.
Software Metrics SAD ::: Fall 2015 Sabbir Muhammad Saleh.
Chapter 8: Overview Comparison sorts: algorithms that sort sequences by comparing the value of elements Prove that the number of comparison required to.
Chapter 8: Design: Characteristics and Metrics
Presentation transcript:

Software Engineering Metrics for specification Quality Metrics are used to access the quality of the analysis model n r =n f +n nf WHERE n r= Total No of requirements n f= Total Functional requirements n nf= Total Non functional requirements

Software Engineering To determine the lack of ambiguity of requirements we have Q 1 =n ui /n r where n ui= total no of requirements which are agreed upon n r= Total No of requirements The closer the value to 1, the lower the ambiguity of the specification

Software Engineering Completeness of requirements Q 2 = n u /(n i *n s ) WHERE n u= Is the no of unique functional requirements same as functional requirements n i= No of inputs n s= No of states It ignores non functional requirements

Software Engineering Completeness Q 3 = n c /(n c +n nv ) Where n c= No of requirements that have been validated same as n ui n nv= No of requirements that have not been validated

Software Engineering High level design matrices These metrics focus on the characteristics of the program architecture with the emphasis on the architectural structure and the effectiveness of the module Structural Complexity S(i)= f 2 out (i)

Software Engineering Data Complexity D(i)= v(i)/[f out (i) +1] Where V(I)= No of inputs and outputs variables that are passed to and from module

Software Engineering System complexity C(i)= S(i)+D(i) As each of these complexities increase the over all architectural complexities of the system increases. So that integration and testing also increase

Software Engineering Another complexity metric HMK= length(i)* [f in (i)+f out (i)] 2 Where Length(i) is the of programming language statements in module i

Software Engineering Fenton suggests a number of simple shape metrics that enable different programs architecture to be compared size= n+a Where n= is the no. of nodes a= no. of arcs depth= The longest path from the root node to the leaf node Width= Maximum no of nodes at any level Arc to node ratio r=a/n