检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:司海平[1] 乔红波[1] 虎晓红[1] 陈宝钢[1] 曹永生[2]
机构地区:[1]河南农业大学信息与管理科学学院,郑州450002 [2]中国农业科学院作物科学研究所,北京100081
出 处:《计算机工程与应用》2013年第14期51-55,共5页Computer Engineering and Applications
基 金:国家科技基础条件平台项目(No.2012-077);河南省重大科技专项(No.121100110900)
摘 要:用况图从用户的角度描述了系统需求,是表达系统功能的有效方式。如果能从系统源代码中直接抽象程序的用况图,对于程序理解工作将具有很大的帮助。基于此理念,提出了基于用况图的辅助用户程序理解方法。该方法通过静态分析把源代码抽象为树型图表达结构,通过度量计算树型图中各类结点值并生成带权的树型图,根据设定的阈值对该图进行剪裁来控制程序复杂度,通过对剪裁后的树型图进行遍历形成系统的执行路径集合,抽象为最终的候选用况。在图形化工具的辅助支持下从候选用况中抽象出系统的用况图,实验分析取得良好效果。Use case diagram is an effective way to express system functions from the perspective of the user, which is often used to describe system demands. If use case diagram of program can be abstracted from the system source code directly, that will be of great help for user to understand program. Based on this idea, a reverse engineering method to enhance program com- prehension for user is designed in this paper. A tree graph express structure of source codes is abstracted by using the static analy- sis method. By setting metric value of the nodes of the tree graph, the weighted tree diagram can be generated. According to the metric it sets, the nodes of the tree graph can be clipped, which controls program complexity. Execution paths of the software, which are the candidates of use cases, are obtained by traversing the clipped tree graph. With the help of graphic tool, use case diagrams can be abstracted from the candidates of use cases, and experimental analysis has gained good effects.
分 类 号:TP311[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:18.216.93.197