SlideShare a Scribd company logo
Testing throughout the
software life cycle
Marjuni
11453105146
Sistem Informasi
Sains dan Teknologi
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.
REVIEWS AND THE TES
PROCESSReducing 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:
• 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 prod ucts can be achieved.
• Since rework effort is substantially reduced, development productivity figures are likely
to increase.
• Static tests contribute to an increased awareness of quality issues.
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:
– Planning
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.
Roles and
responsibilitiesThe moderator
The moderator (or review leader) leads the review process. He or she deter-mines, 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 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.
Types of review
Walkthrough
A walkthrough is characterized by the author of the
document under review guiding the participants through the
document and his or her thought processes, to achieve a
common understanding and to gather feedback.
Cont....
Technical review
A technical review is a discussion meeting that focuses on
achieving con-sensus about the technical content of a document.
Compared to inspec-tions, technical reviews are less formal and
there is little or no focus on defect identification on the basis of
referenced documents, intended read-ership and rules.
Cont....
Inspection
Inspection is the most formal review type. The
document under inspection is prepared and checked
thoroughly by the reviewers before the meeting, compar-ing
the work product with its sources and other referenced
documents, and using rules and checklists
Success factors for reviews
Finda 'champion'
A champion is needed, one who will lead the process on a project
or organiza-tional level. They need expertise, enthusiasm and a
practical mindset in order to guide moderators and participants.
Pickthingsthatreallycount
Select the documents for review that are most important in a
project. Reviewing highly critical, upstream documents like
requirements and architec-ture will most certainly show the benefits of
the review process to the project. These invested review hours will
have a clear and high return on investment.
Cont....
– Continuously improve process and tools
Continuous improvement of process and supporting tools (e.g. checklists),
based upon the ideas of participants, ensures the motivation of the engineers
involved. Motivation is the key to a successful change process. There should also be
an emphasis, in addition to defect finding, on learning and process improvement.
– Report results
Report quantified results and benefits to all those involved as soon as possible,
and discuss the consequences of defects if they had not been found this early. Costs
should of course be tracked, but benefits, especially when problems don't occur in
the future, should be made visible by quantifying the benefits as well as the costs.
– Just do it!
The process is simple but not easy. Each step of the process is clear, but expe-
rience is needed to execute them correctly. So, try to get experienced people to
observe and help where possible. But most importantly, start doing reviews and start
learning from every review.
STATIC ANALYSIS BY TOOLS
Static analysis is an examination of requirements, design and
code that differs from more traditional dynamic testing in a number
of important ways:
– Static analysis is performed on requirements, design or code without
actually executing the software artifact being examined.
– Static analysis is ideally performed before the types of formal review
dis cussed in Section 3.2.
– Static analysis is unrelated to dynamic properties of the requirements,
design and code, such as test coverage.
– The goal of static analysis is to find defects, whether or not they may
cause failures. As with reviews, static analysis finds defects rather
than failures.
Codingstandards
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 stan-dard.
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 specifica-tions (e.g. 'Indent 4
spaces').
Code metrics
As stated, when performing static code analysis, usually information is
calculated about structural attributes of the code, such as comment fre-
quency, depth of nesting, cyclomatic number and number of lines of code.
Cont....
The important thing for the tester is to be aware that the
above mentioned static analysis measures can be used as early
warning signals of how good the code is likely to be when it is
finished.
In summary the value of static analysis is especially for:
– early detection of defects prior to test execution;
– early warning about suspicious aspects of the code, design or
requirements;
– identification of defects not easily found in dynamic testing;

More Related Content

What's hot

Bab 3
Bab 3Bab 3
STATIC TECHNIQUES
STATIC TECHNIQUESSTATIC TECHNIQUES
STATIC TECHNIQUES
fajarayuningrum
 
Static Testing
Static Testing Static Testing
Static Testing
Suraj Vishwakarma
 
Reviews and the test process
Reviews and the test processReviews and the test process
Reviews and the test process
nur fitrianti
 
Static testing techniques
Static testing techniquesStatic testing techniques
Static testing techniques
Mazenetsolution
 
Unit3 software review control software
Unit3 software review control softwareUnit3 software review control software
Unit3 software review control software
Reetesh Gupta
 
Static techniques software development - Testing & Implementation
Static techniques software development - Testing & ImplementationStatic techniques software development - Testing & Implementation
Static techniques software development - Testing & Implementation
yogi syafrialdi
 
NOSQAA Requirements Inspection
NOSQAA Requirements InspectionNOSQAA Requirements Inspection
NOSQAA Requirements Inspectionclelhs
 
Static techniques
Static techniquesStatic techniques
Static techniques
adeafsa
 
Static techniques
Static techniquesStatic techniques
Static techniques
Arif Rakhmatullah.M
 
Static techniques
Static techniquesStatic techniques
Static techniques
Bayu Andika Pratama
 
Learn software testing
Learn software testingLearn software testing
Learn software testing
sajedah abukhdeir
 
Static techniques
Static techniquesStatic techniques
Static techniques
yahdi sandra
 
Techincal review
Techincal reviewTechincal review
Techincal review
Saba Munawar
 
Solution Evaluation (BA Role)
Solution Evaluation (BA Role)   Solution Evaluation (BA Role)
Solution Evaluation (BA Role)
Shwetha-BA
 
Software testing
Software testingSoftware testing
Software testing
sajedah abukhdeir
 
Static techniques
Static techniquesStatic techniques
Static techniques
Marni -
 
static techniques
static techniquesstatic techniques
static techniques
Riat Rayendra
 
ISTQB Foundation - Chapter 3
ISTQB Foundation - Chapter 3ISTQB Foundation - Chapter 3
ISTQB Foundation - Chapter 3
Chandukar
 

What's hot (20)

Bab 3
Bab 3Bab 3
Bab 3
 
STATIC TECHNIQUES
STATIC TECHNIQUESSTATIC TECHNIQUES
STATIC TECHNIQUES
 
Static Testing
Static Testing Static Testing
Static Testing
 
Reviews and the test process
Reviews and the test processReviews and the test process
Reviews and the test process
 
Static testing techniques
Static testing techniquesStatic testing techniques
Static testing techniques
 
Unit3 software review control software
Unit3 software review control softwareUnit3 software review control software
Unit3 software review control software
 
Static techniques software development - Testing & Implementation
Static techniques software development - Testing & ImplementationStatic techniques software development - Testing & Implementation
Static techniques software development - Testing & Implementation
 
NOSQAA Requirements Inspection
NOSQAA Requirements InspectionNOSQAA Requirements Inspection
NOSQAA Requirements Inspection
 
Static techniques
Static techniquesStatic techniques
Static techniques
 
Static techniques
Static techniquesStatic techniques
Static techniques
 
Static techniques
Static techniquesStatic techniques
Static techniques
 
Learn software testing
Learn software testingLearn software testing
Learn software testing
 
Static techniques
Static techniquesStatic techniques
Static techniques
 
Techincal review
Techincal reviewTechincal review
Techincal review
 
Solution Evaluation (BA Role)
Solution Evaluation (BA Role)   Solution Evaluation (BA Role)
Solution Evaluation (BA Role)
 
Software testing
Software testingSoftware testing
Software testing
 
Static techniques
Static techniquesStatic techniques
Static techniques
 
static techniques
static techniquesstatic techniques
static techniques
 
ISTQB Foundation - Chapter 3
ISTQB Foundation - Chapter 3ISTQB Foundation - Chapter 3
ISTQB Foundation - Chapter 3
 
Qa
QaQa
Qa
 

Similar to Marjuni.

Presentasi static techniques
Presentasi static techniquesPresentasi static techniques
Presentasi static techniques
Egi Ilham Elnusa
 
03. static techniques
03. static techniques03. static techniques
03. static techniques
Tricia Karina
 
Chapter 3 Static Techniques
Chapter 3 Static TechniquesChapter 3 Static Techniques
Chapter 3 Static Techniques
Zetryan Satria
 
3.static techniques
3.static techniques3.static techniques
3.static techniques
Bobi Henfajri Setiawan
 
Static techniques
Static techniquesStatic techniques
Static techniques
Amelia Septia Roza
 
Static techniques
Static techniquesStatic techniques
Static techniques
muhamad iqbal
 
Bab iii static techniques
Bab iii static techniquesBab iii static techniques
Bab iii static techniques
Riauly Putra
 
Static techniques
Static techniquesStatic techniques
Static techniques
ANDRI HAIRIYADI, S.Kom.
 
Chater 3 Static Technic (by Eva Normala)
Chater 3 Static Technic (by Eva Normala)Chater 3 Static Technic (by Eva Normala)
Chater 3 Static Technic (by Eva Normala)
EvaNormala
 
Static Techniques (Chapter 3)
Static Techniques (Chapter 3)Static Techniques (Chapter 3)
Static Techniques (Chapter 3)
febriana aulia hidayati
 
Testing & implementation system 3-wm
Testing & implementation system 3-wmTesting & implementation system 3-wm
Testing & implementation system 3-wm
Wiwik Muslehatin
 
CTFL Module 03
CTFL Module 03CTFL Module 03
CTFL Module 03
Davis Thomas
 
Static techniques
Static techniquesStatic techniques
Static techniques
argawanda
 
STATIC TECHNIQUES
STATIC TECHNIQUESSTATIC TECHNIQUES
STATIC TECHNIQUES
Delicia Generis Humani
 
Software testing and introduction to quality
Software testing and introduction to qualitySoftware testing and introduction to quality
Software testing and introduction to quality
DhanashriAmbre
 
Slides chapters 26-27
Slides chapters 26-27Slides chapters 26-27
Slides chapters 26-27
Priyanka Shetty
 
Software Testing Life Cycle Unit-3
Software Testing Life Cycle Unit-3Software Testing Life Cycle Unit-3
Software Testing Life Cycle Unit-3
Raj vardhan
 
Static techniques
Static techniquesStatic techniques
Static techniques
Siti Rubayati
 
Static Testing
Static TestingStatic Testing
Static Testing
Dharita Chokshi
 
Software Testing and Quality Assurance Assignment 3
Software Testing and Quality Assurance Assignment 3Software Testing and Quality Assurance Assignment 3
Software Testing and Quality Assurance Assignment 3
Gurpreet singh
 

Similar to Marjuni. (20)

Presentasi static techniques
Presentasi static techniquesPresentasi static techniques
Presentasi static techniques
 
03. static techniques
03. static techniques03. static techniques
03. static techniques
 
Chapter 3 Static Techniques
Chapter 3 Static TechniquesChapter 3 Static Techniques
Chapter 3 Static Techniques
 
3.static techniques
3.static techniques3.static techniques
3.static techniques
 
Static techniques
Static techniquesStatic techniques
Static techniques
 
Static techniques
Static techniquesStatic techniques
Static techniques
 
Bab iii static techniques
Bab iii static techniquesBab iii static techniques
Bab iii static techniques
 
Static techniques
Static techniquesStatic techniques
Static techniques
 
Chater 3 Static Technic (by Eva Normala)
Chater 3 Static Technic (by Eva Normala)Chater 3 Static Technic (by Eva Normala)
Chater 3 Static Technic (by Eva Normala)
 
Static Techniques (Chapter 3)
Static Techniques (Chapter 3)Static Techniques (Chapter 3)
Static Techniques (Chapter 3)
 
Testing & implementation system 3-wm
Testing & implementation system 3-wmTesting & implementation system 3-wm
Testing & implementation system 3-wm
 
CTFL Module 03
CTFL Module 03CTFL Module 03
CTFL Module 03
 
Static techniques
Static techniquesStatic techniques
Static techniques
 
STATIC TECHNIQUES
STATIC TECHNIQUESSTATIC TECHNIQUES
STATIC TECHNIQUES
 
Software testing and introduction to quality
Software testing and introduction to qualitySoftware testing and introduction to quality
Software testing and introduction to quality
 
Slides chapters 26-27
Slides chapters 26-27Slides chapters 26-27
Slides chapters 26-27
 
Software Testing Life Cycle Unit-3
Software Testing Life Cycle Unit-3Software Testing Life Cycle Unit-3
Software Testing Life Cycle Unit-3
 
Static techniques
Static techniquesStatic techniques
Static techniques
 
Static Testing
Static TestingStatic Testing
Static Testing
 
Software Testing and Quality Assurance Assignment 3
Software Testing and Quality Assurance Assignment 3Software Testing and Quality Assurance Assignment 3
Software Testing and Quality Assurance Assignment 3
 

Recently uploaded

Hemoglobin metabolism_pathophysiology.pptx
Hemoglobin metabolism_pathophysiology.pptxHemoglobin metabolism_pathophysiology.pptx
Hemoglobin metabolism_pathophysiology.pptx
muralinath2
 
GBSN- Microbiology (Lab 3) Gram Staining
GBSN- Microbiology (Lab 3) Gram StainingGBSN- Microbiology (Lab 3) Gram Staining
GBSN- Microbiology (Lab 3) Gram Staining
Areesha Ahmad
 
GBSN - Microbiology (Lab 4) Culture Media
GBSN - Microbiology (Lab 4) Culture MediaGBSN - Microbiology (Lab 4) Culture Media
GBSN - Microbiology (Lab 4) Culture Media
Areesha Ahmad
 
In silico drugs analogue design: novobiocin analogues.pptx
In silico drugs analogue design: novobiocin analogues.pptxIn silico drugs analogue design: novobiocin analogues.pptx
In silico drugs analogue design: novobiocin analogues.pptx
AlaminAfendy1
 
Cancer cell metabolism: special Reference to Lactate Pathway
Cancer cell metabolism: special Reference to Lactate PathwayCancer cell metabolism: special Reference to Lactate Pathway
Cancer cell metabolism: special Reference to Lactate Pathway
AADYARAJPANDEY1
 
Nutraceutical market, scope and growth: Herbal drug technology
Nutraceutical market, scope and growth: Herbal drug technologyNutraceutical market, scope and growth: Herbal drug technology
Nutraceutical market, scope and growth: Herbal drug technology
Lokesh Patil
 
Richard's entangled aventures in wonderland
Richard's entangled aventures in wonderlandRichard's entangled aventures in wonderland
Richard's entangled aventures in wonderland
Richard Gill
 
Circulatory system_ Laplace law. Ohms law.reynaults law,baro-chemo-receptors-...
Circulatory system_ Laplace law. Ohms law.reynaults law,baro-chemo-receptors-...Circulatory system_ Laplace law. Ohms law.reynaults law,baro-chemo-receptors-...
Circulatory system_ Laplace law. Ohms law.reynaults law,baro-chemo-receptors-...
muralinath2
 
insect taxonomy importance systematics and classification
insect taxonomy importance systematics and classificationinsect taxonomy importance systematics and classification
insect taxonomy importance systematics and classification
anitaento25
 
NuGOweek 2024 Ghent - programme - final version
NuGOweek 2024 Ghent - programme - final versionNuGOweek 2024 Ghent - programme - final version
NuGOweek 2024 Ghent - programme - final version
pablovgd
 
Structures and textures of metamorphic rocks
Structures and textures of metamorphic rocksStructures and textures of metamorphic rocks
Structures and textures of metamorphic rocks
kumarmathi863
 
ESR_factors_affect-clinic significance-Pathysiology.pptx
ESR_factors_affect-clinic significance-Pathysiology.pptxESR_factors_affect-clinic significance-Pathysiology.pptx
ESR_factors_affect-clinic significance-Pathysiology.pptx
muralinath2
 
Citrus Greening Disease and its Management
Citrus Greening Disease and its ManagementCitrus Greening Disease and its Management
Citrus Greening Disease and its Management
subedisuryaofficial
 
Multi-source connectivity as the driver of solar wind variability in the heli...
Multi-source connectivity as the driver of solar wind variability in the heli...Multi-source connectivity as the driver of solar wind variability in the heli...
Multi-source connectivity as the driver of solar wind variability in the heli...
Sérgio Sacani
 
Deep Behavioral Phenotyping in Systems Neuroscience for Functional Atlasing a...
Deep Behavioral Phenotyping in Systems Neuroscience for Functional Atlasing a...Deep Behavioral Phenotyping in Systems Neuroscience for Functional Atlasing a...
Deep Behavioral Phenotyping in Systems Neuroscience for Functional Atlasing a...
Ana Luísa Pinho
 
RNA INTERFERENCE: UNRAVELING GENETIC SILENCING
RNA INTERFERENCE: UNRAVELING GENETIC SILENCINGRNA INTERFERENCE: UNRAVELING GENETIC SILENCING
RNA INTERFERENCE: UNRAVELING GENETIC SILENCING
AADYARAJPANDEY1
 
Comparative structure of adrenal gland in vertebrates
Comparative structure of adrenal gland in vertebratesComparative structure of adrenal gland in vertebrates
Comparative structure of adrenal gland in vertebrates
sachin783648
 
EY - Supply Chain Services 2018_template.pptx
EY - Supply Chain Services 2018_template.pptxEY - Supply Chain Services 2018_template.pptx
EY - Supply Chain Services 2018_template.pptx
AlguinaldoKong
 
4. An Overview of Sugarcane White Leaf Disease in Vietnam.pdf
4. An Overview of Sugarcane White Leaf Disease in Vietnam.pdf4. An Overview of Sugarcane White Leaf Disease in Vietnam.pdf
4. An Overview of Sugarcane White Leaf Disease in Vietnam.pdf
ssuserbfdca9
 
Earliest Galaxies in the JADES Origins Field: Luminosity Function and Cosmic ...
Earliest Galaxies in the JADES Origins Field: Luminosity Function and Cosmic ...Earliest Galaxies in the JADES Origins Field: Luminosity Function and Cosmic ...
Earliest Galaxies in the JADES Origins Field: Luminosity Function and Cosmic ...
Sérgio Sacani
 

Recently uploaded (20)

Hemoglobin metabolism_pathophysiology.pptx
Hemoglobin metabolism_pathophysiology.pptxHemoglobin metabolism_pathophysiology.pptx
Hemoglobin metabolism_pathophysiology.pptx
 
GBSN- Microbiology (Lab 3) Gram Staining
GBSN- Microbiology (Lab 3) Gram StainingGBSN- Microbiology (Lab 3) Gram Staining
GBSN- Microbiology (Lab 3) Gram Staining
 
GBSN - Microbiology (Lab 4) Culture Media
GBSN - Microbiology (Lab 4) Culture MediaGBSN - Microbiology (Lab 4) Culture Media
GBSN - Microbiology (Lab 4) Culture Media
 
In silico drugs analogue design: novobiocin analogues.pptx
In silico drugs analogue design: novobiocin analogues.pptxIn silico drugs analogue design: novobiocin analogues.pptx
In silico drugs analogue design: novobiocin analogues.pptx
 
Cancer cell metabolism: special Reference to Lactate Pathway
Cancer cell metabolism: special Reference to Lactate PathwayCancer cell metabolism: special Reference to Lactate Pathway
Cancer cell metabolism: special Reference to Lactate Pathway
 
Nutraceutical market, scope and growth: Herbal drug technology
Nutraceutical market, scope and growth: Herbal drug technologyNutraceutical market, scope and growth: Herbal drug technology
Nutraceutical market, scope and growth: Herbal drug technology
 
Richard's entangled aventures in wonderland
Richard's entangled aventures in wonderlandRichard's entangled aventures in wonderland
Richard's entangled aventures in wonderland
 
Circulatory system_ Laplace law. Ohms law.reynaults law,baro-chemo-receptors-...
Circulatory system_ Laplace law. Ohms law.reynaults law,baro-chemo-receptors-...Circulatory system_ Laplace law. Ohms law.reynaults law,baro-chemo-receptors-...
Circulatory system_ Laplace law. Ohms law.reynaults law,baro-chemo-receptors-...
 
insect taxonomy importance systematics and classification
insect taxonomy importance systematics and classificationinsect taxonomy importance systematics and classification
insect taxonomy importance systematics and classification
 
NuGOweek 2024 Ghent - programme - final version
NuGOweek 2024 Ghent - programme - final versionNuGOweek 2024 Ghent - programme - final version
NuGOweek 2024 Ghent - programme - final version
 
Structures and textures of metamorphic rocks
Structures and textures of metamorphic rocksStructures and textures of metamorphic rocks
Structures and textures of metamorphic rocks
 
ESR_factors_affect-clinic significance-Pathysiology.pptx
ESR_factors_affect-clinic significance-Pathysiology.pptxESR_factors_affect-clinic significance-Pathysiology.pptx
ESR_factors_affect-clinic significance-Pathysiology.pptx
 
Citrus Greening Disease and its Management
Citrus Greening Disease and its ManagementCitrus Greening Disease and its Management
Citrus Greening Disease and its Management
 
Multi-source connectivity as the driver of solar wind variability in the heli...
Multi-source connectivity as the driver of solar wind variability in the heli...Multi-source connectivity as the driver of solar wind variability in the heli...
Multi-source connectivity as the driver of solar wind variability in the heli...
 
Deep Behavioral Phenotyping in Systems Neuroscience for Functional Atlasing a...
Deep Behavioral Phenotyping in Systems Neuroscience for Functional Atlasing a...Deep Behavioral Phenotyping in Systems Neuroscience for Functional Atlasing a...
Deep Behavioral Phenotyping in Systems Neuroscience for Functional Atlasing a...
 
RNA INTERFERENCE: UNRAVELING GENETIC SILENCING
RNA INTERFERENCE: UNRAVELING GENETIC SILENCINGRNA INTERFERENCE: UNRAVELING GENETIC SILENCING
RNA INTERFERENCE: UNRAVELING GENETIC SILENCING
 
Comparative structure of adrenal gland in vertebrates
Comparative structure of adrenal gland in vertebratesComparative structure of adrenal gland in vertebrates
Comparative structure of adrenal gland in vertebrates
 
EY - Supply Chain Services 2018_template.pptx
EY - Supply Chain Services 2018_template.pptxEY - Supply Chain Services 2018_template.pptx
EY - Supply Chain Services 2018_template.pptx
 
4. An Overview of Sugarcane White Leaf Disease in Vietnam.pdf
4. An Overview of Sugarcane White Leaf Disease in Vietnam.pdf4. An Overview of Sugarcane White Leaf Disease in Vietnam.pdf
4. An Overview of Sugarcane White Leaf Disease in Vietnam.pdf
 
Earliest Galaxies in the JADES Origins Field: Luminosity Function and Cosmic ...
Earliest Galaxies in the JADES Origins Field: Luminosity Function and Cosmic ...Earliest Galaxies in the JADES Origins Field: Luminosity Function and Cosmic ...
Earliest Galaxies in the JADES Origins Field: Luminosity Function and Cosmic ...
 

Marjuni.

  • 1. Testing throughout the software life cycle Marjuni 11453105146 Sistem Informasi Sains dan Teknologi
  • 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.
  • 3. REVIEWS AND THE TES PROCESSReducing 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: • 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 prod ucts can be achieved. • Since rework effort is substantially reduced, development productivity figures are likely to increase. • Static tests contribute to an increased awareness of quality issues.
  • 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: – Planning 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.
  • 5. Roles and responsibilitiesThe moderator The moderator (or review leader) leads the review process. He or she deter-mines, 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 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.
  • 6. Types of review Walkthrough A walkthrough is characterized by the author of the document under review guiding the participants through the document and his or her thought processes, to achieve a common understanding and to gather feedback.
  • 7. Cont.... Technical review A technical review is a discussion meeting that focuses on achieving con-sensus about the technical content of a document. Compared to inspec-tions, technical reviews are less formal and there is little or no focus on defect identification on the basis of referenced documents, intended read-ership and rules.
  • 8. Cont.... Inspection Inspection is the most formal review type. The document under inspection is prepared and checked thoroughly by the reviewers before the meeting, compar-ing the work product with its sources and other referenced documents, and using rules and checklists
  • 9. Success factors for reviews Finda 'champion' A champion is needed, one who will lead the process on a project or organiza-tional level. They need expertise, enthusiasm and a practical mindset in order to guide moderators and participants. Pickthingsthatreallycount Select the documents for review that are most important in a project. Reviewing highly critical, upstream documents like requirements and architec-ture will most certainly show the benefits of the review process to the project. These invested review hours will have a clear and high return on investment.
  • 10. Cont.... – Continuously improve process and tools Continuous improvement of process and supporting tools (e.g. checklists), based upon the ideas of participants, ensures the motivation of the engineers involved. Motivation is the key to a successful change process. There should also be an emphasis, in addition to defect finding, on learning and process improvement. – Report results Report quantified results and benefits to all those involved as soon as possible, and discuss the consequences of defects if they had not been found this early. Costs should of course be tracked, but benefits, especially when problems don't occur in the future, should be made visible by quantifying the benefits as well as the costs. – Just do it! The process is simple but not easy. Each step of the process is clear, but expe- rience is needed to execute them correctly. So, try to get experienced people to observe and help where possible. But most importantly, start doing reviews and start learning from every review.
  • 11. STATIC ANALYSIS BY TOOLS Static analysis is an examination of requirements, design and code that differs from more traditional dynamic testing in a number of important ways: – Static analysis is performed on requirements, design or code without actually executing the software artifact being examined. – Static analysis is ideally performed before the types of formal review dis cussed in Section 3.2. – Static analysis is unrelated to dynamic properties of the requirements, design and code, such as test coverage. – The goal of static analysis is to find defects, whether or not they may cause failures. As with reviews, static analysis finds defects rather than failures.
  • 12. Codingstandards 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 stan-dard. 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 specifica-tions (e.g. 'Indent 4 spaces'). Code metrics As stated, when performing static code analysis, usually information is calculated about structural attributes of the code, such as comment fre- quency, depth of nesting, cyclomatic number and number of lines of code.
  • 13. Cont.... The important thing for the tester is to be aware that the above mentioned static analysis measures can be used as early warning signals of how good the code is likely to be when it is finished. In summary the value of static analysis is especially for: – early detection of defects prior to test execution; – early warning about suspicious aspects of the code, design or requirements; – identification of defects not easily found in dynamic testing;