SlideShare a Scribd company logo
“Static Techniques”
Graham et al (2006)
Oleh :
Tricia karina (11453201712)
Program Studi S1 Sistem Informasi
Universitas Islam Negeri Sultan Syarif Kasim Riau
http://sif.uin-suska.ac.id/
http://fst.uin-suska.ac.id/
http://www.uin-suska.ac.id/
Static techniques
• Static test techniques provide a powerful way to improve the
quality and productivity of software development. This chapter
describes static test techniques, including reviews, and
provides an overview of how they are conducted. 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 analysis tools implement automated
checks, e.g. on code.
REVIEWS AND THE TEST
PROCESS
• 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.
REVIEW PROCESS
• 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:
1. Planning
2. Kick-off
3. Preparation
4. Review meeting
5. Rework
6. Follow-up.
• Roles and responsibilities
The participants in any type of formal review should have
adequate knowledge of the review process. The best, and most
efficient, review situation occurs when the participants gain
some kind of advantage for their own work during reviewing.
In the case of an inspection or technical review, participants
should have been properly trained as both types of review have
proven to be far less successful without trained participants.
This indeed is perceived as being a critical success factor.
 The moderator
The moderator (or review leader) leads the review process. He or
she determines, in co-operation with the author, the type of
review, approach and the composition of the review team. The
moderator performs the entry check and the follow-up on the
rework, in order to control the quality of the input and output
of the review process. The moderator also schedules the
meeting, disseminates documents before the meeting, coaches
other team members, paces the meeting, leads possible
discussions and stores the data that is collected.
 The author
As the writer of the document under review, the author's basic
goal should be to learn as much as possible with regard to
improving the quality of the document, but also to improve his
or her ability to write future documents. The author's task is to
illuminate unclear areas and to understand the defects found.
 The scribe
During the logging meeting, the scribe (or recorder) has to record
each defect mentioned and any suggestions for process
improvement. In practice it is often the author who plays this
role, ensuring that the log is readable and understandable. If
authors record their own defects, or at least make their own
notes in their own words, it helps them to understand the log
better during rework. However, having someone other than the
author take the role of the scribe (e.g. the moderator) can have
significant advantages, since the author is freed up to think
about the document rather than being tied down with lots of
writing.
 The reviewers
The task of the reviewers (also called checkers or inspectors) is to
check any material for defects, mostly prior to the meeting. The
level of thoroughness required depends on the type of review.
The level of domain knowledge or technical expertise needed by
the reviewers also depends on the type of review. Reviewers
should be chosen to represent different perspectives and roles in
the review process. In addition to the document under review, the
material reviewers receive includes source documents, standards,
checklists, etc. In general, the fewer source and reference
documents provided, the more domain expertise regarding the
content of the document under review is needed.
 The manager
The manager is involved in the reviews as he or she decides on the
execution of reviews, allocates time in project schedules and
determines whether review process objectives have been met. The
manager will also take care of any review training requested by
the participants. Of course a manager can also be involved in the
review itself depending on his or her background, playing the role
of a reviewer if this would be helpful.
• Types of review
A single document may be the subject of more than one review. If
more than one type of review is used, the order may vary. For
example, an informal review may be carried out before a
technical review, or an inspection may be carried out on a
requirements specification before a walkthrough with
customers. It is apparent that none of the following types of
review is the 'winner', but the different types serve different
purposes at different stages in the life cycle of a document.
• Success factors for reviews
Implementing (formal) reviews is not easy as there is no one way
to success and there are numerous ways to fail. The next list
contains a number of critical success factors that improve the
chances of success when implementing reviews.
STATIC ANALYSIS BY TOOLS
• Coding standards
Checking for adherence to coding standards is certainly the most
well-known of all features. The first action to be taken is to define or
adopt a coding standard. Usually a coding standard consists of a set
of programming rules (e.g. 'Always check boundaries on an array
when copying to that array'), naming conventions (e.g. 'Classes
should start with capital C) and layout specifications (e.g. 'Indent 4
spaces'). It is recommended that existing standards are adopted. The
main advantage of this is that it saves a lot of effort. An extra reason
for adopting this approach is that if you take a well-known coding
standard there will probably be checking tools available that support
this standard. It can even be put the other way around: purchase a
static code analyzer and declare (a selection of) the rules in it as your
coding standard.
• Code metrics
As stated, when performing static code analysis, usually
information is calculated about structural attributes of the code,
such as comment frequency, depth of nesting, cyclomatic
number and number of lines of code. This information can be
computed not only as the design and code are being created but
also as changes are made to a system, to see if the design or
code is becoming bigger, more complex and more difficult to
understand and maintain. The measurements also help us to
decide among several design alternatives, especially when
redesigning portions of existing code.
• Code structure
There are many different kinds of structural measures, each of
which tells us something about the effort required to write the
code in the first place, to understand the code when making a
change, or to test the code using particular tools or techniques.
It is often assumed that a large module takes longer to specify,
design, code and test than a smaller one. But in fact the code's
structure plays a big part. There are several aspects of code
structure to consider:
• control flow structure;
• data flow structure;
• data structure.
THANKYOUTHANKYOU

More Related Content

PPTX
Static techniques
chayo rona
 
PPTX
Static techniques
Achmad Harpin Asrori
 
PPTX
Static techniques
Amelia Septia Roza
 
PPTX
Static nopri wahyudi
Nopriwahyudi
 
PPTX
Bab 3
fadillah alazmi
 
PPTX
Presentasi static techniques
Egi Ilham Elnusa
 
PPTX
Reviews and the test process
nur fitrianti
 
PPTX
Static analysis and reliability testing (CS 5032 2012)
Ian Sommerville
 
Static techniques
chayo rona
 
Static techniques
Achmad Harpin Asrori
 
Static techniques
Amelia Septia Roza
 
Static nopri wahyudi
Nopriwahyudi
 
Presentasi static techniques
Egi Ilham Elnusa
 
Reviews and the test process
nur fitrianti
 
Static analysis and reliability testing (CS 5032 2012)
Ian Sommerville
 

What's hot (20)

PPT
Static testing techniques
Mazenetsolution
 
PPTX
Testing 1 static techniques
Mini Marsiah
 
PPTX
Chapter Three Static Techniques
elvira munanda
 
PPTX
Static techniques software development - Testing & Implementation
yogi syafrialdi
 
PPTX
STATIC TECHNIQUES
fajarayuningrum
 
PPTX
Review Process
winy setya ningrum
 
PPTX
Static Techniques (Chapter 3)
febriana aulia hidayati
 
PPS
ISTQB Foundation - Chapter 3
Chandukar
 
PPTX
Static techniques
adeafsa
 
PPTX
Testing & implementation system 3-wm
Wiwik Muslehatin
 
PPTX
Chater 3 Static Technic (by Eva Normala)
EvaNormala
 
DOCX
Astqb Slayb
nitin lakhanpal
 
PPT
Software Testing-Dynamic testing technique-Mazenet solution
Mazenetsolution
 
PPTX
STATIC TECHNIQUES
Delicia Generis Humani
 
PPTX
Static techniques
muhamad iqbal
 
PPTX
Chapter 3 - Static Testing
Neeraj Kumar Singh
 
PPTX
Static techniques
abdurrahim_radhin
 
PPT
Ch14
Khalid Rafiq
 
PDF
Chapter 3 - Reviews
Neeraj Kumar Singh
 
PPTX
Static techniques
Arif Rakhmatullah.M
 
Static testing techniques
Mazenetsolution
 
Testing 1 static techniques
Mini Marsiah
 
Chapter Three Static Techniques
elvira munanda
 
Static techniques software development - Testing & Implementation
yogi syafrialdi
 
STATIC TECHNIQUES
fajarayuningrum
 
Review Process
winy setya ningrum
 
Static Techniques (Chapter 3)
febriana aulia hidayati
 
ISTQB Foundation - Chapter 3
Chandukar
 
Static techniques
adeafsa
 
Testing & implementation system 3-wm
Wiwik Muslehatin
 
Chater 3 Static Technic (by Eva Normala)
EvaNormala
 
Astqb Slayb
nitin lakhanpal
 
Software Testing-Dynamic testing technique-Mazenet solution
Mazenetsolution
 
STATIC TECHNIQUES
Delicia Generis Humani
 
Static techniques
muhamad iqbal
 
Chapter 3 - Static Testing
Neeraj Kumar Singh
 
Static techniques
abdurrahim_radhin
 
Chapter 3 - Reviews
Neeraj Kumar Singh
 
Static techniques
Arif Rakhmatullah.M
 
Ad

Similar to 03. static techniques (20)

PPTX
Chapter 3 Static Techniques
Siti Deny Nadiroha
 
PPTX
3.static techniques
Bobi Henfajri Setiawan
 
PPTX
Static techniques
rido randika putra
 
PPTX
Static techniques
aidul azmi
 
PDF
Static techniques
eva khasana
 
PPTX
Static techniques
argawanda
 
PPTX
Bab iii static techniques
Syakir Arsalan
 
PPTX
Static Technique
Nathandisya
 
PPTX
Marjuni.
marjuni .
 
PPTX
Bab iii static techniques
Riauly Putra
 
PPTX
03. static techniques
M. Hidayatullah
 
PPTX
Chapter 3 Static Techniques
Zetryan Satria
 
PPTX
Static techniques
Bayu Andika Pratama
 
PPTX
CTFL Module 03
Davis Thomas
 
PPTX
Bab iii static techniques (yoga)
sidjdhdjsks
 
PPTX
static techniques
aidil fitra
 
PPTX
Static techniques
Muhammad Khairil
 
POTX
Static Techniques
mentary fransiska
 
PPTX
Static techniques
Yusran5
 
PPTX
static techniques
Riat Rayendra
 
Chapter 3 Static Techniques
Siti Deny Nadiroha
 
3.static techniques
Bobi Henfajri Setiawan
 
Static techniques
rido randika putra
 
Static techniques
aidul azmi
 
Static techniques
eva khasana
 
Static techniques
argawanda
 
Bab iii static techniques
Syakir Arsalan
 
Static Technique
Nathandisya
 
Marjuni.
marjuni .
 
Bab iii static techniques
Riauly Putra
 
03. static techniques
M. Hidayatullah
 
Chapter 3 Static Techniques
Zetryan Satria
 
Static techniques
Bayu Andika Pratama
 
CTFL Module 03
Davis Thomas
 
Bab iii static techniques (yoga)
sidjdhdjsks
 
static techniques
aidil fitra
 
Static techniques
Muhammad Khairil
 
Static Techniques
mentary fransiska
 
Static techniques
Yusran5
 
static techniques
Riat Rayendra
 
Ad

Recently uploaded (20)

PPTX
Qualification of.UV visible spectrophotometer pptx
shrutipandit17
 
PDF
NSF-DOE Vera C. Rubin Observatory Observations of Interstellar Comet 3I/ATLAS...
Sérgio Sacani
 
PPTX
Quality control test for plastic & metal.pptx
shrutipandit17
 
PPTX
Cell Structure and Organelles Slides PPT
JesusNeyra8
 
PPT
1. Basic Principles of Medical Microbiology Part 1.ppt
separatedwalk
 
PDF
A water-rich interior in the temperate sub-Neptune K2-18 b revealed by JWST
Sérgio Sacani
 
PDF
A deep Search for Ethylene Glycol and Glycolonitrile in the V883 Ori Protopla...
Sérgio Sacani
 
PDF
study of microbiologically influenced corrosion of 2205 duplex stainless stee...
ahmadfreak180
 
PPTX
Reticular formation_nuclei_afferent_efferent
muralinath2
 
PDF
JADESreveals a large population of low mass black holes at high redshift
Sérgio Sacani
 
PPTX
Unit 4 - Astronomy and Astrophysics - Milky Way And External Galaxies
RDhivya6
 
PPTX
RED ROT DISEASE OF SUGARCANE.pptx
BikramjitDeuri
 
PPTX
Pengenalan Sel dan organisasi kehidupanpptx
SuntiEkaprawesti1
 
PPTX
ANTIANGINAL DRUGS.pptx m pharm pharmacology
46JaybhayAshwiniHari
 
PPTX
fghvqwhfugqaifbiqufbiquvbfuqvfuqyvfqvfouiqvfq
PERMISONJERWIN
 
PPTX
mirna_2025_clase_genética_cinvestav_Dralvarez
Cinvestav
 
PDF
Paleoseismic activity in the moon’s Taurus-Littrowvalley inferred from boulde...
Sérgio Sacani
 
PDF
Drones in Disaster Response: Real-Time Data Collection and Analysis (www.kiu...
publication11
 
PPT
1a. Basic Principles of Medical Microbiology Part 2 [Autosaved].ppt
separatedwalk
 
PPTX
Hericium erinaceus, also known as lion's mane mushroom
TinaDadkhah1
 
Qualification of.UV visible spectrophotometer pptx
shrutipandit17
 
NSF-DOE Vera C. Rubin Observatory Observations of Interstellar Comet 3I/ATLAS...
Sérgio Sacani
 
Quality control test for plastic & metal.pptx
shrutipandit17
 
Cell Structure and Organelles Slides PPT
JesusNeyra8
 
1. Basic Principles of Medical Microbiology Part 1.ppt
separatedwalk
 
A water-rich interior in the temperate sub-Neptune K2-18 b revealed by JWST
Sérgio Sacani
 
A deep Search for Ethylene Glycol and Glycolonitrile in the V883 Ori Protopla...
Sérgio Sacani
 
study of microbiologically influenced corrosion of 2205 duplex stainless stee...
ahmadfreak180
 
Reticular formation_nuclei_afferent_efferent
muralinath2
 
JADESreveals a large population of low mass black holes at high redshift
Sérgio Sacani
 
Unit 4 - Astronomy and Astrophysics - Milky Way And External Galaxies
RDhivya6
 
RED ROT DISEASE OF SUGARCANE.pptx
BikramjitDeuri
 
Pengenalan Sel dan organisasi kehidupanpptx
SuntiEkaprawesti1
 
ANTIANGINAL DRUGS.pptx m pharm pharmacology
46JaybhayAshwiniHari
 
fghvqwhfugqaifbiqufbiquvbfuqvfuqyvfqvfouiqvfq
PERMISONJERWIN
 
mirna_2025_clase_genética_cinvestav_Dralvarez
Cinvestav
 
Paleoseismic activity in the moon’s Taurus-Littrowvalley inferred from boulde...
Sérgio Sacani
 
Drones in Disaster Response: Real-Time Data Collection and Analysis (www.kiu...
publication11
 
1a. Basic Principles of Medical Microbiology Part 2 [Autosaved].ppt
separatedwalk
 
Hericium erinaceus, also known as lion's mane mushroom
TinaDadkhah1
 

03. static techniques

  • 1. “Static Techniques” Graham et al (2006) Oleh : Tricia karina (11453201712) Program Studi S1 Sistem Informasi Universitas Islam Negeri Sultan Syarif Kasim Riau http://sif.uin-suska.ac.id/ http://fst.uin-suska.ac.id/ http://www.uin-suska.ac.id/
  • 2. Static techniques • Static test techniques provide a powerful way to improve the quality and productivity of software development. This chapter describes static test techniques, including reviews, and provides an overview of how they are conducted. 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 analysis tools implement automated checks, e.g. on code.
  • 3. REVIEWS AND THE TEST PROCESS • 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.
  • 4. REVIEW PROCESS • 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: 1. Planning 2. Kick-off 3. Preparation 4. Review meeting 5. Rework 6. Follow-up.
  • 5. • Roles and responsibilities The participants in any type of formal review should have adequate knowledge of the review process. The best, and most efficient, review situation occurs when the participants gain some kind of advantage for their own work during reviewing. In the case of an inspection or technical review, participants should have been properly trained as both types of review have proven to be far less successful without trained participants. This indeed is perceived as being a critical success factor.  The moderator The moderator (or review leader) leads the review process. He or she determines, in co-operation with the author, the type of review, approach and the composition of the review team. The moderator performs the entry check and the follow-up on the rework, in order to control the quality of the input and output of the review process. The moderator also schedules the meeting, disseminates documents before the meeting, coaches other team members, paces the meeting, leads possible discussions and stores the data that is collected.
  • 6.  The author As the writer of the document under review, the author's basic goal should be to learn as much as possible with regard to improving the quality of the document, but also to improve his or her ability to write future documents. The author's task is to illuminate unclear areas and to understand the defects found.  The scribe During the logging meeting, the scribe (or recorder) has to record each defect mentioned and any suggestions for process improvement. In practice it is often the author who plays this role, ensuring that the log is readable and understandable. If authors record their own defects, or at least make their own notes in their own words, it helps them to understand the log better during rework. However, having someone other than the author take the role of the scribe (e.g. the moderator) can have significant advantages, since the author is freed up to think about the document rather than being tied down with lots of writing.
  • 7.  The reviewers The task of the reviewers (also called checkers or inspectors) is to check any material for defects, mostly prior to the meeting. The level of thoroughness required depends on the type of review. The level of domain knowledge or technical expertise needed by the reviewers also depends on the type of review. Reviewers should be chosen to represent different perspectives and roles in the review process. In addition to the document under review, the material reviewers receive includes source documents, standards, checklists, etc. In general, the fewer source and reference documents provided, the more domain expertise regarding the content of the document under review is needed.  The manager The manager is involved in the reviews as he or she decides on the execution of reviews, allocates time in project schedules and determines whether review process objectives have been met. The manager will also take care of any review training requested by the participants. Of course a manager can also be involved in the review itself depending on his or her background, playing the role of a reviewer if this would be helpful.
  • 8. • Types of review A single document may be the subject of more than one review. If more than one type of review is used, the order may vary. For example, an informal review may be carried out before a technical review, or an inspection may be carried out on a requirements specification before a walkthrough with customers. It is apparent that none of the following types of review is the 'winner', but the different types serve different purposes at different stages in the life cycle of a document. • Success factors for reviews Implementing (formal) reviews is not easy as there is no one way to success and there are numerous ways to fail. The next list contains a number of critical success factors that improve the chances of success when implementing reviews.
  • 9. STATIC ANALYSIS BY TOOLS • Coding standards Checking for adherence to coding standards is certainly the most well-known of all features. The first action to be taken is to define or adopt a coding standard. Usually a coding standard consists of a set of programming rules (e.g. 'Always check boundaries on an array when copying to that array'), naming conventions (e.g. 'Classes should start with capital C) and layout specifications (e.g. 'Indent 4 spaces'). It is recommended that existing standards are adopted. The main advantage of this is that it saves a lot of effort. An extra reason for adopting this approach is that if you take a well-known coding standard there will probably be checking tools available that support this standard. It can even be put the other way around: purchase a static code analyzer and declare (a selection of) the rules in it as your coding standard.
  • 10. • Code metrics As stated, when performing static code analysis, usually information is calculated about structural attributes of the code, such as comment frequency, depth of nesting, cyclomatic number and number of lines of code. This information can be computed not only as the design and code are being created but also as changes are made to a system, to see if the design or code is becoming bigger, more complex and more difficult to understand and maintain. The measurements also help us to decide among several design alternatives, especially when redesigning portions of existing code.
  • 11. • Code structure There are many different kinds of structural measures, each of which tells us something about the effort required to write the code in the first place, to understand the code when making a change, or to test the code using particular tools or techniques. It is often assumed that a large module takes longer to specify, design, code and test than a smaller one. But in fact the code's structure plays a big part. There are several aspects of code structure to consider: • control flow structure; • data flow structure; • data structure.