1

是否有以某种形式产生以下输出的工具或片段:

lines_of_code = 98
lines_of_comments = 24
lines_of_documentation = 11

注意 1:然后我将尝试将此数据提供给Jenkins以绘制图表。

注意 2:我知道CLOC计算评论,但我想分别计算评论和文档字符串。

4

1 回答 1

3

看看 PyLint:http ://www.logilab.org/857

于 2011-04-08T04:04:51.810 回答