microsoft / r-server-hospital-length-of-stay
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 18 files with 1,337 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 0 medium size files (0 lines of codeclsfd_ftr_w_mp_ins)
    • 4 small files (601 lines of code)
    • 14 very small files (736 lines of code)
0% | 0% | 0% | 44% | 55%
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
ps10% | 0% | 0% | 100% | 0%
R0% | 0% | 0% | 86% | 13%
py0% | 0% | 0% | 0% | 100%
js0% | 0% | 0% | 0% | 100%
handlebars0% | 0% | 0% | 0% | 100%
css0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
Resources/ActionScripts0% | 0% | 0% | 100% | 0%
R0% | 0% | 0% | 86% | 13%
Python0% | 0% | 0% | 0% | 100%
Website/views0% | 0% | 0% | 0% | 100%
Website/public/js0% | 0% | 0% | 0% | 100%
Website0% | 0% | 0% | 0% | 100%
Website/public/css0% | 0% | 0% | 0% | 100%
Website/views/layouts0% | 0% | 0% | 0% | 100%
Longest Files (Top 18)
File# lines# units
ConfigureSQL.ps1
in Resources/ActionScripts
174 -
HospitalSetup.ps1
in Resources/ActionScripts
171 -
step1_data_preprocessing.R
in R
149 3
step3_training_evaluation.R
in R
107 2
step3_training_evaluation.py
in Python
95 2
predLOS.js
in Website/public/js
91 12
server.js
in Website
86 1
length_of_stay_utils.py
in Python
71 9
step1_data_preprocessing.py
in Python
70 2
SQLConnection.py
in Python
61 -
handlebars
home.handlebars
in Website/views
59 -
myCSS.css
in Website/public/css
46 -
step2_feature_engineering.py
in Python
41 3
step2_feature_engineering.R
in R
37 2
handlebars
patient2.handlebars
in Website/views
34 -
handlebars
main.handlebars
in Website/views/layouts
21 -
handlebars
patient.handlebars
in Website/views
21 -
sql_connection.R
in R
3 -
Files With Most Units (Top 9)
File# lines# units
predLOS.js
in Website/public/js
91 12
length_of_stay_utils.py
in Python
71 9
step2_feature_engineering.py
in Python
41 3
step1_data_preprocessing.R
in R
149 3
step1_data_preprocessing.py
in Python
70 2
step3_training_evaluation.py
in Python
95 2
step2_feature_engineering.R
in R
37 2
step3_training_evaluation.R
in R
107 2
server.js
in Website
86 1
Files With Long Lines (Top 11)

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

File# lines# units# long lines
HospitalSetup.ps1
in Resources/ActionScripts
171 - 7
ConfigureSQL.ps1
in Resources/ActionScripts
174 - 6
step2_feature_engineering.py
in Python
41 3 4
step3_training_evaluation.py
in Python
95 2 4
length_of_stay_utils.py
in Python
71 9 3
step3_training_evaluation.R
in R
107 2 3
SQLConnection.py
in Python
61 - 2
step2_feature_engineering.R
in R
37 2 2
myCSS.css
in Website/public/css
46 - 2
step1_data_preprocessing.py
in Python
70 2 1
step1_data_preprocessing.R
in R
149 3 1