[Original] software defect knowledge

Source: Internet
Author: User
[Original] software defect knowledge

1. Software Defect attribute classification:

 

Attribute name

Description

Identifier)

A defect identifier is a group of symbols that mark a defect. Each defect must have a unique identifier

Defect type)

Defect types are the types of defects that are divided based on the natural attributes of defects.

Severity)

The severity of a defect refers to the extent to which the fault caused by the defect affects the software products.

Priority)

Priority of a defect refers to the degree of urgency to which the defect must be repaired.

Status)

Defect status indicates the progress of a defect by tracking the repair process.

Origin)

The source of a defect refers to the phase in which a fault or event is detected for the first time.

Source)

The source of the defect refers to the cause of the defect.

Root Cause)

The root cause of a defect is the root cause of an error.

2 categories of Common Software defects:

Defect type no.

Defect type

Description

10

F-Function

It affects important features, user interfaces, product interfaces, hardware structure interfaces, and global data structures. The design documents must be formally changed. Such as logic, pointer, loop, recursion, function, and other defects.

20

A-assignment

You need to modify a small amount of code, such as initialization or control blocks. Such as declaration, repeated naming, range, limitation, and other defects.

30

I-Interface

Defects that affect other components, modules, or device drivers, call parameters, control blocks, or parameter lists.

40

C-checking

Error messages, improper data verification, and other defects.

50

B build/package/merge

Errors Caused by configuration library, change management, or version control.

60

D-Documentation

Affects release and maintenance, including comments.

70

G-Algorithm

Algorithm error.

80

U-User Interface

Human-Computer Interaction Features: screen format, validation of user input, functional effectiveness, page layout and other defects.

90

P-Performance

Does not meet the property values that can be measured by the system, such as execution time and transaction processing rate.

100

N-norms

Does not meet the requirements of various standards, such as coding standards and design symbols.

 

3 software defect severity classification:

#

Severity Level

Description

0

Block

Very serious error, such as program cannot run blocking test

1

Critical

You cannot perform normal functions or important functions. For example, program crashes, crashes, and memory leaks.

2

Major

General critical errors, such as unreasonable program processing and unlimited boundaries

3

Minor

General problems mainly refer to non-standard interface, unclear display, unfriendly display, etc.

4

Trivial

Small errors usually refer to issues or suggestions related to user experience.

4Software Defect priority classification:

#

Priority Level of defects

Description

1

P1

The highest priority, for example, defects that cause major software functional errors or software crashes and data loss.

1

P2

High priority, such as general defects that affect software functions and performance;

2

P3

General priority. For example, some characters in the localization software have no translation or inaccurate translation defects;

3

P4

Low priority, for example, defects that have a slight impact on the quality of software or have a low probability;

 

5. The defect categories of CMM are as follows:

Defect type

Defect type

Defect name

Defect name

Description

Description

10

Documentation

Document

Comments, software unit description

Annotation, software unit description

20

Build, package

Version, package

Change management, library, Version Control

Change management, database files, and Version Control

30

Assignment

Assignment

Declaration, duplicate name, scope, limit

Declaration, repeated name, range, and restriction

40

Design entities Interface

Design entity Interface

Procedure CILS and reference, I/O, user formats

 

Process call and reference, I/O, user format

50

Checking

Verify

Error message, inadequate checks

Error message, improper verification

60

Data

Data

Structure, content

Structure, content

70

Function

Function

Logic, pointer, loop, recursion, computation, Function

Logic, pointer, loop, recursion, calculation, Function

80

System behavioral

System behavior

Configuration, timing, memory

Configuration, processing efficiency, memory

100

Performance

Performance

Metric values for measurable attributes of the system, execution time, timing of event, etc,

Metric values of measurable attributes, such as execution time and transaction processing efficiency

110

Quality

Quality

Attributes of the system: usability, portability, reliability, maintainability

System features: availability, portability, reliability, and maintainability

120

Constraints

Restrictions

Constraints under which the system must operate usually affected by policies ies or regulations such as security, safety, or restriction hardware, etc...

Restrictions that must be followed by a system, typically influenced by policies or decrees, such as security or hardware restrictions

130

Software Interface

System Interface

Data management systems, operating system, other applications

Data management system, operating system, and other applications

140

User Interface

User Interface

Characteristics for the human/Computer Interaction: screen format, validation for user input, function availability, page layout, etc...

Features of human-computer interaction: screen format, user input confirmation, function validity, page layout, etc.

150

Norms

Standard

Notation for design entities Representation

Design entity representation symbols

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.