Uemura
Uemura
Based on the definitions of data function, we propose
following rules to extract the data functions from class and Data exchange must be written as the arguments of the
sequence diagrams. Here, we classify the objects into actor messages in the sequence diagram.
and non-actor object. Since actor objects exist outside of
the application, they are not regarded as the data function.
When an argument of the message whose name is the
same as the sender object’s attribute, we recognize the
Step1: Select candidates of data functions: data stored in the argument is simply sent from the
sender object.
We select the objects, that have some attributes and
exchange data with not-actor objects, as the candidates If a message is repeatedly appeared in the sequence
of data functions. diagrams, the arguments and message names must be
Step2: Determine function type: the same.
For each of the candidates selected in Step1, we de- For each actor object in the sequence diagrams, we apply
termine the function type. Objects that have opera- the following two steps to count the transactional function
tions which change the attributes of other objects in types. These steps are based on the fact that function types
Figure 3. Pattern 1
Figure 5. Pattern 3
Figure 4. Pattern 2
Counting unit
Counting DB
Result
List of Interface unit
function
type
References
Acknowledgments