Code quality analysis method and device, storage medium and electronic equipment

A code quality and analysis method technology, applied in the field of computer-readable storage media and electronic equipment, code quality analysis methods and devices, can solve problems such as analysis errors, negligence, and increase in program failure to run successfully, so as to reduce negligence and accurately analyze Effect

Pending Publication Date: 2019-06-11
PINGAN PUHUI ENTERPRISE MANAGEMENT CO LTD
View PDF0 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Frequent changes to analysis rules and quality specifications are likely to cause human negligence, or analysis errors caused by failure to change analysis rules and quality specifications in time, which will eventually greatly increase the possibility that the program cannot run successfully

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 quality analysis method and device, storage medium and electronic equipment
  • Code quality analysis method and device, storage medium and electronic equipment
  • Code quality analysis method and device, storage medium and electronic equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0033]Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments may, however, be embodied in many forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete and will fully convey the concept of example embodiments to those skilled in the art.

[0034] Furthermore, the described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided in order to give a thorough understanding of embodiments of the present disclosure. However, those skilled in the art will appreciate that the technical solutions of the present disclosure may be practiced without one or more of the specific details, or other methods, components, means, steps, etc. may be employed. In other instances, well-known methods, app...

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 technical field of code research and development management, and provides a code quality analysis method and device, a medium and electronic equipment, and the method comprises the steps: obtaining a code file of a to-be-analyzed project, and determining a programming language used by the code file; calling a target analysis rule corresponding to the programming language, and analyzing the code file to obtain attribute data of the code file; and calling a target quality standard corresponding to the programming language, and comparing the attribute data of the codefile with the quality standard to obtain a quality analysis result of the code file. According to the method, the analysis rule and the quality standard matched with the code file of the to-be-analyzed project can be selected, so that more accurate analysis is realized; And meanwhile, the analysis rule and the quality specification are synchronized with the change of the programming language in acalling manner, so that the possibility that the program cannot run successfully due to human negligence caused by frequent change of the analysis rule and the quality specification or analysis errors caused by untimely change of the analysis rule and the quality specification is reduced.

Description

technical field [0001] The present disclosure relates to the technical field of code research and development management, in particular, to a code quality analysis method and device, a computer-readable storage medium, and electronic equipment. Background technique [0002] With the development of network technology, more and more products and technologies need to be controlled by the programs installed on them. Therefore, the research and development, design and quality analysis of programs have become particularly important, especially the quality analysis of programs. is an important factor in determining whether a program will run successfully. As we all know, a program is composed of a series of codes, so the analysis of code quality is becoming more and more important. Currently, when a program is developed, code quality analysis rules are provided to the developer. However, in the development process, when the programming language used is different or the code quali...

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/36G06N20/00
Inventor 林泽全
Owner PINGAN PUHUI ENTERPRISE MANAGEMENT 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