Supercharge Your Innovation With Domain-Expert AI Agents!

Web project code optimization method

A code optimization and project technology, applied in code compilation, program code conversion, creation/generation of source code, etc., can solve problems such as irregular code functions, irregular codes of large-scale web projects, and inconsistent code styles, so as to improve development effect of ability

Pending Publication Date: 2021-11-26
四川启睿克科技有限公司
View PDF8 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The present invention provides a web project code optimization method to solve the problems of non-standard codes and inconsistent code styles in large-scale web projects in the prior art. The essence of the problem is that multiple people developing web projects can only ensure that the code has no BUG and can run normally , but the code function submitted in the end will have many irregularities, and there are many code styles

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
  • Web project code optimization method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0017] In order to make the purpose, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings, but the embodiments of the present invention are not limited thereto.

[0018] The invention scans the project structure, deletes redundant codes, optimizes the code structure, adjusts the code style, generates concise and standardized web projects, records the optimization results, and is convenient for viewing at any time. In order to achieve the above object, the present invention provides a web project code optimization method, see figure 1 , which includes the following steps:

[0019] S1: Scan the entire web project and delete methods that are not referenced.

[0020] Exemplarily, in this embodiment, there is a w project, in which there are content.java and business.java classes, and there are both a and b methods in the two classes. The specific implementat...

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 web project code optimization method, which comprises the following steps of scanning a whole web project, and deleting a method which is not quoted; counting codes in the project, and recording paths of related code files; scanning related codes one by one according to the recorded path, and deleting packets and objects which are not quoted and used; optimizing a code structure; compiling a web project, and ensuring normal operation of the project after code optimization; and generating an optimization file, and recording a code path and comparison before and after modification in the code path. According to the method, the project structure is analyzed by scanning the web project, redundant codes are deleted, the unified style of code typesetting is adjusted, and the optimization result is recorded. Compared with the prior art, a project manager does not need to check whether codes submitted by research and development personnel are standard or not, and all people can check whether own codes meet the standard or not by checking optimization records, so that own development capability is improved.

Description

technical field [0001] The invention relates to the technical field of software, in particular to a method for optimizing web project codes. Background technique [0002] At present, web projects require multiple R&D personnel to jointly develop and maintain. Due to the different working years of the R&D personnel, the working environment is different, and the development code style is different. As a result, the final web project will have multiple code styles, and the same functional logic will have multiple development logics, making it very difficult for developers to maintain other people's code modules. Contents of the invention [0003] The present invention provides a web project code optimization method to solve the problems of irregular codes and inconsistent code styles in large-scale web projects in the prior art. The essence of the problem is that multiple people developing web projects can only ensure that the code has no BUG and can run normally , but the 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): G06F8/30G06F8/41
CPCG06F8/315G06F8/443
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