The invention discloses a micro-service-based static code full-link
graphical display method, and relates to static code analysis, and the method comprises the following steps: 1, extracting a
Jar packet of a micro-service, carrying out Hash
verification, configuring a JQAssistance tool to carry out rule scanning, and storing to a Neo4j
database; according to the method, the micro-services are optimized, the corresponding
Jar packages are extracted, the micro-services are effectively managed and deployed, the integrity of the
Jar packages is ensured through file hash
verification, safety and reliability are improved, a JQAssistance tool is configured for scanning, code quality is improved, later-stage maintenance complexity is reduced, a
graph database such as Neo4j is built, the dependency relationship between the micro-services is visually displayed, and the method has the advantages of being high in practicability and the like. Invalid and isolated dependencies can be identified by executing dependency query, calling identifiers are defined, dependency mapping is generated, a visual model displays interfaces and functions of micro-services,
correctness of node relationships is verified through Cypher query, an interactive filtering function and dynamic full-
link diagram display are provided, and information
readability and
system flexibility are improved.