aws-quickstart / quickstart-ct-newrelic-one
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 9 files with 2,195 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 6 medium size files (1,859 lines of codeclsfd_ftr_w_mp_ins)
    • 2 small files (289 lines of code)
    • 1 very small files (47 lines of code)
0% | 0% | 84% | 13% | 2%
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
yml0% | 0% | 100% | 0% | 0%
yaml0% | 0% | 93% | 0% | 6%
py0% | 0% | 60% | 39% | 0%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
templates0% | 0% | 100% | 0% | 0%
functions/source/register0% | 0% | 100% | 0% | 0%
functions/source/cfct_register0% | 0% | 100% | 0% | 0%
functions/source/stackset0% | 0% | 0% | 100% | 0%
functions/source/onboarding0% | 0% | 0% | 100% | 0%
CfCT0% | 0% | 0% | 0% | 100%
Longest Files (Top 9)
File# lines# units
control-tower-customization.template.yml
in templates
475 -
newrelic-stack-set-cfct.yaml
in templates
344 -
newrelic-stack-set.yml
in templates
311 -
newrelic-hub-cfct.yaml
in templates
291 -
register.py
in functions/source/register
230 7
cfct_register.py
in functions/source/cfct_register
208 7
stackset.py
in functions/source/stackset
151 6
onboarding.py
in functions/source/onboarding
138 3
manifest.yaml
in CfCT
47 -
Files With Most Units (Top 4)
File# lines# units
cfct_register.py
in functions/source/cfct_register
208 7
register.py
in functions/source/register
230 7
stackset.py
in functions/source/stackset
151 6
onboarding.py
in functions/source/onboarding
138 3
Files With Long Lines (Top 8)

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

File# lines# units# long lines
control-tower-customization.template.yml
in templates
475 - 11
newrelic-hub-cfct.yaml
in templates
291 - 6
newrelic-stack-set-cfct.yaml
in templates
344 - 5
newrelic-stack-set.yml
in templates
311 - 4
register.py
in functions/source/register
230 7 4
stackset.py
in functions/source/stackset
151 6 3
cfct_register.py
in functions/source/cfct_register
208 7 3
onboarding.py
in functions/source/onboarding
138 3 2