Multi-module project source code separation method and device

A separation method and multi-module technology, applied in the computer field, can solve the problems of excessive time consumption, exposure, and rising manpower investment, and achieve the effect of low investment and maintenance costs

Pending Publication Date: 2022-06-07
WUHAN ANTIY MOBILE SECURITY
View PDF0 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Public modules contain a large amount of public code, and only a part of it is used by a single system. If the unused code is also included in the source code of a single system, the unused code and the comments in the code will expose some unnecessary information , which will also cause the volume of the delivered source code to be bloated
[0005] At this time, it often takes a lot of manpower to do m

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
  • Multi-module project source code separation method and device
  • Multi-module project source code separation method and device
  • Multi-module project source code separation method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0042] In order to make the purposes, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly described below with reference to the drawings in the embodiments of the present invention. Obviously, the described embodiments are the Some, but not all, embodiments are disclosed. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

[0043] figure 1 This is a schematic flowchart of a method for separating source code of a multi-module project according to an embodiment of the present invention, and its general application scenarios include but are not limited to: software project A and software project B exist. Both A and B use the common module C. At the same time, project B can be regarded as a secondary deve...

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 embodiment of the invention provides a multi-module project source code separation method and equipment. The method comprises the steps of obtaining a source code file set related to a target project, wherein the source code file set is developed based on a multi-module framework; based on the source code file set, identifying a source code file actually used by the target project and judging a redundant file; and deleting the redundant file from the source code file set so as to separate the source code of the target project. By means of the method, convenience brought by module development can be enjoyed, the target source code with the complete function can be conveniently separated from a large-size multi-module project, and the input and maintenance cost is low when the source code is separated.

Description

technical field [0001] Embodiments of the present invention relate to the field of computer technology, and in particular, to a method and device for separating source code of a multi-module project. Background technique [0002] At present, both companies and individual developers basically use a modular approach to develop projects. This development method has many advantages: clear division of labor, which can be developed collaboratively; single responsibility, which can reduce code coupling; code reuse, which can reduce duplication of code. [0003] The public modules in modular development are a collection of a large number of public methods. These public methods have a single responsibility and a clear division of labor, just like the basic building blocks in building blocks, which are used frequently and in large numbers. The difference between public methods and public building blocks is that as many building blocks need to be produced as the public building blocks...

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): G06F8/74
CPCG06F8/74
Inventor 潘宣辰汪磊关杰文
Owner WUHAN ANTIY MOBILE SECURITY
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