aws-samples / aws-emr-apache-ranger
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 7 files with 1,262 lines of code.
    • 0 very long files (0 lines of code)
    • 1 long files (522 lines of code)
    • 1 medium size files (327 lines of codeclsfd_ftr_w_mp_ins)
    • 2 small files (232 lines of code)
    • 3 very small files (181 lines of code)
0% | 41% | 25% | 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
py0% | 48% | 30% | 21% | 0%
js0% | 0% | 0% | 0% | 100%
ps10% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
aws_emr_blog_v2/code/launch-cluster0% | 81% | 0% | 18% | 0%
aws_emr_blog_v3/code/launch-cluster0% | 0% | 73% | 26% | 0%
aws_emr_blog_v2/code/amilookup-win0% | 0% | 0% | 0% | 100%
aws_emr_blog_v3/code/amilookup-win0% | 0% | 0% | 0% | 100%
aws_emr_blog_v1/inputdata0% | 0% | 0% | 0% | 100%
Longest Files (Top 7)
File# lines# units
cremr.py
in aws_emr_blog_v2/code/launch-cluster
522 4
cremr.py
in aws_emr_blog_v3/code/launch-cluster
327 4
crhelper.py
in aws_emr_blog_v2/code/launch-cluster
116 6
crhelper.py
in aws_emr_blog_v3/code/launch-cluster
116 6
amilookup-win.js
in aws_emr_blog_v2/code/amilookup-win
85 2
amilookup-win.js
in aws_emr_blog_v3/code/amilookup-win
85 2
create-simple-ad-users.ps1
in aws_emr_blog_v1/inputdata
11 -
Files With Most Units (Top 6)
File# lines# units
crhelper.py
in aws_emr_blog_v2/code/launch-cluster
116 6
crhelper.py
in aws_emr_blog_v3/code/launch-cluster
116 6
cremr.py
in aws_emr_blog_v2/code/launch-cluster
522 4
cremr.py
in aws_emr_blog_v3/code/launch-cluster
327 4
amilookup-win.js
in aws_emr_blog_v2/code/amilookup-win
85 2
amilookup-win.js
in aws_emr_blog_v3/code/amilookup-win
85 2
Files With Long Lines (Top 3)

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

File# lines# units# long lines
cremr.py
in aws_emr_blog_v3/code/launch-cluster
327 4 7
create-simple-ad-users.ps1
in aws_emr_blog_v1/inputdata
11 - 5
cremr.py
in aws_emr_blog_v2/code/launch-cluster
522 4 5