microsoft / FishStore
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 45 files with 9,391 lines of code.
    • 1 very long files (3,145 lines of code)
    • 1 long files (788 lines of code)
    • 7 medium size files (2,470 lines of codeclsfd_ftr_w_mp_ins)
    • 13 small files (2,025 lines of code)
    • 23 very small files (963 lines of code)
33% | 8% | 26% | 21% | 10%
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
h36% | 9% | 24% | 19% | 10%
cc0% | 0% | 49% | 47% | 2%
yml0% | 0% | 0% | 0% | 100%
in0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
src/core41% | 10% | 18% | 20% | 8%
src/environment0% | 0% | 59% | 35% | 4%
src/device0% | 0% | 81% | 0% | 18%
src/adapters0% | 0% | 0% | 66% | 33%
ROOT0% | 0% | 0% | 0% | 100%
Longest Files (Top 45)
File# lines# units
fishstore.h
in src/core
3145 73
persistent_memory_malloc.h
in src/core
788 37
malloc_fixed_page_size.h
in src/core
474 19
file_system_disk.h
in src/device
443 32
internal_contexts.h
in src/core
436 31
file_windows.cc
in src/environment
315 18
file_windows.h
in src/environment
291 9
light_epoch.h
in src/core
258 23
hash_table.h
in src/core
253 9
file_linux.h
in src/environment
193 6
checkpoint_state.h
in src/core
184 10
state_transitions.h
in src/core
178 6
file_linux.cc
in src/environment
168 11
checkpoint_locks.h
in src/core
166 13
hash_bucket.h
in src/core
162 14
native_buffer_pool.h
in src/core
153 6
address.h
in src/core
145 13
record.h
in src/core
143 7
simdjson_adapter.h
in src/adapters
142 13
lss_allocator.cc
in src/core
133 4
lss_allocator.h
in src/core
130 2
guid.h
in src/core
128 5
null_disk.h
in src/device
98 17
async.h
in src/core
89 6
auto_ptr.h
in src/core
88 12
psf.h
in src/core
76 3
thread.h
in src/core
69 6
azure-pipelines.yml
in root
52 -
async_result_types.h
in src/core
51 1
utility.h
in src/core
48 6
file_common.h
in src/environment
44 -
key_hash.h
in src/core
43 3
recovery_status.h
in src/core
43 -
common_utils.h
in src/adapters
41 2
grow_state.h
in src/core
33 1
phase.h
in src/core
33 -
parser_api.h
in src/adapters
30 -
gc_state.h
in src/core
29 1
alloc.h
in src/core
23 1
constants.h
in src/core
21 1
status.h
in src/core
15 -
in
CMakeLists.txt.in
in root
14 -
thread.cc
in src/core
11 -
address.cc
in src/core
6 -
file.h
in src/environment
6 -
Files With Most Units (Top 20)
File# lines# units
fishstore.h
in src/core
3145 73
persistent_memory_malloc.h
in src/core
788 37
file_system_disk.h
in src/device
443 32
internal_contexts.h
in src/core
436 31
light_epoch.h
in src/core
258 23
malloc_fixed_page_size.h
in src/core
474 19
file_windows.cc
in src/environment
315 18
null_disk.h
in src/device
98 17
hash_bucket.h
in src/core
162 14
simdjson_adapter.h
in src/adapters
142 13
address.h
in src/core
145 13
checkpoint_locks.h
in src/core
166 13
auto_ptr.h
in src/core
88 12
file_linux.cc
in src/environment
168 11
checkpoint_state.h
in src/core
184 10
hash_table.h
in src/core
253 9
file_windows.h
in src/environment
291 9
record.h
in src/core
143 7
async.h
in src/core
89 6
native_buffer_pool.h
in src/core
153 6
Files With Long Lines (Top 2)

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

File# lines# units# long lines
fishstore.h
in src/core
3145 73 1
internal_contexts.h
in src/core
436 31 1