STAC: A tool for Static Textual Analysis of Code

STAC: A tool for Static Textual Analysis of Code
复制标题

STAC:代码静态文本分析工具

DOI:
10.1109/icpc.2016.7503746
复制
发表时间:
2016
期刊:
2016 IEEE 24th International Conference on Program Comprehension (ICPC)
影响因子:
--
通讯作者:
Anas Mahmoud
Anas Mahmoud
中科院分区:
--
文献类型:
--
作者:
Saket Khatiwada;Michael Kelly;Anas Mahmoud

文献摘要

被引文献

相似文献

静态文本分析技术最近被应用于处理和综合源代码。基本原则是重要信息嵌入在代码标识符和内部代码注释中。这样的信息可以被分析,为一些软件工程活动提供自动化的帮助。为了促进这一行的工作,我们提出了STAC,一个工具,支持静态文本分析的代码。STAC被设计为一个轻量级的独立工具,为代码索引提供实用的一站式解决方案。代码索引是从源代码中提取重要文本信息的过程。已经发现,准确的索引显着影响代码检索和分析方法的性能。STAC提供了用于提取和处理Java、C++和C#代码工件中的文本模式的特性。这些特性包括标识符拆分、词干提取、词形还原和拼写检查。STAC还作为API提供,以帮助研究人员将基本的代码索引功能集成到他们的代码中。
Static textual analysis techniques have been recently applied to process and synthesize source code. The underlying tenet is that important information is embedded in code identifiers and internal code comments. Such information can be analyzed to provide automatic aid for several software engineering activities. To facilitate this line of work, we present STAC, a tool for supporting Static Textual Analysis of Code. STAC is designed as a light-weight stand-alone tool that provides a practical one-stop solution for code indexing. Code indexing is the process of extracting important textual information from source code. Accurate indexing has been found to significantly influence the performance of code retrieval and analysis methods. STAC provides features for extracting and processing textual patterns found in Java, C++, and C# code artifacts. These features include identifier splitting, stemming, lemmatization, and spell-checking. STAC is also provided as an API to help researchers to integrate basic code indexing features into their code.