dart-lang / shelf
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 23 files with 1,192 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 0 medium size files (0 lines of codeclsfd_ftr_w_mp_ins)
    • 4 small files (633 lines of code)
    • 19 very small files (559 lines of code)
0% | 0% | 0% | 53% | 46%
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% | 0% | 0% | 55% | 44%
yaml0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
lib/src0% | 0% | 0% | 52% | 47%
lib0% | 0% | 0% | 93% | 6%
lib/src/middleware0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
example0% | 0% | 0% | 0% | 100%
Longest Files (Top 23)
File# lines# units
request.dart
in lib/src
186 6
shelf_io.dart
in lib
170 7
response.dart
in lib/src
161 3
message.dart
in lib/src
116 3
util.dart
in lib/src
98 7
body.dart
in lib/src
55 2
logger.dart
in lib/src/middleware
53 5
server_handler.dart
in lib/src
44 3
shelf_unmodifiable_map.dart
in lib/src
41 3
cascade.dart
in lib/src
41 1
io_server.dart
in lib/src
38 2
analysis_options.yaml
in root
33 -
middleware.dart
in lib/src
30 1
headers.dart
in lib/src
26 -
pubspec.yaml
in root
18 -
add_chunked_encoding.dart
in lib/src/middleware
17 -
pipeline.dart
in lib/src
16 -
shelf.dart
in lib
12 -
example.dart
in example
11 1
hijack_exception.dart
in lib/src
8 -
server.dart
in lib/src
7 -
middleware_extensions.dart
in lib/src
7 -
handler.dart
in lib/src
4 -
Files With Most Units (Top 13)
File# lines# units
util.dart
in lib/src
98 7
shelf_io.dart
in lib
170 7
request.dart
in lib/src
186 6
logger.dart
in lib/src/middleware
53 5
shelf_unmodifiable_map.dart
in lib/src
41 3
server_handler.dart
in lib/src
44 3
response.dart
in lib/src
161 3
message.dart
in lib/src
116 3
io_server.dart
in lib/src
38 2
body.dart
in lib/src
55 2
cascade.dart
in lib/src
41 1
middleware.dart
in lib/src
30 1
example.dart
in example
11 1
Files With Long Lines (Top 0)

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

File# lines# units# long lines