awslabs / yesiscan
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 14 files with 2,094 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 3 medium size files (1,053 lines of codeclsfd_ftr_w_mp_ins)
    • 4 small files (576 lines of code)
    • 7 very small files (465 lines of code)
0% | 0% | 50% | 27% | 22%
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% | 50% | 27% | 22%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
util/safepath0% | 0% | 100% | 0% | 0%
iterator0% | 0% | 56% | 32% | 11%
lib0% | 0% | 76% | 0% | 23%
cmd/yesiscan0% | 0% | 0% | 100% | 0%
util/licenses0% | 0% | 0% | 100% | 0%
interfaces0% | 0% | 0% | 100% | 0%
backend0% | 0% | 0% | 0% | 100%
parser0% | 0% | 0% | 0% | 100%
util0% | 0% | 0% | 0% | 100%
util/errwrap0% | 0% | 0% | 0% | 100%
Longest Files (Top 14)
File# lines# units
safepath.go
in util/safepath
471 76
git.go
in iterator
312 10
lib.go
in lib
270 7
fs.go
in iterator
180 7
main.go
in cmd/yesiscan
168 4
licenses.go
in util/licenses
115 7
interfaces.go
in interfaces
113 3
licenseclassifier.go
in backend
96 3
spdxclassifier.go
in backend
87 3
results.go
in lib
81 4
parser.go
in parser
67 2
iterator.go
in iterator
61 1
util.go
in util
50 3
errwrap.go
in util/errwrap
23 3
Files With Most Units (Top 14)
File# lines# units
safepath.go
in util/safepath
471 76
git.go
in iterator
312 10
lib.go
in lib
270 7
licenses.go
in util/licenses
115 7
fs.go
in iterator
180 7
results.go
in lib
81 4
main.go
in cmd/yesiscan
168 4
interfaces.go
in interfaces
113 3
util.go
in util
50 3
errwrap.go
in util/errwrap
23 3
spdxclassifier.go
in backend
87 3
licenseclassifier.go
in backend
96 3
parser.go
in parser
67 2
iterator.go
in iterator
61 1
Files With Long Lines (Top 3)

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

File# lines# units# long lines
results.go
in lib
81 4 1
spdxclassifier.go
in backend
87 3 1
licenseclassifier.go
in backend
96 3 1