題名: A Multi-block Scheme for Searching Source Codes
作者: Hsu, Sheng-Kuei
Lin, Shi-Jen
關鍵字: code search
code retrieval
multi-block scheme
vector space model
期刊名/會議名稱: 2010 ICS會議
摘要: The large amounts of software source code projects available on the Internet or within companies are creating new information retrieval challenges. Present-day source code search engines, such as Google Code Search, tend to treat source code as pure text, as they do with web pages. However, source code files differ from web pages or pure text files in that each file may contain certain blocks expressing different functions. Developers use API-statements to complete functions within a source file and use comments to indicate the meaning of each function. In this paper, we segment source code files into two types of block, code-data block and metadata block, that possess different stemming and stop word filtering processes used in building the source code index. Finally, we propose an auto block-specified query processing approach to assist users in searching for specific code block within a source file. Experimental results indicate that our approach provides a more flexible source code search mechanism that allows a greater number of relevant items to be found.
日期: 2011-01-26T01:01:54Z
分類:2010年 ICS 國際計算機會議(如需查看全文,請連結至IEEE Xplore網站)

文件中的檔案:
沒有與此文件相關的檔案。


在 DSpace 系統中的文件,除了特別指名其著作權條款之外,均受到著作權保護,並且保留所有的權利。