期刊文献+

基于UIO序列的类重要性度量 被引量:2

Measuring the Importance of Classes Using UIO Sequence
下载PDF
导出
摘要 程序理解是测试和维护大规模面向对象程序的关键,选择程序的关键类优先开展分析是理解程序结构的一个有效的方法.为支持自动识别软件系统中的关键类,本文提出了一种基于UIO序列的类重要性度量方法.首先将软件系统抽象为一个以类为转换的有限自动机模型,随后求解该自动机的UIO序列,将该序列集合转化为状态转换树.通过递归计算状态转换树的节点复杂度求得类重要度.并在考虑异常传播的基础上改进了算法.最后通过实验验证了算法的有效性. Program comprehension is the key to provide insight into large scale object-oriented programs in the testing and maintenance activities.It’s a reasonable way to select and start with the key classes.To identify the key classes in a system automat-ically,we propose a technique to measure the importance of each class based on Unique Input/Output sequence.Firstly,we abstract the software system as a finite state machine model,and then we compute the Unique Input/Output sequence of the finite state ma-chine and converse the Unique Input/Output sequence to a state transform tree by a proposed algorithm.Finally,we traverse the state transform tree to calculate the importance of the classes.The case studies show the effectiveness of our technique.
出处 《电子学报》 EI CAS CSCD 北大核心 2015年第10期2062-2068,共7页 Acta Electronica Sinica
基金 国家自然科学基金(No.61202006 No.60970032) 江苏省333工程 江苏省高校自然科学研究(No.12KJB520014) 江苏省研究生创新工程(No.CXZZ12_0935) 南通市应用研究计划(No.BK2012023)
关键词 关键类 有限状态机 UIO 序列 程序理解 key classes finite state machine UIO sequence program comprehension
  • 相关文献

参考文献11

  • 1王木生,卢红敏,周毓明,徐宝文.利用h指数及其衍生度量识别关键类[J].计算机科学与探索,2011,5(10):891-903. 被引量:6
  • 2Zaidman A,Demeyer S.Automatic identification of key classes in a software system using web mining techniques[J].Journal of Software Maintenance and Evolution:Research and Practice,2008,20(6):387-417.
  • 3Zaidman A,Calders T,et al.Applying web mining techniques to execution traces to support the program comprehension process[A].Proceedings of the Conference on Software Maintenance and Reengineering[C].New York:IEEE,2005.134-142.
  • 4周欣,陈向葵,孙家骕,杨芙清.面向对象系统中基于度量的可复用构件获取机制[J].电子学报,2003,31(5):649-653. 被引量:15
  • 5李诺,金茂忠,刘超.一种Java程序度量工具的设计实现[J].电子学报,2004,32(F12):175-179. 被引量:2
  • 6Marios F,Nikolaos T,Eleni S,et al.Identification and application of extract class refactorings in object-oriented systems[J].Journal of Systems and Software,2012,85(10):2241-2260.
  • 7Al Dallal,J.The impact of accounting for special methods in the measurement of object-oriented class cohesion on refactoring and fault prediction activities[J].Journal of Systems and Software,2012,85(5):1042-1057.
  • 8Sipser M.Introduction to the Theory of Computation [M].Boston,USA:Wadsworth Publishing Co Inc.1997.31-47.
  • 9Derderian K,Hierons RM,et al.Automated unique input output sequence generation for conformance testing of FSMs[J].The Computer Journal,2006,49(3):331-344.
  • 10Guo Q,Hierons R,et al.Computing unique input/output sequences using genetic algorithms[J].Formal Approaches to Software Testing,2004,2931:1098-1100.

二级参考文献30

  • 1JIN BiHui,LIANG LiMing,Ronald ROUSSEAU,Leo EGGHE.The R-and AR-indices:Complementing the h-index[J].Chinese Science Bulletin,2007,52(6):855-863. 被引量:119
  • 2吴穹.构件组装技术研究[M].北京:北京大学计算机科学技术系,1998.6.
  • 3Wilde N. Faster reuse and maintenance using software reconnaissance, SERC-TR-75F[R]. University of Florida, 1994.
  • 4Tahvildari L, Kontogiannis K. Improving design quality using meta-pattern transformations: a metric-based ap- proach[J]. Journal of Software Maintenance and Evolu- tion: Research and Practice, 2004, 16(4/5): 331-361.
  • 5Zaidman A, Demeyer S. Automatic identification of key classes in a software system using Web mining tech- niques[J]. Journal of Software Maintenance and Evolu- tion: Research and Practice, 2008, 20(6): 387-417.
  • 6Kleinberg J M. Authoritative sources in a hyperlinked en- vironment[J]. Journal of ACM, 1999, 46(5): 604--632.
  • 7Hirsch J E. An index to quantify an individual's scientific research output[J]. Proceedings of the National Academy of Sciences of the United States of America, 2005, 102(46): 16569-16572.
  • 8Egghe L. Theory and practice of the g-index[J]. Scien- tometrics, 2006, 69(1): 131-152.
  • 9Alonso S, Cabrerizo F J, Herrera-Viedma E, index: a new index to characterize the scientific et al. hg- output of researchers based on the h- and g- indices[J]. Scientomettics, 2010, 82(2): 391-400.
  • 10Kosmulski M. A new Hirsch-type index saves time and works equally well as the original h-index[JJ. ISSI News- letter, 2006, 2(3): 4-6.

共引文献20

同被引文献10

引证文献2

二级引证文献3

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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