主权项 |
1. A method for quantifying a quality of software logging, said method comprising:
under control of one or more computer systems configured with executable instructions,
determining a logging behavior value for each method of a plurality of methods in source code of a software program, the logging behavior value quantifying a logging behavior of said each method;selecting a first method from the plurality of methods that is identified as exhibiting an ideal logging behavior;determining, for each method other than the first method, a root mean square deviation (RMSD) between the logging behavior value of said each method and the logging behavior value of the first method; andcomputing an overall log quality score for the software program based at least in part on the RMSD of said each method in the plurality of methods. |