Patent attributes
A system and method of generating a reuse metric starts with a processor receiving from a client device, a program comprising modules. Processor extracts the modules from the program and generates frequency tables associated with the modules. Frequency tables includes numbers of imports associated with the modules, and import ratios associated with the modules. Processor generates, based on the frequency tables, a histogram of the modules and the import ratios. Processor generates key statistical measures based on the import ratios and the histogram. Generating the key statistical measures comprises determining histogram weights, determining a Pareto fit of the histogram, and generating a reuse metric based on the Pareto fit and a Kurtosis of the histogram weights. Processor causes the client device to display the reuse metric and the histogram. Other embodiments are disclosed herein.