Software Engineering · Software Quality
Quality Factors and Standards
Overview
Software quality is the degree to which a software product satisfies stated and implied requirements, and the totality of features that bear on its ability to satisfy fitness-for-purpose.
Because no single attribute can capture quality, both practice and the exam model it as a multi-dimensional set of quality factors grouped by standard frameworks (McCall, ISO/IEC 9126, ISO/IEC 25010) and governed by process standards (ISO 9000 family, CMM/CMMI).
This topic sits in Software Engineering → Software Quality and builds on earlier ideas of the software lifecycle, requirements, verification and validation, and basic measurement.
Before reading, you should know what correctness, testing, maintenance and a software process mean; the notes then define every attribute precisely and connect the models to the standards.
Key concepts
- Software quality (ISO 8402 / IEEE): the totality of features and characteristics of a product or service that bear on its ability to satisfy stated or implied needs.
Quality = conformance to requirements + fitness for use. - McCall's quality model (1977) organises 11 quality factors into 3 product perspectives (exam calls them "three software product aspects"):
- Product Operation (does it run well?): Correctness, Reliability, Efficiency, Integrity, Usability.
- Product Revision (can it be changed?): Maintainability, Flexibility, Testability.
- Product Transition (can it move to new environments?): Portability, Reusability, Interoperability.
- "Production costs and scheduling" is not one of the three aspects.
- McCall also defined design metrics linked to each factor; e.g. conciseness = compactness of the program in terms of lines of code (a maintainability-related metric).
- ISO/IEC 9126-1 defines 6 quality characteristics for a software product:
Functionality, Reliability, Usability, Efficiency, Maintainability, Portability.
Sub-characteristics:
- Functionality: suitability, accuracy, interoperability, security, compliance.
- Reliability: maturity, fault tolerance, recoverability.
- Usability: understandability, learnability, operability, attractiveness.
- Efficiency: time behaviour, resource behaviour.
- Maintainability: analysability, changeability, stability, testability.
- Portability: adaptability, installability, co-existence, replaceability.
- ISO/IEC 25010 (SQuaRE product quality model, successor to 9126) defines 8 characteristics: Functional suitability, Performance efficiency, Compatibility, Usability, Reliability, Security, Maintainability, Portability. Changes from 9126: Security was elevated to a top-level characteristic (was a sub-characteristic of functionality); Compatibility is new; Availability is a reliability sub-characteristic; Reusability moved into maintainability; usability gains user-error protection, aesthetics and accessibility.
- ISO/IEC 25010 sub-characteristics: Security = confidentiality, integrity, non-repudiation, accountability, authenticity.
Reliability = maturity, availability, fault tolerance, recoverability.
Maintainability = modularity, reusability, analysability, modifiability, testability.
Compatibility = co-existence, interoperability.
Portability = adaptability, installability, replaceability. - External vs internal quality (after Bertrand Meyer; textbooks group the individual factors slightly differently, so follow the grouping given in the question): external qualities are those the user can observe when the software runs — for example correctness, reliability, robustness, efficiency, usability; internal qualities concern structure and are visible mainly to developers — for example maintainability, reusability, testability, modularity.
- Core attribute definitions:
- Correctness — the extent to which software meets its specification (does the right thing).
- Accuracy — meeting specifications with precision (numerical closeness).
- Completeness — the extent to which software has all the specified functions.
- Reliability — probability of failure-free operation for a specified time under stated conditions.
- Robustness — the extent to which software tolerates unexpected problems (bad input, hardware faults).
- Availability — fraction of time the system is operational.
- Integrity — protection against unauthorised access/breach.
- Maintainability — effort needed to make improvements/correct defects.
- Reusability — effort needed to reuse software in another application.
- Safety — assurance that hazards that may cause the whole system to fail are controlled.
- Quality Control (QC) = inspections, reviews and tests applied throughout the process so each work product meets its requirements.
Quality Assurance (QA) = the management function of auditing and reporting to provide confidence that quality is being built in. - Standards: ISO 9000 family = quality-management series; ISO 9001 is the certifiable requirements standard that applies to software engineering (commonly cited as ISO 9001:2000); ISO 9000-3 is the guidance document written specifically for software process; ISO 9003 relates to final inspection/testing.
CMM/CMMI is the maturity framework for continuous process improvement (5 levels). - Statistical SQA: collect and categorise defects, trace each to its root cause, apply the Pareto principle to find the vital few causes, correct them.
- Measures: direct measures are observed by counting (LOC, execution speed); indirect measures are inferred (quality, complexity, reliability).
Dynamic metrics come from an executing program; static metrics from representations (source, design).
Quality assessment itself is subjective — metrics provide objective data, but the overall judgement is not purely objective.
How it works
- Model selection. Ask which framework the question names. "Three categories / 11 factors" → McCall. "Six characteristics / ISO-9126" → ISO/IEC 9126. "Eight characteristics / SQuaRE" → ISO/IEC 25010.
- Classify by McCall category. Operation = what the user sees while running (correctness, reliability, efficiency, integrity, usability);
Revision = changes to the product (maintainability, flexibility, testability);
Transition = movement to new platforms (portability, reusability, interoperability). - Match definition to attribute. Verify with the definition table; do not rely on the word's everyday meaning.
- Process standards. ISO 9000 gives vocabulary; ISO 9001 gives certifiable requirements; ISO 9000-3 gives software-specific guidance; CMM measures process maturity.
- Quantitative quality. Use the formulas below for availability, integrity and the Software Maturity Index, computing each term in consistent units.
Drawing the diagram…
Formulas
- Availability: , with (MTTF = mean time to failure, MTTR = mean time to repair). Expressed as a percentage.
- Reliability: , where = failure rate and = specified time. Depends strongly on the number of residual errors.
- Software Maturity Index: , where = modules in the current release, = modules added, = changed, = deleted. SMI → 1 means a stable product.
- Integrity (single threat): , where threat = probability of attack, security = probability of repelling it. For several threats, sum over threats: .
Worked examples
Example 1 (availability). A signal-processing system operates 91.25 days after repair, and mean repair time is 5 minutes. Find availability.
MTTF = 91.25 × 24 × 60 = 131,400 min. A = 131,400 / (131,400 + 5) = 131,400/131,405 = 0.99996194 → 99.9962 %.
Example 2 (SMI, two-step). A system has 940 modules; latest release changed 90, added 40, removed 12. Find SMI.
Sum of changes = 90 + 40 + 12 = 142. SMI = (940 − 142)/940 = 798/940 = 0.84893 ≈ 0.849. (Convention: use the stated total as ; an SMI near 1 means stability.)
Example 3 (integrity). A web application repels an attack with probability 0.30 and the threat probability is 0.25. Find integrity.
Integrity = 1 − 0.25 × (1 − 0.30) = 1 − 0.25 × 0.70 = 1 − 0.175 = 0.825.
Example 4 (depreciation/uptime). A system crashed 20 times in 2017, each restart taking 2 minutes. Find availability.
Downtime = 40 min; 2017 = 365 days = 525,600 min; uptime = 525,560. A = 525,560/525,600 = 0.9999239 → 99.9924 %.
Example 5 (match the list). Match (a) Correctness, (b) Accuracy, (c) Robustness, (d) Completeness with (i) tolerates unexpected problems, (ii) meets specification, (iii) has specified functions, (iv) meeting specification with precision.
Correctness → meets specification (ii); Accuracy → with precision (iv); Robustness → tolerates unexpected problems (i); Completeness → has specified functions (iii). Answer: a-ii, b-iv, c-i, d-iii.
Example 6 (statement type). Statement I: in ISO 25010, Security is a top-level characteristic. Statement II: in ISO 9126, Security was a sub-characteristic of Functionality. Both statements are true — ISO 25010 elevated Security and added Compatibility.
Comparison
| Feature | McCall | ISO/IEC 9126 | ISO/IEC 25010 |
|---|---|---|---|
| Count | 11 factors, 3 categories | 6 characteristics | 8 characteristics |
| Grouping | Operation / Revision / Transition | flat characteristics + sub-characteristics | flat characteristics + sub-characteristics |
| Security | part of Integrity | sub of Functionality | top-level |
| Compatibility | Interoperability factor | sub of Functionality/Portability | top-level |
| Reusability | Product Transition factor | not a top-level char. | sub of Maintainability |
| Term | Meaning | Distinguishing test |
|---|---|---|
| Correctness | meets specification | "does what the spec says" |
| Accuracy | precision of results | "how exact is the value" |
| Reliability | failure-free over time | "runs without failing for time T" |
| Robustness | tolerates unexpected conditions | "does not crash on bad input" |
| Availability | uptime fraction | MTTF/(MTTF+MTTR) |
| Term | Definition | Example |
|---|---|---|
| Quality Control | inspections, reviews, tests on work products | code review, unit test |
| Quality Assurance | management audit and reporting | process audit, metrics report |
| Direct measure | counted directly | LOC, execution time |
| Indirect measure | inferred | quality, complexity, reliability |
| Static metric | from representations | source-code size |
| Dynamic metric | from execution | runtime, throughput |
Revision summary
- McCall = 11 factors, 3 groups: Operation (C-R-E-I-U), Revision (M-F-T), Transition (P-R-I).
- ISO 9126 = 6 characteristics; ISO 25010 = 8 (adds Security and Compatibility).
- Security and Compatibility are top-level only in 25010.
- Availability = MTTF/(MTTF+MTTR); SMI → 1 means stable; Integrity = 1 − threat×(1−security).
- Reliability depends on residual errors, and can be measured in execution, calendar and clock time.
- External qualities: correctness, reliability, robustness, efficiency, usability.
Internal: maintainability, reusability, portability. - QC = inspections/tests; QA = audit/reporting.
- ISO 9001 = certifiable requirements;
ISO 9000-3 = software process guidance;
CMM = continuous process improvement. - Quality assessment is subjective; metrics supply objective inputs.
- Statistical SQA = root-cause tracing + Pareto principle.
Previous-year exam insights
- Direct concept: "which factor belongs to product operation/revision/transition", "which is external quality", "which ISO standard applies to software process" — memorise the exact lists.
- Match List-I with List-II: definitions of correctness, accuracy, robustness, completeness, and ISO 9126/25010 sub-characteristics.
Learn the exact wording of each definition. - Statement I/II: contrast McCall vs ISO models, QA vs QC, static vs dynamic metrics, and the false claim that quality assessment is purely objective.
- Numeric questions: availability, SMI and integrity appear regularly; convert units (days → minutes) before dividing and express availability as a percentage.
- Traps: "production costs and scheduling" is not a McCall aspect; robustness ≠ reliability ≠ correctness; ISO 9000-3 (not 9001) is the software-process guidance document.
- Check first: which model is named, then the number of characteristics, then whether the attribute is external or internal.
Practice at PARIKSHA
You are ready for the PARIKSHA tests of this sub-topic when you can:
- List all 11 McCall factors under their three categories from memory.
- Name all 6 ISO 9126 characteristics and at least two sub-characteristics of each.
- State the 8 ISO 25010 characteristics and explain the two additions over 9126.
- Classify a given attribute as external or internal quality.
- Compute availability from MTTF and MTTR, showing unit conversion.
- Compute SMI from module counts and interpret a value near 1.
- Compute integrity for one or more threats.
- Distinguish QA from QC in one sentence each.
- Identify the correct ISO standard (9001, 9000-3) for a described purpose.
- Explain statistical SQA and the role of the Pareto principle.
Attempt the sub-topic test first, then the subject test.