Вы находитесь на странице: 1из 108

Outline

Software quality assessment


Human (testing) methods
Questions

Software Systems Verification and Validation


Lecture 01b - Inspection
Lect. dr. Andreea Vescan
Babes-Bolyai University
Cluj-Napoca

2014-2015

Lect. dr. Andreea Vescan

Software Systems Verification and Validation

Outline
Software quality assessment
Human (testing) methods
Questions

Software quality assessment


Quality assessment
Extended V model

Human (testing) methods


Human (testing) methods
Human (testing) methods
Inspection
Walkthroughs
Pair-Programming
Desk check

Questions
Questions
Lect. dr. Andreea Vescan

Software Systems Verification and Validation

Outline
Software quality assessment
Human (testing) methods
Questions

Quality assessment
Extended V model

Software quality
Software quality: Conformance to explicitly stated functional
and performance requirements, explicitly documented
development standards, and implicit characteristics that are
expected of all professionally developed software. [Pressman]

Lect. dr. Andreea Vescan

Software Systems Verification and Validation

Outline
Software quality assessment
Human (testing) methods
Questions

Quality assessment
Extended V model

Software quality
Software quality: Conformance to explicitly stated functional
and performance requirements, explicitly documented
development standards, and implicit characteristics that are
expected of all professionally developed software. [Pressman]
Activities for software quality assessment

Lect. dr. Andreea Vescan

Software Systems Verification and Validation

Outline
Software quality assessment
Human (testing) methods
Questions

Quality assessment
Extended V model

Software quality
Software quality: Conformance to explicitly stated functional
and performance requirements, explicitly documented
development standards, and implicit characteristics that are
expected of all professionally developed software. [Pressman]
Activities for software quality assessment
Static analysis

Lect. dr. Andreea Vescan

Software Systems Verification and Validation

Outline
Software quality assessment
Human (testing) methods
Questions

Quality assessment
Extended V model

Software quality
Software quality: Conformance to explicitly stated functional
and performance requirements, explicitly documented
development standards, and implicit characteristics that are
expected of all professionally developed software. [Pressman]
Activities for software quality assessment
Static analysis

Dynamic analysis.

Lect. dr. Andreea Vescan

Software Systems Verification and Validation

Outline
Software quality assessment
Human (testing) methods
Questions

Quality assessment
Extended V model

Software quality
Software quality: Conformance to explicitly stated functional
and performance requirements, explicitly documented
development standards, and implicit characteristics that are
expected of all professionally developed software. [Pressman]
Activities for software quality assessment
Static analysis
Based on the examination of a number of documents. It does
not involved actual execution of the code under development.

Dynamic analysis.

Lect. dr. Andreea Vescan

Software Systems Verification and Validation

Outline
Software quality assessment
Human (testing) methods
Questions

Quality assessment
Extended V model

Software quality
Software quality: Conformance to explicitly stated functional
and performance requirements, explicitly documented
development standards, and implicit characteristics that are
expected of all professionally developed software. [Pressman]
Activities for software quality assessment
Static analysis
Based on the examination of a number of documents. It does
not involved actual execution of the code under development.
Includes: code review, inspection, algorithm analysis, proof of
correctness.

Dynamic analysis.

Lect. dr. Andreea Vescan

Software Systems Verification and Validation

Outline
Software quality assessment
Human (testing) methods
Questions

Quality assessment
Extended V model

Software quality
Software quality: Conformance to explicitly stated functional
and performance requirements, explicitly documented
development standards, and implicit characteristics that are
expected of all professionally developed software. [Pressman]
Activities for software quality assessment
Static analysis
Based on the examination of a number of documents. It does
not involved actual execution of the code under development.
Includes: code review, inspection, algorithm analysis, proof of
correctness.

Dynamic analysis.
Involved actual program execution in order to expose possible
program failures.
Lect. dr. Andreea Vescan

Software Systems Verification and Validation

Outline
Software quality assessment
Human (testing) methods
Questions

Quality assessment
Extended V model

Software quality
Software quality: Conformance to explicitly stated functional
and performance requirements, explicitly documented
development standards, and implicit characteristics that are
expected of all professionally developed software. [Pressman]
Activities for software quality assessment
Static analysis
Based on the examination of a number of documents. It does
not involved actual execution of the code under development.
Includes: code review, inspection, algorithm analysis, proof of
correctness.

Dynamic analysis.
Involved actual program execution in order to expose possible
program failures.
Includes: testing.
Lect. dr. Andreea Vescan

Software Systems Verification and Validation

Outline
Software quality assessment
Human (testing) methods
Questions

Quality assessment
Extended V model

Extended/Modified V model

Lect. dr. Andreea Vescan

Software Systems Verification and Validation

Outline
Software quality assessment
Human (testing) methods
Questions

Quality assessment
Extended V model

Extended/Modified V model

Lect. dr. Andreea Vescan

Software Systems Verification and Validation

Outline
Software quality assessment
Human (testing) methods
Questions

Quality assessment
Extended V model

Extended/Modified V model

Lect. dr. Andreea Vescan

Software Systems Verification and Validation

Outline
Software quality assessment
Human (testing) methods
Questions

Human (testing) methods


Human (testing) methods
Inspection
Walkthroughs
Pair-Programming
Desk check

Human (testing) methods

Lect. dr. Andreea Vescan

Software Systems Verification and Validation

Outline
Software quality assessment
Human (testing) methods
Questions

Human (testing) methods


Human (testing) methods
Inspection
Walkthroughs
Pair-Programming
Desk check

Human (testing) methods

Lect. dr. Andreea Vescan

Software Systems Verification and Validation

Outline
Software quality assessment
Human (testing) methods
Questions

Human (testing) methods


Human (testing) methods
Inspection
Walkthroughs
Pair-Programming
Desk check

Human (testing) methods

End User

Prevent errors - Introduction of a


verification step at the end of each
process.

Verification

Verification

Verification

External Specification

Verification

System Design

Verification

Program Structure Design

Verification

Module Interface Specifications

Verification

Lect. dr. Andreea Vescan

Requirements

Objectives

Code

Software Systems Verification and Validation

Outline
Software quality assessment
Human (testing) methods
Questions

Human (testing) methods


Human (testing) methods
Inspection
Walkthroughs
Pair-Programming
Desk check

Human (testing) methods


Is it useful?

Lect. dr. Andreea Vescan

Software Systems Verification and Validation

Outline
Software quality assessment
Human (testing) methods
Questions

Human (testing) methods


Human (testing) methods
Inspection
Walkthroughs
Pair-Programming
Desk check

Human (testing) methods


Is it useful? they contribute to productivity and reliability:

Lect. dr. Andreea Vescan

Software Systems Verification and Validation

Outline
Software quality assessment
Human (testing) methods
Questions

Human (testing) methods


Human (testing) methods
Inspection
Walkthroughs
Pair-Programming
Desk check

Human (testing) methods


Is it useful? they contribute to productivity and reliability:
The earlier errors are found, the lower the cost of correcting
the errors.

Lect. dr. Andreea Vescan

Software Systems Verification and Validation

Outline
Software quality assessment
Human (testing) methods
Questions

Human (testing) methods


Human (testing) methods
Inspection
Walkthroughs
Pair-Programming
Desk check

Human (testing) methods


Is it useful? they contribute to productivity and reliability:
The earlier errors are found, the lower the cost of correcting
the errors.
Psychological change of programmers when computer-based
testing commences.

Lect. dr. Andreea Vescan

Software Systems Verification and Validation

Outline
Software quality assessment
Human (testing) methods
Questions

Human (testing) methods


Human (testing) methods
Inspection
Walkthroughs
Pair-Programming
Desk check

Human (testing) methods


Is it useful? they contribute to productivity and reliability:
The earlier errors are found, the lower the cost of correcting
the errors.
Psychological change of programmers when computer-based
testing commences. more errors

Lect. dr. Andreea Vescan

Software Systems Verification and Validation

Outline
Software quality assessment
Human (testing) methods
Questions

Human (testing) methods


Human (testing) methods
Inspection
Walkthroughs
Pair-Programming
Desk check

Human (testing) methods


Is it useful? they contribute to productivity and reliability:
The earlier errors are found, the lower the cost of correcting
the errors.
Psychological change of programmers when computer-based
testing commences. more errors

Human testing methods are:


Inspections
Walkthroughs
Pair-programing

Lect. dr. Andreea Vescan

Software Systems Verification and Validation

Outline
Software quality assessment
Human (testing) methods
Questions

Human (testing) methods


Human (testing) methods
Inspection
Walkthroughs
Pair-Programming
Desk check

Human (testing) methods


Is it useful? they contribute to productivity and reliability:
The earlier errors are found, the lower the cost of correcting
the errors.
Psychological change of programmers when computer-based
testing commences. more errors

Human testing methods are:


Inspections
Walkthroughs
Pair-programing
Desk check

Lect. dr. Andreea Vescan

Software Systems Verification and Validation

Outline
Software quality assessment
Human (testing) methods
Questions

Human (testing) methods


Human (testing) methods
Inspection
Walkthroughs
Pair-Programming
Desk check

Human (testing) methods


Is it useful? they contribute to productivity and reliability:
The earlier errors are found, the lower the cost of correcting
the errors.
Psychological change of programmers when computer-based
testing commences. more errors

Human testing methods are:


Inspections
Walkthroughs
Pair-programing
Desk check

Objective - to find errors but not to find solutions to the


errors.

Lect. dr. Andreea Vescan

Software Systems Verification and Validation

Outline
Software quality assessment
Human (testing) methods
Questions

Human (testing) methods


Human (testing) methods
Inspection
Walkthroughs
Pair-Programming
Desk check

Human (testing) methods


Is it useful? they contribute to productivity and reliability:
The earlier errors are found, the lower the cost of correcting
the errors.
Psychological change of programmers when computer-based
testing commences. more errors

Human testing methods are:


Inspections
Walkthroughs
Pair-programing
Desk check

Objective - to find errors but not to find solutions to the


errors.
Advantage - when an error is found it is usually located.

Lect. dr. Andreea Vescan

Software Systems Verification and Validation

Outline
Software quality assessment
Human (testing) methods
Questions

Human (testing) methods


Human (testing) methods
Inspection
Walkthroughs
Pair-Programming
Desk check

Human (testing) methods


Is it useful? they contribute to productivity and reliability:
The earlier errors are found, the lower the cost of correcting
the errors.
Psychological change of programmers when computer-based
testing commences. more errors

Human testing methods are:


Inspections
Walkthroughs
Pair-programing
Desk check

Objective - to find errors but not to find solutions to the


errors.
Advantage - when an error is found it is usually located.
Find from 30% to 70% of the logic-design/coding errors in
programs.
Lect. dr. Andreea Vescan

Software Systems Verification and Validation

Outline
Software quality assessment
Human (testing) methods
Questions

Human (testing) methods


Human (testing) methods
Inspection
Walkthroughs
Pair-Programming
Desk check

Human (testing) methods


Is it useful? they contribute to productivity and reliability:
The earlier errors are found, the lower the cost of correcting
the errors.
Psychological change of programmers when computer-based
testing commences. more errors

Human testing methods are:


Inspections
Walkthroughs
Pair-programing
Desk check

Objective - to find errors but not to find solutions to the


errors.
Advantage - when an error is found it is usually located.
Find from 30% to 70% of the logic-design/coding errors in
programs.
Lect. dr.
Andreea Vescan
Software
Systems
and Validation
Inspection and
computer-based
testing
areVerification
complementary.

Outline
Software quality assessment
Human (testing) methods
Questions

Human (testing) methods


Human (testing) methods
Inspection
Walkthroughs
Pair-Programming
Desk check

Inspection
Inspection - process of trying to find defects in development
documents during various phases of the software development
process.

Lect. dr. Andreea Vescan

Software Systems Verification and Validation

Outline
Software quality assessment
Human (testing) methods
Questions

Human (testing) methods


Human (testing) methods
Inspection
Walkthroughs
Pair-Programming
Desk check

Inspection
Inspection - process of trying to find defects in development
documents during various phases of the software development
process.
Fagan Inspection team ([4 members])

Lect. dr. Andreea Vescan

Software Systems Verification and Validation

Outline
Software quality assessment
Human (testing) methods
Questions

Human (testing) methods


Human (testing) methods
Inspection
Walkthroughs
Pair-Programming
Desk check

Inspection
Inspection - process of trying to find defects in development
documents during various phases of the software development
process.
Fagan Inspection team ([4 members])
Moderator - duties

Lect. dr. Andreea Vescan

Software Systems Verification and Validation

Outline
Software quality assessment
Human (testing) methods
Questions

Human (testing) methods


Human (testing) methods
Inspection
Walkthroughs
Pair-Programming
Desk check

Inspection
Inspection - process of trying to find defects in development
documents during various phases of the software development
process.
Fagan Inspection team ([4 members])
Moderator - duties
Distributing materials for, and scheduling the inspection
session.

Lect. dr. Andreea Vescan

Software Systems Verification and Validation

Outline
Software quality assessment
Human (testing) methods
Questions

Human (testing) methods


Human (testing) methods
Inspection
Walkthroughs
Pair-Programming
Desk check

Inspection
Inspection - process of trying to find defects in development
documents during various phases of the software development
process.
Fagan Inspection team ([4 members])
Moderator - duties
Distributing materials for, and scheduling the inspection
session.
Leading the session

Lect. dr. Andreea Vescan

Software Systems Verification and Validation

Outline
Software quality assessment
Human (testing) methods
Questions

Human (testing) methods


Human (testing) methods
Inspection
Walkthroughs
Pair-Programming
Desk check

Inspection
Inspection - process of trying to find defects in development
documents during various phases of the software development
process.
Fagan Inspection team ([4 members])
Moderator - duties
Distributing materials for, and scheduling the inspection
session.
Leading the session
Ensuring that the errors are subsequently corrected.

Lect. dr. Andreea Vescan

Software Systems Verification and Validation

Outline
Software quality assessment
Human (testing) methods
Questions

Human (testing) methods


Human (testing) methods
Inspection
Walkthroughs
Pair-Programming
Desk check

Inspection
Inspection - process of trying to find defects in development
documents during various phases of the software development
process.
Fagan Inspection team ([4 members])
Moderator - duties
Distributing materials for, and scheduling the inspection
session.
Leading the session
Ensuring that the errors are subsequently corrected.

Author of the product (analyst, designer, programmer)

Lect. dr. Andreea Vescan

Software Systems Verification and Validation

Outline
Software quality assessment
Human (testing) methods
Questions

Human (testing) methods


Human (testing) methods
Inspection
Walkthroughs
Pair-Programming
Desk check

Inspection
Inspection - process of trying to find defects in development
documents during various phases of the software development
process.
Fagan Inspection team ([4 members])
Moderator - duties
Distributing materials for, and scheduling the inspection
session.
Leading the session
Ensuring that the errors are subsequently corrected.

Author of the product (analyst, designer, programmer)


Secretary

Lect. dr. Andreea Vescan

Software Systems Verification and Validation

Outline
Software quality assessment
Human (testing) methods
Questions

Human (testing) methods


Human (testing) methods
Inspection
Walkthroughs
Pair-Programming
Desk check

Inspection
Inspection - process of trying to find defects in development
documents during various phases of the software development
process.
Fagan Inspection team ([4 members])
Moderator - duties
Distributing materials for, and scheduling the inspection
session.
Leading the session
Ensuring that the errors are subsequently corrected.

Author of the product (analyst, designer, programmer)


Secretary
Reader

Lect. dr. Andreea Vescan

Software Systems Verification and Validation

Outline
Software quality assessment
Human (testing) methods
Questions

Human (testing) methods


Human (testing) methods
Inspection
Walkthroughs
Pair-Programming
Desk check

Inspection
Inspection - process of trying to find defects in development
documents during various phases of the software development
process.
Fagan Inspection team ([4 members])
Moderator - duties
Distributing materials for, and scheduling the inspection
session.
Leading the session
Ensuring that the errors are subsequently corrected.

Author of the product (analyst, designer, programmer)


Secretary
Reader

Checklists
Lect. dr. Andreea Vescan

Software Systems Verification and Validation

Outline
Software quality assessment
Human (testing) methods
Questions

Human (testing) methods


Human (testing) methods
Inspection
Walkthroughs
Pair-Programming
Desk check

Inspection
Inspection - process of trying to find defects in development
documents during various phases of the software development
process.
Fagan Inspection team ([4 members])
Moderator - duties
Distributing materials for, and scheduling the inspection
session.
Leading the session
Ensuring that the errors are subsequently corrected.

Author of the product (analyst, designer, programmer)


Secretary
Reader

Checklists
Time - 90-120 minutes
Lect. dr. Andreea Vescan

Software Systems Verification and Validation

Outline
Software quality assessment
Human (testing) methods
Questions

Human (testing) methods


Human (testing) methods
Inspection
Walkthroughs
Pair-Programming
Desk check

Inspection activities
Planning

Lect. dr. Andreea Vescan

Software Systems Verification and Validation

Outline
Software quality assessment
Human (testing) methods
Questions

Human (testing) methods


Human (testing) methods
Inspection
Walkthroughs
Pair-Programming
Desk check

Inspection activities
Planning
the moderator selects the team members;

Lect. dr. Andreea Vescan

Software Systems Verification and Validation

Outline
Software quality assessment
Human (testing) methods
Questions

Human (testing) methods


Human (testing) methods
Inspection
Walkthroughs
Pair-Programming
Desk check

Inspection activities
Planning
the moderator selects the team members;
distribution of the materials to the members;task assignment

Lect. dr. Andreea Vescan

Software Systems Verification and Validation

Outline
Software quality assessment
Human (testing) methods
Questions

Human (testing) methods


Human (testing) methods
Inspection
Walkthroughs
Pair-Programming
Desk check

Inspection activities
Planning
the moderator selects the team members;
distribution of the materials to the members;task assignment

Presentation/Overview - not compulsory

Lect. dr. Andreea Vescan

Software Systems Verification and Validation

Outline
Software quality assessment
Human (testing) methods
Questions

Human (testing) methods


Human (testing) methods
Inspection
Walkthroughs
Pair-Programming
Desk check

Inspection activities
Planning
the moderator selects the team members;
distribution of the materials to the members;task assignment

Presentation/Overview - not compulsory


used to present details to the members of the inspection team.

Lect. dr. Andreea Vescan

Software Systems Verification and Validation

Outline
Software quality assessment
Human (testing) methods
Questions

Human (testing) methods


Human (testing) methods
Inspection
Walkthroughs
Pair-Programming
Desk check

Inspection activities
Planning
the moderator selects the team members;
distribution of the materials to the members;task assignment

Presentation/Overview - not compulsory


used to present details to the members of the inspection team.

Individual preparation

Lect. dr. Andreea Vescan

Software Systems Verification and Validation

Outline
Software quality assessment
Human (testing) methods
Questions

Human (testing) methods


Human (testing) methods
Inspection
Walkthroughs
Pair-Programming
Desk check

Inspection activities
Planning
the moderator selects the team members;
distribution of the materials to the members;task assignment

Presentation/Overview - not compulsory


used to present details to the members of the inspection team.

Individual preparation
reading and understanding the received documentation;

Lect. dr. Andreea Vescan

Software Systems Verification and Validation

Outline
Software quality assessment
Human (testing) methods
Questions

Human (testing) methods


Human (testing) methods
Inspection
Walkthroughs
Pair-Programming
Desk check

Inspection activities
Planning
the moderator selects the team members;
distribution of the materials to the members;task assignment

Presentation/Overview - not compulsory


used to present details to the members of the inspection team.

Individual preparation
reading and understanding the received documentation;

Inspection meeting

Lect. dr. Andreea Vescan

Software Systems Verification and Validation

Outline
Software quality assessment
Human (testing) methods
Questions

Human (testing) methods


Human (testing) methods
Inspection
Walkthroughs
Pair-Programming
Desk check

Inspection activities
Planning
the moderator selects the team members;
distribution of the materials to the members;task assignment

Presentation/Overview - not compulsory


used to present details to the members of the inspection team.

Individual preparation
reading and understanding the received documentation;

Inspection meeting
critical observations of each individual inspectors - discussed;

Lect. dr. Andreea Vescan

Software Systems Verification and Validation

Outline
Software quality assessment
Human (testing) methods
Questions

Human (testing) methods


Human (testing) methods
Inspection
Walkthroughs
Pair-Programming
Desk check

Inspection activities
Planning
the moderator selects the team members;
distribution of the materials to the members;task assignment

Presentation/Overview - not compulsory


used to present details to the members of the inspection team.

Individual preparation
reading and understanding the received documentation;

Inspection meeting
critical observations of each individual inspectors - discussed;
conclusions of the inspection - documented;

Lect. dr. Andreea Vescan

Software Systems Verification and Validation

Outline
Software quality assessment
Human (testing) methods
Questions

Human (testing) methods


Human (testing) methods
Inspection
Walkthroughs
Pair-Programming
Desk check

Inspection activities
Planning
the moderator selects the team members;
distribution of the materials to the members;task assignment

Presentation/Overview - not compulsory


used to present details to the members of the inspection team.

Individual preparation
reading and understanding the received documentation;

Inspection meeting
critical observations of each individual inspectors - discussed;
conclusions of the inspection - documented;

Rework

Lect. dr. Andreea Vescan

Software Systems Verification and Validation

Outline
Software quality assessment
Human (testing) methods
Questions

Human (testing) methods


Human (testing) methods
Inspection
Walkthroughs
Pair-Programming
Desk check

Inspection activities
Planning
the moderator selects the team members;
distribution of the materials to the members;task assignment

Presentation/Overview - not compulsory


used to present details to the members of the inspection team.

Individual preparation
reading and understanding the received documentation;

Inspection meeting
critical observations of each individual inspectors - discussed;
conclusions of the inspection - documented;

Rework
the author makes the required changes and correct the errors;

Lect. dr. Andreea Vescan

Software Systems Verification and Validation

Outline
Software quality assessment
Human (testing) methods
Questions

Human (testing) methods


Human (testing) methods
Inspection
Walkthroughs
Pair-Programming
Desk check

Inspection activities
Planning
the moderator selects the team members;
distribution of the materials to the members;task assignment

Presentation/Overview - not compulsory


used to present details to the members of the inspection team.

Individual preparation
reading and understanding the received documentation;

Inspection meeting
critical observations of each individual inspectors - discussed;
conclusions of the inspection - documented;

Rework
the author makes the required changes and correct the errors;

Reinspection/Follow-up

Lect. dr. Andreea Vescan

Software Systems Verification and Validation

Outline
Software quality assessment
Human (testing) methods
Questions

Human (testing) methods


Human (testing) methods
Inspection
Walkthroughs
Pair-Programming
Desk check

Inspection activities
Planning
the moderator selects the team members;
distribution of the materials to the members;task assignment

Presentation/Overview - not compulsory


used to present details to the members of the inspection team.

Individual preparation
reading and understanding the received documentation;

Inspection meeting
critical observations of each individual inspectors - discussed;
conclusions of the inspection - documented;

Rework
the author makes the required changes and correct the errors;

Reinspection/Follow-up
to verify if the modification did eliminate the errors;
Lect. dr. Andreea Vescan

Software Systems Verification and Validation

Outline
Software quality assessment
Human (testing) methods
Questions

Human (testing) methods


Human (testing) methods
Inspection
Walkthroughs
Pair-Programming
Desk check

Inspection activities
Planning
the moderator selects the team members;
distribution of the materials to the members;task assignment

Presentation/Overview - not compulsory


used to present details to the members of the inspection team.

Individual preparation
reading and understanding the received documentation;

Inspection meeting
critical observations of each individual inspectors - discussed;
conclusions of the inspection - documented;

Rework
the author makes the required changes and correct the errors;

Reinspection/Follow-up
to verify if the modification did eliminate the errors;
may be only between the author and the moderator;
Lect. dr. Andreea Vescan

Software Systems Verification and Validation

Outline
Software quality assessment
Human (testing) methods
Questions

Human (testing) methods


Human (testing) methods
Inspection
Walkthroughs
Pair-Programming
Desk check

Inspection checklists
Inspection scope - to find errors

Lect. dr. Andreea Vescan

Software Systems Verification and Validation

Outline
Software quality assessment
Human (testing) methods
Questions

Human (testing) methods


Human (testing) methods
Inspection
Walkthroughs
Pair-Programming
Desk check

Inspection checklists
Inspection scope - to find errors
Depending on the analyzed document - special kind of errors

Lect. dr. Andreea Vescan

Software Systems Verification and Validation

Outline
Software quality assessment
Human (testing) methods
Questions

Human (testing) methods


Human (testing) methods
Inspection
Walkthroughs
Pair-Programming
Desk check

Inspection checklists
Inspection scope - to find errors
Depending on the analyzed document - special kind of errors
Specification Document

Lect. dr. Andreea Vescan

Software Systems Verification and Validation

Outline
Software quality assessment
Human (testing) methods
Questions

Human (testing) methods


Human (testing) methods
Inspection
Walkthroughs
Pair-Programming
Desk check

Inspection checklists
Inspection scope - to find errors
Depending on the analyzed document - special kind of errors
Specification Document
Does the specification conforms to the users needs?

Lect. dr. Andreea Vescan

Software Systems Verification and Validation

Outline
Software quality assessment
Human (testing) methods
Questions

Human (testing) methods


Human (testing) methods
Inspection
Walkthroughs
Pair-Programming
Desk check

Inspection checklists
Inspection scope - to find errors
Depending on the analyzed document - special kind of errors
Specification Document
Does the specification conforms to the users needs?
Are there ambiguities in the specification?

Lect. dr. Andreea Vescan

Software Systems Verification and Validation

Outline
Software quality assessment
Human (testing) methods
Questions

Human (testing) methods


Human (testing) methods
Inspection
Walkthroughs
Pair-Programming
Desk check

Inspection checklists
Inspection scope - to find errors
Depending on the analyzed document - special kind of errors
Specification Document
Does the specification conforms to the users needs?
Are there ambiguities in the specification?
Do the input/output date are clearly stated? What about
input/output conditions?

Lect. dr. Andreea Vescan

Software Systems Verification and Validation

Outline
Software quality assessment
Human (testing) methods
Questions

Human (testing) methods


Human (testing) methods
Inspection
Walkthroughs
Pair-Programming
Desk check

Inspection checklists
Inspection scope - to find errors
Depending on the analyzed document - special kind of errors
Specification Document
Does the specification conforms to the users needs?
Are there ambiguities in the specification?
Do the input/output date are clearly stated? What about
input/output conditions?
Are there requirements that are not present in the
specification?

Lect. dr. Andreea Vescan

Software Systems Verification and Validation

Outline
Software quality assessment
Human (testing) methods
Questions

Human (testing) methods


Human (testing) methods
Inspection
Walkthroughs
Pair-Programming
Desk check

Inspection checklists
Inspection scope - to find errors
Depending on the analyzed document - special kind of errors
Specification Document
Does the specification conforms to the users needs?
Are there ambiguities in the specification?
Do the input/output date are clearly stated? What about
input/output conditions?
Are there requirements that are not present in the
specification?
Are there performance conditions? What precise computation
conditions?

Lect. dr. Andreea Vescan

Software Systems Verification and Validation

Outline
Software quality assessment
Human (testing) methods
Questions

Human (testing) methods


Human (testing) methods
Inspection
Walkthroughs
Pair-Programming
Desk check

Inspection checklists
Inspection scope - to find errors
Depending on the analyzed document - special kind of errors
Specification Document
Does the specification conforms to the users needs?
Are there ambiguities in the specification?
Do the input/output date are clearly stated? What about
input/output conditions?
Are there requirements that are not present in the
specification?
Are there performance conditions? What precise computation
conditions?

Analysis Document

Lect. dr. Andreea Vescan

Software Systems Verification and Validation

Outline
Software quality assessment
Human (testing) methods
Questions

Human (testing) methods


Human (testing) methods
Inspection
Walkthroughs
Pair-Programming
Desk check

Inspection checklists
Inspection scope - to find errors
Depending on the analyzed document - special kind of errors
Specification Document
Does the specification conforms to the users needs?
Are there ambiguities in the specification?
Do the input/output date are clearly stated? What about
input/output conditions?
Are there requirements that are not present in the
specification?
Are there performance conditions? What precise computation
conditions?

Analysis Document
Does the design conforms to the specification?

Lect. dr. Andreea Vescan

Software Systems Verification and Validation

Outline
Software quality assessment
Human (testing) methods
Questions

Human (testing) methods


Human (testing) methods
Inspection
Walkthroughs
Pair-Programming
Desk check

Inspection checklists
Inspection scope - to find errors
Depending on the analyzed document - special kind of errors
Specification Document
Does the specification conforms to the users needs?
Are there ambiguities in the specification?
Do the input/output date are clearly stated? What about
input/output conditions?
Are there requirements that are not present in the
specification?
Are there performance conditions? What precise computation
conditions?

Analysis Document
Does the design conforms to the specification?
Are all the functionalities from the specification specified?
Lect. dr. Andreea Vescan

Software Systems Verification and Validation

Outline
Software quality assessment
Human (testing) methods
Questions

Human (testing) methods


Human (testing) methods
Inspection
Walkthroughs
Pair-Programming
Desk check

Inspection checklists
Inspection scope - to find errors
Depending on the analyzed document - special kind of errors
Specification Document
Does the specification conforms to the users needs?
Are there ambiguities in the specification?
Do the input/output date are clearly stated? What about
input/output conditions?
Are there requirements that are not present in the
specification?
Are there performance conditions? What precise computation
conditions?

Analysis Document
Does the design conforms to the specification?
Are all the functionalities from the specification specified?
Is there an analysis documentation about the made decisions?
Lect. dr. Andreea Vescan

Software Systems Verification and Validation

Outline
Software quality assessment
Human (testing) methods
Questions

Human (testing) methods


Human (testing) methods
Inspection
Walkthroughs
Pair-Programming
Desk check

Inspection checklists
Code

Lect. dr. Andreea Vescan

Software Systems Verification and Validation

Outline
Software quality assessment
Human (testing) methods
Questions

Human (testing) methods


Human (testing) methods
Inspection
Walkthroughs
Pair-Programming
Desk check

Inspection checklists
Code
Does the code conforms to the design?

Lect. dr. Andreea Vescan

Software Systems Verification and Validation

Outline
Software quality assessment
Human (testing) methods
Questions

Human (testing) methods


Human (testing) methods
Inspection
Walkthroughs
Pair-Programming
Desk check

Inspection checklists
Code
Does the code conforms to the design?
Are all the methods are called?

Lect. dr. Andreea Vescan

Software Systems Verification and Validation

Outline
Software quality assessment
Human (testing) methods
Questions

Human (testing) methods


Human (testing) methods
Inspection
Walkthroughs
Pair-Programming
Desk check

Inspection checklists
Code
Does the code conforms to the design?
Are all the methods are called?
Are all the variables initialized?

Lect. dr. Andreea Vescan

Software Systems Verification and Validation

Outline
Software quality assessment
Human (testing) methods
Questions

Human (testing) methods


Human (testing) methods
Inspection
Walkthroughs
Pair-Programming
Desk check

Inspection checklists
Code
Does the code conforms to the design?
Are all the methods are called?
Are all the variables initialized?
Problems with: infinite cycles, out of bound indexes, improper
allocation of memory.

Lect. dr. Andreea Vescan

Software Systems Verification and Validation

Outline
Software quality assessment
Human (testing) methods
Questions

Human (testing) methods


Human (testing) methods
Inspection
Walkthroughs
Pair-Programming
Desk check

Inspection checklists
Code
Does the code conforms to the design?
Are all the methods are called?
Are all the variables initialized?
Problems with: infinite cycles, out of bound indexes, improper
allocation of memory.

Test Document

Lect. dr. Andreea Vescan

Software Systems Verification and Validation

Outline
Software quality assessment
Human (testing) methods
Questions

Human (testing) methods


Human (testing) methods
Inspection
Walkthroughs
Pair-Programming
Desk check

Inspection checklists
Code
Does the code conforms to the design?
Are all the methods are called?
Are all the variables initialized?
Problems with: infinite cycles, out of bound indexes, improper
allocation of memory.

Test Document
The test cases are well documented?

Lect. dr. Andreea Vescan

Software Systems Verification and Validation

Outline
Software quality assessment
Human (testing) methods
Questions

Human (testing) methods


Human (testing) methods
Inspection
Walkthroughs
Pair-Programming
Desk check

Inspection checklists
Code
Does the code conforms to the design?
Are all the methods are called?
Are all the variables initialized?
Problems with: infinite cycles, out of bound indexes, improper
allocation of memory.

Test Document
The test cases are well documented?
The test cases are well chosen?

Lect. dr. Andreea Vescan

Software Systems Verification and Validation

Outline
Software quality assessment
Human (testing) methods
Questions

Human (testing) methods


Human (testing) methods
Inspection
Walkthroughs
Pair-Programming
Desk check

Inspection checklists
Code
Does the code conforms to the design?
Are all the methods are called?
Are all the variables initialized?
Problems with: infinite cycles, out of bound indexes, improper
allocation of memory.

Test Document
The test cases are well documented?
The test cases are well chosen?
Are the test data sufficient to coverage criterion?

Lect. dr. Andreea Vescan

Software Systems Verification and Validation

Outline
Software quality assessment
Human (testing) methods
Questions

Human (testing) methods


Human (testing) methods
Inspection
Walkthroughs
Pair-Programming
Desk check

Inspection checklists
Code
Does the code conforms to the design?
Are all the methods are called?
Are all the variables initialized?
Problems with: infinite cycles, out of bound indexes, improper
allocation of memory.

Test Document
The test cases are well documented?
The test cases are well chosen?
Are the test data sufficient to coverage criterion?
For the integration testing, the order of integration is clear?

Lect. dr. Andreea Vescan

Software Systems Verification and Validation

Outline
Software quality assessment
Human (testing) methods
Questions

Human (testing) methods


Human (testing) methods
Inspection
Walkthroughs
Pair-Programming
Desk check

Inspection checklists
Code
Does the code conforms to the design?
Are all the methods are called?
Are all the variables initialized?
Problems with: infinite cycles, out of bound indexes, improper
allocation of memory.

Test Document
The test cases are well documented?
The test cases are well chosen?
Are the test data sufficient to coverage criterion?
For the integration testing, the order of integration is clear?
At regression testing is the testing continued?

Lect. dr. Andreea Vescan

Software Systems Verification and Validation

Outline
Software quality assessment
Human (testing) methods
Questions

Human (testing) methods


Human (testing) methods
Inspection
Walkthroughs
Pair-Programming
Desk check

Inspection advantages

Early error discovery;

Lect. dr. Andreea Vescan

Software Systems Verification and Validation

Outline
Software quality assessment
Human (testing) methods
Questions

Human (testing) methods


Human (testing) methods
Inspection
Walkthroughs
Pair-Programming
Desk check

Inspection advantages

Early error discovery;


Reduce product development time and cost;

Lect. dr. Andreea Vescan

Software Systems Verification and Validation

Outline
Software quality assessment
Human (testing) methods
Questions

Human (testing) methods


Human (testing) methods
Inspection
Walkthroughs
Pair-Programming
Desk check

Inspection advantages

Early error discovery;


Reduce product development time and cost;
Group method;

Lect. dr. Andreea Vescan

Software Systems Verification and Validation

Outline
Software quality assessment
Human (testing) methods
Questions

Human (testing) methods


Human (testing) methods
Inspection
Walkthroughs
Pair-Programming
Desk check

Inspection advantages

Early error discovery;


Reduce product development time and cost;
Group method;
Mean to education;

Lect. dr. Andreea Vescan

Software Systems Verification and Validation

Outline
Software quality assessment
Human (testing) methods
Questions

Human (testing) methods


Human (testing) methods
Inspection
Walkthroughs
Pair-Programming
Desk check

Inspection advantages

Early error discovery;


Reduce product development time and cost;
Group method;
Mean to education;
The source of error is known;

Lect. dr. Andreea Vescan

Software Systems Verification and Validation

Outline
Software quality assessment
Human (testing) methods
Questions

Human (testing) methods


Human (testing) methods
Inspection
Walkthroughs
Pair-Programming
Desk check

Inspection advantages

Early error discovery;


Reduce product development time and cost;
Group method;
Mean to education;
The source of error is known;
Eliminates the debugging stress if few day remains until
product release.

Lect. dr. Andreea Vescan

Software Systems Verification and Validation

Outline
Software quality assessment
Human (testing) methods
Questions

Human (testing) methods


Human (testing) methods
Inspection
Walkthroughs
Pair-Programming
Desk check

Walkthroughs
Walkthroughs - process of trying to find defects in
development documents during various phases of the software
development process.

Lect. dr. Andreea Vescan

Software Systems Verification and Validation

Outline
Software quality assessment
Human (testing) methods
Questions

Human (testing) methods


Human (testing) methods
Inspection
Walkthroughs
Pair-Programming
Desk check

Walkthroughs
Walkthroughs - process of trying to find defects in
development documents during various phases of the software
development process.
Similar to Inspection

Lect. dr. Andreea Vescan

Software Systems Verification and Validation

Outline
Software quality assessment
Human (testing) methods
Questions

Human (testing) methods


Human (testing) methods
Inspection
Walkthroughs
Pair-Programming
Desk check

Walkthroughs
Walkthroughs - process of trying to find defects in
development documents during various phases of the software
development process.
Similar to Inspection
Team members ([3-5] members

Lect. dr. Andreea Vescan

Software Systems Verification and Validation

Outline
Software quality assessment
Human (testing) methods
Questions

Human (testing) methods


Human (testing) methods
Inspection
Walkthroughs
Pair-Programming
Desk check

Walkthroughs
Walkthroughs - process of trying to find defects in
development documents during various phases of the software
development process.
Similar to Inspection
Team members ([3-5] members
Moderator

Lect. dr. Andreea Vescan

Software Systems Verification and Validation

Outline
Software quality assessment
Human (testing) methods
Questions

Human (testing) methods


Human (testing) methods
Inspection
Walkthroughs
Pair-Programming
Desk check

Walkthroughs
Walkthroughs - process of trying to find defects in
development documents during various phases of the software
development process.
Similar to Inspection
Team members ([3-5] members
Moderator
Secretary

Lect. dr. Andreea Vescan

Software Systems Verification and Validation

Outline
Software quality assessment
Human (testing) methods
Questions

Human (testing) methods


Human (testing) methods
Inspection
Walkthroughs
Pair-Programming
Desk check

Walkthroughs
Walkthroughs - process of trying to find defects in
development documents during various phases of the software
development process.
Similar to Inspection
Team members ([3-5] members
Moderator
Secretary
Tester

Lect. dr. Andreea Vescan

Software Systems Verification and Validation

Outline
Software quality assessment
Human (testing) methods
Questions

Human (testing) methods


Human (testing) methods
Inspection
Walkthroughs
Pair-Programming
Desk check

Walkthroughs
Walkthroughs - process of trying to find defects in
development documents during various phases of the software
development process.
Similar to Inspection
Team members ([3-5] members
Moderator
Secretary
Tester

Lect. dr. Andreea Vescan

Software Systems Verification and Validation

Outline
Software quality assessment
Human (testing) methods
Questions

Human (testing) methods


Human (testing) methods
Inspection
Walkthroughs
Pair-Programming
Desk check

Walkthroughs
Walkthroughs - process of trying to find defects in
development documents during various phases of the software
development process.
Similar to Inspection
Team members ([3-5] members
Moderator
Secretary
Tester

Procedures are slightly different


Planning
Meeting - the participants play computer.
Rework
Follow-up

Lect. dr. Andreea Vescan

Software Systems Verification and Validation

Outline
Software quality assessment
Human (testing) methods
Questions

Human (testing) methods


Human (testing) methods
Inspection
Walkthroughs
Pair-Programming
Desk check

Walkthroughs
Walkthroughs - process of trying to find defects in
development documents during various phases of the software
development process.
Similar to Inspection
Team members ([3-5] members
Moderator
Secretary
Tester

Procedures are slightly different


Planning
Meeting - the participants play computer.
Rework
Follow-up

Different error-detection technique


Lect. dr. Andreea Vescan

Software Systems Verification and Validation

Outline
Software quality assessment
Human (testing) methods
Questions

Human (testing) methods


Human (testing) methods
Inspection
Walkthroughs
Pair-Programming
Desk check

Walkthroughs
Walkthroughs - process of trying to find defects in
development documents during various phases of the software
development process.
Similar to Inspection
Team members ([3-5] members
Moderator
Secretary
Tester

Procedures are slightly different


Planning
Meeting - the participants play computer.
Rework
Follow-up

Different error-detection technique


Time - 90-120 minutes
Lect. dr. Andreea Vescan

Software Systems Verification and Validation

Outline
Software quality assessment
Human (testing) methods
Questions

Human (testing) methods


Human (testing) methods
Inspection
Walkthroughs
Pair-Programming
Desk check

Pair-Programming

Variation of program inspection.

Lect. dr. Andreea Vescan

Software Systems Verification and Validation

Outline
Software quality assessment
Human (testing) methods
Questions

Human (testing) methods


Human (testing) methods
Inspection
Walkthroughs
Pair-Programming
Desk check

Pair-Programming

Variation of program inspection.


Merges coding and inspection activities.

Lect. dr. Andreea Vescan

Software Systems Verification and Validation

Outline
Software quality assessment
Human (testing) methods
Questions

Human (testing) methods


Human (testing) methods
Inspection
Walkthroughs
Pair-Programming
Desk check

Pair-Programming

Variation of program inspection.


Merges coding and inspection activities.
The inspection activities

Lect. dr. Andreea Vescan

Software Systems Verification and Validation

Outline
Software quality assessment
Human (testing) methods
Questions

Human (testing) methods


Human (testing) methods
Inspection
Walkthroughs
Pair-Programming
Desk check

Pair-Programming

Variation of program inspection.


Merges coding and inspection activities.
The inspection activities
are not driven by checklists;

Lect. dr. Andreea Vescan

Software Systems Verification and Validation

Outline
Software quality assessment
Human (testing) methods
Questions

Human (testing) methods


Human (testing) methods
Inspection
Walkthroughs
Pair-Programming
Desk check

Pair-Programming

Variation of program inspection.


Merges coding and inspection activities.
The inspection activities
are not driven by checklists;
are based on shared programming practice and style;

Lect. dr. Andreea Vescan

Software Systems Verification and Validation

Outline
Software quality assessment
Human (testing) methods
Questions

Human (testing) methods


Human (testing) methods
Inspection
Walkthroughs
Pair-Programming
Desk check

Pair-Programming

Variation of program inspection.


Merges coding and inspection activities.
The inspection activities
are not driven by checklists;
are based on shared programming practice and style;

Lect. dr. Andreea Vescan

Software Systems Verification and Validation

Outline
Software quality assessment
Human (testing) methods
Questions

Human (testing) methods


Human (testing) methods
Inspection
Walkthroughs
Pair-Programming
Desk check

Pair-Programming

Variation of program inspection.


Merges coding and inspection activities.
The inspection activities
are not driven by checklists;
are based on shared programming practice and style;

Programmers frequently alternate roles;

Lect. dr. Andreea Vescan

Software Systems Verification and Validation

Outline
Software quality assessment
Human (testing) methods
Questions

Human (testing) methods


Human (testing) methods
Inspection
Walkthroughs
Pair-Programming
Desk check

Pair-Programming

Variation of program inspection.


Merges coding and inspection activities.
The inspection activities
are not driven by checklists;
are based on shared programming practice and style;

Programmers frequently alternate roles;


Is carried out in normal work days, without excessive overtime
and without severe schedule pressure.

Lect. dr. Andreea Vescan

Software Systems Verification and Validation

Outline
Software quality assessment
Human (testing) methods
Questions

Human (testing) methods


Human (testing) methods
Inspection
Walkthroughs
Pair-Programming
Desk check

Pair-Programming

Variation of program inspection.


Merges coding and inspection activities.
The inspection activities
are not driven by checklists;
are based on shared programming practice and style;

Programmers frequently alternate roles;


Is carried out in normal work days, without excessive overtime
and without severe schedule pressure.
No mediator, so responsibility for open and nondefensive
discussion of decisions/alternatives falls to the programmers.

Lect. dr. Andreea Vescan

Software Systems Verification and Validation

Outline
Software quality assessment
Human (testing) methods
Questions

Human (testing) methods


Human (testing) methods
Inspection
Walkthroughs
Pair-Programming
Desk check

Desk check

The first line of defense against defects.

Lect. dr. Andreea Vescan

Software Systems Verification and Validation

Outline
Software quality assessment
Human (testing) methods
Questions

Human (testing) methods


Human (testing) methods
Inspection
Walkthroughs
Pair-Programming
Desk check

Desk check

The first line of defense against defects.


You can speed up formal inspections by taking care of simple
defects in desk checks first.

Lect. dr. Andreea Vescan

Software Systems Verification and Validation

Outline
Software quality assessment
Human (testing) methods
Questions

Human (testing) methods


Human (testing) methods
Inspection
Walkthroughs
Pair-Programming
Desk check

Desk check

The first line of defense against defects.


You can speed up formal inspections by taking care of simple
defects in desk checks first.
BUT ...

Lect. dr. Andreea Vescan

Software Systems Verification and Validation

Outline
Software quality assessment
Human (testing) methods
Questions

Human (testing) methods


Human (testing) methods
Inspection
Walkthroughs
Pair-Programming
Desk check

Desk check

The first line of defense against defects.


You can speed up formal inspections by taking care of simple
defects in desk checks first.
BUT ...
The most basic and least productive type of human-based
testing.

Lect. dr. Andreea Vescan

Software Systems Verification and Validation

Outline
Software quality assessment
Human (testing) methods
Questions

Human (testing) methods


Human (testing) methods
Inspection
Walkthroughs
Pair-Programming
Desk check

Desk check

The first line of defense against defects.


You can speed up formal inspections by taking care of simple
defects in desk checks first.
BUT ...
The most basic and least productive type of human-based
testing.
Many errors are missed in desk checking because it is human
nature to overlook your own mistakes;

Lect. dr. Andreea Vescan

Software Systems Verification and Validation

Outline
Software quality assessment
Human (testing) methods
Questions

Questions

Questions

Thank You For Your Attention!

Lect. dr. Andreea Vescan

Software Systems Verification and Validation

Outline
Software quality assessment
Human (testing) methods
Questions

Questions

Questions

Thank You For Your Attention!

Lect. dr. Andreea Vescan

Software Systems Verification and Validation

Вам также может понравиться