期刊文献+

异常传播网络静态建模方法及特性分析

Static modeling method and characteristic analysis of exception propagation network
下载PDF
导出
摘要 异常传播现象已经成为软件开发者在异常处理过程中必须要考虑的主要问题之一.以往研究者更多关注于异常传播路径以及异常抛出的根源,而忽略异常传播结构的网络化特征.通过定义异常传播过程中方法之间的异常传递关系对异常传播结构进行网络化建模,提出了异常传播网络模型.通过对5个开源软件包的异常传播网络进行度分布、传播异常类型层次分布、聚集系数和平均最短路径等网络特征的分析发现:异常传播网络的出度和入度基本服从幂律分布;异常传播过程几乎都与"不要传播抽象异常"原则相违背;由于异常传播过程的"弱边界性",异常传播网络并没有传统软件的高内聚特征.上述分析成果可以为软件开发者在设计异常处理过程时提供指导和建议. In area of the exception handling,exception propagation is of catholic concern.Previous researchers focused more on exception propagation paths and the source of a thrown exception but ignored the networked characteristic of exception propagation.An exception propagation networked model was proposed based on the definition of exception transitivity relationship between two methods.A case study was presented for the analysis of main characteristics of complex network,which includes the degree distribution,the exception hierarchy distribution,the clustering coefficient and the average shortest path.The results show that the in-degree and out-degree distribution are basically subject to a power law distribution;Most exception propagation processes violate the rule of "Do not spread the abstract exception";The exception propagation network appears the low cohesion feature due to the "Weak Border" characteristic.These empirical findings can provide the guidance for software developers in the design process for exception handling.
作者 邱翔 张莉
出处 《北京航空航天大学学报》 EI CAS CSCD 北大核心 2012年第4期535-540,共6页 Journal of Beijing University of Aeronautics and Astronautics
基金 国家自然科学基金资助项目(90818017)
关键词 异常传播 异常传播路径 网络化建模 exception propagation exception propagation path networked modeling
  • 相关文献

参考文献15

  • 1Wikipedia. Exception handling [ EB/OL ]. 2011 [ 2011-03-31 ]. http://en, wikipedia, org/wiki/Exception_handling#Checked_ exceptions.
  • 2Fu C, Ryder B G. Exception-propagatlon analysis:revealing exception handling architecture in Java server applications [ C ]// Proc 29th international Conference on Software Engineering. Washington DC : IEEE Computer Society, 2007 : 230 - 239.
  • 3Van Dooren M, Steegmans E. Combining the robustness of checked exceptions with the flexibility of unchecked exceptions using anchored exception declarations [ C ]//Proc OOPSLA'05. New York : ACM Press,2005:455 - 471.
  • 4Myers C R. Software systems as complex networks : structure function and evolvability of software collaboration graphs [ J ]. Physical Review E ,2003,68(42) :46116-1 -46116-15.
  • 5Ma Yutao,He Keqing, Du Dehui, et al. A complexity metrics set for large-scale object-oriented software systems [ C ]//Proceedings of the Sixth IEEE International Conference on Computer and Information Technology. Washington DC : IEEE Computer Society ,2006 : 189 - 195.
  • 6Robillard M, Murphy G. Static analysis to support the evolution of exception structure in object-oriented systems[ J ]. ACM Transactions on Software Engineering and Methodology, 2003,2 (12) : 191 -221.
  • 7Mao Chengying,Lu Yansheng. Improving the robustness and reliability of object-oriented programs through exception analysis and testing[C]//Proc lOth IEEE International Conference on Engineering of Complex Computer Systems. Washington DC: IEEE Computer Society ,2005:432 - 439.
  • 8姜淑娟,徐宝文,史亮,周晓宇.一种基于异常传播分析的依赖性分析方法[J].软件学报,2007,18(4):832-841. 被引量:10
  • 9Qiu Xiang,Zhang Li,Lian Xiaoli. Static analysis for Java exception propagation structure [ C ]//2010 International Conference on Progress in Informatics and Computing. Washington DC : IEEE Computer Society,2010 : 1041 - 1046.
  • 10Siganos G, Faloutsos M, Faloutsos P, et al. Power laws and the AS-level intemet topology [ J ]. IEEE/ACM Trans on Networking,2003,11(4) :514 -524.

二级参考文献4

共引文献9

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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