awslabs / aws-lambda-redshift-loader
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 29 files with 4,767 lines of code.
    • 1 very long files (1,154 lines of code)
    • 1 long files (765 lines of code)
    • 4 medium size files (1,295 lines of codeclsfd_ftr_w_mp_ins)
    • 6 small files (873 lines of code)
    • 17 very small files (680 lines of code)
24% | 16% | 27% | 18% | 14%
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
js26% | 17% | 29% | 13% | 12%
yaml0% | 0% | 0% | 74% | 25%
ps10% | 0% | 0% | 0% | 100%
py0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
ROOT25% | 16% | 28% | 15% | 14%
sample/scripts0% | 0% | 0% | 86% | 13%
Longest Files (Top 29)
File# lines# units
index.js
in root
1154 28
common.js
in root
765 41
setup.js
in root
389 30
setup-file.js
in root
361 33
batchOperations.js
in root
336 13
upgrades.js
in root
209 3
kmsCrypto.js
in root
178 14
deploy-admin-host.yaml
in root
161 -
addAdditionalClusterEndpoint.js
in root
160 12
createSampleConfig.js
in sample/scripts
151 7
resetCurrentBatch.js
in root
119 5
deploy-vpc.yaml
in root
104 -
unlockBatch.js
in root
94 1
doSetup.js
in root
89 -
deploy.yaml
in root
89 -
fileProcessingUtils.js
in root
78 9
createS3TriggerFile.js
in root
63 2
encryptValue.js
in root
48 2
build.ps1
in root
34 -
processedFiles.js
in root
24 2
generate-trigger-file.py
in root
24 1
dropSample.js
in sample/scripts
23 -
constants.js
in root
22 -
deleteBatches.js
in root
19 -
queryBatches.js
in root
18 -
deleteBatch.js
in root
17 -
describeBatch.js
in root
17 -
reprocessBatch.js
in root
11 -
updateConfig.js
in root
10 -
Files With Most Units (Top 16)
File# lines# units
common.js
in root
765 41
setup-file.js
in root
361 33
setup.js
in root
389 30
index.js
in root
1154 28
kmsCrypto.js
in root
178 14
batchOperations.js
in root
336 13
addAdditionalClusterEndpoint.js
in root
160 12
fileProcessingUtils.js
in root
78 9
createSampleConfig.js
in sample/scripts
151 7
resetCurrentBatch.js
in root
119 5
upgrades.js
in root
209 3
processedFiles.js
in root
24 2
encryptValue.js
in root
48 2
createS3TriggerFile.js
in root
63 2
unlockBatch.js
in root
94 1
generate-trigger-file.py
in root
24 1
Files With Long Lines (Top 14)

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

File# lines# units# long lines
index.js
in root
1154 28 34
common.js
in root
765 41 8
resetCurrentBatch.js
in root
119 5 5
setup.js
in root
389 30 4
processedFiles.js
in root
24 2 2
unlockBatch.js
in root
94 1 2
reprocessBatch.js
in root
11 - 2
build.ps1
in root
34 - 2
upgrades.js
in root
209 3 2
batchOperations.js
in root
336 13 2
deploy-admin-host.yaml
in root
161 - 2
addAdditionalClusterEndpoint.js
in root
160 12 1
queryBatches.js
in root
18 - 1
deploy-vpc.yaml
in root
104 - 1