SlideShare a Scribd company logo
HELLO! I AM 
STUDENT AND BUSINESSMAN
Student of Information System (http://sif.uin-
suska.ac.id/)
Faculty of Sains And Technology (http://fst.uin-
suska.ac.id/)
State Islamic University of Sultan Syarif Kasim
Riau (https://uin-suska.ac.id/)
Static techniques
TESTING IMPLEMENTATION SYSTEM
Introduction SLIDE 3
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.
1. REVIEWS AND THE TEST
PROCESS SLIDE 4
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. As a consequence, dynamic testing can only be applied to software code. Dynamic execution is
applied as a technique to detect defects and to determine quality attributes of the code. This testing option is not applicable
for the majority of the software work products. Among the questions That Arise are: How Can we evaluate or analyze a
requirements document, A design document, a test plan, Or a user manual? How can we effectively pre examine the source
code before execution? One powerful technique that can be Used is static testing, e.g. reviews. In Principle all software
work products can be Tested using review techniques.

Recommended for you

Static Testing
Static TestingStatic Testing
Static Testing

Static testing involves inspecting work products like requirements, design documents, and code without executing the code. It aims to find defects early when rework costs are lower. The document discusses static testing techniques like unit testing, integration testing, and reviews. Reviews include inspections - moderated meetings where defects are discussed - and technical and informal reviews with subject matter experts. The goal is early defect detection to improve quality and productivity.

software testingsoftware engineering
Static techniques
Static techniquesStatic techniques
Static techniques

The document discusses static techniques for software testing, including static analysis and reviews. It describes static testing as examining software work products like code manually or with tools without executing it. Reviews can range from informal to formal, with formal reviews involving planning, preparation by reviewers finding defects, a review meeting, rework by the author, and follow-up. The roles of moderator, author, scribe and reviewer in formal reviews are also outlined. Types of reviews like walkthroughs, technical reviews and inspections are also described. Finally, the document discusses how static analysis tools can find defects in code, standards, metrics and structure.

http://sif.uin-suska.ac.id/http://fst.uin-suska.ac.id/http://www.uin-suska.ac.id/
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

The document discusses testing throughout the software development life cycle. It describes different types of testing including functional testing, non-functional testing, structural testing, and maintenance testing. It also discusses static testing techniques such as reviews, and the review process which typically involves planning, kick-off, preparation, logging meeting, rework, and closure phases. Reviews are an important part of the testing process to improve quality.

1. REVIEWS AND THE TEST
PROCESS SLIDE 5
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 prod ucts 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.
2. REVIEW PROCESS SLIDE 6
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:
1 Planning
2 Kick-off
3 Preparation
4 Review meeting
5 Rework
6 Follow-up.
SLIDE 7
1.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. On a project
level, the project planning needs to allow time for review and rework activities, thus
providing engineers with time to thoroughly participate in reviews.
2. REVIEW PROCESS
SLIDE 8
2. 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 eenendaal and Van der Zwan,
2000]
2. REVIEW PROCESS

Recommended for you

static techniques
static techniquesstatic techniques
static techniques

static techniques RiatRayendra 11453101916 Information System Faculty Sains and Technology UIN Suska Riau http://sif.uin-suska.ac.id/ http://fst.uin-suska.ac.id/ http://www.uin-suska.ac.id/

testingtestsoftware testing
Static techniques
Static techniquesStatic techniques
Static techniques

Static techniques allow for examining software work products like requirements, design documents, and source code manually or with tools, without executing the software. This is known as static testing. Static testing can evaluate all software work products early in the development lifecycle through review techniques. Reviews involve examining documents for defects and quality issues in a team setting. This allows information sharing and helps focus testing. Reviews have been shown to improve productivity and quality by reducing defects found later.

http://fst.uin-suska.achttp://sif.uin-suska.ac.idhttp://uin-suska.ac.id
NOSQAA Requirements Inspection
NOSQAA Requirements InspectionNOSQAA Requirements Inspection
NOSQAA Requirements Inspection

Requirements inspections are a formal process for identifying defects in software requirements documents. It involves individual review followed by a team review meeting led by a moderator. Key roles include author, reader, tester, and moderator. The goal is to find defects in requirements before they can lead to problems in design and testing. Studies show requirements inspections can find 60-90% of defects and reduce costs from rework. The process includes planning, individual review, team meeting, defect resolution, and validation. Metrics are collected on defects found and author response to drive continuous improvement. Management oversees planning and results but does not participate directly in inspections.

SLIDE 9
3. Preparation
The participants work individually on the document under review using the
related documents, procedures, rules and checklists provided. The individual
participants identify defects, questions and comments, according to their understanding
of the document and role. All issues are recorded, preferably using a logging form.
Spelling mistakes are recorded on the document under review but not mentioned during
the meeting. The annotated document will be given to the author at the end of the
logging meeting. Using checklists during this phase can make reviews more effective
and efficient, for example a specific checklist based on perspectives such as user,
maintainer, tester or operations, or a checklist for typical coding problems.
2. REVIEW PROCESS
SLIDE 10
4. Review Meeting
The meeting typically consists of the following elements (partly depending on the review
type): logging phase, discussion phase and decision phase.
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-compliance with the standards
and templates).
2. REVIEW PROCESS
SLIDE 11
5. 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).
2. REVIEW PROCESS
SLIDE 12
6. 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.
2. REVIEW PROCESS

Recommended for you

Static techniques
Static techniquesStatic techniques
Static techniques

Static techniques involve examining software work products like requirements, design, and code manually or with tools without executing the software. Some key advantages of static techniques include finding defects early when costs are low, increasing development productivity by reducing rework, and improving quality awareness. Static techniques can be informal reviews or more formal processes like inspections. Formal reviews follow steps like planning, preparation, review meetings, rework, and follow-up. Ensuring coding standards are followed, measuring code metrics, and having success factors like training and continuous improvement can help static techniques be effective.

static techniquestesting dan implementasi sistem
Static techniques
Static techniquesStatic techniques
Static techniques

This document discusses static and dynamic testing techniques. It defines static testing as examining software work products manually or with tools without executing them, while dynamic testing executes software using input values to examine outputs. The document then describes the phases of a formal review process and defines roles in a review. It identifies the moderator, author, scribe, reviewers, and manager. Finally, it explains the differences between inspections, technical reviews, and walkthroughs, providing details on each type of review.

testinguin suska riausains dan teknologi
Marjuni.
Marjuni.Marjuni.
Marjuni.

Program Studi S1 Sistem Informasi Fakultas Sains dan Teknologi Universitas Islam Negeri Sultan Syarif Kasim Riau

2. REVIEW PROCESS SLIDE 13
B. 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 best formal reviews come from well-organized teams, guided by
trained moderators (or review leaders). 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.
SLIDE 14
1. 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.
2. REVIEW PROCESS
SLIDE 15
2. 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.
2. REVIEW PROCESS
SLIDE 16
3. 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.
2. REVIEW PROCESS

Recommended for you

Static testing
Static testingStatic testing
Static testing

Static testing is a verification process that finds defects early without executing code. It includes reviews of documents, code, and designs to identify issues like missing requirements, inconsistencies, and non-maintainable code. While it doesn't replace dynamic testing, static testing helps reduce costs, improve understanding between team members, and catch defects earlier in the development process through techniques like reviewing and walkthroughs.

manual testingtesting videolearn testing
Static Technique
Static TechniqueStatic Technique
Static Technique

This document discusses the formal review process and types of reviews. It provides details on the typical phases of a formal review process: planning, kick-off, preparation, review meeting, rework, and follow-up. It also describes different types of reviews - walkthroughs, inspections, and their key characteristics. Finally, it lists some critical success factors for implementing formal reviews, such as finding a champion, training participants, and continuously improving the review process.

Static techniques
Static techniquesStatic techniques
Static techniques

The document discusses static testing techniques, which involve examining software work products like requirements and design documents manually or with tools, without executing the software. Some key benefits of static testing mentioned are that it allows early feedback on quality issues, defects can be detected and fixed early at lower cost, and development productivity may increase as rework effort is reduced. Various types of static testing techniques are described, including reviews, inspections, coding standard checks, and code metrics analysis. Formal reviews follow defined processes with roles like moderator, author, and reviewers. Success factors for effective reviews include training participants, explicit planning, and continuous process improvement.

testing dan implementasi sistemstatic techniques
2. REVIEW PROCESS SLIDE 17
C. 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 stagesIn
The Life Cycle Of A document
SLIDE 18
1. Technical Review
The goals of a technical review are to:
• assess the value of technical concepts and alternatives in the product and project environment;
• establish consistency in the use and representation of technical concepts;
• ensure, at an early stage, that technical concepts are used correctly;
• inform participants of the technical content of the document.
Key characteristics of a technical review are:
• It is a documented defect-detection process that involves peers and technical experts.
• It is often performed as a peer review without management participation.
• Ideally it is led by a trained moderator, but possibly also by a technical expert.
• A separate preparation is carried out during which the product is examined and the defects are found.
• More formal characteristics such as the use of checklists and a logging list or issue log are optional.
2. REVIEW PROCESS
SLIDE 19
1. Technical Review
The generally accepted goals of inspection are to:
• help the author to improve the quality of the document under inspection;
• remove defects efficiently, as early as possible;
• improve product quality, by producing documents with a higher level of quality;
• create a common understanding by exchanging information among the inspection participants;
• train new employees in the organization's development process;
• learn from defects found and improve processes in order to prevent recurrence of similar defects;
• sample a few pages or sections from a larger document in order to measure the typical quality of the document,
leading to improved work by individuals in the future, and to process improvements.
2. REVIEW PROCESS
SLIDE 20
1. Technical Review
Key characteristics of an inspection are:
• It is usually led by a trained moderator (certainly not by the author).
• It uses defined roles during the process.
• It involves peers to examine the product.
• Rules and checklists are used during the preparation phase.
• A separate preparation is carried out during which the product is examined and the defects are found.
• The defects found are documented in a logging list or issue log.
• A formal follow-up is carried out by the moderator applying exit criteria.
• Optionally, a causal analysis step is introduced to address process improvement issues and learn from the defects
found.
• Metrics are gathered and analyzed to optimize the process.
2. REVIEW PROCESS

Recommended for you

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)

The document discusses various topics related to dependability and security assurance for critical systems, including static analysis techniques, reliability testing, and validation processes. It notes that validation costs for critical systems are significantly higher than for non-critical systems, often over 50% of total development costs, due to additional validation activities required. Specific static analysis techniques covered include formal verification, model checking, and automated program analysis.

software testingcritical systemscomputer security
03. static techniques
03. static techniques03. static techniques
03. static techniques

This document discusses static testing techniques, including reviews. It describes the review process, roles in reviews, types of reviews, and static analysis using tools. Reviews are a formal process typically involving planning, preparation, a review meeting, rework, and follow-up. Roles include the moderator, author, scribe, and reviewers. Types of reviews serve different purposes at different stages. Static analysis tools can check coding standards and metrics, as well as code structure.

Unit3 software review control software
Unit3 software review control softwareUnit3 software review control software
Unit3 software review control software

A software system is more than the code; it is a set of related artifacts; these may contain defects or problem areas that should be reworked or removed; quality-related attributes of these artifacts should be evaluated Reviews allow us to detect and eliminate errors/defects early in the software life cycle (even before any code is available for testing), where they are less costly to repair Most problems have their origin in requirements and design; requirements and design artifacts can be reviewed but not executed and tested A code review usually reveals directly the location of a bug, while testing requires a debugging step to locate the origin of a bug Adherence to coding standards cannot be checked by testing

softwareproject management
2. REVIEW PROCESS SLIDE 21
D. Success factor for review
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!
Thank you very much! 
Reference: Graham et al Foundationf of Software Testing

More Related Content

What's hot

Static techniques
Static techniquesStatic techniques
Static techniques
yahdi sandra
 
Review Process
Review ProcessReview Process
Review Process
winy setya ningrum
 
Static Testing
Static Testing Static Testing
Static Testing
Suraj Vishwakarma
 
Static Testing
Static TestingStatic Testing
Static Testing
Hoang Nguyen
 
Static techniques
Static techniquesStatic techniques
Static techniques
Amelia Septia Roza
 
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
 
static techniques
static techniquesstatic techniques
static techniques
Riat Rayendra
 
Static techniques
Static techniquesStatic techniques
Static techniques
Siti Rubayati
 
NOSQAA Requirements Inspection
NOSQAA Requirements InspectionNOSQAA Requirements Inspection
NOSQAA Requirements Inspection
clelhs
 
Static techniques
Static techniquesStatic techniques
Static techniques
Achmad Harpin Asrori
 
Static techniques
Static techniquesStatic techniques
Static techniques
eva khasana
 
Marjuni.
Marjuni.Marjuni.
Marjuni.
marjuni .
 
Static testing
Static testingStatic testing
Static testing
Vaibhav Dash
 
Static Technique
Static TechniqueStatic Technique
Static Technique
Nathandisya
 
Static techniques
Static techniquesStatic techniques
Static techniques
chayo rona
 
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
 
03. static techniques
03. static techniques03. static techniques
03. static techniques
Tricia Karina
 
Unit3 software review control software
Unit3 software review control softwareUnit3 software review control software
Unit3 software review control software
Reetesh Gupta
 
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 techniques
Static techniquesStatic techniques
Static techniques
rido randika putra
 

What's hot (20)

Static techniques
Static techniquesStatic techniques
Static techniques
 
Review Process
Review ProcessReview Process
Review Process
 
Static Testing
Static Testing Static Testing
Static Testing
 
Static Testing
Static TestingStatic Testing
Static Testing
 
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
 
static techniques
static techniquesstatic techniques
static techniques
 
Static techniques
Static techniquesStatic techniques
Static techniques
 
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
 
Marjuni.
Marjuni.Marjuni.
Marjuni.
 
Static testing
Static testingStatic testing
Static testing
 
Static Technique
Static TechniqueStatic Technique
Static Technique
 
Static techniques
Static techniquesStatic techniques
Static 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)
 
03. static techniques
03. static techniques03. static techniques
03. static techniques
 
Unit3 software review control software
Unit3 software review control softwareUnit3 software review control software
Unit3 software review control software
 
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 techniques
Static techniquesStatic techniques
Static techniques
 

Similar to Static techniques

Bab 3
Bab 3Bab 3
Static techniques
Static techniquesStatic techniques
Static techniques
Marni -
 
Static nopri wahyudi
Static nopri wahyudiStatic nopri wahyudi
Static nopri wahyudi
Nopriwahyudi
 
Chapter 3 Static Techniques
Chapter 3 Static TechniquesChapter 3 Static Techniques
Chapter 3 Static Techniques
Zetryan Satria
 
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
 
STATIC TECHNIQUES
STATIC TECHNIQUESSTATIC TECHNIQUES
STATIC TECHNIQUES
Delicia Generis Humani
 
Static techniques
Static techniquesStatic techniques
Static techniques
argawanda
 
STATIC TECHNIQUES
STATIC TECHNIQUESSTATIC TECHNIQUES
STATIC TECHNIQUES
fajarayuningrum
 
Bab iii static techniques
Bab iii static techniquesBab iii static techniques
Bab iii static techniques
Riauly Putra
 
Static techniques
Static techniquesStatic techniques
Static techniques
Miftahul Jannaty
 
static techniques
static techniquesstatic techniques
static techniques
aidil fitra
 
Static techniques
Static techniquesStatic techniques
Static techniques
aidul azmi
 
Presentasi static techniques
Presentasi static techniquesPresentasi static techniques
Presentasi static techniques
Egi Ilham Elnusa
 
Static Techniques
Static TechniquesStatic Techniques
Static Techniques
sabrian SIF
 
Static techniques
Static techniquesStatic techniques
Static techniques
Emi Rizki Ayunanda
 
Static Techniques
Static TechniquesStatic Techniques
Static Techniques
mentary fransiska
 
Testing & implementation system 3-wm
Testing & implementation system 3-wmTesting & implementation system 3-wm
Testing & implementation system 3-wm
Wiwik Muslehatin
 
Bab iii static techniques (yoga)
Bab iii static techniques (yoga)Bab iii static techniques (yoga)
Bab iii static techniques (yoga)
sidjdhdjsks
 

Similar to Static techniques (18)

Bab 3
Bab 3Bab 3
Bab 3
 
Static techniques
Static techniquesStatic techniques
Static techniques
 
Static nopri wahyudi
Static nopri wahyudiStatic nopri wahyudi
Static nopri wahyudi
 
Chapter 3 Static Techniques
Chapter 3 Static TechniquesChapter 3 Static Techniques
Chapter 3 Static Techniques
 
Static techniques software development - Testing & Implementation
Static techniques software development - Testing & ImplementationStatic techniques software development - Testing & Implementation
Static techniques software development - Testing & Implementation
 
STATIC TECHNIQUES
STATIC TECHNIQUESSTATIC TECHNIQUES
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
 
static techniques
static techniquesstatic techniques
static techniques
 
Static techniques
Static techniquesStatic techniques
Static techniques
 
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
 
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
 
Bab iii static techniques (yoga)
Bab iii static techniques (yoga)Bab iii static techniques (yoga)
Bab iii static techniques (yoga)
 

Recently uploaded

The Increasing Use of the National Research Platform by the CSU Campuses
The Increasing Use of the National Research Platform by the CSU CampusesThe Increasing Use of the National Research Platform by the CSU Campuses
The Increasing Use of the National Research Platform by the CSU Campuses
Larry Smarr
 
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
 
Active Inference is a veryyyyyyyyyyyyyyyyyyyyyyyy
Active Inference is a veryyyyyyyyyyyyyyyyyyyyyyyyActive Inference is a veryyyyyyyyyyyyyyyyyyyyyyyy
Active Inference is a veryyyyyyyyyyyyyyyyyyyyyyyy
RaminGhanbari2
 
Cookies program to display the information though cookie creation
Cookies program to display the information though cookie creationCookies program to display the information though cookie creation
Cookies program to display the information though cookie creation
shanthidl1
 
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
 
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
 
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
 
find out more about the role of autonomous vehicles in facing global challenges
find out more about the role of autonomous vehicles in facing global challengesfind out more about the role of autonomous vehicles in facing global challenges
find out more about the role of autonomous vehicles in facing global challenges
huseindihon
 
20240702 Présentation Plateforme GenAI.pdf
20240702 Présentation Plateforme GenAI.pdf20240702 Présentation Plateforme GenAI.pdf
20240702 Présentation Plateforme GenAI.pdf
Sally Laouacheria
 
The Rise of Supernetwork Data Intensive Computing
The Rise of Supernetwork Data Intensive ComputingThe Rise of Supernetwork Data Intensive Computing
The Rise of Supernetwork Data Intensive Computing
Larry Smarr
 
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
 
BLOCKCHAIN FOR DUMMIES: GUIDEBOOK FOR ALL
BLOCKCHAIN FOR DUMMIES: GUIDEBOOK FOR ALLBLOCKCHAIN FOR DUMMIES: GUIDEBOOK FOR ALL
BLOCKCHAIN FOR DUMMIES: GUIDEBOOK FOR ALL
Liveplex
 
Measuring the Impact of Network Latency at Twitter
Measuring the Impact of Network Latency at TwitterMeasuring the Impact of Network Latency at Twitter
Measuring the Impact of Network Latency at Twitter
ScyllaDB
 
TrustArc Webinar - 2024 Data Privacy Trends: A Mid-Year Check-In
TrustArc Webinar - 2024 Data Privacy Trends: A Mid-Year Check-InTrustArc Webinar - 2024 Data Privacy Trends: A Mid-Year Check-In
TrustArc Webinar - 2024 Data Privacy Trends: A Mid-Year Check-In
TrustArc
 
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
 
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
 
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
 
Advanced Techniques for Cyber Security Analysis and Anomaly Detection
Advanced Techniques for Cyber Security Analysis and Anomaly DetectionAdvanced Techniques for Cyber Security Analysis and Anomaly Detection
Advanced Techniques for Cyber Security Analysis and Anomaly Detection
Bert Blevins
 
UiPath Community Day Kraków: Devs4Devs Conference
UiPath Community Day Kraków: Devs4Devs ConferenceUiPath Community Day Kraków: Devs4Devs Conference
UiPath Community Day Kraków: Devs4Devs Conference
UiPathCommunity
 
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
 

Recently uploaded (20)

The Increasing Use of the National Research Platform by the CSU Campuses
The Increasing Use of the National Research Platform by the CSU CampusesThe Increasing Use of the National Research Platform by the CSU Campuses
The Increasing Use of the National Research Platform by the CSU Campuses
 
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
 
Active Inference is a veryyyyyyyyyyyyyyyyyyyyyyyy
Active Inference is a veryyyyyyyyyyyyyyyyyyyyyyyyActive Inference is a veryyyyyyyyyyyyyyyyyyyyyyyy
Active Inference is a veryyyyyyyyyyyyyyyyyyyyyyyy
 
Cookies program to display the information though cookie creation
Cookies program to display the information though cookie creationCookies program to display the information though cookie creation
Cookies program to display the information though cookie creation
 
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
 
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
 
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
 
find out more about the role of autonomous vehicles in facing global challenges
find out more about the role of autonomous vehicles in facing global challengesfind out more about the role of autonomous vehicles in facing global challenges
find out more about the role of autonomous vehicles in facing global challenges
 
20240702 Présentation Plateforme GenAI.pdf
20240702 Présentation Plateforme GenAI.pdf20240702 Présentation Plateforme GenAI.pdf
20240702 Présentation Plateforme GenAI.pdf
 
The Rise of Supernetwork Data Intensive Computing
The Rise of Supernetwork Data Intensive ComputingThe Rise of Supernetwork Data Intensive Computing
The Rise of Supernetwork Data Intensive Computing
 
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
 
BLOCKCHAIN FOR DUMMIES: GUIDEBOOK FOR ALL
BLOCKCHAIN FOR DUMMIES: GUIDEBOOK FOR ALLBLOCKCHAIN FOR DUMMIES: GUIDEBOOK FOR ALL
BLOCKCHAIN FOR DUMMIES: GUIDEBOOK FOR ALL
 
Measuring the Impact of Network Latency at Twitter
Measuring the Impact of Network Latency at TwitterMeasuring the Impact of Network Latency at Twitter
Measuring the Impact of Network Latency at Twitter
 
TrustArc Webinar - 2024 Data Privacy Trends: A Mid-Year Check-In
TrustArc Webinar - 2024 Data Privacy Trends: A Mid-Year Check-InTrustArc Webinar - 2024 Data Privacy Trends: A Mid-Year Check-In
TrustArc Webinar - 2024 Data Privacy Trends: A Mid-Year Check-In
 
Best Programming Language for Civil Engineers
Best Programming Language for Civil EngineersBest Programming Language for Civil Engineers
Best Programming Language for Civil Engineers
 
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...
 
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
 
Advanced Techniques for Cyber Security Analysis and Anomaly Detection
Advanced Techniques for Cyber Security Analysis and Anomaly DetectionAdvanced Techniques for Cyber Security Analysis and Anomaly Detection
Advanced Techniques for Cyber Security Analysis and Anomaly Detection
 
UiPath Community Day Kraków: Devs4Devs Conference
UiPath Community Day Kraków: Devs4Devs ConferenceUiPath Community Day Kraków: Devs4Devs Conference
UiPath Community Day Kraków: Devs4Devs Conference
 
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
 

Static techniques

  • 1. HELLO! I AM  STUDENT AND BUSINESSMAN Student of Information System (http://sif.uin- suska.ac.id/) Faculty of Sains And Technology (http://fst.uin- suska.ac.id/) State Islamic University of Sultan Syarif Kasim Riau (https://uin-suska.ac.id/)
  • 3. Introduction SLIDE 3 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.
  • 4. 1. REVIEWS AND THE TEST PROCESS SLIDE 4 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. As a consequence, dynamic testing can only be applied to software code. Dynamic execution is applied as a technique to detect defects and to determine quality attributes of the code. This testing option is not applicable for the majority of the software work products. Among the questions That Arise are: How Can we evaluate or analyze a requirements document, A design document, a test plan, Or a user manual? How can we effectively pre examine the source code before execution? One powerful technique that can be Used is static testing, e.g. reviews. In Principle all software work products can be Tested using review techniques.
  • 5. 1. REVIEWS AND THE TEST PROCESS SLIDE 5 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 prod ucts 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.
  • 6. 2. REVIEW PROCESS SLIDE 6 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: 1 Planning 2 Kick-off 3 Preparation 4 Review meeting 5 Rework 6 Follow-up.
  • 7. SLIDE 7 1.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. On a project level, the project planning needs to allow time for review and rework activities, thus providing engineers with time to thoroughly participate in reviews. 2. REVIEW PROCESS
  • 8. SLIDE 8 2. 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 eenendaal and Van der Zwan, 2000] 2. REVIEW PROCESS
  • 9. SLIDE 9 3. Preparation The participants work individually on the document under review using the related documents, procedures, rules and checklists provided. The individual participants identify defects, questions and comments, according to their understanding of the document and role. All issues are recorded, preferably using a logging form. Spelling mistakes are recorded on the document under review but not mentioned during the meeting. The annotated document will be given to the author at the end of the logging meeting. Using checklists during this phase can make reviews more effective and efficient, for example a specific checklist based on perspectives such as user, maintainer, tester or operations, or a checklist for typical coding problems. 2. REVIEW PROCESS
  • 10. SLIDE 10 4. Review Meeting The meeting typically consists of the following elements (partly depending on the review type): logging phase, discussion phase and decision phase. 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-compliance with the standards and templates). 2. REVIEW PROCESS
  • 11. SLIDE 11 5. 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). 2. REVIEW PROCESS
  • 12. SLIDE 12 6. 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. 2. REVIEW PROCESS
  • 13. 2. REVIEW PROCESS SLIDE 13 B. 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 best formal reviews come from well-organized teams, guided by trained moderators (or review leaders). 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.
  • 14. SLIDE 14 1. 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. 2. REVIEW PROCESS
  • 15. SLIDE 15 2. 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. 2. REVIEW PROCESS
  • 16. SLIDE 16 3. 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. 2. REVIEW PROCESS
  • 17. 2. REVIEW PROCESS SLIDE 17 C. 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 stagesIn The Life Cycle Of A document
  • 18. SLIDE 18 1. Technical Review The goals of a technical review are to: • assess the value of technical concepts and alternatives in the product and project environment; • establish consistency in the use and representation of technical concepts; • ensure, at an early stage, that technical concepts are used correctly; • inform participants of the technical content of the document. Key characteristics of a technical review are: • It is a documented defect-detection process that involves peers and technical experts. • It is often performed as a peer review without management participation. • Ideally it is led by a trained moderator, but possibly also by a technical expert. • A separate preparation is carried out during which the product is examined and the defects are found. • More formal characteristics such as the use of checklists and a logging list or issue log are optional. 2. REVIEW PROCESS
  • 19. SLIDE 19 1. Technical Review The generally accepted goals of inspection are to: • help the author to improve the quality of the document under inspection; • remove defects efficiently, as early as possible; • improve product quality, by producing documents with a higher level of quality; • create a common understanding by exchanging information among the inspection participants; • train new employees in the organization's development process; • learn from defects found and improve processes in order to prevent recurrence of similar defects; • sample a few pages or sections from a larger document in order to measure the typical quality of the document, leading to improved work by individuals in the future, and to process improvements. 2. REVIEW PROCESS
  • 20. SLIDE 20 1. Technical Review Key characteristics of an inspection are: • It is usually led by a trained moderator (certainly not by the author). • It uses defined roles during the process. • It involves peers to examine the product. • Rules and checklists are used during the preparation phase. • A separate preparation is carried out during which the product is examined and the defects are found. • The defects found are documented in a logging list or issue log. • A formal follow-up is carried out by the moderator applying exit criteria. • Optionally, a causal analysis step is introduced to address process improvement issues and learn from the defects found. • Metrics are gathered and analyzed to optimize the process. 2. REVIEW PROCESS
  • 21. 2. REVIEW PROCESS SLIDE 21 D. Success factor for review 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!
  • 22. Thank you very much!  Reference: Graham et al Foundationf of Software Testing