Java程序异常信息分析插件的研究与设计  被引量:2

Research and Design of Java Exception Information Analysis Plugin

在线阅读下载全文

作  者:宋道远[1] 贲可荣 

机构地区:[1]海军工程大学计算机工程系,武汉430033

出  处:《计算机科学》2014年第8期106-108,共3页Computer Science

基  金:国家自然科学基金(61272108);软件工程国家重点实验室开放基金(SKLSE2012-0938)资助

摘  要:异常处理是一种有效提高软件健壮性的方法,处理不当将导致严重的软件失效。提出一种通过分析Java程序异常信息、由开发平台给出异常处理代码提示的方法,以提高开发效率,并提出一种包含异常结构的Java程序异常控制流图构造方法,用于程序分析和优化。基于Eclipse开发环境,设计了一个异常信息分析插件,用于分析Java程序异常信息,给出了代码提示,生成了异常控制流图,以帮助开发人员更快更好地书写异常处理代码。Exception handling is an efficient method to improve the software robustness, while an inappropriate handling will cause a serious software failure. This paper proposed a method for analyzing the Java exception information and gi- ving a code suggestion to improve the efficiency of the development. We proposed a method for constructing the excep- tion control flow graph for Java with exception construct, which will be used to code analyse and optimization. Based on the Eclipse, this paper designed a Java exception information analysis plug-in, to analyse the Java exception information, gave a code suggestion and produced the exception control flow graph,which will help developers write exception han- dling code faster and better.

关 键 词:异常处理 插件设计 异常控制流图 

分 类 号:TP393[自动化与计算机技术—计算机应用技术]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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