File Size Overall
  • There are 14 files with 2,428 lines of code.
    • 1 very long files (1,389 lines of code)
    • 0 long files (0 lines of code)
    • 1 medium size files (205 lines of code)
    • 2 small files (280 lines of code)
    • 10 very small files (554 lines of code)
57% | 0% | 8% | 11% | 22%
Legend:
1001+
501-1000
201-500
101-200
1-100


explore: grouped by folders | grouped by size | sunburst | 3D view
File Size per Extension
1001+
501-1000
201-500
101-200
1-100
py57% | 0% | 8% | 11% | 22%
yaml0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
deepseek93% | 0% | 0% | 0% | 6%
ROOT0% | 0% | 27% | 37% | 34%
scripts0% | 0% | 0% | 0% | 100%
configs0% | 0% | 0% | 0% | 100%
Longest Files (Top 14)
File# lines# units
1389 60
205 1
153 21
esft.py
in root
127 12
97 1
train.py
in root
93 1
utils.py
in root
84 5
79 2
generate_expert_config.py
in scripts/expert
72 2
get_expert_scores.py
in scripts/expert
67 2
eval.py
in scripts
41 -
base.yaml
in configs
19 -
1 -
__init__.py
in deepseek
1 -
Files With Most Units (Top 10)
File# lines# units
1389 60
153 21
esft.py
in root
127 12
utils.py
in root
84 5
79 2
get_expert_scores.py
in scripts/expert
67 2
generate_expert_config.py
in scripts/expert
72 2
205 1
97 1
train.py
in root
93 1
Files With Long Lines (Top 9)

There are 9 files with lines longer than 120 characters. In total, there are 22 long lines.

File# lines# units# long lines
153 21 6
1389 60 4
eval.py
in scripts
41 - 3
205 1 2
esft.py
in root
127 12 2
train.py
in root
93 1 2
79 2 1
get_expert_scores.py
in scripts/expert
67 2 1
generate_expert_config.py
in scripts/expert
72 2 1
Correlations

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

configs/base.yaml x: 4 commits (all time) y: 19 lines of code train_ep.py x: 8 commits (all time) y: 205 lines of code benchmarks.py x: 2 commits (all time) y: 153 lines of code deepseek/modeling_deepseek.py x: 3 commits (all time) y: 1389 lines of code esft.py x: 3 commits (all time) y: 127 lines of code eval_multigpu.py x: 3 commits (all time) y: 79 lines of code scripts/expert/generate_expert_config.py x: 3 commits (all time) y: 72 lines of code scripts/expert/get_expert_scores.py x: 3 commits (all time) y: 67 lines of code deepseek/__init__.py x: 2 commits (all time) y: 1 lines of code deepseek/configuration_deepseek.py x: 2 commits (all time) y: 97 lines of code utils.py x: 2 commits (all time) y: 84 lines of code
1389.0
lines of code
  min: 1.0
  average: 198.83
  25th percentile: 68.25
  median: 88.5
  75th percentile: 146.5
  max: 1389.0
0 8.0
commits (all time)
min: 2.0 | average: 3.08 | 25th percentile: 2.0 | median: 3.0 | 75th percentile: 3.0 | max: 8.0

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

configs/base.yaml x: 3 contributors (all time) y: 19 lines of code train_ep.py x: 4 contributors (all time) y: 205 lines of code benchmarks.py x: 2 contributors (all time) y: 153 lines of code deepseek/modeling_deepseek.py x: 3 contributors (all time) y: 1389 lines of code esft.py x: 3 contributors (all time) y: 127 lines of code eval_multigpu.py x: 2 contributors (all time) y: 79 lines of code scripts/expert/generate_expert_config.py x: 2 contributors (all time) y: 72 lines of code scripts/expert/get_expert_scores.py x: 2 contributors (all time) y: 67 lines of code deepseek/__init__.py x: 2 contributors (all time) y: 1 lines of code deepseek/configuration_deepseek.py x: 2 contributors (all time) y: 97 lines of code utils.py x: 2 contributors (all time) y: 84 lines of code
1389.0
lines of code
  min: 1.0
  average: 198.83
  25th percentile: 68.25
  median: 88.5
  75th percentile: 146.5
  max: 1389.0
0 4.0
contributors (all time)
min: 2.0 | average: 2.42 | 25th percentile: 2.0 | median: 2.0 | 75th percentile: 3.0 | max: 4.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): 0 points

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

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

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

About This Analysis
  • 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...