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

A code coupling detection method, device, terminal device and storage medium

A detection method and code technology, applied in the computer field, can solve problems such as poor applicability, difficulty in code coupling and positioning, and low accuracy of detection results, so as to achieve the effect of improving applicability

Active Publication Date: 2021-01-22
WUBA
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Embodiments of the present invention provide a code coupling detection method, device, terminal equipment, and storage medium to solve the problems of poor applicability of existing code coupling detection schemes, difficulty in code coupling positioning, and low accuracy of detection results

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
  • A code coupling detection method, device, terminal device and storage medium
  • A code coupling detection method, device, terminal device and storage medium
  • A code coupling detection method, device, terminal device and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0069] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0070] refer to figure 1 , shows a flowchart of steps of a code coupling detection method in an embodiment of the present invention.

[0071] Step 110, scan each file in the middleware to be detected, and obtain each reference header file in the middleware, and the reference form of the reference header file in the middleware.

[0072] The middleware in the embodiment of the present invention includes the basic components under the business in the 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 provides a code coupling detection method and device, terminal equipment and a storage medium. The code coupling detection method comprises the steps of scanning each file in middlewareto be detected, and obtaining each reference header file in the middleware and a reference form of a reference header file in the middleware; according to the reference form of the middleware for thereference header file, detecting whether the reference header file is other engineering files or not, and the other engineering files are files except for the header file in the middleware, a system library on which the middleware depends in a non-coupling state and a three-party library; and in response to the fact that at least one reference header file is the other engineering file, confirmingthat code coupling exists in the middleware. The technical problems that an existing code coupling detection scheme is not high in applicability, code coupling positioning is difficult, and the accuracy of a detection result is not high are solved. The beneficial effects of improving the applicability of code coupling detection, the code coupling detection result and the accuracy of code couplingpositioning are achieved.

Description

technical field [0001] The present invention relates to the field of computer technology, in particular to a code coupling detection method, device, terminal equipment and storage medium. Background technique [0002] In order to allow some basic services to be reused among multiple APPs (Applications, application programs), these basic services can be made into several middleware. Among them, middleware refers to the basic components that are located below the business in the APP architecture and provide services for the business, and have nothing to do with specific businesses, such as network services, routing services, and cache services. However, in the middleware maintenance process, due to the large number of teams, even if permission control is performed, it is inevitable that some developers will directly quote other engineering codes in the middleware without decoupling for convenience, so that although the entire APP Function and compilation will not be affected,...

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 Patents(China)
IPC IPC(8): G06F11/36G06F9/445
CPCG06F9/44526G06F11/3688
Inventor 曾庆隆彭飞邓竹立
Owner WUBA