Method and apparatus for detecting front-end code quality

A code quality and detection method technology, which is applied in the field of front-end code quality detection methods and devices, can solve the problems of single function of front-end code detection technology, difficulty in expansion, and low code detection efficiency, so as to solve the problems of inconsistent code style, save time, The effect of improving work efficiency

Inactive Publication Date: 2018-12-18
ZHENGZHOU XIZHI INFORMATION TECH
View PDF4 Cites 12 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The purpose of the present invention is to provide a front-end code quality detection method and device to solve the problem that the existing front-end code detection technology has a single function and is not easy to expand, resulting in low code detection efficiency

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
  • Method and apparatus for detecting front-end code quality

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] The present invention will be described in further detail below in conjunction with the accompanying drawings.

[0028] The purpose of the present invention is to solve the problems of non-uniform front-end code style, chaotic code that is not conducive to maintenance and expansion, and low-level errors that are prone to occur.

[0029] For the common detection parts in different types of front-end codes, use the same detection process in the detection logic to realize, and for different detection parts in different types of front-end codes, use the same detection process branch in the detection logic to achieve, listed Different detection parts of different types of codes realize writing error detection of various types of codes. According to the similarity of the code, the functions that need to be detected and the functions that need to be detected independently are roughly divided into general code detection, HTML detection, javascript (js) detection, and code beaut...

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 relates to the field of software development, in particular to a front-end code quality detection method and a device. The invention sets corresponding code detection logic for the front-end code according to different coding languages, and detects and repairs different codes in the front-end code by setting a code specification library and combining the selected different technicalstacks. The detection logic of the invention is simple and easy to realize, convenient and quick, saves time, improves work efficiency, and solves the problems that the front-end code style is not uniform, the code confusion is not conducive to maintenance and expansion, and low-level errors are easy to occur and the like.

Description

technical field [0001] The invention relates to the field of software development, in particular to a front-end code quality detection method and device. Background technique [0002] The various front-end frameworks are updated very quickly, and each front-end engineer needs to constantly recharge in order to better keep up with the development trend of the front-end and make better use of new technologies in the projects of the factory network. Although the front-end code needs to use the technology There are many, but HTML, CSS, and javascript are still the most basic front-end programming languages. They all have similar specification styles and different rules and requirements. The people responsible for front-end development and maintenance of each project are also different. Everyone has their own The style of writing code, the existing front-end code detection is usually completed by using detection tools that match the type of front-end code. Since the detection too...

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): G06F11/36
CPCG06F11/3608
Inventor 黄秋霞
Owner ZHENGZHOU XIZHI INFORMATION TECH
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