Static testing techniques like reviews can improve both the quality and productivity of software development. The objectives of static testing are to improve software quality by helping engineers find and fix defects early. While static testing won't solve all problems, it is very effective at finding certain types of defects without executing the software. Organizations should consider using reviews of requirements, design, code, testing and maintenance work products to gain these benefits.
1. Static Techniques
Emi Rizki Ayunanda
11453201739
Sistem Informasi
Fakultas Sains Dan Teknologi
Universitas Islam Negeri Sultan Syarif Kasim Riau
2. The Power of PowerPoint - thepopp.com
Static test techniques provide a powerful way to improve
the quality and productivity of software development. The
fundamental objective of static testing is to improve the quality of
software work products by assisting engineers to recognize and fix
their own defects early in the software development process. While
static testing techniques will not solve all the problems, they are
enormously effective. Static techniques can improve both quality
and productivity by impressive factors.
Static testing is not magic and it should not be considered
a replacement for dynamic testing, but all software organizations
should consider using reviews in all major aspects of their work
including requirements, design, implementation, testing, and
maintenance.
Static Techniques
Sistem Infomasi/Fakulltas Sains & Teknologi/UIN SUSKA RIAU
2
3. The Power of PowerPoint - thepopp.com
Continue…
The definition of testing outlines objectives that relate to
evaluation, revealing defects and quality. As indicated in the definition two
approaches can be used to achieve these objectives, static testing and
dynamic testing.
With dynamic testing methods, software is executed using a set
of input values and its output is then examined and compared to what is
expected. During static testing, software work products are examined
manually, or with a set of tools, but not executed.
A) REVIEWS AND THE TEST PROCESS
Sistem Infomasi/Fakulltas Sains & Teknologi/UIN SUSKA RIAU
3
4. The Power of PowerPoint - thepopp.com
Continue…
Dynamic testing and static testing are complementary methods,
as they tend to find different types of defects effectively and efficiently.
Types of defects that are easier to find during static testing are:
deviations from standards, missing requirements, design defects, non-
maintainable code and inconsistent interface specifications.
A) REVIEWS AND THE TEST PROCESS
Sistem Infomasi/Fakulltas Sains & Teknologi/UIN SUSKA RIAU
4
5. The Power of PowerPoint - thepopp.com
A) REVIEWS AND THE TEST PROCESS
1
Since static testing can start early in the life cycle, early
feedback on quality issues can be established, e.g. an early
validation of user requirements and not just late in the life
cycle during acceptance testing.
2
By detecting defects at an early stage, rework costs are most
often relatively low and thus a relatively cheap improvement of
the quality of software products can be achieved.
3 Since rework effort is substantially reduced, development
productivity figures are likely to increase.
4
The evaluation by a team has the additional advantage that there
is an exchange of information between the participants.
5
Static tests contribute to an increased awareness of quality
issues.
To summarize, the
use of static testing, e.g.
reviews, on software work
products has various
advantages :
Continue… 5
Sistem Infomasi/Fakulltas Sains & Teknologi/UIN SUSKA RIAU
6. The Power of PowerPoint - thepopp.com
Continue…
In conclusion, static testing is a very suitable method for
improving the quality of software work products. This applies primarily to
the assessed products themselves, but it is also important that the quality
improvement is not achieved once but has a more structural character.
The feedback from the static testing process to the development process
allows for process improvement, which supports the avoidance of similar
errors being made in the future.
A) REVIEWS AND THE TEST PROCESS
Sistem Infomasi/Fakulltas Sains & Teknologi/UIN SUSKA RIAU
6
7. The Power of PowerPoint - thepopp.com
Continue…
Reviews vary from very informal to formal (i.e. well structured
and regulated). Although inspection is perhaps the most documented and
formal review technique, it is certainly not the only one. The formality of a
review process is related to factors such as the maturity of the
development process, any legal or regulatory requirements or the need
for an audit trail. In practice the informal review is perhaps the most
common type of review. Informal reviews are applied at various times
during the early stages in the life cycle of a document.
B) REVIEWS PROCESS
Sistem Infomasi/Fakulltas Sains & Teknologi/UIN SUSKA RIAU
7
8. The Power of PowerPoint - thepopp.com
a) Planning b) Kick-off c) Preparation
d) Review meeting e) Rework f) Follow-up
1) Phases of a formal review
In contrast to informal reviews, formal reviews follow a formal
process. A typical formal review process consists of six main steps:
Continue… 8
Sistem Infomasi/Fakulltas Sains & Teknologi/UIN SUSKA RIAU
9. The Power of PowerPoint - thepopp.com
a) Planning
1
A short check of a product sample by the moderator (or expert) does
not reveal a large number of major defects. For example, after 30
minutes of checking, no more than 3 major defects are found on a
single page or fewer than 10 major defects in total in a set of 5
pages.
2 The document to be reviewed is available with line numbers.
3 The document has been cleaned up by running any automated
checks that apply.
4 References needed for the inspection are stable and available.
5 The document author is prepared to join the review team and feels
confident with the quality of the document.
The review process for a
particular review begins with a
'request for review' by the author to
the moderator (or inspection leader).
A moderator is often assigned to take
care of the scheduling (dates, time,
place and invitation) of the review.
Although more and other
entry criteria can be applied, the
following can be regarded as the
minimum set for performing the entry
check:
Continue… 9
Sistem Infomasi/Fakulltas Sains & Teknologi/UIN SUSKA RIAU
1) Phases of a formal review
10. The Power of PowerPoint - thepopp.com
Continue…
An optional step in a review procedure is a kick-off meeting.
The goal of this meeting is to get everybody on the same wavelength
regarding the document under review and to commit to the time that will
be spent on checking. Also the result of the entry check and defined exit
criteria are discussed in case of a more formal review. In general a kick-
off is highly recommended since there is a strong positive effect of a kick-
off meeting on the motivation of reviewers and thus the effectiveness of
the review process.
B) REVIEWS PROCESS
Sistem Infomasi/Fakulltas Sains & Teknologi/UIN SUSKA RIAU
10
b) Kick-off
11. The Power of PowerPoint - thepopp.com
Continue…
A critical success factor for a thorough preparation is the number of
pages checked per hour. This is called the checking rate. The optimum
checking rate is the result of a mix of factors, including the type of document, its
complexity, the number of related documents and the experience of the
reviewer. Usually the checking rate is in the range of five to ten pages per hour,
but may be much less for formal inspection, e.g. one page per hour. During
preparation, participants should not exceed this criterion. By collecting data and
measuring the review process, company-specific criteria for checking rate and
document size (see planning phase) can be set, preferably specific to a
document type.
B) REVIEWS PROCESS
Sistem Infomasi/Fakulltas Sains & Teknologi/UIN SUSKA RIAU
11
c) Preparation
12. The Power of PowerPoint - thepopp.com
The meeting typically consists of the following elements (partly depending on the review
type): logging phase, discussion phase and decision phase. Every defect and its severity should be
logged. The participant who identifies the defect proposes the severity. Severity classes could be:
Critical
defects will cause downstream
damage; the scope and impact of
the defect is beyond the document
under inspection..
Major
defects could cause a
downstream effect (e.g. a fault
in a design can result in an
error in the implementation).
Minor
At the end of the meeting, a decision on the document under review has to be made by the participants,
sometimes based on formal exit criteria. The most important exit criterion is the average number of critical and/or
major defects found per page (e.g. no more than three critical/major defects per page). If the number of defects found
per page exceeds a certain level, the document must be reviewed again, after it has been reworked.
defects are not likely to cause
downstream damage (e.g.
non-compli ance with the
standards and templates).
B) REVIEWS PROCESS
Continue… 12
d) Review Meeting
Sistem Infomasi/Fakulltas Sains & Teknologi/UIN SUSKA RIAU
13. The Power of PowerPoint - thepopp.com
Continue…
Based on the defects detected, the author will improve the document
under review step by step. Not every defect that is found leads to rework. It is
the author's responsibility to judge if a defect has to be fixed. If nothing is done
about an issue for a certain reason, it should be reported to at least indicate that
the author has considered the issue.
Changes that are made to the document should be easy to identify
during follow-up. Therefore the author has to indicate where changes are made
(e.g. using 'Track changes' in word-processing software).
B) REVIEWS PROCESS
Sistem Infomasi/Fakulltas Sains & Teknologi/UIN SUSKA RIAU
13
e) Rework
14. The Power of PowerPoint - thepopp.com
Continue…
The moderator is responsible for ensuring that satisfactory actions
have been taken on all (logged) defects, process improvement suggestions and
change requests. Although the moderator checks to make sure that the author
has taken action on all known defects, it is not necessary for the moderator to
check all the corrections in detail. If it is decided that all participants will check
the updated document, the moderator takes care of the distribution and collects
the feedback. For more formal review types the moderator checks for
compliance to the exit criteria.
B) REVIEWS PROCESS
Sistem Infomasi/Fakulltas Sains & Teknologi/UIN SUSKA RIAU
14
f) Folow-up