File Size Overall
  • There are 21 files with 19,998 lines of code.
    • 7 very long files (16,016 lines of code)
    • 5 long files (3,207 lines of code)
    • 1 medium size files (209 lines of code)
    • 2 small files (249 lines of code)
    • 6 very small files (317 lines of code)
80% | 16% | 1% | 1% | 1%
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
ipynb85% | 14% | 0% | 0% | 0%
py0% | 50% | 20% | 0% | 28%
cfg0% | 0% | 0% | 100% | 0%
yaml0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
ROOT91% | 8% | 0% | 0% | <1%
ec2_instance_code90% | 8% | 0% | 0% | <1%
entity_source_data0% | 100% | 0% | 0% | 0%
kb_datasets0% | 100% | 0% | 0% | 0%
src0% | 51% | 0% | 25% | 22%
prodigy0% | 0% | 100% | 0% | 0%
Longest Files (Top 21)
File# lines# units
3829 -
little_sis.ipynb
in ec2_instance_code/2022_10_03
3630 -
2825 -
1608 -
spacy_trf_model_ner_single_file.ipynb
in ec2_instance_code/2022_10_03
1488 -
1458 -
open_sanctions.ipynb
in ec2_instance_code/2022_10_03
1178 -
854 -
resample_gu_articles.ipynb
in entity_source_data
758 -
spacy_trf_model_ner_all_files.ipynb
in ec2_instance_code/2022_10_03
580 -
509 -
506 14
el_recipe.py
in prodigy
209 8
cfg
nel_trf.cfg
in src/configs
131 -
cfg
nel.cfg
in src/configs
118 -
96 5
93 3
extract_ner_trf_model.py
in ec2_instance_code/2022_10_03
64 1
dvc.yaml
in root
34 -
custom_functions.py
in src/scripts
20 3
candidates.py
in src/scripts
10 1
Files With Most Units (Top 7)
File# lines# units
506 14
el_recipe.py
in prodigy
209 8
96 5
93 3
custom_functions.py
in src/scripts
20 3
extract_ner_trf_model.py
in ec2_instance_code/2022_10_03
64 1
candidates.py
in src/scripts
10 1
Files With Long Lines (Top 13)

There are 13 files with lines longer than 120 characters. In total, there are 227 long lines.

File# lines# units# long lines
little_sis.ipynb
in ec2_instance_code/2022_10_03
3630 - 93
2825 - 43
1458 - 30
open_sanctions.ipynb
in ec2_instance_code/2022_10_03
1178 - 24
509 - 9
3829 - 8
resample_gu_articles.ipynb
in entity_source_data
758 - 8
1608 - 5
spacy_trf_model_ner_all_files.ipynb
in ec2_instance_code/2022_10_03
580 - 2
spacy_trf_model_ner_single_file.ipynb
in ec2_instance_code/2022_10_03
1488 - 2
dvc.yaml
in root
34 - 1
el_recipe.py
in prodigy
209 8 1
96 5 1
Correlations

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

dvc.yaml x: 7 commits (all time) y: 34 lines of code src/configs/nel.cfg x: 3 commits (all time) y: 118 lines of code src/configs/nel_trf.cfg x: 2 commits (all time) y: 131 lines of code src/kb_clean_merge_datasets.py x: 10 commits (all time) y: 506 lines of code src/make_kb.py x: 7 commits (all time) y: 93 lines of code src/prepare_training.py x: 6 commits (all time) y: 96 lines of code src/scripts/candidates.py x: 3 commits (all time) y: 10 lines of code src/scripts/custom_functions.py x: 3 commits (all time) y: 20 lines of code prodigy/el_recipe.py x: 30 commits (all time) y: 209 lines of code kb_datasets/merge_and_clean_kb_datasets.ipynb x: 13 commits (all time) y: 509 lines of code Improve_candidate_generation.ipynb x: 6 commits (all time) y: 3829 lines of code ec2_instance_code/2022_10_03/open_sanctions.ipynb x: 13 commits (all time) y: 1178 lines of code ec2_instance_code/2022_10_03/spacy_trf_model_ner_all_files.ipynb x: 5 commits (all time) y: 580 lines of code el_notebook_20220929.ipynb x: 14 commits (all time) y: 1458 lines of code entity_source_data/resample_gu_articles.ipynb x: 9 commits (all time) y: 758 lines of code ec2_instance_code/2022_10_03/little_sis.ipynb x: 5 commits (all time) y: 3630 lines of code ec2_instance_code/2022_10_03/extract_ner_trf_model.py x: 1 commits (all time) y: 64 lines of code ec2_instance_code/2022_10_03/spacy_trf_model_ner_single_file.ipynb x: 1 commits (all time) y: 1488 lines of code el_notebook.ipynb x: 1 commits (all time) y: 2825 lines of code fuzzy_matching.ipynb x: 1 commits (all time) y: 1608 lines of code try_random_code.ipynb x: 1 commits (all time) y: 854 lines of code
3829.0
lines of code
  min: 10.0
  average: 952.29
  25th percentile: 94.5
  median: 509.0
  75th percentile: 1473.0
  max: 3829.0
0 30.0
commits (all time)
min: 1.0 | average: 6.71 | 25th percentile: 1.5 | median: 5.0 | 75th percentile: 9.5 | max: 30.0

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

dvc.yaml x: 2 contributors (all time) y: 34 lines of code src/configs/nel.cfg x: 1 contributors (all time) y: 118 lines of code src/configs/nel_trf.cfg x: 2 contributors (all time) y: 131 lines of code src/kb_clean_merge_datasets.py x: 2 contributors (all time) y: 506 lines of code src/make_kb.py x: 2 contributors (all time) y: 93 lines of code src/scripts/candidates.py x: 1 contributors (all time) y: 10 lines of code src/scripts/custom_functions.py x: 1 contributors (all time) y: 20 lines of code prodigy/el_recipe.py x: 3 contributors (all time) y: 209 lines of code Improve_candidate_generation.ipynb x: 2 contributors (all time) y: 3829 lines of code ec2_instance_code/2022_10_03/open_sanctions.ipynb x: 2 contributors (all time) y: 1178 lines of code ec2_instance_code/2022_10_03/spacy_trf_model_ner_all_files.ipynb x: 2 contributors (all time) y: 580 lines of code el_notebook_20220929.ipynb x: 2 contributors (all time) y: 1458 lines of code entity_source_data/resample_gu_articles.ipynb x: 2 contributors (all time) y: 758 lines of code ec2_instance_code/2022_10_03/little_sis.ipynb x: 2 contributors (all time) y: 3630 lines of code ec2_instance_code/2022_10_03/extract_ner_trf_model.py x: 1 contributors (all time) y: 64 lines of code ec2_instance_code/2022_10_03/spacy_trf_model_ner_single_file.ipynb x: 1 contributors (all time) y: 1488 lines of code el_notebook.ipynb x: 1 contributors (all time) y: 2825 lines of code fuzzy_matching.ipynb x: 1 contributors (all time) y: 1608 lines of code try_random_code.ipynb x: 1 contributors (all time) y: 854 lines of code
3829.0
lines of code
  min: 10.0
  average: 952.29
  25th percentile: 94.5
  median: 509.0
  75th percentile: 1473.0
  max: 3829.0
0 3.0
contributors (all time)
min: 1.0 | average: 1.67 | 25th percentile: 1.0 | median: 2.0 | 75th percentile: 2.0 | max: 3.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...