检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:李淑彪[1]
机构地区:[1]西安交通大学经济与金融学院银行信息工程系,陕西西安710061
出 处:《小型微型计算机系统》2004年第11期1952-1958,共7页Journal of Chinese Computer Systems
基 金:国家自然科学基金项目 (70 2 73 0 4)资助
摘 要:面向对象技术并不能保证软件资产达到很好的重用性能 .通过实例分析了 Java的 Buffer库 ,发现有大量的冗余代码 .这说明了代码在类中达到的较低的重用性能 ,将会增大对类库理解、测试和维护的难度 .提出了一种基于“需求配置”来消除冗余代码的方法 ,并通过 XVCL 语言加以实现 ,结果是总的代码量减少到原有的 4 0 % .这一方法大大降低了类库的维护难度 ,同时认为通过把“需求配置”方法与面向对象技术相结合 。Object-oriented technologies do not guarantee the reusability of software assets. Studied a number of classes in java Buffer library and finds many redundant codes. This shows the poor reuse of the codes in these classes and makes the library difficult to understand, to test, and to maintain. Described a concept based on “Variants configuration”, implemented with XVCL language to manage redundant codes. The new solution comprises 40% of code in the original library. This paper argues that this solution makes it easier to maintain the library and can be integrated into OO methodologies to improve the reusability of software assets.
关 键 词:软件重用 面向对象方法 类库 代码冗余 XVCL
分 类 号:TP311[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.145