SlideShare a Scribd company logo
Static
techniques
Nama : Ade Afsa
Nim : 11453201937
Sistem Informasi
Fakultas Sains dan Teknologi
Uin Suska Riau
Static techniques
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.
A. REVIEWS AND THE TEST PROCESS
• Recognize software work products that can be examined by
different static techniques. (K1)
• Describe the importance and value of considering static
techniques for the assessment of software work products. (K2)
• Explain the difference between static and dynamic techniques.
(K2)
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. Note that in contrast to dynamic testing, static
testing finds defects rather than failures.
B. Review Process
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.
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.
Phases of a formal review
Roles and responsibilities
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. Within a review team,
four types of participants can be distinguished:
moderator, author, scribe and reviewer. In addition
management needs to play a role in the review process.
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. The main review types, their main
characteristics and common objectives it is :
1. Walkthrough
2. Technical review
3. Inspection
Success factors for reviews
Implementing (formal) reviews is not easy as there is no one
way to success and there are numerous ways to examples fail :
1. Find a 'champion'
2. Pick things that really count
3. Explicitly plan and track review activities
4. Train participants
5. Manage people issues
6. Follow the rules but keep it simple
7. Continuously improve process and tools
8. Report results
9. Just do it!
C. STATIC ANALYSIS BY
TOOLS
• Describe the objective of static analysis and compare it
to dynamic testing. (K2)
• Recall typical defects identified by static analysis and
compare them to reviews and dynamic testing. (K1)
• List typical benefits of static analysts. (K1)
• List typical code and design defects that may be
identified by static analysis tools. (Kl)
REVIEW
From Section 3.1 you should be able to explain
the importance and advantages of static testing.
You should know the difference between static
testing and dynamic testing, and also understand
the concept of reviews. You should be able to
recognize the software work products that can be
examined by static testing. You should know the
glossary terms static testing, dynamic testing
and reviews.
From Section 3.2, you should understand the
difference between formal and informal reviews.
You should be able to recall the main phases of a
typical formal review. The main roles within
reviews and their responsibilities should be clear
to you. You should know the glossary terms
entry criteria, exit criteria, formal review,
informal review, inspection, moderator,
reviewer, scribe, technical review and
walkthrough.
From Section 3.3 you should understand the
objective of static analysis and be able to
compare it to static and dynamic testing. You
should be able to describe the main features of
static analysis and recall typical defects that can
be found using static analysis. Finally, you
should be able to recall the benefits of using
static analysis. You should know the glossary
terms compiler, cyclomatic complexity, control
flow, data flow and static analysis.

More Related Content

What's hot

03. static techniques
03. static techniques03. static techniques
03. static techniques
Tricia Karina
 
Static Techniques
Static TechniquesStatic Techniques
Static Techniques
sabrian SIF
 
Testing & implementation system 3-wm
Testing & implementation system 3-wmTesting & implementation system 3-wm
Testing & implementation system 3-wm
Wiwik Muslehatin
 
softwareinspections
softwareinspectionssoftwareinspections
softwareinspections
Dorin Paunescu
 
Static testing techniques
Static testing techniquesStatic testing techniques
Static testing techniques
Mazenetsolution
 
Testing 1 static techniques
Testing 1 static techniquesTesting 1 static techniques
Testing 1 static techniques
Mini Marsiah
 
ISTQB Test Process
ISTQB Test ProcessISTQB Test Process
ISTQB Test Process
HoangThiHien1
 
Marjuni.
Marjuni.Marjuni.
Marjuni.
marjuni .
 
Presentasi static techniques
Presentasi static techniquesPresentasi static techniques
Presentasi static techniques
Egi Ilham Elnusa
 
Static techniques
Static techniquesStatic techniques
Static techniques
muhamad iqbal
 
static techniques
static techniquesstatic techniques
static techniques
aidil fitra
 
Chapter Three Static Techniques
Chapter Three Static TechniquesChapter Three Static Techniques
Chapter Three Static Techniques
elvira munanda
 
STATIC TECHNIQUES
STATIC TECHNIQUESSTATIC TECHNIQUES
STATIC TECHNIQUES
Delicia Generis Humani
 
Reviews and the test process
Reviews and the test processReviews and the test process
Reviews and the test process
nur fitrianti
 
Testing throughout the software life cycle & statistic techniques
Testing throughout the software life cycle & statistic techniquesTesting throughout the software life cycle & statistic techniques
Testing throughout the software life cycle & statistic techniques
Novika Damai Yanti
 
Static analysis and reliability testing (CS 5032 2012)
Static analysis and reliability testing (CS 5032 2012)Static analysis and reliability testing (CS 5032 2012)
Static analysis and reliability testing (CS 5032 2012)
Ian Sommerville
 
ISTQB Foundation - Chapter 3
ISTQB Foundation - Chapter 3ISTQB Foundation - Chapter 3
ISTQB Foundation - Chapter 3
Chandukar
 
Chapter 3 Static Techniques
Chapter 3 Static TechniquesChapter 3 Static Techniques
Chapter 3 Static Techniques
Zetryan Satria
 
Quality management checklist
Quality management checklistQuality management checklist
Quality management checklist
selinasimpson321
 
Software Testing-Dynamic testing technique-Mazenet solution
Software Testing-Dynamic testing technique-Mazenet solutionSoftware Testing-Dynamic testing technique-Mazenet solution
Software Testing-Dynamic testing technique-Mazenet solution
Mazenetsolution
 

What's hot (20)

03. static techniques
03. static techniques03. static techniques
03. static techniques
 
Static Techniques
Static TechniquesStatic Techniques
Static Techniques
 
Testing & implementation system 3-wm
Testing & implementation system 3-wmTesting & implementation system 3-wm
Testing & implementation system 3-wm
 
softwareinspections
softwareinspectionssoftwareinspections
softwareinspections
 
Static testing techniques
Static testing techniquesStatic testing techniques
Static testing techniques
 
Testing 1 static techniques
Testing 1 static techniquesTesting 1 static techniques
Testing 1 static techniques
 
ISTQB Test Process
ISTQB Test ProcessISTQB Test Process
ISTQB Test Process
 
Marjuni.
Marjuni.Marjuni.
Marjuni.
 
Presentasi static techniques
Presentasi static techniquesPresentasi static techniques
Presentasi static techniques
 
Static techniques
Static techniquesStatic techniques
Static techniques
 
static techniques
static techniquesstatic techniques
static techniques
 
Chapter Three Static Techniques
Chapter Three Static TechniquesChapter Three Static Techniques
Chapter Three Static Techniques
 
STATIC TECHNIQUES
STATIC TECHNIQUESSTATIC TECHNIQUES
STATIC TECHNIQUES
 
Reviews and the test process
Reviews and the test processReviews and the test process
Reviews and the test process
 
Testing throughout the software life cycle & statistic techniques
Testing throughout the software life cycle & statistic techniquesTesting throughout the software life cycle & statistic techniques
Testing throughout the software life cycle & statistic techniques
 
Static analysis and reliability testing (CS 5032 2012)
Static analysis and reliability testing (CS 5032 2012)Static analysis and reliability testing (CS 5032 2012)
Static analysis and reliability testing (CS 5032 2012)
 
ISTQB Foundation - Chapter 3
ISTQB Foundation - Chapter 3ISTQB Foundation - Chapter 3
ISTQB Foundation - Chapter 3
 
Chapter 3 Static Techniques
Chapter 3 Static TechniquesChapter 3 Static Techniques
Chapter 3 Static Techniques
 
Quality management checklist
Quality management checklistQuality management checklist
Quality management checklist
 
Software Testing-Dynamic testing technique-Mazenet solution
Software Testing-Dynamic testing technique-Mazenet solutionSoftware Testing-Dynamic testing technique-Mazenet solution
Software Testing-Dynamic testing technique-Mazenet solution
 

Similar to Static techniques

Static techniques
Static techniquesStatic techniques
Static techniques
argawanda
 
Testing throughout the software life cycle & statistic techniques
Testing throughout the software life cycle & statistic techniquesTesting throughout the software life cycle & statistic techniques
Testing throughout the software life cycle & statistic techniques
YAObbiIkhsan
 
3.static techniques
3.static techniques3.static techniques
3.static techniques
Bobi Henfajri Setiawan
 
Bab 3
Bab 3Bab 3
Static techniques
Static techniquesStatic techniques
Static techniques
Bayu Andika Pratama
 
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
 
Software Testing Basics
Software Testing BasicsSoftware Testing Basics
Software Testing Basics
Belal Raslan
 
Static techniques
Static techniquesStatic techniques
Static techniques
yahdi sandra
 
Static techniques
Static techniquesStatic techniques
Static techniques
eva khasana
 
Fundamentals of testing
Fundamentals of testingFundamentals of testing
Fundamentals of testing
YAObbiIkhsan
 
Fundamentals of testing
Fundamentals of testingFundamentals of testing
Fundamentals of testing
Novika Damai Yanti
 
Static techniques
Static techniquesStatic techniques
Static techniques
Miftahul Jannaty
 
Static Techniques
Static TechniquesStatic Techniques
Static Techniques
mentary fransiska
 
Ch 5 - Requirement Validation.pptx
Ch 5 - Requirement Validation.pptxCh 5 - Requirement Validation.pptx
Ch 5 - Requirement Validation.pptx
balewayalew
 
Static techniques
Static techniquesStatic techniques
Static techniques
Siti Rubayati
 
Static Testing
Static TestingStatic Testing
Static Testing
Dharita Chokshi
 
Static Techniques (Chapter 3)
Static Techniques (Chapter 3)Static Techniques (Chapter 3)
Static Techniques (Chapter 3)
febriana aulia hidayati
 
NUR 350 Journal Guidelines and Rubric Journal ac.docx
NUR 350 Journal Guidelines and Rubric   Journal ac.docxNUR 350 Journal Guidelines and Rubric   Journal ac.docx
NUR 350 Journal Guidelines and Rubric Journal ac.docx
vannagoforth
 
Static techniques
Static techniquesStatic techniques
Static techniques
Arif Rakhmatullah.M
 
Interview with a tester
Interview with a testerInterview with a tester
Interview with a tester
Johan Hoberg
 

Similar to Static techniques (20)

Static techniques
Static techniquesStatic techniques
Static techniques
 
Testing throughout the software life cycle & statistic techniques
Testing throughout the software life cycle & statistic techniquesTesting throughout the software life cycle & statistic techniques
Testing throughout the software life cycle & statistic techniques
 
3.static techniques
3.static techniques3.static techniques
3.static techniques
 
Bab 3
Bab 3Bab 3
Bab 3
 
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)
 
Software Testing Basics
Software Testing BasicsSoftware Testing Basics
Software Testing Basics
 
Static techniques
Static techniquesStatic techniques
Static techniques
 
Static techniques
Static techniquesStatic techniques
Static techniques
 
Fundamentals of testing
Fundamentals of testingFundamentals of testing
Fundamentals of testing
 
Fundamentals of testing
Fundamentals of testingFundamentals of testing
Fundamentals of testing
 
Static techniques
Static techniquesStatic techniques
Static techniques
 
Static Techniques
Static TechniquesStatic Techniques
Static Techniques
 
Ch 5 - Requirement Validation.pptx
Ch 5 - Requirement Validation.pptxCh 5 - Requirement Validation.pptx
Ch 5 - Requirement Validation.pptx
 
Static techniques
Static techniquesStatic techniques
Static techniques
 
Static Testing
Static TestingStatic Testing
Static Testing
 
Static Techniques (Chapter 3)
Static Techniques (Chapter 3)Static Techniques (Chapter 3)
Static Techniques (Chapter 3)
 
NUR 350 Journal Guidelines and Rubric Journal ac.docx
NUR 350 Journal Guidelines and Rubric   Journal ac.docxNUR 350 Journal Guidelines and Rubric   Journal ac.docx
NUR 350 Journal Guidelines and Rubric Journal ac.docx
 
Static techniques
Static techniquesStatic techniques
Static techniques
 
Interview with a tester
Interview with a testerInterview with a tester
Interview with a tester
 

Recently uploaded

7 Most Powerful Solar Storms in the History of Earth.pdf
7 Most Powerful Solar Storms in the History of Earth.pdf7 Most Powerful Solar Storms in the History of Earth.pdf
7 Most Powerful Solar Storms in the History of Earth.pdf
Enterprise Wired
 
BT & Neo4j: Knowledge Graphs for Critical Enterprise Systems.pptx.pdf
BT & Neo4j: Knowledge Graphs for Critical Enterprise Systems.pptx.pdfBT & Neo4j: Knowledge Graphs for Critical Enterprise Systems.pptx.pdf
BT & Neo4j: Knowledge Graphs for Critical Enterprise Systems.pptx.pdf
Neo4j
 
Comparison Table of DiskWarrior Alternatives.pdf
Comparison Table of DiskWarrior Alternatives.pdfComparison Table of DiskWarrior Alternatives.pdf
Comparison Table of DiskWarrior Alternatives.pdf
Andrey Yasko
 
Paradigm Shifts in User Modeling: A Journey from Historical Foundations to Em...
Paradigm Shifts in User Modeling: A Journey from Historical Foundations to Em...Paradigm Shifts in User Modeling: A Journey from Historical Foundations to Em...
Paradigm Shifts in User Modeling: A Journey from Historical Foundations to Em...
Erasmo Purificato
 
Manual | Product | Research Presentation
Manual | Product | Research PresentationManual | Product | Research Presentation
Manual | Product | Research Presentation
welrejdoall
 
Observability For You and Me with OpenTelemetry
Observability For You and Me with OpenTelemetryObservability For You and Me with OpenTelemetry
Observability For You and Me with OpenTelemetry
Eric D. Schabell
 
Transcript: Details of description part II: Describing images in practice - T...
Transcript: Details of description part II: Describing images in practice - T...Transcript: Details of description part II: Describing images in practice - T...
Transcript: Details of description part II: Describing images in practice - T...
BookNet Canada
 
What's New in Copilot for Microsoft365 May 2024.pptx
What's New in Copilot for Microsoft365 May 2024.pptxWhat's New in Copilot for Microsoft365 May 2024.pptx
What's New in Copilot for Microsoft365 May 2024.pptx
Stephanie Beckett
 
What’s New in Teams Calling, Meetings and Devices May 2024
What’s New in Teams Calling, Meetings and Devices May 2024What’s New in Teams Calling, Meetings and Devices May 2024
What’s New in Teams Calling, Meetings and Devices May 2024
Stephanie Beckett
 
Coordinate Systems in FME 101 - Webinar Slides
Coordinate Systems in FME 101 - Webinar SlidesCoordinate Systems in FME 101 - Webinar Slides
Coordinate Systems in FME 101 - Webinar Slides
Safe Software
 
WhatsApp Image 2024-03-27 at 08.19.52_bfd93109.pdf
WhatsApp Image 2024-03-27 at 08.19.52_bfd93109.pdfWhatsApp Image 2024-03-27 at 08.19.52_bfd93109.pdf
WhatsApp Image 2024-03-27 at 08.19.52_bfd93109.pdf
ArgaBisma
 
Password Rotation in 2024 is still Relevant
Password Rotation in 2024 is still RelevantPassword Rotation in 2024 is still Relevant
Password Rotation in 2024 is still Relevant
Bert Blevins
 
Best Programming Language for Civil Engineers
Best Programming Language for Civil EngineersBest Programming Language for Civil Engineers
Best Programming Language for Civil Engineers
Awais Yaseen
 
How to Build a Profitable IoT Product.pptx
How to Build a Profitable IoT Product.pptxHow to Build a Profitable IoT Product.pptx
How to Build a Profitable IoT Product.pptx
Adam Dunkels
 
Quality Patents: Patents That Stand the Test of Time
Quality Patents: Patents That Stand the Test of TimeQuality Patents: Patents That Stand the Test of Time
Quality Patents: Patents That Stand the Test of Time
Aurora Consulting
 
Implementations of Fused Deposition Modeling in real world
Implementations of Fused Deposition Modeling  in real worldImplementations of Fused Deposition Modeling  in real world
Implementations of Fused Deposition Modeling in real world
Emerging Tech
 
How Social Media Hackers Help You to See Your Wife's Message.pdf
How Social Media Hackers Help You to See Your Wife's Message.pdfHow Social Media Hackers Help You to See Your Wife's Message.pdf
How Social Media Hackers Help You to See Your Wife's Message.pdf
HackersList
 
Best Practices for Effectively Running dbt in Airflow.pdf
Best Practices for Effectively Running dbt in Airflow.pdfBest Practices for Effectively Running dbt in Airflow.pdf
Best Practices for Effectively Running dbt in Airflow.pdf
Tatiana Al-Chueyr
 
Details of description part II: Describing images in practice - Tech Forum 2024
Details of description part II: Describing images in practice - Tech Forum 2024Details of description part II: Describing images in practice - Tech Forum 2024
Details of description part II: Describing images in practice - Tech Forum 2024
BookNet Canada
 
Scaling Connections in PostgreSQL Postgres Bangalore(PGBLR) Meetup-2 - Mydbops
Scaling Connections in PostgreSQL Postgres Bangalore(PGBLR) Meetup-2 - MydbopsScaling Connections in PostgreSQL Postgres Bangalore(PGBLR) Meetup-2 - Mydbops
Scaling Connections in PostgreSQL Postgres Bangalore(PGBLR) Meetup-2 - Mydbops
Mydbops
 

Recently uploaded (20)

7 Most Powerful Solar Storms in the History of Earth.pdf
7 Most Powerful Solar Storms in the History of Earth.pdf7 Most Powerful Solar Storms in the History of Earth.pdf
7 Most Powerful Solar Storms in the History of Earth.pdf
 
BT & Neo4j: Knowledge Graphs for Critical Enterprise Systems.pptx.pdf
BT & Neo4j: Knowledge Graphs for Critical Enterprise Systems.pptx.pdfBT & Neo4j: Knowledge Graphs for Critical Enterprise Systems.pptx.pdf
BT & Neo4j: Knowledge Graphs for Critical Enterprise Systems.pptx.pdf
 
Comparison Table of DiskWarrior Alternatives.pdf
Comparison Table of DiskWarrior Alternatives.pdfComparison Table of DiskWarrior Alternatives.pdf
Comparison Table of DiskWarrior Alternatives.pdf
 
Paradigm Shifts in User Modeling: A Journey from Historical Foundations to Em...
Paradigm Shifts in User Modeling: A Journey from Historical Foundations to Em...Paradigm Shifts in User Modeling: A Journey from Historical Foundations to Em...
Paradigm Shifts in User Modeling: A Journey from Historical Foundations to Em...
 
Manual | Product | Research Presentation
Manual | Product | Research PresentationManual | Product | Research Presentation
Manual | Product | Research Presentation
 
Observability For You and Me with OpenTelemetry
Observability For You and Me with OpenTelemetryObservability For You and Me with OpenTelemetry
Observability For You and Me with OpenTelemetry
 
Transcript: Details of description part II: Describing images in practice - T...
Transcript: Details of description part II: Describing images in practice - T...Transcript: Details of description part II: Describing images in practice - T...
Transcript: Details of description part II: Describing images in practice - T...
 
What's New in Copilot for Microsoft365 May 2024.pptx
What's New in Copilot for Microsoft365 May 2024.pptxWhat's New in Copilot for Microsoft365 May 2024.pptx
What's New in Copilot for Microsoft365 May 2024.pptx
 
What’s New in Teams Calling, Meetings and Devices May 2024
What’s New in Teams Calling, Meetings and Devices May 2024What’s New in Teams Calling, Meetings and Devices May 2024
What’s New in Teams Calling, Meetings and Devices May 2024
 
Coordinate Systems in FME 101 - Webinar Slides
Coordinate Systems in FME 101 - Webinar SlidesCoordinate Systems in FME 101 - Webinar Slides
Coordinate Systems in FME 101 - Webinar Slides
 
WhatsApp Image 2024-03-27 at 08.19.52_bfd93109.pdf
WhatsApp Image 2024-03-27 at 08.19.52_bfd93109.pdfWhatsApp Image 2024-03-27 at 08.19.52_bfd93109.pdf
WhatsApp Image 2024-03-27 at 08.19.52_bfd93109.pdf
 
Password Rotation in 2024 is still Relevant
Password Rotation in 2024 is still RelevantPassword Rotation in 2024 is still Relevant
Password Rotation in 2024 is still Relevant
 
Best Programming Language for Civil Engineers
Best Programming Language for Civil EngineersBest Programming Language for Civil Engineers
Best Programming Language for Civil Engineers
 
How to Build a Profitable IoT Product.pptx
How to Build a Profitable IoT Product.pptxHow to Build a Profitable IoT Product.pptx
How to Build a Profitable IoT Product.pptx
 
Quality Patents: Patents That Stand the Test of Time
Quality Patents: Patents That Stand the Test of TimeQuality Patents: Patents That Stand the Test of Time
Quality Patents: Patents That Stand the Test of Time
 
Implementations of Fused Deposition Modeling in real world
Implementations of Fused Deposition Modeling  in real worldImplementations of Fused Deposition Modeling  in real world
Implementations of Fused Deposition Modeling in real world
 
How Social Media Hackers Help You to See Your Wife's Message.pdf
How Social Media Hackers Help You to See Your Wife's Message.pdfHow Social Media Hackers Help You to See Your Wife's Message.pdf
How Social Media Hackers Help You to See Your Wife's Message.pdf
 
Best Practices for Effectively Running dbt in Airflow.pdf
Best Practices for Effectively Running dbt in Airflow.pdfBest Practices for Effectively Running dbt in Airflow.pdf
Best Practices for Effectively Running dbt in Airflow.pdf
 
Details of description part II: Describing images in practice - Tech Forum 2024
Details of description part II: Describing images in practice - Tech Forum 2024Details of description part II: Describing images in practice - Tech Forum 2024
Details of description part II: Describing images in practice - Tech Forum 2024
 
Scaling Connections in PostgreSQL Postgres Bangalore(PGBLR) Meetup-2 - Mydbops
Scaling Connections in PostgreSQL Postgres Bangalore(PGBLR) Meetup-2 - MydbopsScaling Connections in PostgreSQL Postgres Bangalore(PGBLR) Meetup-2 - Mydbops
Scaling Connections in PostgreSQL Postgres Bangalore(PGBLR) Meetup-2 - Mydbops
 

Static techniques

  • 1. Static techniques Nama : Ade Afsa Nim : 11453201937 Sistem Informasi Fakultas Sains dan Teknologi Uin Suska Riau
  • 2. Static techniques 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. A. REVIEWS AND THE TEST PROCESS • Recognize software work products that can be examined by different static techniques. (K1) • Describe the importance and value of considering static techniques for the assessment of software work products. (K2) • Explain the difference between static and dynamic techniques. (K2) 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. Note that in contrast to dynamic testing, static testing finds defects rather than failures.
  • 4. B. Review Process 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. 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. Phases of a formal review
  • 6. Roles and responsibilities 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. Within a review team, four types of participants can be distinguished: moderator, author, scribe and reviewer. In addition management needs to play a role in the review process.
  • 7. 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. The main review types, their main characteristics and common objectives it is : 1. Walkthrough 2. Technical review 3. Inspection
  • 8. Success factors for reviews Implementing (formal) reviews is not easy as there is no one way to success and there are numerous ways to examples fail : 1. Find a 'champion' 2. Pick things that really count 3. Explicitly plan and track review activities 4. Train participants 5. Manage people issues 6. Follow the rules but keep it simple 7. Continuously improve process and tools 8. Report results 9. Just do it!
  • 9. C. STATIC ANALYSIS BY TOOLS • Describe the objective of static analysis and compare it to dynamic testing. (K2) • Recall typical defects identified by static analysis and compare them to reviews and dynamic testing. (K1) • List typical benefits of static analysts. (K1) • List typical code and design defects that may be identified by static analysis tools. (Kl)
  • 10. REVIEW From Section 3.1 you should be able to explain the importance and advantages of static testing. You should know the difference between static testing and dynamic testing, and also understand the concept of reviews. You should be able to recognize the software work products that can be examined by static testing. You should know the glossary terms static testing, dynamic testing and reviews.
  • 11. From Section 3.2, you should understand the difference between formal and informal reviews. You should be able to recall the main phases of a typical formal review. The main roles within reviews and their responsibilities should be clear to you. You should know the glossary terms entry criteria, exit criteria, formal review, informal review, inspection, moderator, reviewer, scribe, technical review and walkthrough.
  • 12. From Section 3.3 you should understand the objective of static analysis and be able to compare it to static and dynamic testing. You should be able to describe the main features of static analysis and recall typical defects that can be found using static analysis. Finally, you should be able to recall the benefits of using static analysis. You should know the glossary terms compiler, cyclomatic complexity, control flow, data flow and static analysis.