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
CN110618931APending Publication Date: 2019-12-27重庆金融资产交易所有限责任公司

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
重庆金融资产交易所有限责任公司
Publication Date
2019-12-27

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

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.
Need to check novelty before this filing date? Find Prior Art

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