Invention Grant
- Patent Title: Analysis of dynamic elements in bounded time
-
Application No.: US14883189Application Date: 2015-10-14
-
Publication No.: US10223082B2Publication Date: 2019-03-05
- Inventor: Jefferson King , Alan Oursland
- Applicant: MICROSOFT TECHNOLOGY LICENSING, LLC
- Applicant Address: US WA Redmond
- Assignee: MICROSOFT TECHNOLOGY LICENSING, LLC
- Current Assignee: MICROSOFT TECHNOLOGY LICENSING, LLC
- Current Assignee Address: US WA Redmond
- Main IPC: G06F11/36
- IPC: G06F11/36 ; G06F8/33 ; G06F8/41

Abstract:
A code analysis system is described herein that provides code completion for programming languages that include elements that are not statically discoverable and that provides results in a predictable period that is acceptable for an interactive user interface. The system compiles each file into an intermediate state that can be stored and cached to speed later analysis of files. In addition, when executing a particular file, the system monitors a time-based threshold and/or a recursion depth so that if the compilation time is exceeding the threshold or a function is exceeding the recursion depth the system can stop the execution and use the intermediate results obtained up to that point to provide as much information as possible within a bounded execution time. When dynamic analysis fails, the system falls back to static analysis.
Public/Granted literature
- US20160085524A1 ANALYSIS OF DYNAMIC ELEMENTS IN BOUNDED TIME Public/Granted day:2016-03-24
Information query