Is there a tool or snippet that produces the following output in some form:
lines_of_code = 98
lines_of_comments = 24
lines_of_documentation = 11
NOTE 1: I will then try to feed this data to Jenkins to graph.
NOTE 2: I am aware that CLOC counts comments but I would like to separately count comments and docstrings.