/** * @name Lines of comments in files * @description Files with few lines of comment might not have sufficient documentation to make them understandable. * @kind treemap * @treemap.warnOn lowValues * @metricType file * @metricAggregate avg sum max * @id cs/lines-of-comments-in-files * @tags maintainability * documentation */ import csharp from SourceFile f select f, f.getNumberOfLinesOfComments() as n order by n desc