A Comment-Driven Approach to API Usage Patterns Discovery and Search,ERICDATA高等教育知識庫
高等教育出版
熱門: 王善边  崔雪娟  黃光男  朱丽彬  王美玲  黃乃熒  
高等教育出版
首頁 臺灣期刊   學校系所   學協會   民間出版   大陸/海外期刊   政府機關   學校系所   學協會   民間出版   DOI註冊服務
閱讀全文
篇名
A Comment-Driven Approach to API Usage Patterns Discovery and Search
並列篇名
A Comment-Driven Approach to API Usage Patterns Discovery and Search
作者 Shin-Jie Lee何縕琪Wu-Chen SuHsi-Min Chen
英文摘要
Considerable effort has gone into the discovery of API usage patterns or examples. However, how to enable programmers to search for discovered API usage examples using natural language queries is still a significant research problem. This paper presents an approach, referred to as Codepus, to facilitate the discovery of API usage examples based on mining comments in open source code while permitting searches using natural language queries. The approach includes two key features: API usage patterns as well as multiple keywords and tf-idf values are discovered by mining open source comments and code snippets; and a matchmaking function is devised for searching for API usage examples using natural language queries by aggregating scores related to semantic similarity, correctness, and the number of APIs. In a practical application, the proposed approach discovered 43,721 API usage patterns with 641,591 API usage examples from 15,814 open source projects. Experiment results revealed the following: (1) Codepus reduced the browsing time required for locating API usage examples by 46.5%, compared to the time required when using a web search engine. (2) The precision of Codepus is 91% when using eleven real-world frequently asked questions, which is superior to those of Gists and Open Hub.
起訖頁 1587-1601
關鍵詞 API usage patternCode exampleCode search system
刊名 網際網路技術學刊  
期數 201809 (19:5期)
出版單位 台灣學術網路管理委員會
DOI 10.3966/160792642018091905030   複製DOI
QR Code
該期刊
上一篇
Smart TV Face Monitoring for Children Privacy
該期刊
下一篇
Enhancing Software Robustness by Detecting and Removing Exception Handling Smells: An Empirical Study

高等教育知識庫  閱讀計畫  教育研究月刊  新書優惠  

教師服務
合作出版
期刊徵稿
聯絡高教
高教FB
讀者服務
圖書目錄
教育期刊
訂購服務
活動訊息
數位服務
高等教育知識庫
國際資料庫收錄
投審稿系統
DOI註冊
線上購買
高點網路書店 
元照網路書店
博客來網路書店
教育資源
教育網站
國際教育網站
關於高教
高教簡介
出版授權
合作單位
知識達 知識達 知識達 知識達 知識達 知識達
版權所有‧轉載必究 Copyright2011 高等教育文化事業股份有限公司  All Rights Reserved
服務信箱:edubook@edubook.com.tw 台北市館前路 26 號 6 樓 Tel:+886-2-23885899 Fax:+886-2-23892500