Method and device for obtaining third-party component information of open source project

A component information, third-party technology, applied in the direction of program control device, software maintenance/management, program code conversion, etc., can solve the problems of strong dependence and insufficient third-party component information processing methods, so as to achieve low dependence. Effect
CN112363758AInactive Publication Date: 2021-02-12SECZONE TECH CO LTD

Patent Information

Authority / Receiving Office
CN Β· China
Current Assignee / Owner
SECZONE TECH CO LTD
Publication Date
2021-02-12
Estimated Expiration
Not applicable Β· inactive patent

Smart Images

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

Abstract

The invention provides a method and device for obtaining third-party component information of an open source project, and the method comprises the steps: obtaining a composer.json file provided by theopen source project, and compiling a third-party component according to the composer.json file; detecting a compiling result of the third-party component; if the compilation succeeds, generating a composer.lock file, and analyzing the composer.lock file to obtain corresponding third-party component information; and if the compilation fails, analyzing the composer.json file to obtain correspondingthird-party component information. The processing method for acquiring the third-party component information is more comprehensive, and the dependence on a network environment and a composer plug-ininstallation environment is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The present invention relates to the field of computer information acquisition, in particular to a method and device for acquiring third-party component information of open source projects. Background technique

[0002] With the wide application of open source projects, more and more open source projects need to analyze their source code and the third-party components they need to reference. By analyzing the third-party components, it is possible to accurately locate some deficiencies in the components and fix them, thereby repairing the deficiencies of the project.

[0003] At present, the main tool for obtaining third-party components is composer, but the traditional composer analysis method is highly dependent on the network environment and composer plug-in installation environment, and the processing method for obtaining third-party component information is not comprehensive enough. Contents of the invention

[0004] Aiming at the deficiencies o...

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