- Mastering Software Testing with JUnit 5
- Boni García
- 410字
- 2021-07-02 15:34:23
Software defects
Key to the correctness aspect of V&V is the concept of software defects. The term defect (also known as bug) refers to a generic software problem. The IEEE Standard 610.12 propose the following taxonomy related to software defects:
- Error: A human action that produces an incorrect result. Errors can be classified into two categories:
- Syntax error (program statement that violates one or more rules of the language in which it is written).
- Logic error (incorrect data fields, out-of-range terms, or invalid combinations).
- Fault: The manifestation of an error in the software system is known as a fault. For example, an incorrect step, process, or data definition.
- Failure: The inability of the software system to perform its required functions is known as (system) failure.
In addition to this level of granularity for defects, it is also interesting to contemplate incidences as symptoms associated with a failure perceived by the software consumer. All in all, error, faults, failures, and incidences are different aspects of software defects. A causal relation exists between these four aspects of defects. Errors may cause faults to be injected into the software, and faults may cause failures when the software is executed. Finally, incidences happen when failures are experienced by the final user or costumer. Different QA activities can be carried out to try to minimize the number of defects within a software system. As defined by Jeff Tian in his book Software Quality Engineering (2005), the alternatives can be grouped into the following three generic categories:
- Defect prevention through error removal: For example, the use of certain processes and product standards can help to minimize the injection certain kinds of faults into the software.
- Defect reduction through fault detection and removal: The traditional testing and static analysis activities are examples of this category. We discover the specific types of these mechanisms in the body of this chapter.
- Defect containment through failure prevention: These activities are typically out of the scope of the software system. The objective of containment is to minimize the damage caused by software system failures (for example, walls to contain radioactive material in case of reactor failures).

- UNIX編程藝術(shù)
- Visual Basic程序開發(fā)(學(xué)習(xí)筆記)
- Python入門很簡(jiǎn)單
- 軟件架構(gòu)設(shè)計(jì):大型網(wǎng)站技術(shù)架構(gòu)與業(yè)務(wù)架構(gòu)融合之道
- C#完全自學(xué)教程
- 信息安全技術(shù)
- Learn React with TypeScript 3
- Create React App 2 Quick Start Guide
- Procedural Content Generation for C++ Game Development
- OpenResty完全開發(fā)指南:構(gòu)建百萬級(jí)別并發(fā)的Web應(yīng)用
- Geospatial Development By Example with Python
- Mastering Apache Storm
- SpringBoot從零開始學(xué)(視頻教學(xué)版)
- Qt 4開發(fā)實(shí)踐
- Head First Kotlin程序設(shè)計(jì)