facebook / prophet
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 28 files with 4,183 lines of code.
    • 0 very long files (0 lines of code)
    • 3 long files (2,441 lines of code)
    • 4 medium size files (1,065 lines of codeclsfd_ftr_w_mp_ins)
    • 4 small files (503 lines of code)
    • 17 very small files (174 lines of code)
0% | 58% | 25% | 12% | 4%
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% | 70% | 22% | 3% | 4%
ipynb0% | 0% | 100% | 0% | 0%
stan0% | 0% | 0% | 100% | 0%
in0% | 0% | 0% | 0% | 100%
toml0% | 0% | 0% | 0% | 100%
hpp0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
python/prophet0% | 77% | 16% | 3% | 2%
notebooks0% | 0% | 100% | 0% | 0%
python0% | 0% | 93% | 0% | 6%
python/stan/win0% | 0% | 0% | 100% | 0%
python/stan/unix0% | 0% | 0% | 100% | 0%
R/inst/stan0% | 0% | 0% | 100% | 0%
python/scripts0% | 0% | 0% | 0% | 100%
python_shim0% | 0% | 0% | 0% | 100%
python_shim/fbprophet0% | 0% | 0% | 0% | 100%
R/inst/include0% | 0% | 0% | 0% | 100%
Longest Files (Top 28)
File# lines# units
hdays.py
in python/prophet
909 30
forecaster.py
in python/prophet
904 38
plot.py
in python/prophet
628 16
291 -
diagnostics.py
in python/prophet
287 14
setup.py
in python
245 17
models.py
in python/prophet
242 19
stan
prophet.stan
in python/stan/win
149 -
stan
prophet.stan
in python/stan/unix
122 -
stan
prophet.stan
in R/inst/stan
122 -
serialize.py
in python/prophet
110 4
generate_holidays_file.py
in python/scripts
45 2
make_holidays.py
in python/prophet
33 2
utilities.py
in python/prophet
31 2
setup.py
in python_shim
28 -
in
MANIFEST.in
in python
9 -
8 -
__init__.py
in python_shim/fbprophet
7 -
in
MANIFEST.in
in python_shim
3 -
__init__.py
in python/prophet
2 -
stan_meta_header.hpp
in R/inst/include
1 -
serialize.py
in python_shim/fbprophet
1 -
plot.py
in python_shim/fbprophet
1 -
models.py
in python_shim/fbprophet
1 -
diagnostics.py
in python_shim/fbprophet
1 -
hdays.py
in python_shim/fbprophet
1 -
forecaster.py
in python_shim/fbprophet
1 -
make_holidays.py
in python_shim/fbprophet
1 -
Files With Most Units (Top 10)
File# lines# units
forecaster.py
in python/prophet
904 38
hdays.py
in python/prophet
909 30
models.py
in python/prophet
242 19
setup.py
in python
245 17
plot.py
in python/prophet
628 16
diagnostics.py
in python/prophet
287 14
serialize.py
in python/prophet
110 4
utilities.py
in python/prophet
31 2
make_holidays.py
in python/prophet
33 2
generate_holidays_file.py
in python/scripts
45 2
Files With Long Lines (Top 2)

There are 2 files with lines longer than 120 characters. In total, there are 10 long lines.

File# lines# units# long lines
291 - 9
diagnostics.py
in python/prophet
287 14 1
Correlations

File Size vs. Commits (all time): 28 points

python/prophet/serialize.py x: 3 commits (all time) y: 110 lines of code python/prophet/models.py x: 5 commits (all time) y: 242 lines of code python/setup.py x: 56 commits (all time) y: 245 lines of code python/pyproject.toml x: 6 commits (all time) y: 8 lines of code python/prophet/forecaster.py x: 7 commits (all time) y: 904 lines of code python/scripts/generate_holidays_file.py x: 9 commits (all time) y: 45 lines of code python/prophet/diagnostics.py x: 3 commits (all time) y: 287 lines of code python/prophet/plot.py x: 3 commits (all time) y: 628 lines of code notebooks/additional_topics.ipynb x: 10 commits (all time) y: 291 lines of code python_shim/setup.py x: 2 commits (all time) y: 28 lines of code python/MANIFEST.in x: 17 commits (all time) y: 9 lines of code python/prophet/__init__.py x: 1 commits (all time) y: 2 lines of code python/prophet/hdays.py x: 1 commits (all time) y: 909 lines of code python/prophet/make_holidays.py x: 1 commits (all time) y: 33 lines of code python/prophet/utilities.py x: 1 commits (all time) y: 31 lines of code python_shim/fbprophet/__init__.py x: 1 commits (all time) y: 7 lines of code R/inst/stan/prophet.stan x: 9 commits (all time) y: 122 lines of code python/stan/win/prophet.stan x: 8 commits (all time) y: 149 lines of code R/inst/include/stan_meta_header.hpp x: 2 commits (all time) y: 1 lines of code
909.0
lines of code
  min: 1.0
  average: 149.39
  25th percentile: 1.0
  median: 29.5
  75th percentile: 218.75
  max: 909.0
0 56.0
commits (all time)
min: 1.0 | average: 5.79 | 25th percentile: 1.0 | median: 2.0 | 75th percentile: 7.75 | max: 56.0

File Size vs. Contributors (all time): 28 points

python/prophet/serialize.py x: 3 contributors (all time) y: 110 lines of code python/prophet/models.py x: 2 contributors (all time) y: 242 lines of code python/setup.py x: 17 contributors (all time) y: 245 lines of code python/pyproject.toml x: 4 contributors (all time) y: 8 lines of code python/prophet/forecaster.py x: 6 contributors (all time) y: 904 lines of code python/scripts/generate_holidays_file.py x: 5 contributors (all time) y: 45 lines of code python/prophet/diagnostics.py x: 3 contributors (all time) y: 287 lines of code python/prophet/plot.py x: 3 contributors (all time) y: 628 lines of code notebooks/additional_topics.ipynb x: 4 contributors (all time) y: 291 lines of code python_shim/setup.py x: 2 contributors (all time) y: 28 lines of code python/MANIFEST.in x: 5 contributors (all time) y: 9 lines of code python/prophet/__init__.py x: 1 contributors (all time) y: 2 lines of code python/prophet/hdays.py x: 1 contributors (all time) y: 909 lines of code python/prophet/make_holidays.py x: 1 contributors (all time) y: 33 lines of code python/prophet/utilities.py x: 1 contributors (all time) y: 31 lines of code python_shim/fbprophet/__init__.py x: 1 contributors (all time) y: 7 lines of code R/inst/stan/prophet.stan x: 3 contributors (all time) y: 122 lines of code python/stan/win/prophet.stan x: 3 contributors (all time) y: 149 lines of code R/inst/include/stan_meta_header.hpp x: 2 contributors (all time) y: 1 lines of code
909.0
lines of code
  min: 1.0
  average: 149.39
  25th percentile: 1.0
  median: 29.5
  75th percentile: 218.75
  max: 909.0
0 17.0
contributors (all time)
min: 1.0 | average: 2.79 | 25th percentile: 1.0 | median: 2.0 | 75th percentile: 3.0 | max: 17.0

File Size vs. Commits (30 days): 0 points

No data for "commits (30d)" vs. "lines of code".

File Size vs. Contributors (30 days): 0 points

No data for "contributors (30d)" vs. "lines of code".


File Size vs. Commits (90 days): 1 points

python/prophet/serialize.py x: 1 commits (90d) y: 110 lines of code
110.0
lines of code
  min: 110.0
  average: 110.0
  25th percentile: 110.0
  median: 110.0
  75th percentile: 110.0
  max: 110.0
0 1.0
commits (90d)
min: 1.0 | average: 1.0 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 1.0

File Size vs. Contributors (90 days): 1 points

python/prophet/serialize.py x: 1 contributors (90d) y: 110 lines of code
110.0
lines of code
  min: 110.0
  average: 110.0
  25th percentile: 110.0
  median: 110.0
  75th percentile: 110.0
  max: 110.0
0 1.0
contributors (90d)
min: 1.0 | average: 1.0 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 1.0