摘要: 程序行为的描述和“可视化”方法是理解程序的重要手段。该文基于对象的方法调用和被调用序列,描述了对象生命周期内的行为,定义了Java对象生存期行为模型,并使用活动树进行可视化。实例分析表明,LBM可以帮助用户理解不同对象行为间的差异。
关键词:
对象行为建模,
软件可视化,
Java
Abstract: How to describe and visualize the program behavior is an important measure to comprehend the program. This paper presents a novel object behavior model named lifetime behavior model based on the method invocation and invocated sequence of object, and visualizes the model in LBMTree. The model and visualization is displayed through a demo program, which demonstrates that the LBM is helpful to understand the differences between the different objects.
Key words:
object behavior modeling,
software visualization,
Java
中图分类号:
贾晓霞;吴 际;李郭欢;金茂忠. 面向Java的对象行为建模及可视化方法[J]. 计算机工程, 2007, 33(18): 48-50.
JIA Xiao-xia; WU Ji; LI Guo-huan; JIN Mao-zhong. Java-oriented Object Behavior Modeling and Visualization Method[J]. Computer Engineering, 2007, 33(18): 48-50.