通过“需求配置”改进类代码的重用性能  

Improve the Reusability of the Codes in Classes with Variants Configuration

在线阅读下载全文

作  者:李淑彪[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[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象