期刊文献+

面向特征编程中的特征组合失效问题及其解决方法

Feature Composition Failures and its Solution in FOP
下载PDF
导出
摘要 软件产品线的特征之间存在依赖关系,因此在面向特征编程(FOP)中,特征模块之间在代码结构上存在密切关联。另一方面,具有可变性的特征在应用产品中的绑定与否会对依赖关系的实现造成破坏性的影响,导致FOP在实施过程中可能出现特征组合失效问题。对该问题的产生进行分析,总结出3种主要的依赖场景。另外,提出一种特征模块垂直分解方法,其核心机制在于将可变性引入特征模块内部,根据需求组装实现代码,从而可避免出现组合失效问题。最后,通过一个出版社利润考核系统产品线实例验证了方法的有效性。 There exist dependencies between software product line features, thus the feature modules in feature-oriented programming (FOP) is closely related in the code or structure level. On the other hand, whether the variable features are bound in the applications has destructive impact on the implementation of the feature dependencies, causing the po- tential problem of feature composition failures during FOP process. This paper analyzed the problem and concluded three main dependency scenarios, besides, proposed a vertical decomposition method for feature modules to solve the problem. Its key mechanism is to introduce variability into the inner part of feature modules, thus the problem can be a- voided by composing the codes according to the specific requirements. Furthermore, the method was applied on a soft- ware product line of publishing-house profit evaluation systems to validate its effectiveness.
出处 《计算机科学》 CSCD 北大核心 2013年第6期142-147,共6页 Computer Science
基金 国家“八六三”高技术研究发展计划项目(2011AA010101)资助
关键词 面向特征编程 软件产品线 特征模块组装 特征依赖 Feature-oriented programming, Software product line, Feature module composition, Feature dependency
  • 相关文献

参考文献18

  • 1Clements P,Northrop L.Software product Lines:Practices and Patterns[M].张莉,王雷,译.北京:清华大学出版社,2001.
  • 2Pohl K,BockleG,vanderLindenF.Software Product line Engineering:Foundations,Principles,and Techniques[M].Heidelberg New York:Springer Berlin,2005.
  • 3Lee K,Kang K C.Feature Dependency Analysis for Product Line Component Design[C]// Proceedings of 8th the International Conference on Software Reuse,ICSR.2004.
  • 4Peng Xin,Zhao Wen-yun,Xue Yun-jiao,et al.Ontology-Based Feature Modeling and Application-Oriented Tailoring[C]//Proceedings of 9th the International Conference on Software Reuse,ICSR.2006.
  • 5Batory D,Sarvela J N,Rauschmayer A.Scaling Step-Wise Refinement[J].IEEE Transactions on Software Engineering,2004,30(6):355-371.
  • 6Liu Jia,Batory D,Lengauer C.Feature Oriented Refactoring of Legacy Applications[C]//Proceedings of 28th the International Conference on Software Engineering,ICSE.2006.
  • 7Kang K C,Cohen S G,Hess J A,et al.Feature-Oriented Domain Analysis (FODA) Feasibility Study[R].CMU/SEI-90-TR-21.Pittsburgh:Software Engineering Institute,Carnegie Mellon University,1990.
  • 8Kang K C,Kim S,Lee J,et aL FORM:A Feature-Oriented Reuse Method with Domain-Specific Reference Architectures[J].Annals of Software Engineering,1998,5 (1):143-168.
  • 9Apel S,Scholz W,Lengauer C.Detecting Dependences and Interactions in Feature-Oriented Design[C]//Proceedings of 21st International Symposium on Software Reliability Engineering,ISSRE.2010.
  • 10Zhang Wei,Mei Hong,Zhao Hai-yan.A Feature-Oriented Approach to Modeling Requirements Dependencies[C]// Proceedings of 13th International Conference on Requirements Engineering,RE.2005.

二级参考文献29

  • 1王璞巍,金芝,刘红岩.网构软件实体的功能描述及其发现[J].中国科学(F辑:信息科学),2009,39(12):1271-1287. 被引量:7
  • 2王忠杰,徐晓飞,战德臣.基于特征的构件模型及其规范化设计过程[J].软件学报,2006,17(1):39-47. 被引量:24
  • 3李长云,李莹,吴健,吴朝晖.一个面向服务的支持动态演化的软件模型[J].计算机学报,2006,29(7):1020-1028. 被引量:20
  • 4吕建,马晓星,陶先平,徐锋,胡昊.网构软件的研究与进展[J].中国科学(E辑),2006,36(10):1037-1080. 被引量:101
  • 5金芝 何克清 王青.软件需求工程-部分研究工作进展.计算机学会通讯,2007,(11).
  • 6Clements P, Northrop L. Software product lines: practices and patterns[M]. Beijing: Tsiroghua Press,2004.
  • 7Batory D, Sarvela J N, Rauschmayer A. Scaling Step-Wise refinement[J]. IEEE Transactions on Software Engineering, 2004, 30 (6) : 355-371.
  • 8Batory D, Lopez-Herrejon R E, Martin J P. Generating product lines of Product-Families[J]. Proceedings of the 17th International Conference on Automated Software Engineering, 2002, 81-92.
  • 9Prehofer C. Feature-Oriented programming: a fresh look at objects [C]. Proceedings of the 11th European Conference on OOP, 1997, 419-443.
  • 10Batory Don, Geraci Bart J. Composition validation and subjectivity in GenVoca generators[J]. IEEE Transactions on Software Engineering, 1997, 23(2) :67-83.

共引文献7

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部