awslabs / aws-c-s3
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 33 files with 7,008 lines of code.
    • 1 very long files (1,228 lines of code)
    • 3 long files (2,127 lines of code)
    • 6 medium size files (2,009 lines of codeclsfd_ftr_w_mp_ins)
    • 8 small files (1,115 lines of code)
    • 15 very small files (529 lines of code)
17% | 30% | 28% | 15% | 7%
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
c22% | 38% | 32% | 5% | 1%
ts0% | 0% | 63% | 36% | 0%
h0% | 0% | 0% | 68% | 31%
py0% | 0% | 0% | 0% | 100%
js0% | 0% | 0% | 0% | 100%
yml0% | 0% | 0% | 0% | 100%
cmake0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
source22% | 38% | 32% | 5% | 1%
benchmarks/dashboard-stack/lib0% | 0% | 100% | 0% | 0%
include/aws/s3/private0% | 0% | 0% | 70% | 29%
benchmarks/benchmarks-stack/benchmarks-stack/lib0% | 0% | 0% | 100% | 0%
include/aws/s30% | 0% | 0% | 60% | 39%
benchmarks/dashboard-stack/lambda0% | 0% | 0% | 0% | 100%
benchmarks/benchmarks-stack/benchmarks-stack/deploy0% | 0% | 0% | 0% | 100%
benchmarks/benchmarks-stack/benchmarks-stack0% | 0% | 0% | 0% | 100%
cmake0% | 0% | 0% | 0% | 100%
benchmarks/dashboard-stack0% | 0% | 0% | 0% | 100%
Longest Files (Top 33)
File# lines# units
s3_client.c
in source
1228 34
s3_meta_request.c
in source
911 41
s3_request_messages.c
in source
666 4
s3_copy_object.c
in source
550 6
s3_auto_ranged_get.c
in source
457 8
s3_auto_ranged_put.c
in source
448 5
s3_list_objects.c
in source
360 12
s3_util.c
in source
336 12
s3_default_meta_request.c
in source
207 5
dashboard-stack.ts
in benchmarks/dashboard-stack/lib
201 2
s3_endpoint.c
in source
198 5
s3_meta_request_impl.h
in include/aws/s3/private
179 -
s3_client_impl.h
in include/aws/s3/private
161 -
s3.c
in source
132 2
benchmarks-stack.ts
in benchmarks/benchmarks-stack/benchmarks-stack/lib
116 1
s3_util.h
in include/aws/s3/private
113 -
s3_client.h
in include/aws/s3
112 -
s3_request_messages.h
in include/aws/s3/private
104 -
s3_request.c
in source
81 6
benchmarkManager.py
in benchmarks/dashboard-stack/lambda
62 1
s3_request.h
in include/aws/s3/private
55 -
s3.h
in include/aws/s3
53 -
s3_copy_object.h
in include/aws/s3/private
48 -
s3_auto_ranged_put.h
in include/aws/s3/private
44 -
benchmarks_deploy.js
in benchmarks/benchmarks-stack/benchmarks-stack/deploy
39 -
s3_list_objects.h
in include/aws/s3/private
38 -
s3_auto_ranged_get.h
in include/aws/s3/private
32 -
s3_default_meta_request.h
in include/aws/s3/private
21 -
exports.h
in include/aws/s3
20 -
buildspec.yml
in benchmarks/benchmarks-stack/benchmarks-stack
14 -
cmake
aws-c-s3-config.cmake
in cmake
8 -
jest.config.js
in benchmarks/benchmarks-stack/benchmarks-stack
7 -
jest.config.js
in benchmarks/dashboard-stack
7 -
Files With Most Units (Top 15)
File# lines# units
s3_meta_request.c
in source
911 41
s3_client.c
in source
1228 34
s3_util.c
in source
336 12
s3_list_objects.c
in source
360 12
s3_auto_ranged_get.c
in source
457 8
s3_copy_object.c
in source
550 6
s3_request.c
in source
81 6
s3_default_meta_request.c
in source
207 5
s3_auto_ranged_put.c
in source
448 5
s3_endpoint.c
in source
198 5
s3_request_messages.c
in source
666 4
s3.c
in source
132 2
dashboard-stack.ts
in benchmarks/dashboard-stack/lib
201 2
benchmarks-stack.ts
in benchmarks/benchmarks-stack/benchmarks-stack/lib
116 1
benchmarkManager.py
in benchmarks/dashboard-stack/lambda
62 1
Files With Long Lines (Top 2)

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

File# lines# units# long lines
s3.c
in source
132 2 5
benchmarks-stack.ts
in benchmarks/benchmarks-stack/benchmarks-stack/lib
116 1 1