Dependency relationship detection method and device, computer device and readable storage medium

A technology of dependencies and detection methods, applied in computing, error detection/correction, software testing/debugging, etc., can solve problems such as lack of unified management, inability to automatically count dependencies, cross-platform, cross-language operations, and cumbersome operation steps. , to achieve the effect of simple detection process, safe and controllable development process, and reduced workload

Pending Publication Date: 2019-12-27
重庆金融资产交易所有限责任公司
View PDF10 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the above methods all have the disadvantages of cumbersome operation steps, lack of unified management, inability to automatically count dependencies, and inability to perform cross-platform and cross-language operations

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
  • Dependency relationship detection method and device, computer device and readable storage medium
  • Dependency relationship detection method and device, computer device and readable storage medium
  • Dependency relationship detection method and device, computer device and readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

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

[0045] 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 only part of the embodiments of the present invention, 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.

[0046]It should be noted that all directional indications (such as up, down, left, right, front, back...) in the embodiments of the present invention are only used to explain the relationship between the components in a certain posture (as shown in the accompanying drawings). If the specific ...

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 dependency relationship detection method and device, a computer device and a readable storage medium. The dependency relationship detection method comprises the following steps: scanning a disk file to obtain all internal dependency relationships in a Java project; and then, when or after the import statement is scanned to obtain all the dependency relationships, eliminating all the internal dependency relationships to obtain all the external dependency relationships in the Java project, and outputting all the external dependency relationships in a tree structure form.The whole project external dependency detection process is very simple and convenient. In addition, the complete elimination of the dependency relationship in the project is ensured during the detection, and a user can completely master all external dependence relationships of the Java project, so that the workload of manual code review is reduced, the working efficiency is improved. Meanwhile, atool for safety assessment is provided for a safety department, unstable factors can be found in time, and the whole software project is safer and more controllable in the development process.

Description

technical field [0001] The present invention relates to the field of code management, in particular to a dependency detection method, device, computer equipment and readable storage medium. Background technique [0002] At present, there is no solution or product on the market that automatically counts the dependencies of software projects. Generally, operators need to manually click or search step by step to determine the dependencies in the referenced projects. For example, in a Java project built through Maven or Gradle, you can generally search by command name, dependencies execution tool, or search in the official warehouse server. Another example is that in a project built with the Go language, the package management tool glide can be used to scan the code for dependencies, and then analyze and find the existing dependencies under the vendor mechanism. However, the above methods all have the shortcomings of cumbersome operation steps, lack of unified management, inabi...

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): G06F11/36
CPCG06F11/3604G06F11/3688
Inventor 董国超
Owner 重庆金融资产交易所有限责任公司
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