mirror of
https://github.com/github/codeql.git
synced 2025-12-24 04:36:35 +01:00
C#: Autoformat QL files
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user