Using Metrics to Evaluate Software System Maintainability

Total Page:16

File Type:pdf, Size:1020Kb

Using Metrics to Evaluate Software System Maintainability COMPUTING Using Metrics to Evaluate Software Svstem J Maint ainabilitv J In this month’s Computing Practices Don Coleman and Dan Ash, Hewlett-Packard we offer a sneak preview of Computer‘s September issue on software metrics. Bruce Lowther, Micron Semiconductor Software metrics have been much criticized in the last few years, some- Paul Oman, University of Idaho times justly but more often unjustly, because critics misunderstand the intent behind the technology. Software complexity metrics, for example, rarely measure the “inherent complexity“ embedded in software systems, but ith the maturation of software development practices, software main- they do a very good job of comparing tainability has become one of the most important concerns of the soft- the relative complexity of one portion of ware industry. In his classic book on software engineering, Fred Brooks’ a system with another. In essence, they claimed, “The total cost of maintaining a widely used program is typically 40 percent are good modeling tools. Whether they or more of the cost of developing it.” Parikh2 had a more pessimistic view, claiming are also good measuring tools depends that 45 to 60 percent is spent on maintenance. More recently, two recognized ex- on how consistently and appropriately perts, Corbi3 and Yourdon: claimed that software maintainability is one of the ma- they are applied. The two articles jor challenges for the 1990s. showcased here suggest ways of These statements were validated recently by Dean Morton, executive vice presi- applying such metrics. dent and chief operating officer of Hewlett-Packard, who gave the keynote address Our first article, by Don Coleman et at the 1992 Hewlett-Packard Software Engineering Productivity Conference. Mor- al., sets forth maintainability metrics for ton stated that Hewlett-Packard (HP) currently has between 40 and 50 million lines gauging the effect of maintenance of code under maintenance and that 60 to 80 percent of research and development changes in software systems, rank personnel are involved in maintenance activities. He went on to say that 40 to 60 ordering subsystem complexity, and percent of the cost of production is now maintenance expense. comparing the “quality” of two different The intent of this article is to demonstrate how automated software maintainabil- systems. ity analysis can be used to guide software-related decision making. We have applied The second article, by Norman metrics-based software maintainability models to 11 industrial software systems and Schneidewind, describes an approach used the results for fact-finding and process-selection decisions. The results indicate to validating software quality metrics for that automated maintainability assessment can be used to support buy-versus-buildde- large-scale projects such as the space cisions, pre- and post-reengineering analysis, subcomponent quality analysis, test re- shuttle flight software. The proposed source allocation, and the prediction and targeting of defect-prone subcomponents. metrics isolate specific quality factors Further, the analyses can be conducted at various levels of granularity. At the com- that let us predict and control software ponent level, we can use these models to monitor changes to the system as they occur quality. and to predict fault-prone components. At the file level, we can use them to identify Please feel free to contact me di- subsystems that are not well organized and should be targeted for perfective mainte- rectly about articles you liked, didn’t nance. The results can also be used to determine when a system should be reengi- like, or would like to see in this section neered. Finally, we can use these models to compare whole systems. Comparing a (oman Qcs.uidaho.edu). known-quality system to a third-party system can provide a basis for deciding whether -Paul Oman to purchase the third-party system or develop a similar system internally. NlX-9162194/$4.00 0 1994 IEEE COMPUTER Authorized licensed use limited to: CALIF STATE UNIV NORTHRIDGE. Downloaded on April 26, 2009 at 01:38 from IEEE Xplore. Restrictions apply. Recent studies in metrics for software sented to HP Corporate Engineering the program or system is decom- maintainability and quality assessment managers in the spring and summer of posed into algorithms. have demonstrated that the software’s 1993. At that time it was decided that the (2) The information structure, which in- characteristics, history, and associated en- hierarchical multidimensional assess- cludes characteristics pertaining to vironment(s) are all useful in measuring ment and the polynomial regression the choice and use of data structure the quality and maintainability of that models would be pursued as simple and dataflow techniques. software?-7Hence, measurement of these mechanisms for maintainability assess- (3) Typography, naming, and comment- characteristics can be incorporated into ment that could be used by maintenance ing, which includes characteristics software maintainability assessment mod- engineers in a variety of locations. HP pertaining to the typographic layout, els, which can then be applied to evalu- wanted quick, easy-to-calculate indices and naming and commentingof code. ate industrial software systems. Successful that ‘‘line’’ engineers could use at their models should identify and measure what desks. The following subsections explain We can easily define or identify sepa- most practitioners view as important com- how these methods were applied to in- rate metrics that can measure each di- ponents of software maintainability. dustrial systems. mension’s characteristics. Once the met- rics have been defined andlor identified, HPMAS: A hierarchical multidimen- an “index of maintainability” for each di- sional assessment model. HPMAS is mension can be defined as a function of A comDarison HP’s software maintainability assessment those metrics. Finally, the three dimen- of five models system based on a hierarchical organiza- sion scores can be combined for a total tion of a set of software metrics. For this maintainability index for the system. For We recently analyzed five methods for particular type of maintainability prob- our work, we used existing metrics to cal- quantifying software maintainability lem, Oman and Hagemeister6 have sug- culate a deviation from acceptable ranges from software metrics. The definition, gested a hierarchical model dividing and then used the inverse of that devia- derivation, and validation of these five maintainability into three underlying di- tion as an index of quality. methods has been documented else- mensions or attributes: Most metrics have an optimum range where.7 Only a synopsis of the five meth- of values within which the software is ods is presented here: (1) The control structure, which includes more easily maintained. A method called characteristics pertaining to the way weight and trigger-point-range analysis is Hierarchical multidimensional as- sessment models view software main- tainability as a hierarchical structure of the source code’s attributes6 Polynomial regression models use re- gression analysis as a tool to explore the relationship between software maintainability and software metrics8 An aggregate complexity measure gauges software maintainability as a function of entropy.5 Principal components analysis is a sta- tistical technique to reduce collinear- ity between commonly used complex- ity metrics in order to identify and reduce the number of components used to construct regression model^.^ ed into Factor analysis is another statistical technique wherein metrics are or- thogonalized into unobservable un- derlying factors, which are then used to model system maintainabilit~.~ Tests of the models indicate that all five compute reasonably accurate main- tainability scores from calculations based on simple (existing) metrics. All five models and the validation data were pre- August 1994 Authorized licensed use limited to: CALIF STATE UNIV NORTHRIDGE. Downloaded on April 26, 2009 at 01:38 from IEEE Xplore. Restrictions apply. used to quantify maintainability by cal- Polynomial assessment tools. Regres- of comments. That is, large comment culating a “degree of fit” from a table of sion analysis is a statistical method for blocks, especially in small modules, un- acceptable metric ranges. When the met- predicting values of one or more response duly inflated the resulting maintainabil- ric value falls outside the optimum range, (dependent) variables from a collection ity indices. To rectify this, we replaced the it indicates that maintainability is lower; of predictor (independent) variables. For aveCM component with percent com- hence, there is a deviation (or penalty) purposes of software maintainability as- ments (perCM), and a ceiling function on the component’s contribution to sessment, we need to create a polynomial was placed on the factor to limit its con- maintainability. The optimum range equation by which a system’s maintain- tribution to a maximum value of 50.1° value, called the trigger point range, re- ability is expressed as a function of the as- Also, because there has been much dis- flects the “goodness” of the program sociated metric attributes. We have used cussion of the nonmonotonicity of Hal- style. For example, if the acceptable this technique to develop a set of polyno- stead’s effort metric (it is not a nonde- range for average lines ofcode (aveLOC) mial maintainability assessment models8 creasing function under the concatenation is between 5 and 75, values falling
Recommended publications
  • ASSESSING the MAINTAINABILITY of C++ SOURCE CODE by MARIUS SUNDBAKKEN a Thesis Submitted in Partial Fulfillment of the Requireme
    ASSESSING THE MAINTAINABILITY OF C++ SOURCE CODE By MARIUS SUNDBAKKEN A thesis submitted in partial fulfillment of the requirements for the degree of Master of Science in Computer Science WASHINGTON STATE UNIVERSITY School of Electrical Engineering and Computer Science DECEMBER 2001 To the Faculty of Washington State University: The members of the Committee appointed to examine the thesis of MARIUS SUNDBAKKEN find it satisfactory and recommend that it be accepted. Chair ii ASSESSING THE MAINTAINABILITY OF C++ SOURCE CODE Abstract by Marius Sundbakken, M.S. Washington State University December 2001 Chair: David Bakken Maintenance refers to the modifications made to software systems after their first release. It is not possible to develop a significant software system that does not need maintenance because change, and hence maintenance, is an inherent characteristic of software systems. It has been estimated that it costs 80% more to maintain software than to develop it. Clearly, maintenance is the major expense in the lifetime of a software product. Predicting the maintenance effort is therefore vital for cost-effective design and development. Automated techniques that can quantify the maintainability of object- oriented designs would be very useful. Models based on metrics for object-oriented source code are necessary to assess software quality and predict engineering effort. This thesis will look at C++, one of the most widely used object-oriented programming languages in academia and industry today. Metrics based models that assess the maintainability of the source code using object-oriented software metrics are developed. iii Table of Contents 1. Introduction .................................................................................................................1 1.1. Maintenance and Maintainability.......................................................................
    [Show full text]
  • A Quantitative Reliability, Maintainability and Supportability Approach for NASA's Second Generation Reusable Launch Vehicle
    A Quantitative Reliability, Maintainability and Supportability Approach for NASA's Second Generation Reusable Launch Vehicle Fayssai M. Safie, Ph. D. Marshall Space Flight Center Huntsville, Alabama Tel: 256-544-5278 E-mail: Fayssal.Safie @ msfc.nasa.gov Charles Daniel, Ph.D. Marshall Space Flight Center Huntsville, Alabama Tel: 256-544-5278 E-mail: Charles.Daniel @msfc.nasa.gov Prince Kalia Raytheon ITSS Marshall Space Flight Center Huntsville, Alabama Tel: 256-544-6871 E-mail: Prince.Kalia @ msfc.nasa.gov ABSTRACT The United States National Aeronautics and Space Administration (NASA) is in the midst of a 10-year Second Generation Reusable Launch Vehicle (RLV) program to improve its space transportation capabilities for both cargo and crewed missions. The objectives of the program are to: significantly increase safety and reliability, reduce the cost of accessing low-earth orbit, attempt to leverage commercial launch capabilities, and provide a growth path for manned space exploration. The safety, reliability and life cycle cost of the next generation vehicles are major concerns, and NASA aims to achieve orders of magnitude improvement in these areas. To get these significant improvements, requires a rigorous process that addresses Reliability, Maintainability and Supportability (RMS) and safety through all the phases of the life cycle of the program. This paper discusses the RMS process being implemented for the Second Generation RLV program. 1.0 INTRODUCTION The 2nd Generation RLV program has in place quantitative Level-I RMS, and cost requirements [Ref 1] as shown in Table 1, a paradigm shift from the Space Shuttle program. This paradigm shift is generating a change in how space flight system design is approached.
    [Show full text]
  • Software Quality Management
    Software Quality Management 2004-2005 Marco Scotto ([email protected]) Software Quality Management Contents ¾Definitions ¾Quality of the software product ¾Special features of software ¾ Early software quality models •Boehm model • McCall model ¾ Standard ISO 9126 Software Quality Management 2 Definitions ¾ Software: intellectual product consisting of information stored on a storage device (ISO/DIS 9000: 2000) • Software may occur as concepts, transactions, procedures. One example of software is a computer program • Software is "intellectual creation comprising the programs, procedures, rules and any associated documentation pertaining to the operation of a data processing system" •A software product is the "complete set of computer programs, procedures and associated documentation and data designated for delivery to a user" [ISO 9000-3] • Software is independent of the medium on which it is recorded Software Quality Management 3 Quality of the software product ¾The product should, on the highest level… • Ensure the satisfaction of the user needs • Ensure its proper use ¾ Earlier: 1 developer, 1 user • The program should run and produce results similar to those expected ¾ Later: more developers, more users • Need to economical use of the storage devices • Understandability, portability • User-friendliness, learnability ¾ Nowadays: • Efficiency, reliability, no errors, able to restart without using data Software Quality Management 4 Special features of software (1/6) ¾ Why is software ”different”? • Does not really have “physical” existence
    [Show full text]
  • Software Maintainability and Usability in Agile Environment
    Software Maintainability and Usability in Agile Environment {tag} {/tag} International Journal of Computer Applications © 2013 by IJCA Journal Volume 68 - Number 4 Year of Publication: 2013 Authors: Monika Agarwal Rana Majumdar 10.5120/11569-6873 {bibtex}pxc3886873.bib{/bibtex} Abstract This research is based on software maintainability and usability in the agile environment. Maintainability of the system is the ability to undergo changes relatively easily. These changes can affect components, services, interfaces and functionality when adding or changing functions, errors, and respond to business needs. Usability is defined as the application that meets the requirements of users and consumers by providing an intuitive, easy to locate and globalize and provides good access for disabled users and leads to a good overall user experience. In the conventional method of the software development, there are many metrics to calculate the maintenance and use of software. This research is to determine whether the same measures apply to Agile, or there is a need to change some metrics used for the agile environment. The goal of software engineering is to develop good quality maintainable software in schedule and budget. Inflated software costing, delayed time frame, or not meeting quality standards express a failure. A survey suggests about 45% of software fails due to the lack of quality. It is therefore one of the most important aspects for the success of software. Refer ences 1 / 3 Software Maintainability and Usability in Agile Environment - P. Antonellis, D. Antoniou, Y. Kanellopoulos, C. Makris, E. Theodoridis, C. Tjortjis, and N. Tsirakis, "A data mining methodology for evaluating maintainability according to ISO/IEC-9126 software engineering – product quality standard," in Special Session on System Quality and Maintainability - SQM2007, 2007.
    [Show full text]
  • Adaptability Evaluation at Software Architecture Level Pentti Tarvainen*
    The Open Software Engineering Journal, 2008, 2, 1-30 1 Open Access Adaptability Evaluation at Software Architecture Level Pentti Tarvainen* VTT Technical Research Centre of Finland, Kaitoväylä 1, P.O. Box 1100, FIN-90571 Oulu, Finland Abstract: Quality of software is one of the major issues in software intensive systems and it is important to analyze it as early as possible. An increasingly important quality attribute of complex software systems is adaptability. Software archi- tecture for adaptive software systems should be flexible enough to allow components to change their behaviors depending upon the environmental and stakeholders' changes and goals of the system. Evaluating adaptability at software architec- ture level to identify the weaknesses of the architecture and further to improve adaptability of the architecture are very important tasks for software architects today. Our contribution is an Adaptability Evaluation Method (AEM) that defines, before system implementation, how adaptability requirements can be negotiated and mapped to the architecture, how they can be represented in architectural models, and how the architecture can be evaluated and analyzed in order to validate whether or not the requirements are met. AEM fills the gap from requirements engineering to evaluation and provides an approach for adaptability evaluation at the software architecture level. In this paper AEM is described and validated with a real-world wireless environment control system. Furthermore, adaptability aspects, role of quality attributes, and diversity of adaptability definitions at software architecture level are discussed. Keywords: Adaptability, adaptation, adaptive software architecture, software quality, software quality attribute. INTRODUCTION understand the system [6]. Examples of design decisions are the decisions such as “we shall separate user interface from Today, quality of a software system plays an increasingly the rest of the application to make both user interface and important role in the domain of software engineering.
    [Show full text]
  • Software Maintainability and Reusability Using Cohesion Metrics
    International Journal of Computer Trends and Technology (IJCTT) – Volume 54 Issue 2-December2017 Software Maintainability and Reusability using Cohesion Metrics Adekola, O.D#1, Idowu, S.A*2, Okolie, S.O#3, Joshua, J.V#4, Akinsanya, A.O*5, Eze, M.O#6, EbiesuwaSeun#7 #1Faculty, Computer Science Department, Babcock University,Ilishan-Remo, Ogun State, Nigeria *2Faculty, Computer Science Department, Babcock University,Ilishan-Remo, Ogun State, Nigeria #3Faculty, Computer Science Department, Babcock University,Ilishan-Remo, Ogun State, Nigeria #4Faculty, Computer Science Department, Babcock University,Ilishan-Remo, Ogun State, Nigeria *5Faculty, Computer Science Department, Babcock University,Ilishan-Remo, Ogun State, Nigeria #6Faculty, Computer Science Department, Babcock University,Ilishan-Remo, Ogun State, Nigeria #7Faculty, Computer Science Department, Babcock University,Ilishan-Remo, Ogun State, Nigeria Abstract - Among others, remarkable external software’s lifetime. Ahn et al., (2003) estimated that quality attributes of interest to software practitioners/ maintenance takes up to 80% of the total costof engineers include testability, maintainability and producing software applications. Expectation of reusability.Software engineers still combat achieving more reliable, quicker time-to-market and softwarecrisis and even chronic software affliction maintainable systems. A lot of research has gone into not because there is no standardized software the areas of software reuse and maintenance due to development process but because enough attention is the fact that these among other issues concern not given to seemingly insignificant but crucial intimately system developers/architects/engineers details of internal design attributes such as cohesion rather than end-users. Therehas been enormous and coupling especially in object-oriented systems. growth in software reuse research from the days of Consequently, the aftermath is increased structured programming concepts to object-oriented maintenance cost, effort and time which negatively methods and beyond (e.g.
    [Show full text]
  • Measuring Software Maintainability
    Aalto University School of Science Degree Programme in Computer Science and Engineering Juha Viljanen Measuring software maintainability Master's Thesis Espoo, August 10, 2015 Supervisor: Professor Marjo Kauppinen, Aalto University Advisor: Robert Brotherus Lic.Phil. (Chem.) Timo Lehtinen D.Sc. (Tech) Aalto University School of Science ABSTRACT OF Degree Programme in Computer Science and Engineering MASTER'S THESIS Author: Juha Viljanen Title: Measuring software maintainability Date: August 10, 2015 Pages: 94 Major: Software Engineering Code: T241-3 Supervisor: Professor Marjo Kauppinen Advisor: Robert Brotherus Lic.Phil. (Chem.) Timo Lehtinen D.Sc. (Tech) Maintenance forms the major part of the software's development costs. Keep- ing the software's code base in a good shape, i.e. maintainable, speeds up and reduces the cost of making changes and makes them less risky. Refactoring and reengineering are practices to improve a software's maintainability. An essential part of keeping a software's maintainability at a desired level or systematically improving its maintainability is to measure the progress and to find the parts of code whose improvement would have the biggest affect on the overall maintainability. This can be done by using metrics. It is crucial to make sure the metrics are actively used by the company personnel. This can be done by providing useful deployment practices for the metrics. A literature review and a case study was conducted using a simplified version of the Design Science. The aim was to find a relevant set of metrics and useful ways of deploying them at the case company. In the case study, workshops were organized at the case company to fulfill the aim.
    [Show full text]
  • Designing for Maintainability, Failure Resilience, and Evolvability in Ubiquitous Computing Software
    Designing for Maintainability, Failure Resilience, and Evolvability in Ubiquitous Computing Software Shankar Ponnekanti, Brad Johanson, Emre Kıcıman, and Armando Fox Computer Science Department, Stanford University pshankar,bjohanso,emrek,fox ¡ cs.stanford.edu Abstract architecture adequate for human-scale latencies, and the naturally-limited scale of ubicomp makes The design constraints in ubiquitous computing (ubi- scalability a lesser concern. comp) differ from those traditionally emphasized by the systems community: evolvability, long-term maintain- These observations lead us to a simple (and therefore ability, and robustness to transient failures are essential, deployable and low-maintenance) system architecture while scalability and performance are lesser concerns, with sufficient performance and scalability that nicely due to the nature of ubicomp itself and the performance supports important programming abstractions required of today’s commodity equipment. We show how these for room-scale ubicomp. observations are reflected in the design of iROS, a ubi- This paper describes why ubicomp environments lead comp software framework in production use. In par- to potentially different design decisions, and how they ticular, we show that a centralized architecture directly were made in iROS (the Interactive Room Operating enables the ubicomp programming abstractions needed System), the software infrastructure for a ubicomp en- while providing the best solution for evolvability and vironment that has been in production use for £¥¤ years. maintainability/deployability, and that we can achieve Since ubicomp is a relatively immature field, com- the required robustness through a fast-recovery strategy, parisons of specific mechanisms within ubicomp pro- which allows a simple centralized implementation of gramming frameworks are hard to make.
    [Show full text]
  • Recommended Techniques for Effective Maintainability
    W..e_: NASA Technical Memorandum 4628 Recommended Techniques for Effective Maintainability A Continuous Improvement Initiative of the NASA Reliability and Maintainability Steering Committee December 1994 = # \ (NASA-TM-4628) RECOMMENOEO N95-31530 TECHNIQUES FOR EFFECTIVE MAINTAINABILITY. A CONTINUOUS IMPROVEMENT INITIATIVE OF THE NASA Unclas RELIABILITY AND MAINTAINABILITY STEERING COMMITTEE (NASA) 105 p H1/38 0060399 | w = J J Ira! J] ii U mmm mini mJ r - w J _J W IL u h_ PREFACE Current and future NASA programs face the challenge of achieving a high degree of mission success with a minimum degree of technical risk. Although technical risk has several . , w elements, such as safety, reliability, and performance, a proven track record of overall system effectiveness ultimately will be the NASA benchmark. This will foster the accomplishment of r mission objectives within cost and schedule expectations without compromising safety or w program risk. A key CharaCteristic of systems effeci_veness is the impiementation of appropriate levels of maintainability throughout the program life cycle. Maintainability is a process for assuring the ease by which a system can be restored to operation following a failure. It is an essential consideration for any program requiring ground n and/or on-orbit maintenance. TheiOffice of S_._ty"and Mission Assurance (OSMA) has undertaken a continuous improvement initiative to develop a technical roadmap that will provide a path toward achieving the desired degree of maintainability while realizing cost and schedule benefits. Although early life cycle costs are a characteristic of any assurance program, operational cost savings and improved system availability almost always result from __° a properlY administered maintainability assurance program.
    [Show full text]
  • Software Quality Factors
    Software Quality Factors 1 TheThe needneed forfor aa comprehensivecomprehensive softwaresoftware qualityquality requirementsrequirements There are some characteristic common : All the software projects satisfactory fulfilled the basic requirements for correct calculations All the software projects suffered from poor performance in important areas such as maintenance, reliability, software reuse, or training. The cause for the poor performance of the developed software projects in these areas was the lack of predefined requirements to cover these important aspects of the software’s functionally. 2 TheThe needneed forfor aa comprehensivecomprehensive definitiondefinition ofof requirementsrequirements (2)(2) There is a need for a comprehensive definition of requirements that will cover all attributes of software and aspects of the usability aspects, reusability aspects, maintainability aspects, and so forth in order to assure the full satisfaction of the users. 3 ClassificationClassification ofof softwaresoftware requirementsrequirements intointo softwaresoftware qualityquality factorsfactors The classic model of software quality factors suggest by : McCall (consist of 11 factors, 1977) Deutsch and Willis (consist of 12 to 15 factors, 1988) Evans and Marciniak (1987) 4 McCall’sMcCall’s FactorFactor ModelModel Classifies all software requirement into 11 software quality factors, grouped into three categories : 1. Product operation factors : Correctness, Reliability, Efficiency, Integrity, Usability. 2. Product revision factors : Maintainability,
    [Show full text]
  • Appendix J Software Safety
    FAA System Safety Handbook, Appendix J: Software Safety December 30, 2000 Appendix J Software Safety SOFTWARE SAFETY...............................................................................................................................1 J.0 SOFTWARE SAFETY DURING LIFE CYCLE PHASES................................................................2 J-1 FAA System Safety Handbook, Appendix J: Software Safety December 30, 2000 J.0 Software Safety During Life Cycle Phases The safety process should support a structured program life cycle model that incorporates both the system design and engineering process and the software acquisition process. Prominent software life cycle models include the waterfall and spiral methodologies. Although different models may carry different lifecycle emphasis, the adopted model should not affect the safety process itself. For discussion purposes only, this enclosure adopts a waterfall model (subject to IEEE/IEA Standard for Information Technology-software life cycle processes No. 12207.) For brevity, only the development phase of the Standard is addressed in terms of the relationship to software safety activities. J.1 Safety Critical Software Development A structured development environment and an organization using state-of-the-art methods are prerequisites to developing dependable safety critical software. The following requirements and guidelines are intended to carry out the cardinal safety rule and its corollary that no single event or action shall be allowed to initiate a potentially hazardous event. The system, upon detection of an unsafe condition or command, shall inhibit the potentially hazardous event sequence and originate procedures/functions to bring the system to a predetermined “safe” state. The purpose of this section is to describe the software safety activities that should be incorporated into the software development phases of project development. The software safety information that should be included in the documents produced during these phases is also discussed.
    [Show full text]
  • Software Quality Assurance „ Process-Based (Conformance to Requirements) „ Product-Based (You Get What You Pay For) „ Transcendent (Excellence)
    Five Views of Quality Value-based (Engineer to price) User-based (Fitness for purpose) Software Quality Assurance Process-based (Conformance to requirements) Product-based (You get what you pay for) Transcendent (Excellence) M8034 @ Peter Lo 2006 1 M8034 @ Peter Lo 2006 2 Software Quality Definition The Definition Emphasize Conformance to explicitly stated functional and Software requirements are the foundation from which performance requirements, explicitly documented quality is measured. Lack of conformance to development standards, and implicit requirements is lack of quality. characteristics that are expected of all Specified standards define a set of development criteria that guide the manner in which software is engineered. If professionally developed software. the criteria are not followed, lack of quality will almost surely result. There is a set of implicit requirements that often goes unmentioned. If software conforms to its explicit requirements, but fails to meet implicit requirements, software quality is suspect. M8034 @ Peter Lo 2006 3 M8034 @ Peter Lo 2006 4 How Important Software Quality? Software Quality Factors It is important to have the understanding that the It can be categorized in two groups: software quality work begins before the testing Factors that can be Directly Measured (e.g. phase and continues after the software is delivered. errors; KLOC; unit-time) Factors that can be Measured only Indirectly (e.g. usability or maintainability) Or, it can be categorized into: Internal – Attributes which can be measured or observed in isolation. External – Attributes which can only be observed in relation to external environment. M8034 @ Peter Lo 2006 5 M8034 @ Peter Lo 2006 6 McCall’s Triangle of Quality McCall’s Triangle of Quality McCall’s quality factors were proposed in the PRODUCT REVISION PRODUCT TRANSITION early 1970s.
    [Show full text]