dart-lang / wasm
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 21 files with 2,853 lines of code.
    • 0 very long files (0 lines of code)
    • 1 long files (885 lines of code)
    • 4 medium size files (1,467 lines of codeclsfd_ftr_w_mp_ins)
    • 2 small files (222 lines of code)
    • 14 very small files (279 lines of code)
0% | 31% | 51% | 7% | 9%
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
dart0% | 43% | 37% | 10% | 7%
t0% | 0% | 97% | 0% | 2%
py0% | 0% | 100% | 0% | 0%
yaml0% | 0% | 0% | 0% | 100%
kt0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
wasm/lib/src0% | 46% | 40% | 11% | 1%
wasm/tool0% | 0% | 98% | 0% | 1%
wasm/example0% | 0% | 0% | 0% | 100%
flutter_wasm/example/lib0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
flutter_wasm0% | 0% | 0% | 0% | 100%
flutter_wasm/example0% | 0% | 0% | 0% | 100%
wasm0% | 0% | 0% | 0% | 100%
flutter_wasm/android/src0% | 0% | 0% | 0% | 100%
flutter_wasm/example/android0% | 0% | 0% | 0% | 100%
wasm/lib0% | 0% | 0% | 0% | 100%
flutter_wasm/lib0% | 0% | 0% | 0% | 100%
Longest Files (Top 21)
File# lines# units
runtime.g.dart
in wasm/lib/src
885 28
wasmer_api.g.dart
in wasm/lib/src
444 -
t
runtime_template.dart.t
in wasm/tool
364 -
generate_ffi_boilerplate.py
in wasm/tool
331 25
module.dart
in wasm/lib/src
328 14
wasmer_api.dart
in wasm/lib/src
119 4
runtime.dart
in wasm/lib/src
103 6
brotli.dart
in wasm/example
83 1
main.dart
in flutter_wasm/example/lib
41 4
analysis_options.yaml
in root
38 -
pubspec.yaml
in flutter_wasm
28 -
pubspec.yaml
in flutter_wasm/example
25 -
shared.dart
in wasm/lib/src
22 2
pubspec.yaml
in wasm
13 -
t
wasmer_api_template.dart.t
in wasm/tool
7 -
FlutterWasmPlugin.kt
in flutter_wasm/android/src/main/kotlin/dev/dart/flutter_wasm
7 2
wasm_error.dart
in wasm/lib/src
6 -
MainActivity.kt
in flutter_wasm/example/android/app/src/main/kotlin/com/example/flutter_wasm_example
4 -
wasm.dart
in wasm/lib
2 -
t
module.def.t
in wasm/tool
2 -
flutter_wasm.dart
in flutter_wasm/lib
1 -
Files With Most Units (Top 9)
File# lines# units
runtime.g.dart
in wasm/lib/src
885 28
generate_ffi_boilerplate.py
in wasm/tool
331 25
module.dart
in wasm/lib/src
328 14
runtime.dart
in wasm/lib/src
103 6
wasmer_api.dart
in wasm/lib/src
119 4
main.dart
in flutter_wasm/example/lib
41 4
shared.dart
in wasm/lib/src
22 2
FlutterWasmPlugin.kt
in flutter_wasm/android/src/main/kotlin/dev/dart/flutter_wasm
7 2
brotli.dart
in wasm/example
83 1
Files With Long Lines (Top 1)

There is only one file with lines longer than 120 characters. In total, there are 4 long lines.

File# lines# units# long lines
generate_ffi_boilerplate.py
in wasm/tool
331 25 4