aws-samples / aws-data-lake-solution-cn
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 195 files with 25,608 lines of code.
    • 1 very long files (4,349 lines of code)
    • 5 long files (3,319 lines of code)
    • 32 medium size files (9,615 lines of codeclsfd_ftr_w_mp_ins)
    • 21 small files (3,101 lines of code)
    • 136 very small files (5,224 lines of code)
16% | 12% | 37% | 12% | 20%
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
js21% | 16% | 33% | 9% | 19%
css0% | 0% | 85% | 0% | 14%
html0% | 0% | 15% | 49% | 35%
yml0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
source/console/app25% | 11% | 32% | 10% | 19%
source/api/services0% | 21% | 52% | 16% | 9%
source/resources/helper0% | 0% | 75% | 13% | 10%
source/resources/access-validator0% | 0% | 0% | 100% | 0%
source/cli0% | 0% | 0% | 0% | 100%
source/resources/loader0% | 0% | 0% | 0% | 100%
source/cli/core0% | 0% | 0% | 0% | 100%
source/api/authorizer0% | 0% | 0% | 0% | 100%
deployment/manifest-generator0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
components.js
in source/console/app/lib/aws-ui/AWS-UI-Components
4349 352
package.js
in source/console/app/package
758 47
content-package.js
in source/api/services/package/lib
687 27
index.js
in source/api/services/admin/lib
671 61
adminFactory.js
in source/console/app/common/factories
665 41
packageFactory.js
in source/console/app/common/factories
538 32
index.js
in source/api/services/package/lib
451 46
manifest.js
in source/api/services/manifest/lib
429 30
home.css
in source/console/app/lib/aws-ui/AWS-UI-Components/base-styles
426 -
metadata.js
in source/api/services/search/lib
393 17
index.js
in source/resources/helper
378 20
user.js
in source/api/services/admin/lib
375 19
package.html
in source/console/app/package
364 -
dataset.js
in source/api/services/package/lib
359 16
main.css
in source/console/app/styles
339 -
cart.js
in source/api/services/cart/lib
334 8
AuthService.js
in source/console/app/common/services
330 23
auth.js
in source/api/services/admin/lib
310 14
group.js
in source/api/services/admin/lib
305 8
cognito-helper.js
in source/resources/helper/lib
290 8
user.js
in source/console/app/admin/users
278 13
metadata.js
in source/api/services/package/lib
277 10
text.js
in source/console/app/document/Working-with-my-profile.Chn_files
277 17
text.js
in source/console/app/document/Working-with-settings.Chn_files
277 17
text.js
in source/console/app/document/Working-with-my-cart.Chn_files
277 17
text.js
in source/console/app/document/Searching-in-the-data-lake.Chn_files
277 17
text.js
in source/console/app/document/Working-with-packages.Chn_files
277 17
text.js
in source/console/app/document/Data-Lake-Solution.Chn_files
277 17
s3-helper.js
in source/resources/helper/lib
277 18
utilities.css
in source/console/app/lib/aws-ui/AWS-UI-Components/base-styles
258 -
base.css
in source/console/app/document/Working-with-my-profile.Chn_files
228 -
base.css
in source/console/app/document/Working-with-settings.Chn_files
228 -
base.css
in source/console/app/document/Working-with-my-cart.Chn_files
228 -
base.css
in source/console/app/document/Searching-in-the-data-lake.Chn_files
228 -
base.css
in source/console/app/document/Working-with-packages.Chn_files
228 -
base.css
in source/console/app/document/Data-Lake-Solution.Chn_files
228 -
search.js
in source/console/app/search
207 12
index.js
in source/console/app/lib/aws-ui/AWS-UI-Components-Angular
205 19
cartFactory.js
in source/console/app/common/factories
189 13
settings.js
in source/console/app/admin/settings
175 12
logging.js
in source/api/services/logging/lib
174 12
apikey.js
in source/api/services/admin/lib
171 8
index.js
in source/api/services/cart/lib
170 13
elasticsearch-helper.js
in source/resources/helper/lib
167 5
cmdline_frame.html
in source/console/app/document/Working-with-my-profile.Chn_files
163 -
cmdline_frame.html
in source/console/app/document/Working-with-settings.Chn_files
163 -
cmdline_frame.html
in source/console/app/document/Working-with-my-cart.Chn_files
163 -
cmdline_frame.html
in source/console/app/document/Searching-in-the-data-lake.Chn_files
163 -
cmdline_frame.html
in source/console/app/document/Working-with-packages.Chn_files
163 -
cmdline_frame.html
in source/console/app/document/Data-Lake-Solution.Chn_files
163 -
Files With Most Units (Top 20)
File# lines# units
components.js
in source/console/app/lib/aws-ui/AWS-UI-Components
4349 352
index.js
in source/api/services/admin/lib
671 61
package.js
in source/console/app/package
758 47
index.js
in source/api/services/package/lib
451 46
adminFactory.js
in source/console/app/common/factories
665 41
packageFactory.js
in source/console/app/common/factories
538 32
manifest.js
in source/api/services/manifest/lib
429 30
content-package.js
in source/api/services/package/lib
687 27
AuthService.js
in source/console/app/common/services
330 23
index.js
in source/resources/helper
378 20
user.js
in source/api/services/admin/lib
375 19
index.js
in source/console/app/lib/aws-ui/AWS-UI-Components-Angular
205 19
s3-helper.js
in source/resources/helper/lib
277 18
metadata.js
in source/api/services/search/lib
393 17
text.js
in source/console/app/document/Working-with-my-profile.Chn_files
277 17
text.js
in source/console/app/document/Working-with-settings.Chn_files
277 17
text.js
in source/console/app/document/Working-with-my-cart.Chn_files
277 17
text.js
in source/console/app/document/Searching-in-the-data-lake.Chn_files
277 17
text.js
in source/console/app/document/Working-with-packages.Chn_files
277 17
text.js
in source/console/app/document/Data-Lake-Solution.Chn_files
277 17
Files With Long Lines (Top 20)

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

File# lines# units# long lines
components.js
in source/console/app/lib/aws-ui/AWS-UI-Components
4349 352 65
package.html
in source/console/app/package
364 - 43
require.js
in source/console/app/document/Working-with-my-profile.Chn_files
31 - 30
require.js
in source/console/app/document/Working-with-settings.Chn_files
31 - 30
require.js
in source/console/app/document/Working-with-my-cart.Chn_files
31 - 30
require.js
in source/console/app/document/Searching-in-the-data-lake.Chn_files
31 - 30
require.js
in source/console/app/document/Working-with-packages.Chn_files
31 - 30
require.js
in source/console/app/document/Data-Lake-Solution.Chn_files
31 - 30
content-package.js
in source/api/services/package/lib
687 27 19
forgot.html
in source/console/app/forgot
86 - 15
user.html
in source/console/app/admin/users
104 - 13
settings.html
in source/console/app/admin/settings
92 - 11
dataset.js
in source/api/services/package/lib
359 16 9
changePassword.html
in source/console/app/profile
35 - 9
cart.html
in source/console/app/cart
103 - 8
confirm.html
in source/console/app/confirm
46 - 8
main.js
in source/console/app/document/Working-with-my-profile.Chn_files
7 3 6
main.js
in source/console/app/document/Working-with-settings.Chn_files
7 3 6
main.js
in source/console/app/document/Working-with-my-cart.Chn_files
7 3 6
main.js
in source/console/app/document/Searching-in-the-data-lake.Chn_files
7 3 6