Design Patterns as Laws of Quality

Design Patterns as Laws of Quality

Yann-Gaël Gueheneuc (University of Montreal, Canada), Jean-Yves Guyomarc’h (University of Montreal, Canada), Khashayar Khosravi (University of Montreal, Canada) and Hourari Sahraoui (University of Montreal, Canada)
DOI: 10.4018/978-1-59140-896-3.ch005
OnDemand PDF Download:
$37.50

Abstract

Software quality models link internal attributes of programs with external quality characteristics. They help in understanding relationships among internal attributes and between internal attributes and quality characteristics. Object-oriented software quality models usually use metrics on classes (such as number of methods) or on relationships between classes (for example coupling) to measure internal attributes of programs. However, the quality of object-oriented programs does not depend on classes solely: it depends on the organisation of classes also. We propose an approach to build quality models using patterns to consider program architectures. We justify the use of patterns to build quality models, describe the advantages and limitations of such an approach, and introduce a first case study in building and in applying a quality model using design patterns on the JHotDraw, JUnit, and Lexi programs. We conclude on the advantages of using patterns to build software quality models and on the difficulty of doing so.

Complete Chapter List

Search this Book:
Reset
Table of Contents
Preface
Javier Garzás, Mario Piattini
Acknowledgments
Chapter 1
Javier Garzas, Mario Piattini
In order to establish itself as a branch of engineering, a profession must understand its accumulated knowledge. In this regard, software... Sample PDF
The Object-Oriented Design Knowledge
$37.50
Chapter 2
Javier Garzas, Mario Piattini
It has been a long time since the object-oriented (OO) paradigm appeared. From that moment, designers have accumulated much knowledge in design and... Sample PDF
The Object-Oriented Design Knowledge Ontology
$37.50
Chapter 3
Isabel Diaz, Oscar Pastor, Lidia Moreno, Alfredo Matteo
The dynamic behavior of a system is elicited, specified, and analyzed by means of interaction modelling. This activity is important for... Sample PDF
Using Linguistic Patterns to Model Interactions
$37.50
Chapter 4
Manoli Albert, Marta Ruiz, Javier Munoz, Vincente Pelechano
This chapter proposes a framework based on design patterns to implement UML association, aggregation, and composition relationships. To build the... Sample PDF
A Framework Based on Design Patterns: Implementing UML Association, Aggregation and Composition Relationships in the Context of Model-Driven Code Generation
$37.50
Chapter 5
Yann-Gaël Gueheneuc, Jean-Yves Guyomarc’h, Khashayar Khosravi, Hourari Sahraoui
Software quality models link internal attributes of programs with external quality characteristics. They help in understanding relationships among... Sample PDF
Design Patterns as Laws of Quality
$37.50
Chapter 6
Andreas Flores, Alejandra Cechich, Rodrigo Ruiz
Object-oriented patterns condense experimental knowledge from developers. Their pragmatic benefits may involve a reduction on the effort impact of... Sample PDF
Automatic Verification of OOD Pattern Applications
$37.50
Chapter 7
Yania Crespo, Carlos Lopez, Maria Esperanza Manso Martinez
This chapter presents a study on the relation of refactoring, bad smells, and metrics. The notions of refactoring and bad smells are revised as well... Sample PDF
From Bad Smells to Refactoring: Metrics Smoothing the Way
$37.50
Chapter 8
Steve Counsell, Youssef Hassoun, Deepak Advani
Refactoring, as a software engineering discipline, has emerged over recent years to become an important aspect of maintaining software. Refactoring... Sample PDF
Heuristics and Metrics for OO Refactoring: A Consolidation and Appraisal of Current Issues
$37.50
Chapter 9
Juan José Olmedilla
The use of object-oriented (OO) architecture knowledge such as patterns, heuristics, principles, refactorings and bad smells improve the quality of... Sample PDF
A Survey of Object-Oriented Design Quality Improvement
$37.50
Chapter 10
Javier Garzas, Mario Piattini
This chapter presents a catalog of different rules for help to design object-oriented micro-architectures. These rules form an important part of the... Sample PDF
A Catalog of Design Rules for OO Micro-Architecture
$37.50
About the Authors