The invention provides a program complexity
analysis method and device, equipment, a storage medium and a program product, and relates to the field of financial science and technology or other related fields, and the method comprises the steps: generating a
call tree of a to-be-analyzed program based on a call relationship among a plurality of call programs in the to-be-analyzed program, when any two calling programs in the multiple calling programs have a calling relationship, the first calling program is a father node of a second calling program having the calling relationship, and the second calling program is a child node of the first calling program; determining a plurality of leaf nodes and root nodes in the
call tree, and determining the total complexity of the root nodes on the basis of a set membership between the plurality of leaf nodes and the root nodes; and taking the total complexity of the root nodes as the program complexity of the program to be analyzed. According to the method provided by the invention, the total complexity of the root nodes is determined by utilizing the father-son relationship between the leaf nodes and the root nodes in the
call tree, and finally, the total complexity of the root nodes can reflect the overall complexity of the full call chain.