Unlock instant, AI-driven research and patent intelligence for your innovation.

Useless code cleaning method and device, equipment and storage medium

A cleaning method and code technology, applied in the field of artificial intelligence, can solve problems such as low operation efficiency and large application installation package engineering.

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

AI Technical Summary

Problems solved by technology

[0004] The main purpose of the present invention is to provide a useless code cleaning method, equipment, storage medium and device, aiming to solve the technical problem in the prior art that the application program installation package is large and the operation efficiency is low

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
  • Useless code cleaning method and device, equipment and storage medium
  • Useless code cleaning method and device, equipment and storage medium
  • Useless code cleaning method and device, equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0041] It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0042] refer to figure 1 , figure 1 It is a schematic diagram of the structure of the useless code cleaning device of the hardware operating environment involved in the solution of the embodiment of the present invention.

[0043] Such as figure 1 As shown, the useless code cleaning device may include: a processor 1001 , such as a central processing unit (Central Processing Unit, CPU), a communication bus 1002 , a user interface 1003 , a network interface 1004 , and a memory 1005 . Wherein, the communication bus 1002 is used to realize connection and communication between these components. The user interface 1003 may include a display screen (Display). The optional user interface 1003 may also include a standard wired interface and a wireless interface. The wired interface of the user interface 1003 may be a USB in...

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 useless code cleaning method and device, equipment and a storage medium. The method comprises the steps: obtaining a source code of a target application program, analyzing the source code, and obtaining a trunk code and a plug-in code; setting an instrumentation function at the function entry of the trunk code and the function entry of the plug-in code to obtain an instrumented code; executing a preset automatic test case, and obtaining a coverage rate report of the source code through the instrumented code; screening the target unexecuted codes in the coverage rate report by utilizing the target unexecuted duration in the coverage rate report to obtain target useless codes; and deleting the target useless code from the source code. Based on research and development management, target useless codes in source codes are screened out through target unexecuted codes in a coverage rate report of the source codes and corresponding target unexecuted duration, and theuseless codes are removed, so that the codes are checked clearly, the development efficiency is improved, the size of an installation package of a target application program is reduced, and the operation efficiency is improved.

Description

technical field [0001] The present invention relates to the technical field of artificial intelligence, in particular to a method, equipment, storage medium and device for cleaning useless codes. Background technique [0002] At present, due to the version update of the application program, the functional requirements are constantly changing and optimized, the user interface (UserInterface, abbreviated UI) style is constantly changing, and some old styles are deprecated, resulting in a bunch of unused applications in the application development project. However, the garbage resources that still exist have caused the problem of large application installation package projects. The larger the application installation package project, the more traffic they will consume during the download and installation process, and the longer the installation waiting time will be. For the product itself, it means that the download conversion rate will be lower. [0003] The above content is ...

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/41G06F11/36
CPCG06F8/4435G06F11/3676G06F11/3684G06F11/3688
Inventor 杨小彦
Owner PINGAN PUHUI ENTERPRISE MANAGEMENT CO LTD