Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
是否有以某种形式产生以下输出的工具或片段:
lines_of_code = 98 lines_of_comments = 24 lines_of_documentation = 11
注意 1:然后我将尝试将此数据提供给Jenkins以绘制图表。
注意 2:我知道CLOC计算评论,但我想分别计算评论和文档字符串。
看看 PyLint:http ://www.logilab.org/857