首页> 外文会议>International Conference on Data and Software Engineering >Feature identification of program source code using regular expression
【24h】

Feature identification of program source code using regular expression

机译:使用正则表达式的程序源代码的特征识别

获取原文

摘要

A software application is a collection of various features that are developed to meet the need of particular purposes. To reduce time to develop and to increase software quality, developers reuse similar features from another software. Before reusing the features, developers need to know what are features in the software. The lack or absence of complete documentation may hinder the process of understanding the features. However the application usually comes with the source code. Reading the source code maybe the only option if the documentation is not found. In this paper, we propose a model to reverse engineering a source code to find information about features in software and its dependency. To find features in the source code, we use regular expressions (regex) to find important elements and their dependencies. A call graph is then generated to help understanding these elements. The model has been implemented and have been validated to several case studies. Finding the features in source code depends entirely on the language of the source code. Our research confirms that customizing the pattern in regex easier than scanning and parsing the language syntax to get the features.
机译:软件应用程序是为满足特定目的而开发的各种功能的集合。要缩短开发和提高软件质量的时间,开发人员将从其他软件中重用类似的功能。在重新使用功能之前,开发人员需要知道软件中的功能。缺乏或缺乏完整的文件可能会阻碍理解功能的过程。但是应用程序通常会带来源代码。读取源代码可能是唯一的选项,如果找不到文档。在本文中,我们提出了一种模型来撤消工程源代码,以查找有关软件中的功能及其依赖的信息。要在源代码中查找功能,我们使用正则表达式(Regex)来查找重要元素及其依赖项。然后生成呼叫图以帮助理解这些元素。该模型已实施,并已被验证到几个案例研究。找到源代码中的功能完全取决于源代码的语言。我们的研究确认,在Regex中自定义模式比扫描更容易,并解析语言语法以获取功能。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号