microsoft / Kusto-Query-Language
File Size

The distribution of size of files (measured in lines of code).

Intro
  • File size measurements show the distribution of size of files.
  • Files are classified in four categories based on their size (lines of code): 1-100 (very small files), 101-200 (small files), 201-500 (medium size files), 501-1000 (long files), 1001+(very long files).
  • It is a good practice to keep files small. Long files may become "bloaters", code that have increased to such gargantuan proportions that they are hard to work with.
Learn more...
File Size Overall
  • There are 174 files with 63,557 lines of code.
    • 9 very long files (37,310 lines of code)
    • 18 long files (12,097 lines of code)
    • 24 medium size files (7,364 lines of codeclsfd_ftr_w_mp_ins)
    • 21 small files (3,047 lines of code)
    • 102 very small files (3,739 lines of code)
58% | 19% | 11% | 4% | 5%
Legend:
1001+
501-1000
201-500
101-200
1-100


explore: zoomable circles | sunburst | 3D view
File Size per Extension
1001+
501-1000
201-500
101-200
1-100
cs58% | 19% | 11% | 4% | 5%
cmd0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
Kusto.Language/Syntax74% | 20% | 1% | 1% | 1%
Kusto.Language/Parser57% | 20% | 15% | 4% | 2%
Kusto.Language/Binder84% | 6% | 4% | 2% | 2%
Kusto.Language60% | 22% | 10% | 3% | 2%
Kusto.Language/Editor32% | 21% | 22% | 7% | 15%
Kusto.Language/Diagnostics0% | 84% | 0% | 15% | 0%
Kusto.Language/Symbols0% | 17% | 40% | 8% | 34%
Kusto.Language/Utils0% | 0% | 23% | 36% | 39%
Kusto.Language/Semantics0% | 0% | 0% | 57% | 42%
Kusto.Language.Bridge0% | 0% | 0% | 0% | 100%
Kusto.Language/Properties0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
GeneratedCslTree.cs
in src/Kusto.Language/Syntax/CodeGen
12142 1549
Binder.cs
in src/Kusto.Language/Binder
5206 230
QueryParser.cs
in src/Kusto.Language/Parser
4630 298
Binder_NodeBinder.cs
in src/Kusto.Language/Binder
2819 192
QueryGrammar.cs
in src/Kusto.Language/Parser
2772 7
Functions.cs
in src/Kusto.Language
2675 3
Parsers.cs
in src/Kusto.Language/Parser/Combinators
2562 200
EngineCommands.cs
in src/Kusto.Language
2267 1
KustoCompleter.cs
in src/Kusto.Language/Editor/Kusto
2237 106
KustoFormatter.cs
in src/Kusto.Language/Editor/Kusto
938 52
TokenParser.cs
in src/Kusto.Language/Parser
898 39
CommandParserFactory.cs
in src/Kusto.Language/Parser
824 35
CslTreeGenerator.cs
in src/Kusto.Language/Syntax/CodeGen
785 53
SyntaxElement.cs
in src/Kusto.Language/Syntax
781 44
KustoFacts.cs
in src/Kusto.Language/Parser
753 28
Binder_TreeBinder.cs
in src/Kusto.Language/Binder
644 40
SyntaxFacts.cs
in src/Kusto.Language/Syntax
644 6
GlobalState.cs
in src/Kusto.Language
637 43
Aggregates.cs
in src/Kusto.Language
632 5
DiagnosticFacts.cs
in src/Kusto.Language/Diagnostics
616 133
PlugIns.cs
in src/Kusto.Language
614 2
SafeScan.cs
in src/Kusto.Language/Parser/Combinators
579 29
SyntaxToken.cs
in src/Kusto.Language/Syntax
575 38
SafeParse.cs
in src/Kusto.Language/Parser/Combinators
562 30
KustoCodeService.cs
in src/Kusto.Language/Editor/Kusto
546 30
SyntaxKind.cs
in src/Kusto.Language/Syntax
537 -
Signature.cs
in src/Kusto.Language/Symbols
532 28
KustoAnalyzers.cs
in src/Kusto.Language/Editor/Kusto
453 8
Grammar.cs
in src/Kusto.Language/Parser/Grammars
413 32
Binder_ContextBuilder.cs
in src/Kusto.Language/Binder
403 42
KustoQuickInfoBuilder.cs
in src/Kusto.Language/Editor/Kusto
396 13
ParameterLayouts.cs
in src/Kusto.Language/Symbols
382 17
FunctionSymbol.cs
in src/Kusto.Language/Symbols
373 35
SyntaxParsers.cs
in src/Kusto.Language/Parser
365 28
GrammarRequirer.cs
in src/Kusto.Language/Parser/Grammars
361 17
Operators.cs
in src/Kusto.Language
322 1
QueryOperatorParameters.cs
in src/Kusto.Language
317 5
GrammarReorderer.cs
in src/Kusto.Language/Parser/Grammars
308 15
EditString.cs
in src/Kusto.Language/Utils
305 29
GrammarSimplifier.cs
in src/Kusto.Language/Parser/Grammars
296 14
CodeGenerator.cs
in src/Kusto.Language/Syntax/CodeGen
292 26
KustoCode.cs
in src/Kusto.Language
262 16
CommonCodeService.cs
in src/Kusto.Language/Editor
258 22
TextFacts.cs
in src/Kusto.Language/Parser
256 21
Describer.cs
in src/Kusto.Language/Parser/Combinators
251 34
TableSymbol.cs
in src/Kusto.Language/Symbols
244 27
GrammarWriter.cs
in src/Kusto.Language/Parser/Grammars
240 16
KustoClassifier.cs
in src/Kusto.Language/Editor/Kusto
225 12
CodeScript.cs
in src/Kusto.Language/Editor
218 12
Parameter.cs
in src/Kusto.Language/Symbols
214 9
Files With Most Units (Top 20)
File# lines# units
GeneratedCslTree.cs
in src/Kusto.Language/Syntax/CodeGen
12142 1549
QueryParser.cs
in src/Kusto.Language/Parser
4630 298
Binder.cs
in src/Kusto.Language/Binder
5206 230
Parsers.cs
in src/Kusto.Language/Parser/Combinators
2562 200
Binder_NodeBinder.cs
in src/Kusto.Language/Binder
2819 192
DiagnosticFacts.cs
in src/Kusto.Language/Diagnostics
616 133
KustoCompleter.cs
in src/Kusto.Language/Editor/Kusto
2237 106
CslTreeGenerator.cs
in src/Kusto.Language/Syntax/CodeGen
785 53
KustoFormatter.cs
in src/Kusto.Language/Editor/Kusto
938 52
SyntaxElement.cs
in src/Kusto.Language/Syntax
781 44
GlobalState.cs
in src/Kusto.Language
637 43
Binder_ContextBuilder.cs
in src/Kusto.Language/Binder
403 42
Binder_TreeBinder.cs
in src/Kusto.Language/Binder
644 40
TokenParser.cs
in src/Kusto.Language/Parser
898 39
SyntaxToken.cs
in src/Kusto.Language/Syntax
575 38
CommandParserFactory.cs
in src/Kusto.Language/Parser
824 35
FunctionSymbol.cs
in src/Kusto.Language/Symbols
373 35
Describer.cs
in src/Kusto.Language/Parser/Combinators
251 34
Grammar.cs
in src/Kusto.Language/Parser/Grammars
413 32
KustoCodeService.cs
in src/Kusto.Language/Editor/Kusto
546 30
Files With Long Lines (Top 20)

There are 72 files with lines longer than 120 characters. In total, there are 1565 long lines.

File# lines# units# long lines
GeneratedCslTree.cs
in src/Kusto.Language/Syntax/CodeGen
12142 1549 328
EngineCommands.cs
in src/Kusto.Language
2267 1 152
QueryGrammar.cs
in src/Kusto.Language/Parser
2772 7 132
Binder.cs
in src/Kusto.Language/Binder
5206 230 128
Operators.cs
in src/Kusto.Language
322 1 111
QueryParser.cs
in src/Kusto.Language/Parser
4630 298 97
Binder_NodeBinder.cs
in src/Kusto.Language/Binder
2819 192 94
Options.cs
in src/Kusto.Language
170 - 46
Parsers.cs
in src/Kusto.Language/Parser/Combinators
2562 200 40
KustoCompleter.cs
in src/Kusto.Language/Editor/Kusto
2237 106 32
SyntaxParsers.cs
in src/Kusto.Language/Parser
365 28 31
PlugIns.cs
in src/Kusto.Language
614 2 28
ParameterLayouts.cs
in src/Kusto.Language/Symbols
382 17 23
KustoCodeService.cs
in src/Kusto.Language/Editor/Kusto
546 30 20
CommandParserFactory.cs
in src/Kusto.Language/Parser
824 35 19
CslTreeGenerator.cs
in src/Kusto.Language/Syntax/CodeGen
785 53 14
QueryOperatorParameters.cs
in src/Kusto.Language
317 5 13
DiagnosticFacts.cs
in src/Kusto.Language/Diagnostics
616 133 12
KustoFormatter.cs
in src/Kusto.Language/Editor/Kusto
938 52 12
OffsetCodeService.cs
in src/Kusto.Language/Editor
194 20 12