Analytical Techniques - Static Analysis - Call Graphs
9 important questions on Analytical Techniques - Static Analysis - Call Graphs
What are call graphs?
Where are call graphs used?
- unit testing where different functions or methods call each other
- integration and system testing when separate modules call each other
- system integration testing when separate systems call each other.
For which purpose can call graphs be used?
- Designing tests that call a specific module or system
- Establishing the number of locations within the software from where a module or system is called
- Evaluating the structure of the code and of the system architecture
- Providing suggestions for the order of integration (e.g., pairwise and neighborhood integration)
- Higher grades + faster learning
- Never study anything twice
- 100% sure, 100% understanding
Name two categories of integration testing
- incremental (top-down, bottom-up, etc)
- non-incremental (big bang).
Name three non incremental integration testing methods which uses call graphs.
- Pairwise integration testing
- Neighborhood integration testing
- The theory of cyclomatic complexity (McCabe) as applied to a call graph for modules.
What's pairwise integration testing?
What's the advantage of pairwise integration testing?
What's neighborhood integration testing?
For non incremental integration testing McCabe cyclomatic complexity method can be applied for call graphs. What should the call grap show?
The different ways that modules can call each other, including:
- Unconditional call: the call of one module to another always happens
- Conditional call: the call of one module to another sometimes happens
- Mutually exclusive conditional call: a module will call one (and only one) of a number of different modules
- Iterative call: one module calls another at least once but may call it multiple times
- Iterative conditional call: one module can call another zero to many times.
The question on the page originate from the summary of the following study material:
- A unique study and practice tool
- Never study anything twice again
- Get the grades you hope for
- 100% sure, 100% understanding
![Trustpilot Logo](/images/design_2020/lp/clp-trustpilot-en.png)