Unit 5
Unit 5
(CSE440)
Contents – UNIT E
Controlling and Monitoring
Unit E Test metrics and measurements –project,
progress and productivity metrics – Status
Meetings – Reports and Control Issues – Criteria
for Test Completion – SCM , Developing a review
program – Components of Review Plans–
Reporting, Review Results. – evaluating software
quality – defect prevention – testing maturity
model
Software Test Metrics
Software Testing Metrics are the quantitative measures used to estimate the
progress, quality, productivity and health of the software testing process.
A Metric defines in quantitative terms the degree to which a system, system
component, or process possesses a given attribute
Test metrics example:
How many defects exist within the module?
How many test cases are executed per person?
What is Test coverage %?
"It takes less time to do a thing right than to explain why you did it wrong." Longfellow
Software Quality Defined
• "Conformance to explicitly stated functional and performance
requirements, explicitly documented development standards, and implicit
characteristics that are expected of all professionally developed software“
• This definition emphasizes three points
– Software requirements are the foundation from which quality is
measured; lack of conformance to requirements is lack of quality
– Specified standards define a set of development criteria that guide the
manner in which software is engineered; if the criteria are not followed,
lack of quality will almost surely result
– A set of implicit requirements often goes unmentioned; if software fails
to meet implicit requirements, software quality is doubtful
• Software quality is no longer the sole responsibility of the programmer
– It extends to software engineers, project managers, customers,
salespeople, and the SQA group
– Software engineers apply solid technical methods and measures,
conduct formal technical reviews, and perform well-planned software
testing
The SQA Group
• Serves as the customer's in-house representative
• Assists the software team in achieving a high-quality
product
• Views the software from the customer's point of view
– Does the software adequately meet quality factors?
– Has software development been conducted according to
pre-established standards?
– Have technical disciplines properly performed their roles
as part of the SQA activity?
• Performs a set of activities that address quality assurance
planning, oversight, record keeping, analysis, and
reporting.
SQA Activities
• Prepares an SQA plan for a project
• Participates in the development of the project's software
process description
• Reviews software engineering activities to verify compliance
with the defined software process
• Audits designated software work products to verify
compliance with those defined as part of the software
process
• Ensures that deviations in software work and work products
are documented and handled according to a documented
procedure
• Records any noncompliance and reports to senior
management
• Coordinates the control and management of change
Software Reviews: Purpose of Reviews
• Serve as a filter for the software process
• Are applied at various points during the software process
• Uncover errors that can then be removed
• Purify the software analysis, design, coding, and testing activities
• Catch large classes of errors that escape the originator more than
other practitioners
• Include the formal technical review (also called a walkthrough or
inspection)
– Acts as the most effective SQA filter
– Conducted by software engineers for software engineers
– Effectively uncovers errors and improves software quality
– Has been shown to be up to 75% effective in uncovering
design flaws (which constitute 50-65% of all errors in software)
• Require the software engineers to expend time and effort, and
the organization to cover the costs
Formal Technical Review (FTR)
• Objectives
– To uncover errors in function, logic, or implementation for any
representation of the software
– To verify that the software under review meets its requirements
– To ensure that the software has been represented according to
predefined standards
– To achieve software that is developed in a uniform manner
– To make projects more manageable
• Serves as a training ground for junior software engineers to observe
different approaches to software analysis, design, and construction
• Promotes backup and continuity because a number of people become
familiar with other parts of the software
• May sometimes be a sample-driven review
– Project managers must quantify those work products that are the
primary targets for formal technical reviews
– The sample of products that are reviewed must be representative of
the products as a whole
The FTR Meeting
• Has the following constraints
– From 3-5 people should be involved
– Advance preparation (i.e., reading) should occur for each participant but
should require no more than two hours a piece and involve only a small
subset of components
– The duration of the meeting should be less than two hours
• Focuses on a specific work product (a software requirements specification, a
detailed design, a source code listing)
• Activities before the meeting
– The producer informs the project manager that a work product is
complete and ready for review
– The project manager contacts a review leader, who evaluates the
product for readiness, generates copies of product materials, and
distributes them to the reviewers for advance preparation
– Each reviewer spends one to two hours reviewing the product and
making notes before the actual review meeting
– The review leader establishes an agenda for the review meeting and
schedules the time and location
The FTR Meeting (continued)
• Activities during the meeting
– The meeting is attended by the review leader, all reviewers, and the
producer
– One of the reviewers also serves as the recorder for all issues and decisions
concerning the product
– After a brief introduction by the review leader, the producer proceeds to
"walk through" the work product while reviewers ask questions and raise
issues
– The recorder notes any valid problems or errors that are discovered; no
time or effort is spent in this meeting to solve any of these problems or
errors
• Activities at the conclusion of the meeting
– All attendees must decide whether to
• Accept the product without further modification
• Reject the product due to severe errors (After these errors are
corrected, another review will then occur)
• Accept the product provisionally (Minor errors need to be corrected but
no additional review is required)
– All attendees then complete a sign-off in which they indicate that they took
part in the review and that they concur with the findings
The FTR Meeting (continued)