Invention Grant
- Patent Title: Code recommendation
- Patent Title (中): 代码推荐
-
Application No.: US14488104Application Date: 2014-09-16
-
Publication No.: US09519464B2Publication Date: 2016-12-13
- Inventor: Yingnong Dang , Chenglin Zhong , Qian Wu , Han Yin , Niko Schwarz , Dongmei Zhang
- Applicant: Microsoft Corporation
- Applicant Address: US WA Redmond
- Assignee: Microsoft Technology Licensing, LLC
- Current Assignee: Microsoft Technology Licensing, LLC
- Current Assignee Address: US WA Redmond
- Agency: Zete Law, P.L.L.C.
- Agent Tom Wong; Micky Minhas
- Priority: WOPCT/CN2014/081228 20140630
- Main IPC: G06F9/44
- IPC: G06F9/44

Abstract:
The disclosure generally relates to code recommendation. In one embodiment, code snippets may be extracted using an invocation-centered code slicing process and then grouped according to the method usages. For each method usage, a representative code snippet may be selected and stored in the knowledge base in association with metadata. In operation, the programming context may be obtained and used to query the knowledge base to retrieve one or more code snippets for recommendation. In one embodiment, the recommended code snippets may be ranked to improve the utility and user friendliness, and the metadata may be used to provide variation points and possibly other auxiliary information to improve the operation efficiency and user experience.
Public/Granted literature
- US20150378692A1 CODE RECOMMENDATION Public/Granted day:2015-12-31
Information query