Quality is not one property but a group of properties. Each user and project may give them different importance, so it is necessary to define them.

What is Software Quality?

Software quality is the degree to which the software meets its stated requirements, follows the standards of development, and satisfies the implicit expectations of its users. It has two sides. Quality of design is the extent to which the design meets the specification. Quality of conformance is the extent to which the product follows the design. Quality is built in at every stage, and cannot be added at the end.

Definition: Software quality. The degree to which a software product meets its specified requirements and the needs and expectations of its users.

McCall's Quality Factors

McCall grouped eleven quality factors by the use of the software. For product operation: correctness, which is the degree to which the software does what is required, reliability, the ability to run without failure, efficiency, the use of resources, integrity, the control of access and security, and usability, the ease of learning and using. For product revision: maintainability, the ease of finding and fixing faults, flexibility, the ease of change, and testability, the ease of testing. For product transition: portability, the ease of moving to another environment, reusability, the use of parts in other systems, and interoperability, the ability to work with other systems.

ISO 9126 Characteristics

The ISO 9126 standard defines six characteristics, each with sub-characteristics. Functionality is the suitability, accuracy and security of the functions. Reliability is maturity, fault tolerance and recoverability. Usability is understandability, learnability and operability. Efficiency is time behaviour and resource use. Maintainability is analysability, changeability, stability and testability. Portability is adaptability, installability and replaceability. Its successor, ISO 25010, adds security and compatibility.

Table 4.5: Quality attributes by purpose

Group Attributes Question
Operation Correctness, reliability, efficiency, integrity, usability Does it work well?
Revision Maintainability, flexibility, testability Can it be changed?
Transition Portability, reusability, interoperability Can it move and connect?

Example 4.5: Choosing attributes

Problem: Name the most important quality attributes for (a) the software of a pacemaker, (b) a website that must run on many devices, (c) a payroll package that changes every year with tax rules.

Solution:

  1. A pacemaker must not fail, so reliability and correctness are the most important.
  2. A site for many devices needs portability and usability.
  3. A payroll package with yearly change needs maintainability and flexibility.

Result: (a) reliability and correctness, (b) portability and usability, (c) maintainability and flexibility.

Common mistakes

  • Trying to maximise all quality attributes at once. Some conflict, such as efficiency and portability.
  • Treating correctness as the only measure of quality.
  • Not stating measurable targets for quality attributes.

Key takeaways

  • Quality is conformance to requirements and standards and to implicit user expectations.
  • McCall's factors are grouped as operation, revision and transition.
  • ISO 9126 has six characteristics.
  • Attributes may conflict, so the important ones are chosen for each project.

Practice questions

  1. Name three quality attributes.
  2. What are the three groups of McCall's factors?
  3. Name the six characteristics of ISO 9126.

Answers to the practice questions

  1. Reliability, maintainability and portability (also correctness, efficiency, usability).
  2. Product operation, product revision and product transition.
  3. Functionality, reliability, usability, efficiency, maintainability and portability.

Sources

  • Official BCA syllabus Advanced Software Engineering, course code 25BCA405DS01, Unit IV