azure / azapi-lsp
File Size

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

Intro
Learn more...
File Size Overall
14% | 7% | 21% | 23% | 33%
Legend:
1001+
501-1000
201-500
101-200
1-100


explore: grouped by folders | grouped by size | sunburst | 3D view
File Size per Extension
1001+
501-1000
201-500
101-200
1-100
go14% | 7% | 21% | 23% | 33%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
internal14% | 7% | 21% | 23% | 32%
ROOT0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
protocol.go
in internal/protocol
1472 -
init.go
in internal/langserver/handlers/tfschema
812 1
hcl_node.go
in internal/parser
394 10
aztfmigrate_command.go
in internal/langserver/handlers/command
355 3
validate.go
in internal/langserver/handlers/validate
329 13
body_candidates.go
in internal/langserver/handlers/tfschema
269 9
service.go
in internal/langserver/handlers
226 9
resource_json_converter.go
in internal/langserver/handlers/command
225 7
schema.go
in internal/langserver/schema
219 5
filesystem.go
in internal/filesystem
211 13
hover.go
in internal/langserver/handlers/hover
182 4
index.go
in internal/azure
182 6
object_type.go
in internal/azure/types
178 8
resource_type.go
in internal/azure/types
174 8
arm_template_converter.go
in internal/langserver/handlers/command
171 5
candidates.go
in internal/langserver/handlers/tfschema
158 10
langserver.go
in internal/langserver
149 14
schema.go
in internal/azure/types
141 1
serve_command.go
in internal/cmd
141 6
snippets_gen.go
in internal/langserver/handlers/snippets
134 3
token_types.go
in internal/lsp
126 8
token_encoder.go
in internal/lsp
118 4
snippets.go
in internal/langserver/handlers/snippets
116 3
discriminated_object_type.go
in internal/azure/types
110 3
loader.go
in internal/azure
106 6
symbols.go
in internal/lsp
103 6
code_action.go
in internal/langserver/handlers
102 2
completion_command.go
in internal/cmd
101 4
session.go
in internal/langserver/session
100 13
telemetry.go
in internal/telemetry
95 5
arm_template_expression.go
in internal/langserver/handlers/command
93 2
initialize.go
in internal/langserver/handlers
88 -
context.go
in internal/context
84 14
diagnostics.go
in internal/langserver/diagnostics
83 6
logging.go
in internal/logging
82 8
complete.go
in internal/langserver/handlers/complete
82 2
filesystem_metadata.go
in internal/filesystem
82 8
cmd_args.go
in internal/langserver/handlers/command
74 4
error.go
in internal/utils
72 9
templates.go
in internal/langserver/handlers/snippets
71 1
file_handler.go
in internal/lsp
71 13
version_command.go
in internal/cmd
67 4
convert_json_command.go
in internal/langserver/handlers/command
65 1
const.go
in internal/langserver/handlers/tfschema
64 1
array_type.go
in internal/azure/types
64 3
hcl.go
in internal/parser
61 5
source.go
in internal/source
59 5
document.go
in internal/filesystem
59 10
file.go
in internal/lsp
58 10
property_set.go
in internal/langserver/schema
56 1
Files With Most Units (Top 50)
File# lines# units
context.go
in internal/context
84 14
langserver.go
in internal/langserver
149 14
validate.go
in internal/langserver/handlers/validate
329 13
session.go
in internal/langserver/session
100 13
file_handler.go
in internal/lsp
71 13
filesystem.go
in internal/filesystem
211 13
candidates.go
in internal/langserver/handlers/tfschema
158 10
hcl_node.go
in internal/parser
394 10
file.go
in internal/lsp
58 10
document.go
in internal/filesystem
59 10
error.go
in internal/utils
72 9
service.go
in internal/langserver/handlers
226 9
body_candidates.go
in internal/langserver/handlers/tfschema
269 9
logging.go
in internal/logging
82 8
resource_type.go
in internal/azure/types
174 8
object_type.go
in internal/azure/types
178 8
token_types.go
in internal/lsp
126 8
filesystem_metadata.go
in internal/filesystem
82 8
utils.go
in internal/utils
23 7
resource_json_converter.go
in internal/langserver/handlers/command
225 7
position.go
in internal/lsp
45 7
document_metadata.go
in internal/filesystem
51 7
diagnostics.go
in internal/langserver/diagnostics
83 6
loader.go
in internal/azure
106 6
index.go
in internal/azure
182 6
symbols.go
in internal/lsp
103 6
serve_command.go
in internal/cmd
141 6
arm_template_converter.go
in internal/langserver/handlers/command
171 5
schema.go
in internal/langserver/schema
219 5
errors.go
in internal/langserver/session
41 5
telemetry.go
in internal/telemetry
95 5
hcl.go
in internal/parser
61 5
source.go
in internal/source
59 5
cmd_args.go
in internal/langserver/handlers/command
74 4
hover.go
in internal/langserver/handlers/hover
182 4
uri.go
in internal/uri
37 4
schema.go
in internal/parser
45 4
token_encoder.go
in internal/lsp
118 4
file_change.go
in internal/lsp
29 4
errors.go
in internal/filesystem
28 4
completion_command.go
in internal/cmd
101 4
version_command.go
in internal/cmd
67 4
execute_command.go
in internal/langserver/handlers
34 3
aztfmigrate_command.go
in internal/langserver/handlers/command
355 3
snippets_gen.go
in internal/langserver/handlers/snippets
134 3
snippets.go
in internal/langserver/handlers/snippets
116 3
uri_windows.go
in internal/uri
21 3
uri_unix.go
in internal/uri
18 3
experimental.go
in internal/protocol
25 3
discriminated_object_type.go
in internal/azure/types
110 3
Files With Long Lines (Top 18)

There are 18 files with lines longer than 120 characters. In total, there are 81 long lines.

File# lines# units# long lines
init.go
in internal/langserver/handlers/tfschema
812 1 46
hover.go
in internal/langserver/handlers/hover
182 4 7
validate.go
in internal/langserver/handlers/validate
329 13 6
body_candidates.go
in internal/langserver/handlers/tfschema
269 9 3
complete.go
in internal/langserver/handlers/complete
82 2 3
resource_json_converter.go
in internal/langserver/handlers/command
225 7 2
aztfmigrate_command.go
in internal/langserver/handlers/command
355 3 2
schema.go
in internal/langserver/schema
219 5 2
error.go
in internal/utils
72 9 1
operation_candidates.go
in internal/langserver/handlers/tfschema
32 1 1
types.go
in internal/langserver/handlers/tfschema
45 2 1
arm_template_converter.go
in internal/langserver/handlers/command
171 5 1
code_action.go
in internal/langserver/handlers
102 2 1
protocol.go
in internal/protocol
1472 - 1
loader.go
in internal/azure
106 6 1
discriminated_object_type.go
in internal/azure/types
110 3 1
object_type.go
in internal/azure/types
178 8 1
version_command.go
in internal/cmd
67 4 1
Correlations

File Size vs. Commits (all time): 96 points

internal/azure/loader.go x: 9 commits (all time) y: 106 lines of code internal/langserver/handlers/command/aztfmigrate_command.go x: 9 commits (all time) y: 355 lines of code internal/langserver/handlers/tfschema/init.go x: 19 commits (all time) y: 812 lines of code internal/context/context.go x: 3 commits (all time) y: 84 lines of code internal/langserver/handlers/command/arm_template_converter.go x: 2 commits (all time) y: 171 lines of code internal/langserver/handlers/command/convert_json_command.go x: 3 commits (all time) y: 65 lines of code internal/langserver/handlers/command/resource_json_converter.go x: 2 commits (all time) y: 225 lines of code internal/langserver/handlers/command/telemetry_command.go x: 1 commits (all time) y: 25 lines of code internal/langserver/handlers/complete.go x: 2 commits (all time) y: 44 lines of code internal/langserver/handlers/execute_command.go x: 4 commits (all time) y: 34 lines of code internal/langserver/handlers/hover.go x: 3 commits (all time) y: 41 lines of code internal/langserver/handlers/hover/hover.go x: 18 commits (all time) y: 182 lines of code internal/langserver/handlers/service.go x: 5 commits (all time) y: 226 lines of code internal/langserver/handlers/snippets/snippets.go x: 3 commits (all time) y: 116 lines of code internal/langserver/handlers/snippets/templates.go x: 2 commits (all time) y: 71 lines of code internal/telemetry/noop.go x: 3 commits (all time) y: 17 lines of code internal/telemetry/telemetry.go x: 4 commits (all time) y: 95 lines of code internal/langserver/handlers/tfschema/candidates.go x: 9 commits (all time) y: 158 lines of code internal/langserver/handlers/code_action.go x: 5 commits (all time) y: 102 lines of code internal/cmd/completion_command.go x: 6 commits (all time) y: 101 lines of code internal/cmd/serve_command.go x: 4 commits (all time) y: 141 lines of code internal/cmd/version_command.go x: 1 commits (all time) y: 67 lines of code internal/langserver/handlers/command/handler.go x: 2 commits (all time) y: 8 lines of code internal/langserver/handlers/initialize.go x: 7 commits (all time) y: 88 lines of code internal/lsp/code_actions.go x: 3 commits (all time) y: 31 lines of code internal/lsp/range.go x: 3 commits (all time) y: 33 lines of code internal/lsp/token_encoder.go x: 2 commits (all time) y: 118 lines of code internal/azure/index.go x: 6 commits (all time) y: 182 lines of code internal/azure/types/array_type.go x: 5 commits (all time) y: 64 lines of code internal/azure/types/discriminated_object_type.go x: 4 commits (all time) y: 110 lines of code internal/azure/types/integer_type.go x: 2 commits (all time) y: 46 lines of code internal/azure/types/object_type.go x: 4 commits (all time) y: 178 lines of code internal/azure/types/resource_type.go x: 5 commits (all time) y: 174 lines of code internal/azure/types/string_type.go x: 2 commits (all time) y: 54 lines of code internal/langserver/handlers/command/arm_template_expression.go x: 1 commits (all time) y: 93 lines of code internal/langserver/handlers/command/cmd_args.go x: 1 commits (all time) y: 74 lines of code internal/langserver/handlers/complete/complete.go x: 10 commits (all time) y: 82 lines of code internal/parser/hcl_node.go x: 8 commits (all time) y: 394 lines of code internal/langserver/handlers/tfschema/body_candidates.go x: 9 commits (all time) y: 269 lines of code internal/langserver/handlers/validate/validate.go x: 15 commits (all time) y: 329 lines of code internal/azure/types/any_type.go x: 1 commits (all time) y: 18 lines of code internal/azure/types/resource_function_type.go x: 4 commits (all time) y: 20 lines of code internal/azure/types/schema.go x: 2 commits (all time) y: 141 lines of code internal/azure/types/string_literal_type.go x: 2 commits (all time) y: 34 lines of code internal/azure/types/type_reference.go x: 1 commits (all time) y: 32 lines of code internal/azure/types/union_type.go x: 3 commits (all time) y: 56 lines of code internal/langserver/schema/schema.go x: 7 commits (all time) y: 219 lines of code internal/utils/error.go x: 1 commits (all time) y: 72 lines of code internal/langserver/handlers/snippets/snippets_gen.go x: 2 commits (all time) y: 134 lines of code version.go x: 8 commits (all time) y: 19 lines of code internal/logging/logging.go x: 2 commits (all time) y: 82 lines of code internal/cmd/commands.go x: 1 commits (all time) y: 21 lines of code internal/filesystem/filesystem.go x: 3 commits (all time) y: 211 lines of code internal/langserver/langserver.go x: 3 commits (all time) y: 149 lines of code internal/parser/schema.go x: 3 commits (all time) y: 45 lines of code internal/filesystem/document.go x: 1 commits (all time) y: 59 lines of code internal/filesystem/document_metadata.go x: 1 commits (all time) y: 51 lines of code internal/filesystem/position.go x: 1 commits (all time) y: 44 lines of code internal/filesystem/types.go x: 1 commits (all time) y: 45 lines of code internal/langserver/handlers/did_open.go x: 1 commits (all time) y: 26 lines of code internal/langserver/handlers/did_save.go x: 1 commits (all time) y: 8 lines of code internal/langserver/schema/property_set.go x: 2 commits (all time) y: 56 lines of code internal/lsp/diagnostics.go x: 1 commits (all time) y: 37 lines of code internal/lsp/file_change.go x: 1 commits (all time) y: 29 lines of code internal/lsp/location_links.go x: 1 commits (all time) y: 40 lines of code internal/lsp/symbols.go x: 1 commits (all time) y: 103 lines of code internal/parser/hcl.go x: 2 commits (all time) y: 61 lines of code
812.0
lines of code
  min: 7.0
  average: 87.16
  25th percentile: 26.0
  median: 54.0
  75th percentile: 102.75
  max: 812.0
0 19.0
commits (all time)
min: 1.0 | average: 3.1 | 25th percentile: 1.0 | median: 2.0 | 75th percentile: 3.75 | max: 19.0

File Size vs. Contributors (all time): 96 points

internal/azure/loader.go x: 1 contributors (all time) y: 106 lines of code internal/langserver/handlers/command/aztfmigrate_command.go x: 1 contributors (all time) y: 355 lines of code internal/langserver/handlers/tfschema/init.go x: 2 contributors (all time) y: 812 lines of code internal/context/context.go x: 1 contributors (all time) y: 84 lines of code internal/langserver/handlers/command/arm_template_converter.go x: 1 contributors (all time) y: 171 lines of code internal/langserver/handlers/command/convert_json_command.go x: 1 contributors (all time) y: 65 lines of code internal/langserver/handlers/command/resource_json_converter.go x: 1 contributors (all time) y: 225 lines of code internal/langserver/handlers/command/telemetry_command.go x: 1 contributors (all time) y: 25 lines of code internal/langserver/handlers/complete.go x: 1 contributors (all time) y: 44 lines of code internal/langserver/handlers/execute_command.go x: 1 contributors (all time) y: 34 lines of code internal/langserver/handlers/hover.go x: 1 contributors (all time) y: 41 lines of code internal/langserver/handlers/hover/hover.go x: 2 contributors (all time) y: 182 lines of code internal/langserver/handlers/snippets/snippets.go x: 1 contributors (all time) y: 116 lines of code internal/langserver/handlers/snippets/templates.go x: 1 contributors (all time) y: 71 lines of code internal/telemetry/noop.go x: 1 contributors (all time) y: 17 lines of code internal/telemetry/telemetry.go x: 1 contributors (all time) y: 95 lines of code internal/langserver/handlers/tfschema/candidates.go x: 2 contributors (all time) y: 158 lines of code internal/langserver/handlers/code_action.go x: 2 contributors (all time) y: 102 lines of code internal/cmd/completion_command.go x: 1 contributors (all time) y: 101 lines of code internal/cmd/serve_command.go x: 1 contributors (all time) y: 141 lines of code internal/langserver/handlers/command/handler.go x: 1 contributors (all time) y: 8 lines of code internal/langserver/handlers/initialize.go x: 2 contributors (all time) y: 88 lines of code internal/lsp/code_actions.go x: 1 contributors (all time) y: 31 lines of code internal/azure/index.go x: 1 contributors (all time) y: 182 lines of code internal/azure/types/array_type.go x: 2 contributors (all time) y: 64 lines of code internal/azure/types/discriminated_object_type.go x: 1 contributors (all time) y: 110 lines of code internal/azure/types/integer_type.go x: 1 contributors (all time) y: 46 lines of code internal/azure/types/object_type.go x: 1 contributors (all time) y: 178 lines of code internal/azure/types/resource_type.go x: 1 contributors (all time) y: 174 lines of code internal/azure/types/string_type.go x: 1 contributors (all time) y: 54 lines of code internal/langserver/handlers/command/cmd_args.go x: 1 contributors (all time) y: 74 lines of code internal/langserver/handlers/complete/complete.go x: 2 contributors (all time) y: 82 lines of code internal/parser/hcl_node.go x: 3 contributors (all time) y: 394 lines of code internal/langserver/handlers/tfschema/body_candidates.go x: 3 contributors (all time) y: 269 lines of code internal/langserver/handlers/validate/validate.go x: 2 contributors (all time) y: 329 lines of code internal/azure/types/resource_function_type.go x: 1 contributors (all time) y: 20 lines of code internal/azure/types/union_type.go x: 1 contributors (all time) y: 56 lines of code internal/langserver/schema/schema.go x: 1 contributors (all time) y: 219 lines of code internal/langserver/handlers/snippets/snippets_gen.go x: 1 contributors (all time) y: 134 lines of code version.go x: 2 contributors (all time) y: 19 lines of code internal/logging/logging.go x: 1 contributors (all time) y: 82 lines of code internal/filesystem/filesystem.go x: 1 contributors (all time) y: 211 lines of code internal/langserver/langserver.go x: 1 contributors (all time) y: 149 lines of code internal/filesystem/document.go x: 1 contributors (all time) y: 59 lines of code internal/filesystem/document_metadata.go x: 1 contributors (all time) y: 51 lines of code internal/langserver/handlers/did_open.go x: 1 contributors (all time) y: 26 lines of code internal/lsp/diagnostics.go x: 1 contributors (all time) y: 37 lines of code internal/lsp/symbols.go x: 1 contributors (all time) y: 103 lines of code internal/parser/hcl.go x: 1 contributors (all time) y: 61 lines of code
812.0
lines of code
  min: 7.0
  average: 87.16
  25th percentile: 26.0
  median: 54.0
  75th percentile: 102.75
  max: 812.0
0 3.0
contributors (all time)
min: 1.0 | average: 1.14 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 3.0

File Size vs. Commits (30 days): 2 points

internal/azure/loader.go x: 1 commits (30d) y: 106 lines of code internal/langserver/handlers/command/aztfmigrate_command.go x: 1 commits (30d) y: 355 lines of code
355.0
lines of code
  min: 106.0
  average: 230.5
  25th percentile: 106.0
  median: 230.5
  75th percentile: 355.0
  max: 355.0
0 1.0
commits (30d)
min: 1.0 | average: 1.0 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 1.0

File Size vs. Contributors (30 days): 2 points

internal/azure/loader.go x: 1 contributors (30d) y: 106 lines of code internal/langserver/handlers/command/aztfmigrate_command.go x: 1 contributors (30d) y: 355 lines of code
355.0
lines of code
  min: 106.0
  average: 230.5
  25th percentile: 106.0
  median: 230.5
  75th percentile: 355.0
  max: 355.0
0 1.0
contributors (30d)
min: 1.0 | average: 1.0 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 1.0

File Size vs. Commits (90 days): 3 points

internal/azure/loader.go x: 1 commits (90d) y: 106 lines of code internal/langserver/handlers/command/aztfmigrate_command.go x: 1 commits (90d) y: 355 lines of code internal/langserver/handlers/tfschema/init.go x: 1 commits (90d) y: 812 lines of code
812.0
lines of code
  min: 106.0
  average: 424.33
  25th percentile: 106.0
  median: 355.0
  75th percentile: 812.0
  max: 812.0
0 1.0
commits (90d)
min: 1.0 | average: 1.0 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 1.0

File Size vs. Contributors (90 days): 3 points

internal/azure/loader.go x: 1 contributors (90d) y: 106 lines of code internal/langserver/handlers/command/aztfmigrate_command.go x: 1 contributors (90d) y: 355 lines of code internal/langserver/handlers/tfschema/init.go x: 1 contributors (90d) y: 812 lines of code
812.0
lines of code
  min: 106.0
  average: 424.33
  25th percentile: 106.0
  median: 355.0
  75th percentile: 812.0
  max: 812.0
0 1.0
contributors (90d)
min: 1.0 | average: 1.0 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 1.0