SlideShare a Scribd company logo
Static
Techniques
Febriana Aulia Hidayati
11453204106
Faculty of Sains and Technology
Majoring in Information System
Islamic university Sultan syarif khasim riau
2017
Static test techniques provide a powerful way to improve the quality and
productivity of software development. 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 analysis tools implement
automated checks, e.g. on code.
REVIEWS AND THE TEST
PROCESS
Studies have shown that as a result of reviews, a significant increase in productivity and
product quality can be achieved [Gilb and Graham, 1993], [van Veenendaal, 1999]. Reducing the
number of defects early in the product life cycle also means that less time has to be spent on testing
and maintenance. To summarize, the use of static testing, e.g. reviews, on software work products has
various advantages:
– 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.
– 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.
– Since rework effort is substantially reduced, development productivity figures are likely to increase.
– The evaluation by a team has the additional advantage that there is an exchange of information between the
participants.
– Static tests contribute to an increased awareness of quality issues.
REVIEW PROCESS
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. A two-person team can
conduct an informal review, as the author can ask a colleague to
review a document or code. In later stages these reviews often
involve more people and a meeting. This normally involves peers of
the author, who try to find defects in the document under review
and discuss these defects in a review meeting. The goal is to help
the author and to improve the quality of the document. Informal
reviews come in various shapes and forms, but all have one
characteristic in common – they are not documented.
a. 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:
– Planning
– Kick-off
– Preparation
– Review meeting
– Rework
– Follow-up.
• Planning
Although more and other entry criteria can be applied, the following can be regarded
as the minimum set for performing the entry check:
– 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.
– The document to be reviewed is available with line numbers.
– The document has been cleaned up by running any automated checks that apply.
– References needed for the inspection are stable and available.
– The document author is prepared to join the review team and feels confident with
the quality of the document.
Within reviews the following focuses can be identified:
– focus on higher-level documents, e.g. does the design comply to the
requirements;
– focus on standards, e.g. internal consistency, clarity, naming conventions,
templates;
– focus on related documents at the same level, e.g. interfaces between soft ware
functions;
– focus on usage, e.g. for testability or maintainability.
The author may raise additional specific roles and questions
that have to be addressed. The moderator has the option to also
fulfill a role, alongside the task of being a review leader.
Checking the document improves the moderator's ability to
lead the meeting, because it ensures better understanding.
Furthermore, it improves the review efficiency because the
moderator replaces an engineer that would otherwise have to
check the document and attend the meeting. It is
recommended that the moderator take the role of checking
compliance to standards, since this tends to be a highly
objective role, which leads to less discussion of the defects
found.
• Kick off
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. At customer sites, we have
measured results up to 70% more major defects found per page as a
result of performing a kick-off, [van Veenendaal and van der Zwan,
2000]
Preparation
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.
• Review meeting
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, defects are not likely to cause downstream damage (e.g. non-compli ance with the standards and templates). ,
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. If the document complies with the exit criteria, the document
will be checked during follow-up by the moderator or one or more participants. Subsequently, the document can leave the
review process. If a project is under pressure, the moderator will sometimes be forced to skip re-reviews and exit with a defect-
prone document. Setting, and agreeing, quantified exit level criteria helps the moderator to make firm decisions at all times.
• Rework
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).
Follow-up
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.
Referensi
Graham, d., et al. 2006. Foundation of Software Testing: ISTQB certification
London, UK: International Thomson Business Press
http://www.uin-suska.ac.id/
http://sif.uin-suska.ac.id/
http://fst.uin-
suska.ac.id

More Related Content

PPTX
Static techniques
PPTX
Static techniques software development - Testing & Implementation
PPTX
static techniques
PPTX
PPTX
Testing 1 static techniques
PPTX
Static techniques
PPTX
Static techniques
PPTX
Reviews and the test process
Static techniques
Static techniques software development - Testing & Implementation
static techniques
Testing 1 static techniques
Static techniques
Static techniques
Reviews and the test process

What's hot (20)

PPTX
Chapter Three Static Techniques
PPTX
Static techniques
PPTX
Static techniques
PPT
03. static techniques
POTX
Static Techniques
PPTX
Static nopri wahyudi
PPTX
Presentasi static techniques
PPTX
Static techniques
PPTX
Static techniques
PPTX
Review Process
PPTX
Static Technique
PPTX
Static techniques
PPTX
STATIC TECHNIQUES
PPTX
Phases of a formal review
PPTX
Static techniques
PPTX
Static techniques
PPTX
Static analysis and reliability testing (CS 5032 2012)
PPTX
Static techniques
PPT
Static testing techniques
PPT
Testing throughout the software life cycle & statistic techniques
Chapter Three Static Techniques
Static techniques
Static techniques
03. static techniques
Static Techniques
Static nopri wahyudi
Presentasi static techniques
Static techniques
Static techniques
Review Process
Static Technique
Static techniques
STATIC TECHNIQUES
Phases of a formal review
Static techniques
Static techniques
Static analysis and reliability testing (CS 5032 2012)
Static techniques
Static testing techniques
Testing throughout the software life cycle & statistic techniques
Ad

Similar to Static Techniques (Chapter 3) (14)

PPTX
Phases of a formal review
PPTX
Static techniques
PPTX
Software Testing 4/5
PPTX
3.static techniques
PPTX
Marjuni.
PPTX
Chapter 3 Static Techniques
PPTX
Phases of Formal Review in Software Engineering.pptx
PPTX
Static techniques
PPTX
static techniques
PPTX
Ch 5 - Requirement Validation.pptx
PDF
Static techniques
PDF
Chapter 3 - Reviews
PPT
chapter 7.ppt
PPTX
Static techniques
Phases of a formal review
Static techniques
Software Testing 4/5
3.static techniques
Marjuni.
Chapter 3 Static Techniques
Phases of Formal Review in Software Engineering.pptx
Static techniques
static techniques
Ch 5 - Requirement Validation.pptx
Static techniques
Chapter 3 - Reviews
chapter 7.ppt
Static techniques
Ad

Recently uploaded (20)

PPTX
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
PDF
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
PPTX
Week 4 Term 3 Study Techniques revisited.pptx
PDF
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
PPTX
The Healthy Child – Unit II | Child Health Nursing I | B.Sc Nursing 5th Semester
PDF
01-Introduction-to-Information-Management.pdf
PDF
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
PPTX
Introduction to Child Health Nursing – Unit I | Child Health Nursing I | B.Sc...
PPTX
Pharma ospi slides which help in ospi learning
PPTX
Cell Structure & Organelles in detailed.
PDF
TR - Agricultural Crops Production NC III.pdf
PDF
RMMM.pdf make it easy to upload and study
PDF
Module 4: Burden of Disease Tutorial Slides S2 2025
PDF
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
PDF
VCE English Exam - Section C Student Revision Booklet
PDF
O5-L3 Freight Transport Ops (International) V1.pdf
PDF
Basic Mud Logging Guide for educational purpose
PDF
Supply Chain Operations Speaking Notes -ICLT Program
PDF
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
PPTX
master seminar digital applications in india
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
Week 4 Term 3 Study Techniques revisited.pptx
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
The Healthy Child – Unit II | Child Health Nursing I | B.Sc Nursing 5th Semester
01-Introduction-to-Information-Management.pdf
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
Introduction to Child Health Nursing – Unit I | Child Health Nursing I | B.Sc...
Pharma ospi slides which help in ospi learning
Cell Structure & Organelles in detailed.
TR - Agricultural Crops Production NC III.pdf
RMMM.pdf make it easy to upload and study
Module 4: Burden of Disease Tutorial Slides S2 2025
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
VCE English Exam - Section C Student Revision Booklet
O5-L3 Freight Transport Ops (International) V1.pdf
Basic Mud Logging Guide for educational purpose
Supply Chain Operations Speaking Notes -ICLT Program
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
master seminar digital applications in india

Static Techniques (Chapter 3)

  • 1. Static Techniques Febriana Aulia Hidayati 11453204106 Faculty of Sains and Technology Majoring in Information System Islamic university Sultan syarif khasim riau 2017
  • 2. Static test techniques provide a powerful way to improve the quality and productivity of software development. 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 analysis tools implement automated checks, e.g. on code.
  • 3. REVIEWS AND THE TEST PROCESS Studies have shown that as a result of reviews, a significant increase in productivity and product quality can be achieved [Gilb and Graham, 1993], [van Veenendaal, 1999]. Reducing the number of defects early in the product life cycle also means that less time has to be spent on testing and maintenance. To summarize, the use of static testing, e.g. reviews, on software work products has various advantages: – 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. – 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. – Since rework effort is substantially reduced, development productivity figures are likely to increase. – The evaluation by a team has the additional advantage that there is an exchange of information between the participants. – Static tests contribute to an increased awareness of quality issues.
  • 4. REVIEW PROCESS 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. A two-person team can conduct an informal review, as the author can ask a colleague to review a document or code. In later stages these reviews often involve more people and a meeting. This normally involves peers of the author, who try to find defects in the document under review and discuss these defects in a review meeting. The goal is to help the author and to improve the quality of the document. Informal reviews come in various shapes and forms, but all have one characteristic in common – they are not documented.
  • 5. a. 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: – Planning – Kick-off – Preparation – Review meeting – Rework – Follow-up.
  • 6. • Planning Although more and other entry criteria can be applied, the following can be regarded as the minimum set for performing the entry check: – 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. – The document to be reviewed is available with line numbers. – The document has been cleaned up by running any automated checks that apply. – References needed for the inspection are stable and available. – The document author is prepared to join the review team and feels confident with the quality of the document.
  • 7. Within reviews the following focuses can be identified: – focus on higher-level documents, e.g. does the design comply to the requirements; – focus on standards, e.g. internal consistency, clarity, naming conventions, templates; – focus on related documents at the same level, e.g. interfaces between soft ware functions; – focus on usage, e.g. for testability or maintainability.
  • 8. The author may raise additional specific roles and questions that have to be addressed. The moderator has the option to also fulfill a role, alongside the task of being a review leader. Checking the document improves the moderator's ability to lead the meeting, because it ensures better understanding. Furthermore, it improves the review efficiency because the moderator replaces an engineer that would otherwise have to check the document and attend the meeting. It is recommended that the moderator take the role of checking compliance to standards, since this tends to be a highly objective role, which leads to less discussion of the defects found.
  • 9. • Kick off 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. At customer sites, we have measured results up to 70% more major defects found per page as a result of performing a kick-off, [van Veenendaal and van der Zwan, 2000]
  • 10. Preparation 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.
  • 11. • Review meeting 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, defects are not likely to cause downstream damage (e.g. non-compli ance with the standards and templates). , 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. If the document complies with the exit criteria, the document will be checked during follow-up by the moderator or one or more participants. Subsequently, the document can leave the review process. If a project is under pressure, the moderator will sometimes be forced to skip re-reviews and exit with a defect- prone document. Setting, and agreeing, quantified exit level criteria helps the moderator to make firm decisions at all times.
  • 12. • Rework 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).
  • 13. Follow-up 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.
  • 14. Referensi Graham, d., et al. 2006. Foundation of Software Testing: ISTQB certification London, UK: International Thomson Business Press http://www.uin-suska.ac.id/ http://sif.uin-suska.ac.id/ http://fst.uin- suska.ac.id