Supercharge Your Innovation With Domain-Expert AI Agents!

Automatic detection method and device for jsp code language specifications

A code and language technology, applied in the field of automatic detection devices for JSP code language specifications

Pending Publication Date: 2020-11-20
上海泛微网络科技股份有限公司
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The embodiment of the present disclosure provides an automatic detection method of the jsp code language specification to solve the problem that the Java code block in the above jsp file cannot use contextual semantic association to analyze whether the code conforms to the code language specification

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
  • Automatic detection method and device for jsp code language specifications
  • Automatic detection method and device for jsp code language specifications
  • Automatic detection method and device for jsp code language specifications

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0037] Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatuses and methods consistent with aspects of the present disclosure as recited in the appended claims.

[0038] The embodiment of the present disclosure provides an automatic detection method of jsp code language specification. Specifically, such as figure 1 As shown, the method may include the following steps 1100 to 1300:

[0039] Step 1100, calling the conversion algorithm to convert the jsp code file into a Java file.

[0040] Among them, the conversion algorithm such as figure 2...

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 provides an automatic detection method and device for jsp code language specifications. The method comprises steps of a conversion algorithm being called, and a jsp code file being converted into a Java file; calling a Java syntax analyzer to execute the Java file; and determining code line information which does not accord with code language specifications in the Java file accordingto an execution result. The method is advantaged in that a problem that in the prior art, Java code blocks in the jsp file cannot use context semantic association to analyze whether codes conform tocode language specifications or not is solved.

Description

technical field [0001] The present disclosure relates to the technical field of code specification detection, in particular to an automatic detection method of jsp code language specification and an automatic detection device of jsp code language specification. Background technique [0002] The existing program code language specification analysis technology can realize the detection of the code language specification of the jsp language through the web language code analysis plug-in. The basic principle is to cut the jsp code content into various code blocks, such as comment code blocks, Java code blocks, html code blocks, etc., using formal expressions, and then check the specification of the code language according to the content of each code block. [0003] In some scenarios where the code language specification needs to be judged in conjunction with the context semantics, when the above solution is applied, the web language code analysis plug-in finds that the content o...

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
IPC IPC(8): G06F11/36G06F8/51G06F8/41
CPCG06F11/3612G06F8/51G06F8/42
Inventor 李海雲韦利东
Owner 上海泛微网络科技股份有限公司
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More