Metrics. Basili’s work Basili et al., A Validation of Object- Oriented Design Metrics As Quality Indicators, IEEE TSE Vol. 22, No. 10, Oct. 96 Predictors.

Slides:



Advertisements
Similar presentations
Predictors for Student Success in an Online Course Yukselturk, E. & Bulut, S. (2007). Predictors for Student Success in an Online Course. Educational Technology.
Advertisements

1 Vol. 01. p Vol. 01. p Vol. 01. p.20.
1 Vol. 03. p Vol. 03. p Vol. 03. p.21.
1 Vol. 02. p Vol. 02. p Vol. 02. p.19.
1 Vol. 03. p Vol. 03. p Vol. 03. p.16.
1 Vol. 02. p Vol. 02. p Vol. 02. p.30.
1 Vol. 03. p Vol. 03. p Vol. 03. p.35.
1 Vol. 02. p Vol. 02. p Vol. 02. p.10.
Solving Equations: a strategy The mathematics behind solving equations is basic. The hardest part: What do I do first?…
1 Vol. 01. p Vol. 01. p Vol. 01. p.14.
MetriCon 2.0 Correlating Automated Static Analysis Alert Density to Reported Vulnerabilities in Sendmail Michael Gegick, Laurie Williams North Carolina.
1 ECE 453 – CS 447 – SE 465 Software Testing & Quality Assurance Case Studies Instructor Paulo Alencar.
1 Predicting Bugs From History Software Evolution Chapter 4: Predicting Bugs from History T. Zimmermann, N. Nagappan, A Zeller.
20/05/2015Dr Andy Brooks1 MSc Software Maintenance MS Viðhald hugbúnaðar Fyrirlestrar 19 & 20 The Benefits of Design Patterns.
Prediction of fault-proneness at early phase in object-oriented development Toshihiro Kamiya †, Shinji Kusumoto † and Katsuro Inoue †‡ † Osaka University.
Figures – Chapter 24.
Analysis of CK Metrics “Empirical Analysis of Object-Oriented Design Metrics for Predicting High and Low Severity Faults” Yuming Zhou and Hareton Leung,
Design Metrics Software Engineering Fall 2003 Aditya P. Mathur Last update: October 28, 2003.
Empirical Validation of OO Metrics in Two Different Iterative Software Processes Mohammad Alshayeb Information and Computer Science Department King Fahd.
The Conceptual Coupling Metrics for Object-Oriented Systems
Fall 2009ACS-3913 R. McFadyen1 Protected Variations Principle: How do you design so that variations in the future do not have an undesirable affect on.
Code smells, slice-based metrics and plenty of deodorant Code smells, slice-based metrics and plenty of deodorant Steve Counsell Brunel University Alessandro.
Chidamber & Kemerer Suite of Metrics
Software Engineering Laboratory, Department of Computer Science, Graduate School of Information Science and Technology, Osaka University 1 Refactoring.
Japan Advanced Institute of Science and Technology
An Approach to Measure Java Code Quality in Reuse Environment Aline Timóteo Advisor: Silvio Meira UFPE – Federal University of Pernambuco
Connecting in the Facebook Age: Development and Validation of a New Measure of Relationship Maintenance Jessica Vitak College of Information Studies, University.
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.
A Validation of Object-Oriented Design Metrics As Quality Indicators Basili et al. IEEE TSE Vol. 22, No. 10, Oct. 96.
Law of Demeter. What is it: Style Rule for building systems. Proposed by my research group: The Demeter Research Group in 1987, published in Covered.
Scientific Method. My 4 out of 5 Rule If you make an observation.
Research Heaven, West Virginia FY2003 Initiative: Hany Ammar, Mark Shereshevsky, Walid AbdelMoez, Rajesh Gunnalan, and Ahmad Hassan LANE Department of.
An Approach to Measure Java Code Quality in Reuse Environment Master: Aline Timóteo Professor: Silvio Meira UFPE – Federal University.
CSc 461/561 Information Systems Engineering Lecture 5 – Software Metrics.
KUFA UNIVERSITY Department of Computer Science 06/12/2015.
Topic: Research Design Introduction : Any researcher who wants to investigate a research question or test a hypothesis faces some important problems that.
Marković Marko 1062/ of 10.
NanJing University of Posts & Telecommunications Synchronization and Fault Diagnosis of Complex Dynamical Networks Guo-Ping Jiang College of Automation,
Object-Oriented (OO) estimation Martin Vigo Gabriel H. Lozano M.
1 The Distribution of Faults in a Large Industrial Software System Thomas Ostrand Elaine Weyuker AT&T Labs -- Research Florham Park, NJ.
© POSbase 2005 Graphology Graphology is based on the claim that personality traits are expressed in people‘s handwriting. Graphologists often work in personality.
Using Alice.  Alice is visual  Alice is object-oriented (some might say object- based)  Alice eliminates the need to debug syntax errors  Alice introduces.
FORMAL METHOD. Formal Method Formal methods are system design techniques that use rigorously specified mathematical models to build software and hardware.
Testing OO Software Encapsulation means modeling and storing with an object the parts and the operations. Interactions become implicit in code. Makes difficult.
1 740f02classsize18 The Confounding Effect of Class Size on the Validity of Object- Oriented Metrics Khaled El Eman, etal IEEE TOSE July 01.
The Law of Demeter For Operating System Course. Motivation Several programs were written in bad style Are difficult to maintain There is a simple remedy.
1 The Law of Demeter By Rick Mercer with help from Object-Oriented Design Heuristics, Arthur Riel Addison-Wesley, 1996, ISBN X and Applying.
Application of the CRA Method Application of the CRA Method William A. Gallus, Jr. Iowa State University Beth Ebert Center for Australian Weather and Climate.
Design Metrics CS 406 Software Engineering I Fall 2001 Aditya P. Mathur Last update: October 23, 2001.
Architecting Complexity HOW UNDERSTANDING COMPLEXITY PROMOTES SIMPLICITY.
Rick Selby Software Products, Northrop Grumman & Adjunct Faculty, University of Southern California Los Angeles, CA Candidate member Main empirical research.
Course Notes Set 12: Object-Oriented Metrics
© The Author(s) Published by Science and Education Publishing.
Science Experiment Title
Object-Oriented Metrics
Design Metrics Software Engineering Fall 2003
Design Metrics Software Engineering Fall 2003
Using local variable without initialization is an error.
Software Engineering Experimentation
2018 TA Orientation Workshop - Guiding Questions for Reflection
Predicting Fault-Prone Modules Based on Metrics Transitions
AP/DJ AP: a generic technology
Classes & Objects – Revisited…
© The Author(s) Published by Science and Education Publishing.
Hairpin & reporter systems.
Understanding r-squared: A single point simplification
Law of Demeter (LoD) 7/23/2019 LoD
Types of Errors And Error Analysis.
Std. Error of the Estimate
© The Author(s) Published by Science and Education Publishing.
Presentation transcript:

Metrics

Basili’s work Basili et al., A Validation of Object- Oriented Design Metrics As Quality Indicators, IEEE TSE Vol. 22, No. 10, Oct. 96 Predictors of fault-prone classes? 8 medium sized information management systems

Metric CBO metric: coupling between object classes: a class is coupled to another one if it uses its member functions and/or instance variables. CBO = number of classes to which a given class is coupled.

Hypothesis H-CBO: Highly coupled classes are more fault-prone than weakly coupled classes.

Result Indeed, highly coupled classes are more fault-prone than weakly coupled classes. –Corollary: Classes that follow the LoD are less coupled and are therefore less fault-prone.

Demeter Motivation V. Basili 1996: classes with less coupling are less error prone. Demeter reduces the coupling in two stages: –Following the Law of Demeter using standard object-oriented techniques eliminates the obviously bad coupling. –Traversal strategies reduce the coupling further by coupling only with (distant) stable friends.