Method and device for detecting code compiling result
A detection method and code technology, applied in the field of code compilation results detection, can solve problems such as inaccurate statistical results, and achieve the effect of solving inaccurate statistical results and improving accuracy
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0032] According to an embodiment of the present invention, a method embodiment of a method for detecting a code compilation result is provided.
[0033] Optionally, in this embodiment, the method for detecting the result of code compilation above can be applied to such as figure 2 In the hardware environment constituted by the server 102 and the terminal 104 as shown. Such as figure 2 As shown, the server 102 is connected to the terminal 104 through a network. The above-mentioned network includes but not limited to: a wide area network, a metropolitan area network or a local area network. The terminal 104 is not limited to a PC, a mobile phone, a tablet computer, and the like. The data processing method in the embodiment of the present invention may be executed by the server 102, may also be executed by the terminal 104, and may also be executed jointly by the server 102 and the terminal 104. Wherein, the execution of the data processing method of the embodiment of the pr...
Embodiment 2
[0067] According to an embodiment of the present invention, a device for detecting a code compilation result for implementing the above method for detecting a code compilation result is also provided. Figure 9 is a schematic diagram of a detection device for code compilation results according to an embodiment of the present invention, such as Figure 9 As shown, the device may include:
[0068] The first obtaining module 22 is used to obtain the information of the basic block from the compilation information file generated by compiling the source code, wherein the information of each basic block includes: a section of code in the source code that is recorded as compiled The line number of code line; The second acquisition module 24 is used to obtain the line number of effective code line from source code; Detection module 26 is used to detect whether there is a line number of missing record in the line number of effective code line, wherein, The line number of missing record...
Embodiment 3
[0091] According to an embodiment of the present invention, there is also provided a server or a terminal for implementing the method for detecting the above code compilation result.
[0092] Figure 14 is a structural block diagram of a terminal according to an embodiment of the present invention, such as Figure 14 As shown, the terminal may include: one or more (only one is shown in the figure) processor 201, memory 203, and transmission device 205 (such as the sending device in the above-mentioned embodiment), such as Figure 14 As shown, the terminal may also include an input and output device 207 .
[0093] Wherein, the memory 203 can be used to store software programs and modules, such as program instructions / modules corresponding to the method and device for detecting code compilation results in the embodiment of the present invention, and the processor 201 runs the software programs and modules stored in the memory 203, In this way, various functional applications a...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com