Software Quality Assurace Static Techniques Flashcards
What is Static V&V
Analyses of the code
Dynamic V&V
Executing the code
What are the Static V&V Software inspection & reviews
Use knowledge of the systems, its domain, and the technologies used to discover problems.
Advantages of Static V&V over dynamic V&V
Cascading errors can obfuscate test results:
- Once an error occurs, later errors may be new, or
are the cascading effect of the prior error
Incomplete versions can be inspected:
- Tests require an executable version of the system,
while inspections do not
Good inspections are more than “bug hunts”:
- Inspections uncover inefficiencies and style issues
- Inspections are a form of knowledge sharing and
collaborative problem solving
Why are inspections not a replacement to testing?
They are compliment to testing.
Inspections do not replace tests:
- People make mistakes and cannot catch
everything
- We still need tests to ensure that the code is
doing what it is intended to do
What are the two inspections and reviews approaches
Structured inspections:
- Rigid, heavyweight process
- Involves in-person meetings, review checklists
Modern reviews:
- Flexible, lightweight process
- Tool-supported, online, asynchronous
What are the roles in structured inspections?
Moderator:
- Ensures the artifact is ready for review
- Ensures inspection procedure is followed
- Assembles an effective inspection team
- Keeps inspection meeting on track
Recorder/Scribe:
- Documents problems that are identified during
the inspection meeting
- Not just procedural, requires technical
expertise as well
Reviewer:
- Analyzes and detects problems in the artifacts
- All participants in the inspection play this role
- Participants from different teams
(requirements, development, QA) may bring
important perspectives
Reader:
- Leads the inspection team through the
inspection meeting by reading aloud small,
logical units, paraphrasing where appropriate
Producer:
- Author of the artifact
- Responsible for correcting problems that are
identified during the inspection
- “Fly on the wall” during the inspection meeting
What are the tasks in a software structured inspection Pre-review
Planning:
- Setting up a review team
- Scheduling time and place
- Distributing artifacts for the review
Group preparation (optional):
- Meet to provide context, orientation for team members unfamiliar with product
Individual preparation:
- Review the artifacts and other relevant material
Checklists ensure that review quality is attained
- Data reference errors, data declaration errors,
computation errors, comparison errors, control flow
errors, parameter errors, input/output errors