期刊文献+

基于Sphinx的安全测试脚本文档生成方案

Method of network security test script documentation creation based on Sphinx
下载PDF
导出
摘要 论文分析了网络安全工作中创建优质的网络安全测试脚本文档的必要性,对Docstring编写风格进行了介绍,并对Sphinx文档生成系统和reStructuredText标记语言进行了说明。同时,提出了一种基于Sphinx的网络安全测试脚本文档生成方案,利用Sphinx的第三方扩展、对内建注释工具的有效利用、对注释字段的针对性扩充,使生成注释文档更加清晰、规范,切合网络安全人员使用代码的实际需求,有效地提高了测试代码的可维护性和复用效率。 In this paper,the necessity of a high quality network security test script documentation is analyzed.The documenting styles of Python's docstring are introduced,as well as the Sphinx documentation creation tool and the reStructuredText scripting language.A method of network security test script documentation creation based on Sphinx is proposed.This method makes use of third party extensions,making effective utilization of built-in documenting functionalities,and extending specific field lists,which effectively improves the clearness and normativity of documentation.This method fits in with the requirement of security testers in code processing,increasing the test script's maintainability and reuse efficiency.
作者 刘岳 张海峰 张良 杨秉杰 边帅 Liu Yue;Zhang Haifeng;Zhang Liang;Yang Bingjie;Bian Shuai(National Internet Emergency Center,Henan Branch,Henan Zhengzhou 450003)
出处 《网络空间安全》 2019年第2期74-79,共6页 Cyberspace Security
基金 国家互联网应急中心青年科技基金项目(项目编号:2018Q20)
关键词 网络安全 测试脚本 文档 SPHINX network security script documentation Sphinx
  • 相关文献

参考文献5

二级参考文献24

  • 1卢苇,彭雅.几种常用文本分类算法性能比较与分析[J].湖南大学学报(自然科学版),2007,34(6):67-69. 被引量:31
  • 2Rubey RJ, Hartwick RD. Quantitative measurement of program quality. Proc. of the 1968 23rd ACM National Conference. ACM. 1968. 671477.
  • 3Boehm BW, Brown JR, Lipow M. Quantitative evaluation of software quality. Proc. of the 2nd International Conference on Sotiware Engineering. IEEE Computer Society Press. 1976. 592-605.
  • 4Fluff B, Wursch M, Gall HC. Do code and comments co-evolve? On the relation between source code and comment changes. 14th Working Conference on Reverse Engineering, WCRE 2007. IEEE. 2007.70-79.
  • 5Tan SH, Marinov D, Tan L, et al. @ tcomment: Testing javadoc comments to detect comment-code inconsistencies. 2012 IEEE 5th International Conference on Software Testing, Verification and Validation (ICST). IEEE. 2012. 260-269.
  • 6Tan L, Ynan D, Krislma G~ et al. iComment: Bugs or bad comments? ACM SIGOPS Operating Systems Review. ACM, 2007, 41(6): 145-158.
  • 7Tan L, Zhou Y, Padioleau Y. aComment: Mining annotations from comments and code to detect interrupt related concurrency bugs. Proc. of the 33rd International Conference on Software Engineering. ACM. 2011.11-20.
  • 8Khamis N, Witte R, RiUing J. Automatic quality assessment of source code comments: the JavadocMiner. Natural Language Processing and Information Systems. Springer Berlin Heidelberg, 2010: 68-79.
  • 9Deissenboeck F, Wagner S, Pizka M, et al. An activity-based quality model for maintainability. IEEE International Conference on Software Maintenance, 2007(ICSM 2007). 1EEE. 2007. 184-193.
  • 10Steidl D, Hummel B, Juergens E. Quality analysis of source code comments. 2013 IEEE 21st International Conference on Program Comprehension (ICPC). IEEE. 2013. 83-92.

共引文献13

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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