microsoft / CameraTraps
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 412 files with 52,223 lines of code.
    • 0 very long files (0 lines of code)
    • 6 long files (3,792 lines of code)
    • 73 medium size files (22,756 lines of codeclsfd_ftr_w_mp_ins)
    • 109 small files (15,244 lines of code)
    • 224 very small files (10,431 lines of code)
0% | 7% | 43% | 29% | 19%
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% | 6% | 41% | 31% | 20%
p0% | 88% | 0% | 0% | 11%
cs0% | 0% | 84% | 3% | 11%
html0% | 0% | 100% | 0% | 0%
yml0% | 0% | 0% | 0% | 100%
xaml0% | 0% | 0% | 0% | 100%
js0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
data_management0% | 11% | 35% | 38% | 14%
api0% | 16% | 54% | 14% | 14%
classification0% | 11% | 58% | 21% | 8%
research0% | 5% | 33% | 29% | 31%
archive0% | 0% | 41% | 33% | 25%
detection0% | 0% | 76% | 11% | 11%
taxonomy_mapping0% | 0% | 69% | 14% | 16%
visualization0% | 0% | 52% | 47% | 0%
sandbox0% | 0% | 69% | 0% | 30%
api_flask_redis0% | 0% | 0% | 62% | 37%
benchmark0% | 0% | 0% | 100% | 0%
ROOT0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
idaho-camera-traps.py
in data_management/importers
768 5
postprocess_batch_results.py
in api/batch_processing/postprocessing
766 11
snapshot_serengeti_lila.py
in data_management/importers
648 5
manage_api_submission.py
in api/batch_processing/data_preparation
551 3
train_classifier.py
in classification
546 17
p
inat_category_lookup_CCT.p
in research/map_data_to_inat
513 -
repeat_detections_core.py
in api/batch_processing/postprocessing/repeat_detection_elimination
497 11
Form.Designer.cs
in api/batch_processing/postprocessing/CameraTrapJsonFileProcessingApp
488 2
channel_islands_to_cct.py
in data_management/importers
480 7
detect_and_crop.py
in classification
474 10
index.html
in archive
473 -
index.html
in research/active_learning/labeling_tool/static/html
465 -
missouri_to_json.py
in data_management/importers
451 -
SubsetJsonDetectorOutput.cs
in api/batch_processing/postprocessing/CameraTrapJsonFileProcessingApp
450 8
runapp.py
in research/active_learning/labeling_tool
450 18
runapp.py
in archive
449 18
snapshot_safari_importer.py
in data_management/importers
448 4
train_classifier_tf.py
in classification
447 9
Form.cs
in api/batch_processing/postprocessing/CameraTrapJsonFileProcessingApp
428 1
inception_v2.py
in archive/classification_marcel/tf-slim/nets
406 3
eMammalIntegrationWindow.xaml.cs
in api/batch_processing/integration/eMammal/WPF-integration-app
403 29
s3dg.py
in archive/classification_marcel/tf-slim/nets
386 4
nasnet.py
in archive/classification_marcel/tf-slim/nets/nasnet
382 14
make_classification_dataset.py
in data_management/databases/classification
382 11
inception_v3.py
in archive/classification_marcel/tf-slim/nets
379 3
train_image_classifier.py
in archive/classification_marcel/tf-slim
368 5
create_classification_dataset.py
in classification
368 6
json_validator.py
in classification
364 11
nasnet_utils.py
in archive/classification_marcel/tf-slim/nets/nasnet
352 23
run_tf_detector_batch.py
in detection
346 9
freeze_graph.py
in archive/classification_marcel
337 8
detect_and_predict_image.py
in archive/classification_marcel
318 10
utils.py
in research/active_learning/DL
310 31
evaluate_model.py
in classification
309 6
visualization_utils.py
in visualization
307 12
xmp_integration.py
in api/batch_processing/integration/digiKam
304 9
timelapse_csv_set_to_json.py
in data_management/importers
303 -
manage_local_batch.py
in api/batch_processing/data_preparation
302 3
species_lookup.py
in taxonomy_mapping
302 7
utils.py
in classification/efficientnet
298 27
build_imagenet_data.py
in archive/classification_marcel/tf-slim/datasets
294 20
umn_to_json.py
in data_management/importers
291 1
model_deploy.py
in archive/classification_marcel/tf-slim/deployment
286 21
process_species_by_dataset.py
in taxonomy_mapping
285 7
merge_classification_detection_output.py
in classification
281 5
umn-pr-analysis.py
in research
278 1
run_tf_detector.py
in detection
272 12
subset_json_detector_output.py
in api/batch_processing/postprocessing
267 9
crop_detections.py
in classification
267 6
create_tfrecords.py
in data_management/tfrecords/utils
260 15
Files With Most Units (Top 20)
File# lines# units
utils.py
in research/active_learning/DL
310 31
eMammalIntegrationWindow.xaml.cs
in api/batch_processing/integration/eMammal/WPF-integration-app
403 29
utils.py
in research/active_learning/deep_learning
223 28
utils.py
in classification/efficientnet
298 27
sqlite_data_loader.py
in research/active_learning/DL
155 25
nasnet_utils.py
in archive/classification_marcel/tf-slim/nets/nasnet
352 23
model_deploy.py
in archive/classification_marcel/tf-slim/deployment
286 21
build_imagenet_data.py
in archive/classification_marcel/tf-slim/datasets
294 20
hierarchical_clustering_AL.py
in research/active_learning/active_learning_methods
254 20
sqlite_data_loader_bk.py
in research/active_learning/archive
131 20
hierarchical_clustering_AL.py
in research/active_learning/sampling_methods
254 20
eMammalMySQLOps.cs
in api/batch_processing/integration/eMammal/WPF-integration-app
230 18
runapp.py
in archive
449 18
runapp.py
in research/active_learning/labeling_tool
450 18
prepare_api_submission.py
in api/batch_processing/data_preparation
241 17
train_classifier.py
in classification
546 17
create_tfrecords.py
in data_management/tfrecords/utils
260 15
score.py
in api/batch_processing/api_core/batch_service
247 14
mobilenet.py
in archive/classification_marcel/tf-slim/nets/mobilenet
214 14
nasnet.py
in archive/classification_marcel/tf-slim/nets/nasnet
382 14
Files With Long Lines (Top 20)

There are 136 files with lines longer than 120 characters. In total, there are 661 long lines.

File# lines# units# long lines
index.html
in archive
473 - 51
index.html
in research/active_learning/labeling_tool/static/html
465 - 46
Form.Designer.cs
in api/batch_processing/postprocessing/CameraTrapJsonFileProcessingApp
488 2 37
runapp.py
in archive
449 18 28
runapp.py
in research/active_learning/labeling_tool
450 18 28
xaml
eMammalIntegrationWindow.xaml
in api/batch_processing/integration/eMammal/WPF-integration-app
84 - 26
detect_and_predict_image.py
in archive/classification_marcel
318 10 21
utils.py
in classification/efficientnet
298 27 17
api_apply_classifier_single_node.py
in archive/classification_marcel
135 5 16
Constants.cs
in api/batch_processing/integration/eMammal/WPF-integration-app
45 - 10
SubsetJsonDetectorOutput.cs
in api/batch_processing/postprocessing/CameraTrapJsonFileProcessingApp
450 8 10
initialize_pretrain_db.py
in research/active_learning/Database
109 - 10
initialize_target_db.py
in research/active_learning/Database
82 - 9
subset_json_detector_output.py
in api/batch_processing/postprocessing
267 9 8
run_backup.py
in research/active_learning/archive
227 10 8
crop_images_from_batch_api_detections.py
in research/active_learning/data_preprocessing
94 1 8
eMammalIntegrationWindow.xaml.cs
in api/batch_processing/integration/eMammal/WPF-integration-app
403 29 7
run_tf_detector_batch.py
in detection
346 9 7
initialize_target_db_from_classification_dataset.py
in research/active_learning/Database
72 - 7
crop_images_from_coco_bboxes.py
in research/active_learning/data_preprocessing
73 1 7