Software Design & Evolution. Lecture 04. You cannot control what you cannot measure. Metrics & Problem Detection. Michele Lanza
|
|
- Beverly Palmer
- 6 years ago
- Views:
Transcription
1 Software Design & Evolution Lecture 04 Michele Lanza Metrics & Problem Detection Metrics? Don t trust them Michele Lanza & Radu Marinescu Object-Oriented Metrics in Practice Using Software Metrics to Characterize, Evaluate, and Improve the Design of Object-Oriented Systems Springer, 2006 You cannot control what you cannot measure Galileo Galilei ( )
2 Metrics are functions Metrics are functions that assign numbers to products, processes, and resources Metrics are functions that assign numbers to products, processes, and resources Software metrics are measurements which relate to software systems, processes, or related documents
3 Size Metrics Metrics compress system traits into numbers Let s see some examples.. NOM NOA LOC NOS NOC NOC Number of Methods Number of Attributes Number of Lines of Code Number of Statements Number of Children Number of Classes Chidamber & Kemerer, 1994 Lorenz & Kidd, 1994 Mc Cabe s Cyclomatic Complexity counts the number of independent paths through the code of a function Weighted Method Count (WMC) sums up the complexity of a class methods (measured by the metric of your choice, usually CYCLO) It reveals the minimum number of tests to write Its interpretation does not directly lead to improvement actions It is configurable, thus adaptable to our precise needs Its interpretation does not directly lead to improvement actions Mc Cabe, 1976 Chidamber & Kemerer, 1994
4 Depth of Inheritance Tree (DIT) is the maximum depth level of a class hierarchy Coupling between objects (CBO) shows the number of classes from which methods or attributes are used Inheritance is measured Only the potential, not the real impact is quantified Takes into account real dependencies, not just declared ones No differentiation of types and/or intensity of coupling Chidamber & Kemerer, 1994 Chidamber & Kemerer, 1994 Tight Class Cohesion (TCC) counts the relative number of method pairs that access attributes of the class in common Interpretation can lead to improvement action TCC = 2 / 10 = Ratio values allow comparison between classes and systems Bieman & Kang, 1998
5 Suitability Accurateness Functionality Interoperability Compliance Security Maturity This is the essential Functionality characteristic and refers to the appropriateness (to specification) of the functions of the software. This refers to the correctness of the functions, an ATM may provide a cash dispensing function but is the amount correct? A given software component or system does not typically function in isolation. This subcharacteristic concerns the ability of a software component to interact with other components or systems. Where appropriate certain industry (or government) laws and guidelines need to be complied with, i.e. SOX. This subcharacteristic addresses the compliant capability of software. This subcharacteristic relates to unauthorized access to the software functions. This subcharacteristic concerns frequency of failure of the software. Reliability Fault Tolerance The ability of software to withstand (and recover) from component, or environmental, failure. Recoverability Understandability Ability to bring back a failed system to full operation, including data and network connections. Determines the ease of which the systems functions can be understood, relates to user mental models in Human Computer Interaction methods. Usability Learnability Learning effort for different users, i.e. novice, expert, casual etc. Operability Ability of the software to be easily operated by a given user in a given environment. Efficiency Time behavior Characterizes response times for a given thru put, i.e. transaction rate. Resource behavior Characterizes resources used, i.e. memory, cpu, disk and network usage. Analyzability Changeability Maintainability Stability Testability Adaptability Characterizes the ability to identify the root cause of a failure within the software. Characterizes the amount of effort to change a system. Characterizes the sensitivity to change of a given system that is the negative impact that may be caused by system changes. Characterizes the effort needed to verify (test) a system change. Characterizes the ability of the system to change to new specifications or operating environments. Portability Installability Conformance Replaceability Characterizes the effort required to install the software. Similar to compliance for functionality, but this characteristic relates to portability. One example would be Open SQL conformance which relates to portability of database used. Characterizes the plug and play aspect of software components, that is how easy is it to exchange a given software component within a specified environment. Functionality Suitability Accurateness Interoperability Compliance Security Maturity This is the essential Functionality characteristic and refers to the appropriateness (to specification) of the functions of the software. This refers to the correctness of the functions, an ATM may provide a cash dispensing function but is the amount correct? A given software component or system does not typically function in isolation. This subcharacteristic concerns the ability of a software component to interact with other components or systems. Where appropriate certain industry (or government) laws and guidelines need to be complied with, i.e. SOX. This subcharacteristic addresses the compliant capability of software. This subcharacteristic relates to unauthorized access to the software functions. This subcharacteristic concerns frequency of failure of the software. Reliability Fault Tolerance The ability of software to withstand (and recover) from component, or environmental, failure. Recoverability Understandability Ability to bring back a failed system to full operation, including data and network connections. Determines the ease of which the systems functions can be understood, relates to user mental models in Human Computer Interaction methods. Usability Learnability Learning effort for different users, i.e. novice, expert, casual etc. Efficiency Operability Time behavior Ability of the software to be easily operated by a given user in a given environment. Characterizes response times for a given thru put, i.e. transaction rate. Resource behavior Characterizes resources used, i.e. memory, cpu, disk and network usage. Analyzability Changeability Maintainability Stability Testability Characterizes the ability to identify the root cause of a failure within the software. Characterizes the amount of effort to change a system. Characterizes the sensitivity to change of a given system that is the negative impact that may be caused by system changes. Characterizes the effort needed to verify (test) a system change. Analyzability Changeability Stability ISO Maintainability Characterizes the ability to identify the root cause of a failure within the software. Characterizes the amount of effort to change a system. Characterizes the sensitivity to change of a given system that is the negative impact that may be caused by system changes. Portability Adaptability Installability Conformance Replaceability Characterizes the ability of the system to change to new specifications or operating environments. Characterizes the effort required to install the software. Similar to compliance for functionality, but this characteristic relates to portability. One example would be Open SQL conformance which relates to portability of database used. Characterizes the plug and play aspect of software components, that is how easy is it to exchange a given software component within a specified environment. Testability Characterizes the effort needed to verify (test) a system change.
6 Metrics assess and improve quality Really? Problems Problems Metrics capture symptoms, not causes of problems?? Metrics capture symptoms, not causes of problems In isolation, metrics do not lead to improvement actions??
7 Problems Metrics capture symptoms, not causes of problems In isolation, metrics do not lead to improvement actions We do not reason in terms of metrics, but in terms of design (principles) More Problems?? More Problems Thresholds make metrics hard to interpret Granularity makes metrics hard to use in isolation? Thresholds make metrics hard to interpret?
8 Metric Value LOC 35,175 NOM 3,618 How do we get an initial understanding of a system? NOC 384 CYCLO 5,579 NOP 19 CALLS 15,128 FANOUT 8,590 AHH 0.12 ANDC 0.31 Metric Value LOC 35,175 NOM 3,618 NOC 384 CYCLO 5,579 We need means to compare NOP 19 CALLS 15,128 FANOUT 8,590 AHH 0.12 ANDC 0.31 And now what?
9 The Overview Pyramid provides a metrics overview Inheritance Size Communication NOP 19 NOC 384 NOM 3618 LOC CYCLO 5579 Size Lanza & Marinescu, NOP NOC NOM LOC CYCLO 5579 Size 3618 NOM CALLS 8590 FANOUT Communication
10 Inheritance ANDC 0.31 AHH NOM CALLS FANOUT Communication Inheritance ANDC 0.31 AHH 0.12 Java C NOP NOC NOM NOM LOC CALLS 0.56 CYCLO/ LOC LOW AVG HIGH LOW AVG HIGH CYCLO FANOUT Size Communication LOC/NOM NOM/NOC
11 Inheritance ANDC 0.31 AHH NOP NOC NOM NOM LOC CALLS 0.56 CYCLO FANOUT Size Communication Inheritance ANDC 0.31 AHH NOP NOC NOM NOM LOC CALLS 0.56 CYCLO FANOUT Size Communication close to low close to average close to high Inheritance And Now? Size Communication close to low close to average close to high
12 Break How do I improve my code? Imagine... Quality is more than zero bugs Quality is about design principles, design heuristics, and best practices Breaking them leads to Code deterioration Design problems ~ Maintenance problems You change a small design fragment......and one third of all classes require changes!
13 Design Problems Expensive Frequent Unavoidable How can we detect and eliminate them? Identity Disharmony How do I define myself? God Class Data Class Brain Class Feature Envy Brain Method Collaboration Disharmony How do I interact with others? Intensive Coupling Dispersive Coupling Shotgun Surgery Classification Disharmony How do I define myself with respect to my ancestors and descendants? Futile Hierarchy Tradition Breaker Refused Parent Bequest
14 God Classes God Class In a good object-oriented design the intelligence of a system is uniformly distributed among the top-level classes. Arthur Riel, 1996 God Classes tend to centralize the intelligence of the system, to do everything and to use data from small dataclasses God Classes tend to centralize the intelligence of the system to do everything and to use data from small data-classes God Classes centralize the intelligence of the system do everything use data from small data-classes God Classes Detection Strategies God Classes centralize the intelligence of the system do everything use data from small data-classes God Classes are complex: high WMC are not cohesive: low TCC access external data: ATFD Compose metrics into queries using logical operators Detection strategies are metric-based queries to detect design flaws Rule 1 METRIC 1 > Threshold 1 Rule 2 METRIC 2 < Threshold 2 AND Quality problem
15 Design Flaws do not come alone Characteristics of a God Class uses Intensive Coupling Extensive Coupling Refused Parent Bequest Identity Disharmonies has God Class Brain Class has is is is is Shotgun Surgery has (partial) has Tradition Breaker has Futile Hierarchy Feature Envy Brain Method has (subclass) Collaboration Disharmonies uses is partially has has has Data Class Significant Duplication Classification Disharmonies Heavily accesses data of other lightweight classes, either directly or using accessor methods. God Class Has a lot of non-communicative behavior Is large God Class Detection Strategy Class uses directly more than a few attributes of other classes ATFD > FEW An envious method is more interested in data from a handful of other classes Functional complexity of the class is very high WMC! VERY HIGH Class cohesion is low AND GodClass Lanza & Marinescu 2006 TCC < ONE THIRD
16 Feature Envy Detection Strategy Method uses directly more than a few attributes of other classes ATFD > FEW Data Classes are dumb data holders Method uses far more attributes of other classes than its own LAA < ONE THIRD AND Feature Envy The used "foreign" attributes belong to very few other classes Lanza & Marinescu 2006 FDP! FEW Data Class Detection Strategy Data Class Detection Strategy More than a few public data Interface of class reveals data rather than offering services WOC < ONE THIRD Class reveals many attributes and is not complex AND Data Class NOPA + NOAM > FEW Complexity of class is not high WMC < HIGH Class has many public data AND OR Class reveals many attributes and is not complex NOPA + NOAM > MANY Complexity of class is not very high AND WMC < VERY HIGH
17 Follow A Clear and Repeatable Process And Now? o rms not Do Metrics are only half the truth! bers m u fn reas bo on a ut q te ty in i l a u
18 Homework Experiment tomorrow
Design Quality Assessment in Practice
Design Quality Assessment in Practice my two hats... Radu Marinescu radum@cs.upt.ro Associate Professor since 006 Co-Founder and Head since 003 http://www.intooitus.com/ Co-Founder (008) Assessment with
More informationWhat are Metrics?! Functions, that assign a precise numerical value to. Detecting Design Problems using Metrics
Detecting Design Problems using Metrics What are Metrics?! Functions, that assign a precise numerical value to! Products (Software)! Resources (Staff, Tools, Hardware)! Processes (Software development).
More informationSoftware Metrics and Problem Detection
Software Metrics and Problem Detection Oscar Nierstrasz Yuriy Tymchuk Selected material by Mircea Lungu Roadmap > Software Metrics Size / Complexity Metrics Quality Metrics > Metric-Based Problem Detection
More informationTechnical Metrics for OO Systems
Technical Metrics for OO Systems 1 Last time: Metrics Non-technical: about process Technical: about product Size, complexity (cyclomatic, function points) How to use metrics Prioritize work Measure programmer
More informationCHAPTER 4 HEURISTICS BASED ON OBJECT ORIENTED METRICS
CHAPTER 4 HEURISTICS BASED ON OBJECT ORIENTED METRICS Design evaluation is most critical activity during software development process. Design heuristics are proposed as a more accessible and informal means
More informationRestructuring. What is restructuring? Tudor Gîrba Reengineering life cycle. What? forward engineering. reverse engineering
Restructuring Tudor Gîrba www.tudorgirba.com Reengineering life cycle Reengineering... is the examination and alteration of a subject system to reconstitute it in a new form and the subsequent implementation
More informationMaintainability and Agile development. Author: Mika Mäntylä
Maintainability and Agile development Author: Mika Mäntylä ISO 9126 Software Quality Characteristics Are the required functions available in the software? How easy is it to
More informationWhat and Why? Reverse Engineering. I. First Contact: the Forces. The Reengineering Life-Cycle
What and Why? Reverse Engineering Definition Reverse Engineering is the process of analyzing a subject system! to identify the system s components and their interrelationships and! create representations
More informationObject Oriented Metrics. Impact on Software Quality
Object Oriented Metrics Impact on Software Quality Classic metrics Lines Of Code Function points Complexity Code coverage - testing Maintainability Index discussed later Lines of Code KLOC = 1000 Lines
More informationA Systematic Review of Bad Smells Metrics. Luiz Paulo Coelho Ferreira
A Systematic Review of Bad Smells Metrics Luiz Paulo Coelho Ferreira Motivation One of the main goals in Software Engineering is to transform software development in a process predictable and controlled.
More informationA Hierarchical Model for Object- Oriented Design Quality Assessment
A Hierarchical Model for Object- Oriented Design Quality Assessment IEEE Transactions on Software Engineering (2002) Jagdish Bansiya and Carl G. Davis 2013-08-22 Yoo Jin Lim Contents Introduction Background
More informationRisk-based Object Oriented Testing
Risk-based Object Oriented Testing Linda H. Rosenberg, Ph.D. Ruth Stapko Albert Gallo NASA GSFC SATC NASA, Unisys SATC NASA, Unisys Code 302 Code 300.1 Code 300.1 Greenbelt, MD 20771 Greenbelt, MD 20771
More informationIntroduction To Software Testing. Brian Nielsen. Center of Embedded Software Systems Aalborg University, Denmark CSS
Introduction To Software Testing Brian Nielsen bnielsen@cs.aau.dk Center of Embedded Software Systems Aalborg University, Denmark CSS 1010111011010101 1011010101110111 What is testing? Testing Testing:
More informationResearch Article ISSN:
Research Article [Agrawal, 1(3): May, 2012] IJESRT INTERNATIONAL JOURNAL OF ENGINEERING SCIENCES & RESEARCH TECHNOLOGY Use Of Software Metrics To Measure And Improve The Quality Of The Software Design
More informationA Measurement-Based Approach for Detecting Design Problems in Object-Oriented Systems
A Measurement-Based Approach for Detecting Design Problems in Object-Oriented Systems M. J. Munro Technical Report EFoCS-57-2005 Department of Computer and Information Sciences University of Strathclyde
More informationSNS College of Technology, Coimbatore, India
Support Vector Machine: An efficient classifier for Method Level Bug Prediction using Information Gain 1 M.Vaijayanthi and 2 M. Nithya, 1,2 Assistant Professor, Department of Computer Science and Engineering,
More informationObject Oriented Measurement
Object Oriented Measurement Diego Chaparro González dchaparro@acm.org Student number: 59881P 17th January 2003 Abstract This document examines the state of art in software products measurement, with focus
More informationInvestigation of Metrics for Object-Oriented Design Logical Stability
Investigation of Metrics for Object-Oriented Design Logical Stability Mahmoud O. Elish Department of Computer Science George Mason University Fairfax, VA 22030-4400, USA melish@gmu.edu Abstract As changes
More informationResearch Article An Empirical Study of the Effect of Power Law Distribution on the Interpretation of OO Metrics
ISRN Software Engineering Volume 213, Article ID 198937, 18 pages http://dx.doi.org/1.1155/213/198937 Research Article An Empirical Study of the Effect of Power Law Distribution on the Interpretation of
More informationAnalysis of Various Software Metrics Used To Detect Bad Smells
The International Journal Of Engineering And Science (IJES) Volume 5 Issue 6 Pages PP -14-20 2016 ISSN (e): 2319 1813 ISSN (p): 2319 1805 Analysis of Various Software Metrics Used To Detect Bad Smells
More informationAn experience report on using code smells detection tools
Università degli Studi di Milano Bicocca DISCo Dipartimento di Informatica, Sistemistica e Comunicazione Francesca Arcelli Fontana, Elia Mariani Andrea Morniroli, Raul Sormani, Alberto Tonello RefTest
More information2IS55 Software Evolution. Software metrics (2) Alexander Serebrenik
2IS55 Software Evolution Software metrics (2) Alexander Serebrenik Administration Assignment 5: Deadline: May 22 1-2 students Next week NO CLASS Next class May 15 / SET / W&I 2-5-2012 PAGE 1 Sources /
More informationMetrics and OO. SE 3S03 - Tutorial 12. Alicia Marinache. Week of Apr 04, Department of Computer Science McMaster University
and OO OO and OO SE 3S03 - Tutorial 12 Department of Computer Science McMaster University Complexity Lorenz CK Week of Apr 04, 2016 Acknowledgments: The material of these slides is based on [1] (chapter
More informationNon Functional Product Requirements (illeties)
Non Functional Product Requirements (illeties) MANAGEMENT SUMMARY This whitepaper list several Non functional, Illeties or Quality Requirements Non Functional Product Requirements (illeties) ImQuSo White
More informationMoonzoo Kim CS Division of EECS Dept.
Chapter 15 Product Metrics Moonzoo Kim CS Division of EECS Dept. KAIST 1 Overview of Ch15. Product Metrics 15.1 Software Quality 15.2 A Framework for Product Metrics 15.3 Metrics for the Analysis Model
More informationMeasuring the quality of UML Designs
Measuring the quality of UML Designs Author: Mr. Mark Micallef (mmica@cs.um.edu.mt) Supervisor: Dr. Ernest Cachia (eacaci@cs.um.edu.mt) Affiliation: University of Malta (www.um.edu.mt) Keywords Software
More information6 Detection of Architecturally-Relevant Code Anomalies with Architectural-Sensitive Information
6 Detection of Architecturally-Relevant Code Anomalies with Architectural-Sensitive Information Chapters 4 and 5 discussed how code anomalies (Fowler et al., Chapter 3) can be related to architectural
More informationApplication of a Fuzzy Inference System to Measure Maintainability of Object-Oriented Software
Application of a Fuzzy Inference System to Measure Maintainability of Object-Oriented Software Nasib Singh Gill and Meenakshi Sharma Department of Computer Science & Applications Maharshi Dayanand University,
More informationMETRIC ATTITUDE PLUG-IN FOR ECLIPSE USER GUIDE
METRIC ATTITUDE PLUG-IN FOR ECLIPSE USER GUIDE Metric Attitude Pag. 0 CONTENTS CONTENTS... 1 INTRODUCTION... 2 ECLIPSE... 2 1. INSTALLING ECLIPS FOR WINDOWS SYSTEM... 3 2. INSTALLING METRIC ATTITUDE...
More informationMetrics in assessing the quality and evolution of jedit
Metrics in assessing the quality and evolution of jedit Ilona Bluemke, Rafał Roguski Institute of Computer Science, Warsaw University of Technology Nowowiejska 15/19, 00-665 Warsaw, Poland I.Bluemke@ii.pw.edu.pl
More informationCHAPTER 4 OBJECT ORIENTED COMPLEXITY METRICS MODEL
64 CHAPTER 4 OBJECT ORIENTED COMPLEXITY METRICS MODEL 4.1 INTRODUCTION Customers measure the aspects of the final product to determine whether it meets the requirements and provides sufficient quality.
More informationSoftware Wartung und Evolution Modeling History with Metamodels. Harald Gall Institut für Informatik Universität Zürich
Software Wartung und Evolution Modeling with Metamodels Harald Gall Institut für Informatik Universität Zürich http://seal.ifi.unizh.ch Modeling to Understand Software Evolution 2007, Tudor Gîrba 13 27
More informationApplication of Object Oriented Metrics to Java and C Sharp: Comparative Study
International Journal of Computer Applications (9 888) Volume 64 No., February Application of Object Oriented Metrics to Java and C Sharp: Comparative Study Arti Chhikara Maharaja Agrasen College,Delhi,India
More informationEffective Modular Design
CSC40232: SOFTWARE ENGINEERING Professor: Jane Cleland Huang Metrics sarec.nd.edu/courses/se2017 Department of Computer Science and Engineering Effective Modular Design Modular design Reduces complexity
More informationOn the Impact of Refactoring Operations on Code Quality Metrics
On the Impact of Refactoring Operations on Code Quality Metrics Oscar Chaparro 1, Gabriele Bavota 2, Andrian Marcus 1, Massimiliano Di Penta 2 1 University of Texas at Dallas, Richardson, TX 75080, USA
More information2IS55 Software Evolution. Software metrics (3) Alexander Serebrenik
2IS55 Software Evolution Software metrics (3) Alexander Serebrenik Sources / SET / W&I 19-3-2013 PAGE 1 From imperative to OO All metrics so far were designed for imperative languages Applicable for OO
More informationThe Evolution and Impact of Code Smells: A Case Study of Two Open Source Systems
The Evolution and Impact of Code Smells: A Case Study of Two Open Source Systems Steffen Olbrich Dept. of Computer Sciences, University of Applied Sciences, Mannheim, Germany solbrich@gmail.com Daniela
More informationPatterns in Software Engineering
Patterns in Software Engineering Lecturer: Raman Ramsin Lecture 10 Refactoring Patterns Part 1 1 Refactoring: Definition Refactoring: A change made to the internal structure of software to make it easier
More informationKostis Kapelonis Athens Greece, March 2010
Quality Metrics: GTE, CAP and CKJM Kostis Kapelonis Athens Greece, March 2010 Menu More Quality metrics: Google Testability Explorer (Starter) Code Analysis Plugin (Main Course) CKJM metrics (Dessert)
More informationQuality and usability: A new framework
van Veenendaal, E, and McMullan, J (eds) Achieving software product quality, Tutein Nolthenius, Netherlands, 1997 Quality and usability: A new framework Nigel Bevan Usability Services National Physical
More informationA Study of Software Metrics
International Journal of Computational Engineering & Management, Vol. 11, January 2011 www..org 22 A Study of Software Metrics Gurdev Singh 1, Dilbag Singh 2, Vikram Singh 3 1 Assistant Professor, JIET
More informationARiSA First Contact Analysis
ARiSA First Contact Analysis Applied Research In System Analysis - ARiSA You cannot control what you cannot measure Tom DeMarco Software Grail Version 1.3 Programming Language Java 1.4 Date 2 nd of December,
More informationObject-Oriented Metrics in Practice
Object-Oriented Metrics in Practice Using Software Metrics to Characterize, Evaluate, and Improve the Design of Object-Oriented Systems Bearbeitet von Michele Lanza, Radu Marinescu, S Ducasse 1. Auflage
More informationEffectiveness of software metrics for object-oriented system
Available online at www.sciencedirect.com Procedia Technology 6 (2012 ) 420 427 2nd International Conference on Communication, Computing & Security [ICCCS-2012] Effectiveness of software metrics for object-oriented
More informationTowards Cohesion-based Metrics as Early Quality Indicators of Faulty Classes and Components
2009 International Symposium on Computing, Communication, and Control (ISCCC 2009) Proc.of CSIT vol.1 (2011) (2011) IACSIT Press, Singapore Towards Cohesion-based Metrics as Early Quality Indicators of
More informationTESTING SOFTWARE QUALITY CHARACTERISTICS
TESTING SOFTWARE QUALITY CHARACTERISTICS Zigmars Gailans TAPOST 2017 Agenda Introduction Quality Functionality Usability Accessibility https://kahoot.it Kahoot app 2 3 What is Quality? The standard of
More informationDoes Your Code Measure Up?
Does Your Code Measure Up? By: Adam Culp Twitter: @adamculp https://joind.in/13300 2 About me PHP 5.3 Certified Consultant at Zend Technologies Organizer SoFloPHP (South Florida) Organized SunshinePHP
More informationReusability Metrics for Object-Oriented System: An Alternative Approach
Reusability Metrics for Object-Oriented System: An Alternative Approach Parul Gandhi Department of Computer Science & Business Administration Manav Rachna International University Faridabad, 121001, India
More informationThresholds for Software Quality Metrics in Open Source Android Projects
Thresholds for Software Quality Metrics in Open Source Android Projects Mile Stojkovski Applied Computer Science Submission date: December 2017 Supervisor: Deepti Mishra, IDI Co-supervisor: Mariusz Nowostawski,
More informationJ2EE Development Best Practices: Improving Code Quality
Session id: 40232 J2EE Development Best Practices: Improving Code Quality Stuart Malkin Senior Product Manager Oracle Corporation Agenda Why analyze and optimize code? Static Analysis Dynamic Analysis
More informationSoftware metrics for policy-driven software development life cycle automation
Software metrics for policy-driven software development life cycle automation Leonid Borodaev Faculty of mathematics and natural sciences, University of Groningen Groningen, The Netherlands Leo.borodaev@gmail.com
More informationInheritance Metrics: What do they Measure?
Inheritance Metrics: What do they Measure? G. Sri Krishna and Rushikesh K. Joshi Department of Computer Science and Engineering Indian Institute of Technology Bombay Mumbai, 400 076, India Email:{srikrishna,rkj}@cse.iitb.ac.in
More informationSoftware Security and CISQ. Dr. Bill Curtis Executive Director
Software Security and CISQ Dr. Bill Curtis Executive Director Why Measure IT Applications? Six Digit Defects now affect Board of Directors CEO, COO, CFO Business VPs Corporate Auditors CIO accountable
More informationSimilar Characteristics of Internal Software Quality Attributes for Object-Oriented Open-Source Software Projects
Similar Characteristics of Internal Software Quality Attributes for Object-Oriented Open-Source Software Projects Mariana Santos, Rodrigo Amador, Paulo Henrique de Souza Bermejo, Heitor Costa DCC - UFLA
More informationQUALITY METRICS IMPLEMENTATION IN COMPONENT BASED SOFTWARE ENGINEERING USING AI BACK PROPAGATION ALGORITHM SOFTWARE COMPONENT
I.J.E.M.S., VOL.3(2) 2012: 109-114 ISSN 2229-600X QUALITY METRICS IMPLEMENTATION IN COMPONENT BASED SOFTWARE ENGINEERING USING AI BACK PROPAGATION ALGORITHM SOFTWARE COMPONENT Sidhu Pravneet SPCET, Mohali,
More information1 Introduction. Abstract
An MVC-based Analysis of Object-Oriented System Prototyping for Banking Related GUI Applications Correlationship between OO Metrics and Efforts for Requirement Change Satoru Uehara, Osamu Mizuno, Yumi
More informationIntroduction to software metics
Introduction to software metics Alexander Voigt Version_05_21 Technische Universität Dresden Institut für Kern- und Teilchenphysik /01234/546 78994:!"##$%&'$()*+,%&-,,$)*.$ IKTP Computing Kaffee 12 December
More informationCHAPTER 3 ROLE OF OBJECT-ORIENTED METRICS IN SOFTWARE MEASUREMENT
CHAPTER 3 ROLE OF OBJECT-ORIENTED METRICS IN SOFTWARE MEASUREMENT 3.1 Introduction 3.2 Object-Oriented Metrics 3.2.1 CK Metrics 3.2.2 Metrics by Li and Henry 3.2.3 Metrics by Li 3.2.4 Metrics by Sharble
More informationFOR0383 Software Quality Assurance
This method seems much, much bigger than all the other methods. FOR0383 Software Quality Assurance Lecture 15 Code metrics "You cannot control what you cannot measure." Tom DeMarco 2/11/2009 Dr Andy Brooks
More informationInternational Software & Systems Engineering Standards
This presentation represents the opinion of the author and does not present positions of The MITRE Corporation or of the U.S. Department of Defense. Jim Moore The MITRE Corporation Chair, US TAG to ISO/IEC
More informationQuantify the project. Better Estimates. Resolve Software crises
Quantify the project Quantifying schedule, performance,work effort, project status Helps software to be compared and evaluated Better Estimates Use the measure of your current performance to improve your
More informationCatalogue of Metrics Used in the Book
A Catalogue of Metrics Used in the Book In this appendix you will find definitions of the metrics used throughout this book. These metrics are neither the best in the world, nor magic. We chose them in
More informationQuality Metrics Tool for Object Oriented Programming
Quality Metrics Tool for Object Oriented Programming Mythili Thirugnanam * and Swathi.J.N. Abstract Metrics measure certain properties of a software system by mapping them to numbers (or to other symbols)
More informationHarmonization of usability measurements in ISO9126 software engineering standards
Harmonization of usability measurements in ISO9126 software engineering standards Laila Cheikhi, Alain Abran and Witold Suryn École de Technologie Supérieure, 1100 Notre-Dame Ouest, Montréal, Canada laila.cheikhi.1@ens.etsmtl.ca,
More informationUsing Metrics To Manage Software Risks. 1. Introduction 2. Software Metrics 3. Case Study: Measuring Maintainability 4. Metrics and Quality
Using Metrics To Manage Software Risks 1. Introduction 2. Software Metrics 3. Case Study: Measuring Maintainability 4. Metrics and Quality 1 1. Introduction Definition Measurement is the process by which
More informationAgenda. Tool-Supported Detection of Code Smells in Software Aspectization. Motivation. Mistakes in Software Aspectization. Advice-related mistakes
Agenda Tool-Supported Detection of Code Smells in Software Aspectization Péricles Alves and Diogo Santana Recurring Mistakes Code Smells ConcernReCS Tool ConcernReCS Extension 1 Motivation AOP is about
More informationA Study on Website Quality Models
International Journal of Scientific and Research Publications, Volume 4, Issue 12, December 2014 1 A Study on Website Quality Models R.Anusha Department of Information Systems Management, M.O.P Vaishnav
More informationJOURNAL OF OBJECT TECHNOLOGY
JOURNAL OF OBJECT TECHNOLOGY Online at http://www.jot.fm. Published by ETH Zurich, Chair of Software Engineering JOT, 2005 Vol. 4, No. 4, May-June 2005 Automated Measurement of UML Models: an open toolset
More informationQuality in Use: Achieving Stakeholder Needs for Quality
1 Quality in Use: Achieving Stakeholder Needs for Quality Nigel Bevan www.nigelbevan.com nigel@nigelbevan.com Professional Usability Services Nigel Bevan. Reproduction permitted provided the source is
More informationProduct Quality Engineering. RIT Software Engineering
Product Quality Engineering Q vs q Quality includes many more attributes than just absence of defects Features Performance Availability Safety Security Reusability Extensibility Modifiability Portability
More informationSOFTWARE ASSESSMENT USING OBJECT METRICS
Key words: object metrics, metrics measuring tools, software assessment, software evolution Ilona BLUEMKE*, Rafał ROGUSKI* SOFTWARE ASSESSMENT USING OBJECT METRICS Adequate metrics of object-oriented software
More informationMeasuring, Analyzing and Improving Software Quality: The ConceptLattices Example 1
Measuring, Analyzing and Improving Software Quality: The ConceptLattices Example 1 Pierre Lison (student) plison@student.fsa.ucl.ac.be Université Catholique de Louvain Faculté des Sciences Appliquées Département
More informationKeywords: Abstract Factory, Singleton, Factory Method, Prototype, Builder, Composite, Flyweight, Decorator.
Comparative Study In Utilization Of Creational And Structural Design Patterns In Solving Design Problems K.Wseem Abrar M.Tech., Student, Dept. of CSE, Amina Institute of Technology, Shamirpet, Hyderabad
More informationSoftware Metrics for Package Remodularisation
Software Metrics for Package Remodularisation (Des métriques logicielles pour la remodularisation de packages) Deliverable: 1.1 - Cutter ANR 2010 BLAN 0219 02 Stéphane Ducasse, Nicolas Anquetil, Usman
More informationN2416R. Software engineering Product quality Part 3: Internal metrics ISO/IEC JTC1 /SC7 ISO/IEC JTC1/SC7. Software Engineering
ISO/IEC JTC1/SC7 Software Engineering Secretariat: CANADA (SCC) ISO/IEC JTC1 /SC7 N2416R Date: 2002-03-15 Reference number of document: ISO/IEC TR 9126-3 Committee identification: ISO/IEC JTC1 /SC 7/WG
More informationScanner - A tool for collecting object oriented software metrics from C++ class definitions
Scanner - A tool for collecting object oriented software metrics from C++ class definitions Murray Wong June 2, 1998 1 Introduction This paper presents Scanner, a tool for automating the collection of
More informationAn Information Model for Software Quality Measurement with ISO Standards
An Information Model for Software Measurement with ISO Standards Alain Abran École de Technologie Supérieure University of Québec, 1100 Notre -Dame Ouest, Montréal, Québec H3W 1T8, Canada aabran@ele.etsmtl.ca
More informationBasics of Software Testing-I UNIT I Software Testing. Software is used in many applications of the real world. Some of the examples are
SOFTWARE TESTING Basics of Software Testing-I In this chapter, we discuss the following topics: 1. Introduction to Software Testing 2. Understanding Error, Fault and Failure 3. Software Quality Attributes
More informationLecture 24 Software Visualization and Metrics Polymetric Views. EE 382V Spring 2009 Software Evolution - Instructor Miryung Kim
Lecture 24 Software Visualization and Metrics Polymetric Views Today s Agenda (1) Discussion on Practical Applications of Software Evolution Research Concern Graph Delta Debugging Regression Test Selection
More informationHow to Realization Architectural testing model using Measurement Metrics
How to Realization Architectural testing model using Measurement Metrics Lalji Prasad 1, Sarita Singh Bhadauria 2 1 TRUBA College of Engineering & Technology/ Computer Science &Engineering, INDORE, INDIA
More informationVisualizing Software Metrics for increased Refactoring
Visualizing Software Metrics for increased Refactoring Paul Steneram Bibby ada08pst@student.lu.se Fredrik Palmquist dat11fpa@student.lu.se March 7, 2016 Keywords: Agile Development, Code Complexity, Refactoring
More informationSoftware Design Fundamentals. CSCE Lecture 11-09/27/2016
Software Design Fundamentals CSCE 740 - Lecture 11-09/27/2016 Today s Goals Define design Introduce the design process Overview of design criteria What results in a good design? Gregory Gay CSCE 740 -
More informationLanguage Independent Metric Support towards Refactoring Inference
Language Independent Metric Support towards Refactoring Inference Yania Crespo 1, Carlos López 2, Esperanza Manso 1, and Raúl Marticorena 2 1 University of Valladolid Department of Computer Science, Valladolid
More informationA Comparative Study on State Programming: Hierarchical State Machine (HSM) Pattern and State Pattern
A Comparative Study on State Programming: Hierarchical State Machine (HSM) Pattern and State Pattern A. Cüneyd Tantuğ and Özdemir Kavak Abstract State machines can be implemented by using several methods.
More informationEVALUATING IMPACT OF INHERITANCE ON OBJECT ORIENTED SOFTWARE METRICS
CHAPTER-4 EVALUATING IMPACT OF INHERITANCE ON OBJECT ORIENTED SOFTWARE METRICS 4.1 Introduction Software metrics are essential to software engineering for measuring software complexity and quality, estimating
More informationAnalyzing Java Software by Combining Metrics and Program Visualization
Analyzing Java Software by Combining Metrics and Program Visualization Tarja Systä Software Systems Laboratory Tampere University of Technology P.O. Box 553, FIN-33101 Tampere, Finland tsysta@cs.tut.fi
More informationEvaluation of a Business Application Framework Using Complexity and Functionality Metrics
Evaluation of a Business Application Framework Using Complexity and Functionality Metrics Hikaru Fujiwara 1, Shinji Kusumoto 1, Katsuro Inoue 1, Toshifusa Ootsubo 2 and Katsuhiko Yuura 2 1 Graduate School
More informationEnhancing Object Oriented Coupling Metrics w.r.t. Connectivity Patterns
Enhancing Object Oriented Coupling Metrics w.r.t. Connectivity Patterns Thesis submitted in partial fulfillment of the requirements for the award of degree of Master of Engineering in Software Engineering
More informationMcCa!"s Triangle of Quality
McCa!"s Triangle of Quality Maintainability Portability Flexibility Reusability Testability Interoperability PRODUCT REVISION PRODUCT TRANSITION PRODUCT OPERATION Correctness Usability Reliability Efficiency
More informationCredit where Credit is Due. Lecture 25: Refactoring. Goals for this lecture. Last Lecture
Credit where Credit is Due Lecture 25: Refactoring Kenneth M. Anderson Object-Oriented Analysis and Design CSCI 6448 - Spring Semester, 2002 Some of the material for this lecture and lecture 26 is taken
More informationSoftware Quality Estimation through Object Oriented Design Metrics
100 Software Quality Estimation through Object Oriented Design Metrics Deepak Arora, Pooja Khanna and Alpika Tripathi, Shipra Sharma and Sanchika Shukla Faculty of Engineering, Department of Computer Science,
More informationHOW AND WHEN TO FLATTEN JAVA CLASSES?
HOW AND WHEN TO FLATTEN JAVA CLASSES? Jehad Al Dallal Department of Information Science, P.O. Box 5969, Safat 13060, Kuwait ABSTRACT Improving modularity and reusability are two key objectives in object-oriented
More informationIntroduction to Computers and Programming Languages. CS 180 Sunil Prabhakar Department of Computer Science Purdue University
Introduction to Computers and Programming Languages CS 180 Sunil Prabhakar Department of Computer Science Purdue University 1 Objectives This week we will study: The notion of hardware and software Programming
More informationPREDICTION OF SOFTWARE DEFECTS USING OBJECT-ORIENTED METRICS
International Journal of Civil Engineering and Technology (IJCIET) Volume 9, Issue 1, January 2018, pp. 889 899, Article ID: IJCIET_09_01_087 Available online at http://http://www.iaeme.com/ijciet/issues.asp?jtype=ijciet&vtype=9&itype=1
More informationM-REFACTOR: A New Approach and Tool for Model Refactoring
M-REFACTOR: A New Approach and Tool for Model Refactoring 1 Maddeh Mohamed, 2 Mohamed Romdhani, 3 Khaled GHEDIRA 1,3 SOIE, Ecole Nationale des Sciences de l Informatique Campus Universitaire Manouba -
More informationVisualizing and Characterizing the Evolution of Class Hierarchies
Visualizing and Characterizing the Evolution of Class Hierarchies Tudor Gîrba and Michele Lanza Software Composition Group University of Berne Switzerland {girba, lanza}@iam.unibe.ch Abstract Analyzing
More informationAn Approach for Quality Control Management in Object Oriented Projects Development
J. Basic. Appl. Sci. Res., 3(1s)539-544, 2013 2013, TextRoad Publication ISSN 2090-4304 Journal of Basic and Applied Scientific Research www.textroad.com An Approach for Quality Control Management in Object
More informationAn Empirical Verification of Software Artifacts Using Software Metrics
An Empirical Verification of Software Artifacts Using Software Metrics Raed Shatnawi and Ahmad Alzu bi Abstract In model-driven development, design understandability is very important to maintain software
More informationEvolving Software. CMSC 433 Programming Language Technologies and Paradigms Spring Example. Some Motivations for This Refactoring
CMSC 433 Programming Language Technologies and Paradigms Spring 2007 Refactoring April 24, 2007 Lots of material taken from Fowler, Refactoring: Improving the Design of Existing Code 1 Evolving Software
More informationDesign and Information Hiding
Design and Information Hiding 15-214: Foundations of Software Engineering Jonathan Aldrich Related Reading: D. L. Parnas. On the Criteria To Be Used in Decomposing Systems into Modules. CACM 15(12):1053-1058,
More information