1 OO Technical Metrics CIS 375 Bruce R. Maxim UM-Dearborn.

Slides:



Advertisements
Similar presentations
These courseware materials are to be used in conjunction with Software Engineering: A Practitioners Approach, 6/e and are provided with permission by R.S.
Advertisements

Metrics for OO Design Distinct & measurable characteristics of OO design:- Size:-it is defined as – population,volume,length & functionality Population.
Software Metrics for Object Oriented Design
Software Metrics Software Engineering.
Prediction of fault-proneness at early phase in object-oriented development Toshihiro Kamiya †, Shinji Kusumoto † and Katsuro Inoue †‡ † Osaka University.
Figures – Chapter 24.
Metrics for Object Oriented Design Shyam R. Chidamber Chris F. Kemerer Presented by Ambikadevi Damodaran.
Applying and Interpreting Object Oriented Metrics
March 25, R. McFadyen1 Metrics Fan-in/fan-out Lines of code Cyclomatic complexity Comment percentage Length of identifiers Depth of conditional.
Nov R. McFadyen1 Metrics Fan-in/fan-out Lines of code Cyclomatic complexity* Comment percentage Length of identifiers Depth of conditional.
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.
Page 1 Building Reliable Component-based Systems Chapter 7 - Role-Based Component Engineering Chapter 7 Role-Based Component Engineering.
Design Metrics Software Engineering Fall 2003 Aditya P. Mathur Last update: October 28, 2003.
These courseware materials are to be used in conjunction with Software Engineering: A Practitioner’s Approach, 6/e and are provided with permission by.
Object-Oriented Metrics
March R. McFadyen1 Software Metrics Software metrics help evaluate development and testing efforts needed, understandability, maintainability.
1 Complexity metrics  measure certain aspects of the software (lines of code, # of if-statements, depth of nesting, …)  use these numbers as a criterion.
PVK-Ht061 Contents Introduction Requirements Engineering Project Management Software Design Detailed Design and Coding Quality Assurance Maintenance.
Predicting Class Testability using Object-Oriented Metrics M. Bruntink and A. van Deursen Presented by Tom Chappell.
Object Oriented Metrics XP project group – Saskia Schmitz.
1 Object-Oriented Software Engineering CIS 375 Bruce R. Maxim UM-Dearborn.
Metrics.
Software Engineering Laboratory, Department of Computer Science, Graduate School of Information Science and Technology, Osaka University 1 Refactoring.
Object-Oriented Metrics Alex Evans Jonathan Jakse Cole Fleming Matt Keran Michael Ababio.
Japan Advanced Institute of Science and Technology
1 These slides are designed to accompany Software Engineering: A Practitioner’s Approach, 7/e (McGraw-Hill 2009). Slides copyright 2009 by Roger Pressman.
Paradigm Independent Software Complexity Metrics Dr. Zoltán Porkoláb Department of Programming Languages and Compilers Eötvös Loránd University, Faculty.
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.
Software Measurement & Metrics
1. Software Metric- A definition 2. Types of Software metrics 3. Frame work of product metrics 4. Product metrics.
1 Software Engineering: A Practitioner’s Approach, 6/e Chapter 15b: Product Metrics for Software Software Engineering: A Practitioner’s Approach, 6/e Chapter.
Version control – Project repository, version management capability, make facility, issue/bug tracking Change control Configuration audit – compliments.
1 Chapter 15 Product Metrics for Software Software Engineering: A Practitioner’s Approach, 6th edition by Roger S. Pressman.
The CK Metrics Suite. Weighted Methods Per Class b To use this metric, the software engineer must repeat this process n times, where n is the number of.
1 OO Metrics-Sept2001 Principal Components of Orthogonal Object-Oriented Metrics Victor Laing SRS Information Services Software Assurance Technology Center.
The CK Metrics Suite. Weighted Methods Per Class b To use this metric, the software engineer must repeat this process n times, where n is the number of.
SOFTWARE PROCESS AND PROJECT METRICS
Concepts of Software Quality Yonglei Tao 1. Software Quality Attributes  Reliability  correctness, completeness, consistency, robustness  Testability.
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.
1 Metrics and lessons learned for OO projects Kan Ch 12 Steve Chenoweth, RHIT Above – New chapter, same Halstead. He also predicted various other project.
An Automatic Software Quality Measurement System.
CSc 461/561 Information Systems Engineering Lecture 5 – Software Metrics.
Measurement and quality assessment Framework for product metrics – Measure, measurement, and metrics – Formulation, collection, analysis, interpretation,
740f02measure17 1 An Evaluation of the MOOD Set of Object-Oriented Software Metrics Harrison, Counsell and Nithi IEEE Trans on Soft Eng June 1998.
Object-Oriented (OO) estimation Martin Vigo Gabriel H. Lozano M.
Ontology Support for Abstraction Layer Modularization Hyun Cho, Jeff Gray Department of Computer Science University of Alabama
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.
These courseware materials are to be used in conjunction with Software Engineering: A Practitioner’s Approach, 6/e and are provided with permission by.
Object Oriented Metrics
Chapter : 23 Product Metrics. A Framework For Product Metrics Measure, Metric, And Indicator A measure provides an indication of the extent, amount, dimension,
Software Engineering Lecture 19: Object-Oriented Testing & Technical Metrics.
Software Engineering Object Oriented Metrics. Objectives 1.To describe the distinguishing characteristics of Object-Oriented Metrics. 2.To introduce metrics.
OBJECT-ORIENTED DESIGN JEAN SIMILIEN. WHAT IS OBJECT-ORIENTED DESIGN? Object-oriented design is the process of planning a system of interacting objects.
Programming Techniques Lecture 13 Product Metrics Based on: Software Engineering, A Practitioner’s Approach, 6/e, R.S. Pressman Software Engineering Fall.
Design Metrics CS 406 Software Engineering I Fall 2001 Aditya P. Mathur Last update: October 23, 2001.
Object Oriented Metrics
A Hierarchical Model for Object-Oriented Design Quality Assessment
Course Notes Set 12: Object-Oriented Metrics
Design Characteristics and Metrics
Towards a Multi-paradigm Complexity Measure
Object-Oriented Metrics
CS427: Software Engineering I
Design Metrics Software Engineering Fall 2003
Chapter 30 Product Metrics
Design Metrics Software Engineering Fall 2003
Mei-Huei Tang October 25, 2000 Computer Science Department SUNY Albany
Software Metrics SAD ::: Fall 2015 Sabbir Muhammad Saleh.
Software Engineering: A Practitioner’s Approach, 6/e Chapter 15 Product Metrics for Software copyright © 1996, 2001, 2005 R.S. Pressman & Associates,
Chapter 8: Design: Characteristics and Metrics
Presentation transcript:

1 OO Technical Metrics CIS 375 Bruce R. Maxim UM-Dearborn

2 Goals for Using OO Metrics To better understand product quality To assess process effectiveness To improve quality of the work performed at the project level

3 OO Metric Characteristics - 1 Localization –OO metrics need to apply to the class as a whole and should reflect the manner in which classes collaborate with one another Encapsulation –OO metrics chosen need to reflect the fact that class responsibilities, attributes, and operations are bound as a single unit Information hiding –OO metrics should provide an indication of the degree to which information hiding has been achieved

4 OO Metric Characteristics - 2 Inheritance –OO metrics should reflect the degree to which reuse of existing classes has been achieved Abstraction –OO metrics represent abstractions in terms of measures of a class (e.g. number of instances per class per application)

5 OOD Model Metrics - 1 Size –population, volume, length, functionality Complexity –how classes interrelate to one another Coupling –physical connections between design elements Sufficiency –how well design components reflect all properties of the problem domain

6 OOD Model Metrics - 2 Completeness –coverage of all parts of problem domain Cohesion –manner in which all operations work together Primitiveness –degree attributes and operations are atomic Similarity –degree of similarity between two or more classes Volatility –likelihood a design component will change

7 Class-Oriented Metrics - 1 Chidamber and Kemerer (CK) Metrics Suite –weighted metrics per class (WMC) –depth of inheritance tree (DIT) –number of children (NOC) –coupling between object classes (CBO) –response for a class(RFC) –lack of cohesion in methods (LCOM)

8 Class-Oriented Metrics - 2 Lorenz and Kidd –class size (CS) –number of operations overridden by a subclass (NOO) –number of operations added by a subclass (NOA) –specialization index (SI)

9 Class-Oriented Metrics - 3 Harrison, Counsel, and Nithi (MOOD) Metrics Suite –method inheritance factor (MIF) –coupling factor (CF) –polymorphism factor (PF)

10 Operation-Oriented Metrics Average operation size (OSavg) Operation complexity (OC) Average number of parameters per operation (NPavg)

11 OO Test Metrics - 1 Encapsulation –lack of cohesion in methods (LCOM) –percent public and protected (PAP) –public access to data members(PAD) Inheritance –number of root classes (NOR) –fan in (FIN) –number of children (NOC) –depth of inheritance tree (DIT)

12 OO Test Metrics - 2 Class complexity –weighted metrics per class(WMC) –coupling between object classes (CBO) –response for a class (RFC)

13 OO Product Metrics Number of scenario scripts (NSS) Number of key classes (NKC) Number of subsystems(NSUB)