发明名称 MEASURING THE LOGGING QUALITY OF A COMPUTER PROGRAM
摘要 Techniques are described for measuring or quantifying the logging behavior in the source code of a computer program. In particular, the techniques select a method identified as exhibiting the ideal logging behavior in a computer program and then compute the overall logging quality score for the entire computer program based on the deviation in logging behaviors between the selected method and all other methods in the source code of the project. This overall logging quality score can be compared to various benchmarks of existing projects with high logging quality. If the software logging quality is found to be low, various steps can be taken by the developers to improve the logging before the software release.
申请公布号 US2015378869(A1) 申请公布日期 2015.12.31
申请号 US201414458272 申请日期 2014.08.13
申请人 VMWARE, INC. 发明人 BALACHANDRAN VIPIN
分类号 G06F11/36 主分类号 G06F11/36
代理机构 代理人
主权项 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.
地址 Palo Alto CA US