Static Techniques Flashcards

1
Q

What is static testing?

A

Static Testing is the examination of program source code or other project documentation, without the execution of the code, to find the defects.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are reviews in static testing?

A

Manual examination of documents - done by humans.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is static analysis?

A

automated analysis of source code and software - done by tools.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Wha is dyanmic testing?

A

testing performed by executing software undr test and comparing actual vs. expected results.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is the difference between static and dynamic testing?

A

Static testing will aim at find causes of failuders directly while dynamic will find failures which might be caused by defects.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What are some typical documents that get reviewed?

A

Business requirements, functional specifications, system and database design, source code, test plans, etc..

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What are some benefits of conducting reviews?

A

Early defect detection and correction, increased dev productivity, reduced dev cost, fewer defects in code, reduced time and cost of dynamic testing.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is the goal of a review?

A

The goals of reviews are to verify and validate document against specifications, being consistent with previous documents, and completennes and conformance to stanards.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is the structure of a review?

A

Planning - kick-off individual preparation - review meeting - re-work - follow-up

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Reviews - what is planning?

A

Where the intiial decisions are made, for example the criteria to review, the people who willk review.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Reviews - what is a kick-off?

A

Documents being distributed 3 days prior to the meeting

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Reviews - what is individual preparation?

A

The attendees will review the documents and make notes on potential defects they found etc..

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Reviews - what is the review meeting?

A

The meeting where the review is held. Managed by the moderator to ensure it is on track.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Reviews - what is the rework?

A

The authour will correct the document

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Reviews - what is the follow-up?

A

The moderator ensures the document has been corrected and collects metric on for example time spent reviewing.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Reviews - what is a manager?

A

decides the execution of the review and may not participate.

17
Q

Reviews - what is a moderator?

A

the one responsible for managing all review team activities. He plans, motitivates, facilitates, trains, and monitor. He should be trained in this process.

18
Q

Reviews - what is the author?

A

The one preparing the material to be reviewed.

19
Q

Reviews - what are the reviewers?

A

The ones responsible for finding defects, should have experience on the system and would be ideal to have them from different areas of the business.

20
Q

Reviews - what is the scribe?

A

Documents all the issue, etc..

21
Q

What are the different types of review?

A

Informal - walkthrough - technical review - inspection.

22
Q

What is an informal review?

A

One to one, no formal process. Inexpensive.

23
Q

What is walkthrough review?

A

Meeting led by the author. Might be a dry scenario, or peer group. The objective is to present information and learn.

24
Q

What is a technical review?

A

Documented, well defined, with a moderator. Will use guidelines or checklists. A review report is sent out at the end.

25
Q

What is an inspection review?

A

Vey thorough, has a process. There needs to be entry criteria. There is a moderator, documents will likely be created.

26
Q

What are success factors in reviews?

A

Clear predefined objectives, right people, testers are valued, defects are welcomed, atmosphere of trust.

27
Q

What are checklists in reviews?

A

A set of questions usually from one perspective (tester, developer, etc..)

28
Q

What are the benefits of static analysis?

A

It allows to provide early detection of defects, it can help prevent further defects.

29
Q

What are some examples of defects found by static analysis?

A

Looping code, unreachable code, data flow analysis.

30
Q

What is a looping code?

A

A continuous loop running forever.

31
Q

What is unreachable code?

A

A piece of code that cannot be reached.

32
Q

What is data flow analysis?

A

Understanding if variables are used or not.

33
Q

Why use static analysis tools and what are they?

A

These are tools that can be used to review the code. Allow to locate complex source code, produce graphics, design structural tests, examine source code from a number of perspectives.