Static Analysis Flashcards

1
Q

What are the benefits of static analysis?

A

Much higher coverage
- Able to reason about many possible runs of the program
- Able to reason about incomplete programs

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

What are the drawbacks of static analysis?

A
  • Can only analyse limited properties
  • May miss some errors
  • Can be time consuming to run
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What impact does static analysis have on the software development process?

A

Able to thoroughly check limited but useful properties
- Eliminate categories of errors
- Developers can concentrate on deeper reason as common mistakes will be flagged

Encourages better development practices
- Develop programming models that avoid mistakes in the first place
- Encourages programmers to think about and manifest their assumptions, and use annotations that improve tool precision

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