Supercharge Your Innovation With Domain-Expert AI Agents!

Front-end code quality detection method

A code detection and detection method technology, applied in error detection/correction, software testing/debugging, version control, etc., can solve problems such as disordered running code, inconsistent running code style, low-level errors, etc., to save time, cost, guarantee Readability, improve work efficiency

Pending Publication Date: 2021-01-22
冠群信息技术(南京)有限公司
View PDF2 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The purpose of the present invention is to provide a front-end code quality detection method, which is to systematically detect the quality of the running code written by the developer, and solve the problems of inconsistent running code style and disordered running code in the front-end project, which is not conducive to maintenance and expansion, and is easy to implement. Problems such as low-level errors occur

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
  • Front-end code quality detection method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0021]The technical solutions in the embodiments of the present invention will be described clearly and completely below. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of the present invention.

[0022]Reference attachmentfigure 1, A front-end code quality detection method, including the following steps:

[0023]S1: Inject the code inspection package into the front-end project;

[0024]S2: Build a code specification library;

[0025]S3: Detect different types of codes according to the configuration, and configure the code detection level for the running code in the front-end project according to the preset detection level;

[0026]S4: Recall the specified code detection level, test the specified code detection level and the correspondin...

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 front-end code quality detection, in particular to a front-end code quality detection method. The method comprises the following steps: S1, injecting a code detection program package into a front-end project; S2, constructing a code specification library; S3, detecting different types of codes according to configuration; S4, calling a specified code detectionlevel, detecting the specified code detection level and the corresponding running code, presetting a detection parameter in each code detection level, and detecting whether the corresponding running code conforms to the detection parameter or not; and S5, feeding back the operation codes which do not accord with the detection parameters to developers, so that the developers can discover problems immediately and conveniently. According to the front-end code quality detection method, systematic quality detection is conducted on running codes compiled by developers, and the problems that in a front-end project, the styles of the running codes are not unified, the running codes are disordered, maintenance and extension are not facilitated, and low-level errors are prone to occurring are solved.

Description

Technical field[0001]The invention relates to the field of front-end code quality detection, in particular to a front-end code quality detection method.Background technique[0002]With the rapid development of the Internet industry, various front-end frameworks are updated rapidly, and front-end engineers are required to continuously learn to better keep up with the front-end development trend. Although the front-end code needs to use more technologies, HTML, CSS, and JavaScript are still the most basic front-end programming languages. They all have similar standard styles and different standard requirements. The maintenance and development personnel of each project are also Different, so there are different code writing styles. The existing detection of front-end code is usually done with detection tools that match the type of front-end code. Because the detection tools are not universal, the readability of the code is low and the maintenance cost is high. .[0003]In view of this, a f...

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/36G06F8/71
CPCG06F11/3688G06F8/71
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