aws-samples / pcf-on-aws-workshop
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 102 files with 6,886 lines of code.
    • 1 very long files (1,107 lines of code)
    • 1 long files (522 lines of code)
    • 7 medium size files (1,821 lines of codeclsfd_ftr_w_mp_ins)
    • 5 small files (675 lines of code)
    • 88 very small files (2,761 lines of code)
16% | 7% | 26% | 9% | 40%
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
css26% | 12% | 43% | 2% | 13%
html0% | 0% | 0% | 33% | 66%
yaml0% | 0% | 0% | 63% | 36%
adoc0% | 0% | 0% | 27% | 72%
toml0% | 0% | 0% | 0% | 100%
jade0% | 0% | 0% | 0% | 100%
js0% | 0% | 0% | 0% | 100%
yml0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
themes/hugo-theme-learn25% | 11% | 24% | 5% | 32%
modules/40-Deploying-Service-Broker-Polly0% | 0% | 48% | 0% | 51%
modules/50-Deploying-Via-Apps-Manager-Console0% | 0% | 48% | 0% | 51%
modules/45-Deploying-Service-Broker-S30% | 0% | 49% | 0% | 50%
modules/webhosting0% | 0% | 0% | 63% | 36%
content/30-AWS-Service-Broker-Install-and-Config0% | 0% | 0% | 100% | 0%
static/css0% | 0% | 0% | 100% | 0%
ROOT0% | 0% | 0% | 0% | 100%
content/20-Getting-Started0% | 0% | 0% | 0% | 100%
content/10-Lab-Setup0% | 0% | 0% | 0% | 100%
content/50-Deploying-Via-Apps-Manager-Console0% | 0% | 0% | 0% | 100%
content/45-Deploying-Service-Broker-S30% | 0% | 0% | 0% | 100%
content/40-Deploying-Service-Broker-Polly0% | 0% | 0% | 0% | 100%
layouts/partials0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
theme.css
in themes/hugo-theme-learn/static/css
1107 -
nucleus.css
in themes/hugo-theme-learn/static/css
522 -
mermaid.forest.css
in themes/hugo-theme-learn/static/mermaid
340 -
mermaid.dark.css
in themes/hugo-theme-learn/static/mermaid
262 -
mermaid.css
in themes/hugo-theme-learn/static/mermaid
260 -
font-mfizz.css
in modules/40-Deploying-Service-Broker-Polly/public/font-mfizz-2.3.0
249 -
font-mfizz.css
in modules/50-Deploying-Via-Apps-Manager-Console/public/font-mfizz-2.3.0
249 -
font-mfizz.css
in modules/45-Deploying-Service-Broker-S3/public/font-mfizz-2.3.0
249 -
hugo-theme.css
in themes/hugo-theme-learn/static/css
212 -
pipeline.yaml
in modules/webhosting
170 -
menu.html
in themes/hugo-theme-learn/layouts/partials
140 -
adoc
1_readme.adoc
in content/30-AWS-Service-Broker-Install-and-Config
137 -
theme-mine.css
in static/css
124 -
header.html
in themes/hugo-theme-learn/layouts/partials
104 -
jade
content.jade
in modules/40-Deploying-Service-Broker-Polly/views/partials
97 -
cloudfront-s3-website.yaml
in modules/webhosting
97 -
jade
content.jade
in modules/50-Deploying-Via-Apps-Manager-Console/views/partials
97 -
jade
content.jade
in modules/45-Deploying-Service-Broker-S3/views/partials
97 -
adoc
1_readme.adoc
in content/20-Getting-Started
90 -
theme-green.css
in themes/hugo-theme-learn/static/css
90 -
theme-blue.css
in themes/hugo-theme-learn/static/css
90 -
theme-red.css
in themes/hugo-theme-learn/static/css
90 -
children.html
in themes/hugo-theme-learn/layouts/shortcodes
86 -
theme-mine.css
in themes/hugo-theme-learn/exampleSite/static/css
84 -
config.toml
in themes/hugo-theme-learn/exampleSite
84 -
adoc
1_readme.adoc
in content/10-Lab-Setup
80 -
hybrid.css
in themes/hugo-theme-learn/static/css
72 -
adoc
1_readme.adoc
in content/50-Deploying-Via-Apps-Manager-Console
70 -
atom-one-dark-reasonable.css
in themes/hugo-theme-learn/static/css
70 -
footer.html
in themes/hugo-theme-learn/layouts/partials
66 -
adoc
1_readme.adoc
in content/45-Deploying-Service-Broker-S3
63 -
config.toml
in root
59 -
adoc
1_readme.adoc
in content/40-Deploying-Service-Broker-Polly
58 -
404.html
in themes/hugo-theme-learn/layouts
48 -
tags.css
in themes/hugo-theme-learn/static/css
42 -
server.js
in modules/40-Deploying-Service-Broker-Polly
41 -
server.js
in modules/50-Deploying-Via-Apps-Manager-Console
41 -
auto-complete.css
in themes/hugo-theme-learn/static/css
40 -
vcap_services.js
in modules/40-Deploying-Service-Broker-Polly/app
38 3
vcap_application.js
in modules/40-Deploying-Service-Broker-Polly/app
38 6
vcap_services.js
in modules/50-Deploying-Via-Apps-Manager-Console/app
38 3
vcap_application.js
in modules/50-Deploying-Via-Apps-Manager-Console/app
38 6
vcap_services.js
in modules/45-Deploying-Service-Broker-S3/app
38 3
vcap_application.js
in modules/45-Deploying-Service-Broker-S3/app
38 6
logo.html
in themes/hugo-theme-learn/exampleSite/layouts/partials
37 -
attachments.html
in themes/hugo-theme-learn/layouts/shortcodes
35 -
webspec.yml
in root
31 -
server.js
in modules/45-Deploying-Service-Broker-S3
30 -
index.html
in themes/hugo-theme-learn/layouts
30 -
ghcontributors.html
in themes/hugo-theme-learn/exampleSite/layouts/shortcodes
29 -
Files With Most Units (Top 9)
File# lines# units
vcap_application.js
in modules/40-Deploying-Service-Broker-Polly/app
38 6
vcap_application.js
in modules/50-Deploying-Via-Apps-Manager-Console/app
38 6
vcap_application.js
in modules/45-Deploying-Service-Broker-S3/app
38 6
vcap_services.js
in modules/40-Deploying-Service-Broker-Polly/app
38 3
vcap_services.js
in modules/50-Deploying-Via-Apps-Manager-Console/app
38 3
vcap_services.js
in modules/45-Deploying-Service-Broker-S3/app
38 3
ping.js
in modules/40-Deploying-Service-Broker-Polly/public/javascripts
13 2
ping.js
in modules/50-Deploying-Via-Apps-Manager-Console/public/javascripts
13 2
ping.js
in modules/45-Deploying-Service-Broker-S3/public/javascripts
13 2
Files With Long Lines (Top 20)

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

File# lines# units# long lines
logo.html
in themes/hugo-theme-learn/exampleSite/layouts/partials
37 - 16
footer.html
in themes/hugo-theme-learn/layouts/partials
66 - 13
children.html
in themes/hugo-theme-learn/layouts/shortcodes
86 - 12
theme.css
in themes/hugo-theme-learn/static/css
1107 - 8
menu.html
in themes/hugo-theme-learn/layouts/partials
140 - 8
adoc
1_readme.adoc
in content/30-AWS-Service-Broker-Install-and-Config
137 - 7
header.html
in themes/hugo-theme-learn/layouts/partials
104 - 5
adoc
1_readme.adoc
in content/40-Deploying-Service-Broker-Polly
58 - 4
adoc
1_readme.adoc
in content/45-Deploying-Service-Broker-S3
63 - 4
menu-footer.html
in themes/hugo-theme-learn/exampleSite/layouts/partials
7 - 4
404.html
in themes/hugo-theme-learn/layouts
48 - 4
adoc
1_readme.adoc
in content/10-Lab-Setup
80 - 3
jade
content.jade
in modules/40-Deploying-Service-Broker-Polly/views/partials
97 - 2
jade
content.jade
in modules/50-Deploying-Via-Apps-Manager-Console/views/partials
97 - 2
jade
content.jade
in modules/45-Deploying-Service-Broker-S3/views/partials
97 - 2
adoc
1_readme.adoc
in content/20-Getting-Started
90 - 2
nucleus.css
in themes/hugo-theme-learn/static/css
522 - 2
search.html
in themes/hugo-theme-learn/layouts/partials
16 - 2
index.html
in themes/hugo-theme-learn/layouts
30 - 2
theme-mine.css
in static/css
124 - 1