




























































































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!





























































































This compendium was produced in a Ph.D. course on “Quality attributes and trade-offs”. The 11 Ph.D. students that followed the course all worked in the same research project: BESQ (Blekinge – Engineering Software Qualities), see http://www.bth.se/besq. The goal of the course is to increase the competence in key areas related to engineering of software qualities and by this establish a common platform and understanding. The latter should in the long run make it easier to perform future cooperation and joint projects. We will also discuss techniques and criteria for reviewing scientific papers and book chapters. The course is divided into a number of sections, where one (or a group of) student(s) is responsible for each section. Each section should be documented in written form.
This compendium is organized in 8 chapters:
This chapter gives an overview to different quality models. It also discusses what quality is by presenting a number of high-profile quality gurus together with their thoughts on quality (which in some cases actually results in a more or less formal quality model).
This chapter focuses on developer-oriented quality attributes, such as: Maintainability, Reusability, Flexibility and Demonstrability. A list of developer-oriented quality attributes is synthesized from a number of common quality models: McCall’s quality model, Boehm’s quality model and ISO 9126-1.
In the three previous chapters, various quality attributes are discussed from different perspectives. This chapter aims to merge these three different perspectives and discuss the relations between them.
Dealing with decisions concerning limited resources typically involves a trade-off of some sort. This chapter discusses the concept of trade-off techniques and practices as a basis for decision support. In this context a trade-off can become a necessity if there are limited resources and two (or more) entities require the consumption of the same resource, or if two or more entities are in conflict.
During software development, tradeoffs are made on a daily basis by the people participating in the development project. In this chapter we will take a look at some of the methods that are available for structuring and quantifying the information necessary to make tradeoffs in some situations. We will concentrate on software developing projects and look at four different examples where trade-off methods have been applied.
This chapter discusses the definition of tradeoffs and the difference between a trade-off and a break- through solution. The chapter also gives trade-off examples from the car industry, the power supply area, electronic media, and selling.
Walter Edwards Deming’s “Out of the crisis: quality, productivity and competitive position” [4], states:
The problem inherent in attempts to define the quality of a product, almost any product, where stated by the master Walter A. Shewhart. The difficulty in defining quality is to translate future needs of the user into measurable characteristics, so that a product can be designed and turned out to give satisfaction at a price that the user will pay. This is not easy, and as soon as one feels fairly successful in the endeavor, he finds that the needs of the consumer have changed, competitors have moved in etc.
One of Deming’s strongest points is that quality must be defined in terms of customer satisfaction – which is a much wider concept than the “conformance to specification” definition of quality (i.e. “meeting customer needs” perspective). Deming means that quality should be defined only in terms of the agent – the judge of quality. Deming’s philosophy of quality stresses that meeting and exceeding the customers' requirements is the task that everyone within an organization needs to accomplish. Furthermore, the management system has to enable everyone to be responsible for the quality of his output to his internal customers. To implement his perspective on quality Deming introduced his 14 Points for Management in order to help people understand and implement the necessary transformation:
The name Feigenbaum and the term total quality control are virtually synonymous due to his profound influence on the concept of total quality control (but also due to being the originator of the concept). In “Total quality control” [5] Armand Vallin Feigenbaum explains his perspective on quality through the following text:
Quality is a customer determination, not an engineer’s determination, not a marketing determination, nor a general management determination. It is based on upon the customer’s actual experience with the product or service, measured against his or her requirements – stated or unstated, conscious or merely sensed, technically operational or entirely subjective – and always representing a moving target in a competitive market. Product and service quality can be defined as: The total composite product and service characteristics of marketing, engineering, manufacture and maintenance though witch the product and service in use will meet the expectations of the customer.
Feigenbaum’s definition of quality is unmistakable a “meeting customer needs” definition of quality. In fact, he goes very wide in his quality definition by emphasizing the importance of satisfying the customer in both actual and expected needs. Feigenbaum essentially points out that quality must be defined in terms of customer satisfaction, that quality is multidimensional (it must be comprehensively defined), and as the needs are changing quality is a dynamic concept in constant change as well. It is clear that Feigenbaum’s definition of quality not only encompasses the management of product and services but also of the customer and the customer’s expectations.
Kaoru Ishikawa writes the following in his book “What is quality control? The Japanese Way” [6]:
We engage in quality control in order to manufacture products with the quality which can satisfy the requirements of consumers. The mere fact of meeting national standards or specifications is not the answer, it is simply insufficient. International standards established by the International Organization for Standardization (ISO) or the International Electrotechnical Commission (IEC) are not perfect. They contain many shortcomings. Consumers may not be satisfied with a product which meets these standards. We must also keep in mind that consumer requirements change from year to year and even frequently updated standards cannot keep the pace with consumer requirements. How one interprets the term “quality” is important. Narrowly interpreted, quality means quality of products. Broadly interpreted, quality means quality of product, service, information, processes, people, systems etc. etc.
Ishikawa’s perspective on quality is a “meeting customer needs” definition as he strongly couples the level of quality to every changing customer expectations. He further means that quality is a dynamic concept as the needs, the requirements and the expectations of a customer continuously change. As follows, quality must be defined comprehensively and dynamically. Ishikawa also includes that price as an attribute on quality – that is, an overprized product can neither gain customer satisfaction and as follows not high quality.
In “Jurans’s Quality Control Handbook” [7] Joseph M. Juran provides two meanings to quality:
The word quality has multiple meanings. Two of those meanings dominate the use of the word: 1) Quality consists of those product features which meet the need of customers and thereby provide product satisfaction. 2) Quality consists of freedom from deficiencies. Nevertheless, in a handbook such as this it is most convenient to standardize on a short definition of the word quality as “fitness for use”
Juran takes a somewhat different road to defining quality than the other gurus previously mentioned. His point is that we cannot use the word quality in terms of satisfying customer expectations or specifications as it is very hard to achieve this. Instead he defines quality as “fitness for use” – which indicates references to requirements and products characteristics. As follows Juran’s definition could be interpreted as a “conformance to specification” definition more than a “meeting customer needs” definition. Juran proposes three fundamental managerial processes for the task of managing quality. The three elements of the Juran Trilogy are:
Quality planning: A process that identifies the customers, their requirements, the product and service features that customers expect, and the processes that will deliver those products and services with the correct attributes and then facilitates the transfer of this knowledge to the producing arm of the organization. Quality control: A process in which the product is examined and evaluated against the original requirements expressed by the customer. Problems detected are then corrected. Quality improvement: A process in which the sustaining mechanisms are put in place so that quality can be achieved on a continuous basis. This includes allocating resources, assigning people to pursue quality projects, training those involved in pursuing projects, and in general establishing a permanent structure to pursue quality and maintain the gains secured.
The model furthermore details the three types of quality characteristics (major perspectives) in a hierarchy of factors, criteria and metrics:
23 quality criteria (To build): They describe the internal view of the software, as seen by the developer. Metrics (To control): They are defined and used to provide a scale and method for measurement.
Correctness
Effiency
Integrity
Usability
Reliability
Consistency
Completeness
Tracebility
Accuracy Error tolerance
Storage effiency
Execution effiency
Access control Access audit
Operability Training Communicativeness
Figure 2: McCall’s Quality Model illustrated through a hierarchy of 11 quality factors (on the left hand side of the figure) related to 23 quality criteria (on the right hand side of the figure).
The quality factors describe different types of system behavioral characteristics, and the quality criterions are attributes to one or more of the quality factors. The quality metric, in turn, aims to capture some of the aspects of a quality criterion. The idea behind McCall’s Quality Model is that the quality factors synthesized should provide a complete software quality picture [11]. The actual quality metric is achieved by answering yes and no questions that then are put in relation to each other. That is, if answering equally amount of “yes” and “no” on the questions measuring a quality criteria you will achieve 50% on that quality criteria^1. The metrics can then be synthesized per quality criteria, per quality factor, or if relevant per product or service.
(^1) The critique of this approach is that the quality judgment is subjectively measured based on the judgment on the person(s) answering the questions.
Maintainability
Portability
Reusability
Interoperability
Flexibility
Conciseness
Simplicity
Instrumentation
Self-descriptiveness
Generality
Expandability
Modularity
Software-system independence
Machine independence
Communication commonality
Data commonality
Testability
Figure 3: McCall’s Quality Model (cont.) illustrated through a hierarchy of 11 quality factors (on the left hand side of the figure) related to 23 quality criteria (on the right hand side of the figure).
The second of the basic and founding predecessors of today’s quality models is the quality model presented by Barry W. Boehm [12;13]. Boehm addresses the contemporary shortcomings of models that automatically and quantitatively evaluate the quality of software. In essence his models attempts to qualitatively define software quality by a given set of attributes and metrics. Boehm's model is similar to the McCall Quality Model in that it also presents a hierarchical quality model structured around high-level characteristics, intermediate level characteristics, primitive characteristics - each of which contributes to the overall quality level. The high-level characteristics represent basic high-level requirements of actual use to which evaluation of software quality could be put – the general utility of software. The high-level characteristics address three main questions that a buyer of software has:
The intermediate level characteristic represents Boehm’s 7 quality factors that together represent the qualities expected from a software system:
Portability (General utility characteristics): Code possesses the characteristic portability to the extent that it can be operated easily and well on computer configurations other than its current one. Reliability (As-is utility characteristics): Code possesses the characteristic reliability to the extent that it can be expected to perform its intended functions satisfactorily. Efficiency (As-is utility characteristics): Code possesses the characteristic efficiency to the extent that it fulfills its purpose without waste of resources. Usability (As-is utility characteristics, Human Engineering): Code possesses the characteristic usability to the extent that it is reliable, efficient and human-engineered. Testability (Maintainability characteristics): Code possesses the characteristic testability to the extent that it facilitates the establishment of verification criteria and supports evaluation of its performance. Understandability (Maintainability characteristics): Code possesses the characteristic understandability to the extent that its purpose is clear to the inspector. Flexibility (Maintainability characteristics, Modifiability): Code possesses the characteristic modifiability to the extent that it facilitates the incorporation of changes, once the nature of the desired change has been determined. (Note the higher level of abstractness of this characteristic as compared with augmentability).
The lowest level structure of the characteristics hierarchy in Boehm’s model is the primitive characteristics metrics hierarchy. The primitive characteristics provide the foundation for defining qualities metrics – which was one of the
Figure 5: Comparison between criteria/goals of the McCall and Boehm quality models [14].
As indicated in Figure 5 above Boehm focuses a lot on the models effort on software maintenance cost- effectiveness – which, he states, is the primary payoff of an increased capability with software quality considerations.
A later, and perhaps somewhat less renown, model that is structured in basically the same manner as the previous two quality models (but still worth at least to be mentioned in this context) is the FURPS model originally presented by Robert Grady [15] (and extended by Rational Software [16-18] - now IBM Rational Software - into FURPS+^3 ). FURPS stands for:
Usability - which may include human factors, aesthetics, consistency in the user interface, online and context- sensitive help, wizards and agents, user documentation, and training materials Reliability - which may include frequency and severity of failure, recoverability, predictability, accuracy, and mean time between failure (MTBF) Performance - imposes conditions on functional requirements such as speed, efficiency, availability, accuracy, throughput, response time, recovery time, and resource usage Supportability - which may include testability, extensibility, adaptability, maintainability, compatibility, configurability, serviceability, installability, localizability (internationalization)
The FURPS-categories are of two different types: Functional (F) and Non-functional (URPS). These categories can be used as both product requirements as well as in the assessment of product quality.
An even more recent model similar to the McCall’s, Boehm’s and the FURPS(+) quality model, is the quality model presented by R. Geoff Dromey [19;20]. Dromey proposes a product based quality model that recognizes that quality evaluation differs for each product and that a more dynamic idea for modeling the process is needed to be wide enough to apply for different systems. Dromey is focusing on the relationship between the quality attributes and the sub-attributes, as well as attempting to connect software product properties with software quality attributes.
Implementation
Correctness Internal Contextual Descriptive
Functionality, reliability (^) efficiency, reliabilityMaintainability,
Maintainability, reusability, portability, reliability
Maintainability, reusability, portability, usability
Implementation
Correctness Internal Contextual Descriptive
Functionality, reliability (^) efficiency, reliabilityMaintainability,
Maintainability, reusability, portability, reliability
Maintainability, reusability, portability, usability
Software product
Product properties
Quality attributes
Figure 6: Principles of Dromey’s Quality Model
As Figure 6illustrates, there are three principal elements to Dromey's generic quality model
(^3) The "+" in FURPS+ includes such requirements as design constraints, implementation requirements, interface requirements and physical requirements.
Dromey's Quality Model is further structured around a 5 step process:
The renowned ISO acronym stands for International Organization for Standardization^4. The ISO organization is responsible for a whole battery of standards of which the ISO 9000 [21-25] (depicted in below) family probably is the most well known, spread and used.
Figure 7
Figure 7: The ISO 9000:2000 standards. The crosses and arrows indicate changes made from the older ISO 9000 standard to the new ISO 9000:2000 standard.
ISO 19011: ”Guidelines for Auditing Quality Management Systems”
ISO 9004: ”Guidelines for Quality Management of Organizations”
ISO 9000: ”Concepts and Terminology”
ISO 9000-3:1996 ISO 9004-2:
ISO 19011: ”Guidelines for Auditing Quality Management Systems”
ISO 9004: ”Guidelines for Quality Management of Organizations”
ISO 9000: ”Concepts and Terminology”
ISO 9000-3:1996 ISO 9004-2:
ISO 9003:
ISO 9000:
ISO 9001: ”Requirements for Quality Assurance”
ISO 9000:
ISO 9000-1:
ISO 9000-2: ISO 9004-1:1994 (^) ISO 9004-4:
ISO 9004-3:
ISO 9001 is an international quality management system standard applicable to organizations within all type of businesses. ISO 9001 internally addresses an organization’s processes and methods and externally at managing (controlling, assuring etc.) the quality of delivered products and services. ISO 9001 is a process oriented approach towards quality management. That is, it proposes designing, documenting, implementing, supporting, monitoring, controlling and improving (more or less) each of the following processes:
(^4) ISO was chosen instead of IOS, because iso in Greek means equal, and ISO wanted to convey the idea of equality - the idea that they develop standards to place organizations on an equal footing.
Criteria/goals McCall, 1977
Boehm, 1978
Correctness * * maintainability Reliability * * * Integrity * * Usability * * * Effiency * * * Maintainability * * * Testability * maintainability Interoperability * Flexibility * * Reusability * * Portability * * * Clarity * Modifiability * maintainability Documentation * Resilience * Understandability * Validity * maintainability Functionality * Generality * Economy *
Figure 9: Comparison between criteria/goals of the McCall, Boehm and ISO 9126 quality models [14].
ISO 9126 proposes a standard which species six areas of importance, i.e. quality factors, for software evaluation.
Quality ISO/EC 9128
Functionality
Reliability
Efficiency
Maintainability
Portability
Usability
Suitability
Accuracy
Install-ability
Adaptability
Maturity
Fault Tolerance Recoverability
Compliance
Compliance
Analyzability
Change-ability
Stability
Testability
Understandability
Learn-ability
Operability
Attractiveness Compliance
Compliance
Interoperability
Security
Time behaviour
Resource behaviour
Compliance
Compliance
Repiace-ability
Co-existence
Subfactors
Factors
Figure 10: ISO 9126: Software Product Evaluation: Quality Characteristics and Guidelines for their Use
Each quality factors and its corresponding sub-factors are defined as follows:
The Carnegie Mellon Software Engineering Institute (SEI), non-profit group sponsored by the DoD work at getting US software more reliable. Examples of relevant material produces from SEI is the PSP [27;28] and TSPi [29]. While PSP and TSPi briefly brushes the topic of this technical paper, SEI has also produced a number of more extensive Capability Maturity Models that in a very IEEE and ISO 9000 similar manner addresses the topic of software quality:
The CMM/SW-CMM depicted in below addresses the issue of software quality from a process perspective.
Figure 11
Figure 11: Maturity Levels of (SW-)CMM
Level 1: Initial
Level 2: Repeatabl e
Level 3: Defined
Level 4: Managed
Level 5: Optimizing
Process discipline
Process control
Continuous process improvement
Process definition
Project management
Engineering management
Quantitative management
Change management
Table 1: Maturity levels with corresponding focus and key process areas for CMM. Level Focus Key Process Area Level 5 – Optimizing level
Continuous improvement
Process Change Management Technology Change Management Defect Prevention Level 4 – Managed level Product and process quality Software Quality Management Quantitative Process Management
Level 3 – Defined level Engineering process
Organization Process Focus Organization Process Definition Peer Reviews Training Program Intergroup Coordination Software Product Engineering Integrated Software Management
Level 2 – Repeatable level Project Management
Requirements Management Software Project Planning Software Project Tracking and Oversight Software Subcontract Management Software Quality Assurance Software Configuration Management Level 1 – Initial level Heroes No KPAs at this time
The SW-CMM is superseded by the CMMI model which also incorporates some other CMM models into a wider scope. CMMI Integrates systems and software disciplines into one process improvement framework and is structured around the following process areas:
Appendixes
Maturity Level 4 OPP, QPM
Maturity Level 5 OID, CAR
Appendixes
CMMI-SE/SW Staged
Overview Introduction Structure of the Model Model Terminology Maturity Levels, Common Features, and Generic Practices Understanding the Model Using the Model
Maturity Level 2 REQM, PP, PMC, SAM, MA, PPQA, CM
Maturity Level 3 REQD, TS, PI, VER, VAL, OPF, OPD, OT IPM, RSKM, DAR
Support CM, PPQA, MA, CAR, DAR
Engineering REQM, REQD, TS, PI, VER, VAL
Project Management PP, PMC, SAM IPM, RSKM, QPM
Process Management OPF, OPD, OT, OPP, OID
Overview Introduction Structure of the Model Model Terminology Capability Levels and Generic Model Components Understanding the Model Using the Model
CMMI-SE/SW Continuous
Figure 12: The two representations of the CMMI model.
Given that we are trying to provide a somewhat all covering picture of the more known quality models and philosophies we also need to at least mention Six Sigma. Six Sigma can be viewed as a management philosophy that uses customer-focused measurement and goal-setting to create bottom-line results. It strongly advocates listening to the voice of the customer and converting customer needs into measurable requirements.
1.5. Conclusion and discussions
Throughout this chapter the ambition has been to briefly survey some different structures of quality – without any deepening drilldowns in a particular model or philosophy. The idea was to nuance and provide an overview of the landscape of what sometimes briefly (and mostly thoughtlessly) simply is labeled quality. The paper has shown that quality can be a very elusive concept that can be approached from a number of perspective dependent on once take and interest. Garvin [11;34] has made a cited attempt to sort out the different views on quality. He the following organization of the views:
[20] Dromey, R. G., "A model for software product quality", IEEE Transactions on Software Engineering , no. 2, pp. 146-163, 1995. [21] ISO, International Organization for Standardization, "ISO 9000:2000, Quality management systems - Fundamentals and vocabulary" , 2000. [22] ISO, International Organization for Standardization, "ISO 9000-2:1997, Quality management and quality assurance standards — Part 2: Generic guidelines for the application of ISO 9001, ISO 9002 and ISO 9003" ,
[23] ISO, International Organization for Standardization, "ISO 9000-3:1998 -- Quality management and quality assurance standards – Part 3: Guidelines for the application of ISO 9001_1994 to the development, supply, installation and maintenance of computer software (ISO 9000-3:1997)" , 1998. [24] ISO, International Organization for Standardization, "ISO 9001:2000, Quality management systems – Requirements" , 2000. [25] ISO, International Organization for Standardization, "ISO 9004:2000, Quality management systems - Guidelines for performance improvements" , 2000. [26] ISO, International Organization for Standardization, "ISO 9126-1:2001, Software engineering - Product quality, Part 1: Quality model" , 2001. [27] Humphrey, W. S., Introduction to the Personal Software Process, Addison-Wesley Pub Co; 1st edition (December 20, 1996), 1996. [28] Humphrey, W. S., Managing the software process, Addison-Wesley, 1989. [29] Humphrey, W. S., Introduction to the team software process, Addison-Wesley, 2000. [30] Paulk, Mark C., Weber, Charles V., Garcia, Suzanne M., Chrissis, Mary Beth, and Bush, Marilyn, "Capability Maturity Model for Software, Version 1.1" , Software Engineering Institute, Carnegie Mellon University, 1993. [31] Paulk, Mark C., Weber, Charles V., Garcia, Suzanne M., Chrissis, Mary Beth, and Bush, Marilyn, "Key practices of the Capability Maturity Model, version 1.1" , 1993. [32] Curtis, Bill, Hefley, Bill, and Miller, Sally, "People Capability Maturity Model® (P-CMM®), Version 2.0" , Software Engineering Institute, Carnegie Mellon University, 2001. [33] Carnegie Mellon, Software Engineering Institute, Welcome to the CMMI® Web Site , Carnegie Mellon, Software Engineering Institute, http://www.sei.cmu.edu/cmmi/cmmi.html, 2004. [34] Garvin, D. A., "What does 'Product Quality' really mean?", Sloan Management Review , no. 1, pp. 25-43,
___ Chapter Two _________________________________________
2. Customer/User-Oriented Attributes and Evaluation Models
2.1. Introduction
In ISO 8402 quality is defined as the ability to satisfy stated and implied needs. The main question to answer when discussing quality is “Whom will be satisfied and experience quality?”. In this section the answer is the user. We distinguish between user, customer and system-as-user of a software product. We will mainly focus on the human user as he or she is the outermost outpost in the quality chain as we will soon see. The difference between a customer and a user is that a customer experiences product quality through received information about the product but the users experience quality through their own use. In ISO 9126:1 there are three approaches to software quality; internal quality (quality of code), external quality (quality of execution) and quality in use (to which extent the user needs are met in the user’s working environment). The three approaches depend on and influence each other as illustrated in Figure 1 from ISO 9126-1. There is a fourth approach to software quality and that is the software development process that influence how good the software product will be. Process quality may improve product quality that on its part improves quality in use.
depends on
process^ influences quality
software product effect of software product
context of use
depends on^ depends on
influences (^) influences quality in use
external quality
internal quality
process
process measures
Figure 1: The three approaches to software quality.
external measures
internal measures (^) Quality in use measures
To evaluate software quality means to perform a systematic investigation of the software capability to implement specified quality requirements. To evaluate software quality a quality model should be defined. There are several examples of quality models in literature (McCall et al. 1977, Boehm et Al. 1978, Bowen 1985, ISO 9126-1, ISO 9241:11, ISO 13407). The quality model consists of several quality attributes that are used as a checklist for determine software quality (ISO 9126-1). The quality model is dependent of the type of software and you can either use a fixed already defined quality model or define your own (Fenton 1997). For example, ISO 13407 is a fixed quality model directed towards providing guidance on human centred design activities throughout the life cycle of computer based interactive systems. ISO 13407 explicitly uses the definition of usability from ISO 9241:11. An example of a ‘defined own’ quality model could be Jokela et al (2002) that uses the ISO 9241:11 definition of usability as the quality model in their study. To evaluate a software product we will also need an evaluation model, software measurements and if possible supporting software tools to facilitate the evaluation process (Beus-Dukic & Bøegh, 2003). Figure 2 clarifies how we perceive and understand the concepts of software qualities. This understanding will act as a base for the discussion in this Section. During the development process a quality model is chosen or defined based on the requirements of the specific software that is being built. The quality model is successively built into the code of the software product. The quality of the code can be measured by measuring the status of the quality attributes of the quality model. This is done by using internal metrics, for example how many faults are detected in the code. The same quality model and quality attributes are used to evaluate the external quality, but they might have a slightly different meaning and will be measured in a different way because external quality is measured during execution. In terms of fault detection, the number of failures while executing a specific section may be counted. The objective for a software product is to have the required effect in a specific context of use (ISO 9126-1) and this effect can either be estimated or measured in real use. We either estimate or measure the quality in use. External quality is implied by internal quality and internal quality in turn is implied among other things by process quality. Therefore process and internal quality will not be discussed in this section since the user only experiences these kinds of qualities indirectly. Quality in use is the combined effect of the quality attributes contained in all the selected quality models and quality in use is what the users behold of the software quality when the software product is used in a particular