C#: Autoformat QL files

This commit is contained in:
Tom Hvitved
2019-01-11 09:28:31 +01:00
parent 28261d6787
commit 390ebc96ae
37 changed files with 143 additions and 181 deletions

View File

@@ -17,5 +17,5 @@ where
total = f.getNumberOfLinesOfCode() + f.getNumberOfLinesOfComments() and
if total = 0
then ratio = 0.0
else ratio = 100.0 * (f.getNumberOfLinesOfComments().(float)) / (total.(float))
else ratio = 100.0 * f.getNumberOfLinesOfComments().(float) / total.(float)
select f, ratio order by ratio desc