Code inspection method and device, computer equipment and computer readable storage medium

A code inspection and code technology, applied in the computer field, can solve the problems of low code inspection efficiency and inability to understand code problems in real time, so as to reduce time consumption and improve code inspection efficiency.

Active Publication Date: 2020-12-08
TENCENT TECH (SHENZHEN) CO LTD
View PDF7 Cites 10 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In the above code inspection process, the offline inspection method is applied, that is, the edited code is exported from the code editor to the offline code inspection tool. The code inspection process and the code editing process are separated, resulting in each code file During the editing process, developers cannot know the problems in the code in real time, and the efficiency of code inspection is extremely low

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Code inspection method and device, computer equipment and computer readable storage medium
  • Code inspection method and device, computer equipment and computer readable storage medium
  • Code inspection method and device, computer equipment and computer readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0072] In order to make the purpose, technical solutions and advantages of the application clearer, the following will further describe the implementation of the application in detail with reference to the accompanying drawings. Obviously, the described embodiments are part of the embodiments of the application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the scope of protection of this application.

[0073] In this application, the terms "first" and "second" are used to distinguish the same or similar items with basically the same function and function. It should be understood that "first", "second" and "nth" There are no logical or timing dependencies, nor are there restrictions on quantity or order of execution.

[0074] In order to facilitate the understanding of the technical process of the embodiment of the present application, some nouns in...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a code checking method and device, computer equipment and a computer readable storage medium, and belongs to the technical field of computers. A code checking script is set ina code editor. In an editing process of a target code file, the code checking script is triggered to run in response to a code checking instruction, and due to content updating of the target code file, only other code files associated with the target code file are influenced so that a reference code file having a calling relationship with the target code file is obtained. Code inspection is performed on the target code file based on the content in the obtained part of reference code file without reading all the code files in a target engineering package, code inspection time consumption is reduced, and an inspection result is displayed on an editing interface in real time. A user can see a code inspection result in real time in the code editing process, and the code inspection efficiency is improved.

Description

technical field [0001] The present application relates to the field of computer technology, in particular to a code inspection method, device, computer equipment and computer-readable storage medium. Background technique [0002] Reviewing written code is an important step in the application development process. Take the checking of code written in Lua language as an example. Lua language is widely used in game development and other fields because of its simple syntax, flexible use, and easy hot update. At present, when checking the code written in Lua language, usually after the code file is written in the editor, each code file is imported into the code checking tool, and the code checking tool is used to check whether there are grammatical errors, logical For problems such as errors, the inspection results will be sent to the developer in the form of email. [0003] In the above code inspection process, the offline inspection method is applied, that is, the edited code ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F8/41G06F11/36
CPCG06F8/42G06F8/425G06F11/366
Inventor 尹飞
Owner TENCENT TECH (SHENZHEN) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products