Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Scenario-based elements
Describe the system from the user's point of view using
scenarios that are depicted in use cases and activity
diagrams
Class-based elements
Identify the domain classes for the objects manipulated
by the actors, the attributes of these classes, and how
they interact with one another; they utilize class
diagrams to do this
Behavioral elements
Use state diagrams to represent the state of the
system, the events that cause the system to change
state, and the actions that are taken as a result of a
particular event; can also be applied to each class in
the system
Flow-oriented elements
Use data flow diagrams to show the input data that
comes into a system, what functions are applied to that
data to do transformations, and what resulting output
data are produced
TESTING:
Black-box testing
Knowing the specified function that a product has been
designed to perform, test to see if that function is fully
operational and error free
Cyclomatic Complexity:
Provides a quantitative measure of the logical
complexity of a program
Defines the number of independent paths in the basis
set
Provides an upper bound for the number of tests that
must be conducted to ensure all statements have been
executed at least once
Can be computed three ways
The number of regions
V(G) = E N + 2, where E is the number of edges and N
is the number of nodes in graph G
V(G) = P + 1, where P is the number of predicate nodes
in the flow graph G
Results in the following equations for the example flow
graph
Number of regions = 4
V(G) = 14 edges 12 nodes + 2 = 4
V(G) = 3 predicate nodes + 1 = 4
of
the
Integration testing
Focuses on the design and construction of the software
architecture
Validation testing
Components
A component is a standard building unit in an organization
and is used to develop applications. When Jacobson talks
about components in this book, he refers to software