This invention relates to the field of R&D management technology, and discloses a method, apparatus, device, and medium for generating a project file
volume visualization report. The method includes: responding to a statistical command and determining the target
root directory; performing a recursive traversal to obtain files and folders, and filtering valid file paths; reading file attributes to generate
metadata, including file path,
byte volume value, and last modified
timestamp; converting the volume value into characters and the
timestamp into standard date and time characters to generate updated
metadata information; sorting according to the
byte volume value to generate a sequence; and extracting the file path, volume characters, and time characters to generate an analysis report file. This invention can be applied to business scenarios such as fintech, helping users intuitively display project file resources through efficient file filtering and information display, thereby improving management and maintenance efficiency.