awslabs / aws-lambda-go-api-proxy
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,162 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)
    • 2 small files (355 lines of code)
    • 21 very small files (807 lines of code)
0% | 0% | 0% | 30% | 69%
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
go0% | 0% | 0% | 31% | 68%
yaml0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
core0% | 0% | 0% | 68% | 31%
sample0% | 0% | 0% | 0% | 100%
fiber0% | 0% | 0% | 0% | 100%
gorillamux0% | 0% | 0% | 0% | 100%
httpadapter0% | 0% | 0% | 0% | 100%
echo0% | 0% | 0% | 0% | 100%
gin0% | 0% | 0% | 0% | 100%
iris0% | 0% | 0% | 0% | 100%
negroni0% | 0% | 0% | 0% | 100%
chi0% | 0% | 0% | 0% | 100%
handlerfunc0% | 0% | 0% | 0% | 100%
Longest Files (Top 23)
File# lines# units
request.go
in core
188 11
requestv2.go
in core
167 11
adapter.go
in fiber
94 8
responsev2.go
in core
73 7
response.go
in core
72 7
main.go
in sample
60 5
pets.go
in sample
47 6
adapter.go
in iris
38 4
adapter.go
in negroni
37 4
adapter.go
in gorillamux
37 4
adapterv2.go
in gorillamux
37 4
adapter.go
in httpadapter
36 4
adapterv2.go
in httpadapter
36 4
adapter.go
in echo
35 4
adapterv2.go
in echo
35 4
adapter.go
in chi
35 4
adapter.go
in gin
35 4
adapterv2.go
in gin
35 4
sam.yaml
in sample
25 -
types.go
in core
14 2
adapter.go
in handlerfunc
9 1
adapterv2.go
in handlerfunc
9 1
typesv2.go
in core
8 1
Files With Most Units (Top 20)
File# lines# units
requestv2.go
in core
167 11
request.go
in core
188 11
adapter.go
in fiber
94 8
response.go
in core
72 7
responsev2.go
in core
73 7
pets.go
in sample
47 6
main.go
in sample
60 5
adapter.go
in httpadapter
36 4
adapterv2.go
in httpadapter
36 4
adapter.go
in negroni
37 4
adapter.go
in gorillamux
37 4
adapterv2.go
in gorillamux
37 4
adapter.go
in echo
35 4
adapterv2.go
in echo
35 4
adapter.go
in chi
35 4
adapter.go
in gin
35 4
adapterv2.go
in gin
35 4
adapter.go
in iris
38 4
types.go
in core
14 2
typesv2.go
in core
8 1
Files With Long Lines (Top 15)

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

File# lines# units# long lines
requestv2.go
in core
167 11 3
pets.go
in sample
47 6 2
adapter.go
in fiber
94 8 2
request.go
in core
188 11 2
adapter.go
in httpadapter
36 4 1
adapterv2.go
in httpadapter
36 4 1
adapter.go
in negroni
37 4 1
adapter.go
in gorillamux
37 4 1
adapterv2.go
in gorillamux
37 4 1
adapter.go
in echo
35 4 1
adapterv2.go
in echo
35 4 1
adapter.go
in chi
35 4 1
adapter.go
in gin
35 4 1
adapterv2.go
in gin
35 4 1
adapter.go
in iris
38 4 1