aws / sagemaker-tensorflow-extensions
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 45 files with 1,924 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 1 medium size files (214 lines of codeclsfd_ftr_w_mp_ins)
    • 2 small files (298 lines of code)
    • 42 very small files (1,412 lines of code)
0% | 0% | 11% | 15% | 73%
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
cpp0% | 0% | 43% | 0% | 56%
py0% | 0% | 0% | 21% | 78%
h0% | 0% | 0% | 28% | 71%
hpp0% | 0% | 0% | 0% | 100%
yml0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
src/pipemode_op/Dataset/src0% | 0% | 100% | 0% | 0%
benchmarking/pipemode_benchmark0% | 0% | 0% | 35% | 64%
src/pipemode_op/include0% | 0% | 0% | 32% | 67%
src/pipemode_op/RecordReader0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
benchmarking/pipemode_benchmark/docker0% | 0% | 0% | 0% | 100%
src/pipemode_op/PipeStateManager0% | 0% | 0% | 0% | 100%
src/sagemaker_tensorflow0% | 0% | 0% | 0% | 100%
src/pipemode_op/include/tensorflow0% | 0% | 0% | 0% | 100%
benchmarking0% | 0% | 0% | 0% | 100%
Longest Files (Top 45)
File# lines# units
pipemode_dataset_op_kernel.cpp
in src/pipemode_op/Dataset/src
214 8
benchmark.py
in benchmarking/pipemode_benchmark
181 4
nsync_time_internal.h
in src/pipemode_op/include
117 7
dataset.py
in benchmarking/pipemode_benchmark
100 8
setup.py
in root
81 5
gpu_pipeline_script.py
in benchmarking/pipemode_benchmark/docker
63 10
RecordReader.cpp
in src/pipemode_op/RecordReader
59 2
pipemode.py
in src/sagemaker_tensorflow
58 8
TextLineRecordReader.cpp
in src/pipemode_op/RecordReader
58 2
script.py
in benchmarking/pipemode_benchmark
57 4
input_only_script.py
in benchmarking/pipemode_benchmark/docker
57 9
TFRecordReader.cpp
in src/pipemode_op/RecordReader
57 3
recordio_utils.py
in benchmarking/pipemode_benchmark
56 6
RecordIOReader.cpp
in src/pipemode_op/RecordReader
54 6
PipeStateManager.cpp
in src/pipemode_op/PipeStateManager
53 3
local_benchmark.py
in benchmarking/pipemode_benchmark
51 1
create_integ_test_docker_images.py
in root
48 -
nsync_atomic.h
in src/pipemode_op/include
41 -
repo_helper.py
in benchmarking/pipemode_benchmark
40 1
RecordReader.hpp
in src/pipemode_op/RecordReader
35 1
types.h
in src/pipemode_op/include/tensorflow/core/platform
32 -
nsync_cv.h
in src/pipemode_op/include
29 -
buildspec-release.yml
in root
29 -
TextLineRecordReader.hpp
in src/pipemode_op/RecordReader
28 1
nsync_waiter.h
in src/pipemode_op/include
28 -
PipeStateManager.hpp
in src/pipemode_op/PipeStateManager
27 -
TFRecordReader.hpp
in src/pipemode_op/RecordReader
25 -
nsync_mu.h
in src/pipemode_op/include
24 -
nsync_mu_wait.h
in src/pipemode_op/include
20 -
crc32c.h
in src/pipemode_op/include/tensorflow/core/lib/hash
19 3
nsync_counter.h
in src/pipemode_op/include
18 -
buildspec-deploy.yml
in root
18 -
nsync_time.h
in src/pipemode_op/include
17 -
bucket_helper.py
in benchmarking/pipemode_benchmark
16 1
nsync_cpp.h
in src/pipemode_op/include
16 -
nsync_note.h
in src/pipemode_op/include
15 -
RecordIOReader.hpp
in src/pipemode_op/RecordReader
14 -
nsync_debug.h
in src/pipemode_op/include
14 -
nsync_once.h
in src/pipemode_op/include
14 -
buildspec.yml
in root
13 -
setup.py
in benchmarking
11 -
nsync.h
in src/pipemode_op/include
11 -
__init__.py
in src/sagemaker_tensorflow
3 -
__init__.py
in benchmarking/pipemode_benchmark
2 -
region_helper.py
in benchmarking/pipemode_benchmark
1 -
Files With Most Units (Top 20)
File# lines# units
gpu_pipeline_script.py
in benchmarking/pipemode_benchmark/docker
63 10
input_only_script.py
in benchmarking/pipemode_benchmark/docker
57 9
dataset.py
in benchmarking/pipemode_benchmark
100 8
pipemode.py
in src/sagemaker_tensorflow
58 8
pipemode_dataset_op_kernel.cpp
in src/pipemode_op/Dataset/src
214 8
nsync_time_internal.h
in src/pipemode_op/include
117 7
recordio_utils.py
in benchmarking/pipemode_benchmark
56 6
RecordIOReader.cpp
in src/pipemode_op/RecordReader
54 6
setup.py
in root
81 5
benchmark.py
in benchmarking/pipemode_benchmark
181 4
script.py
in benchmarking/pipemode_benchmark
57 4
PipeStateManager.cpp
in src/pipemode_op/PipeStateManager
53 3
TFRecordReader.cpp
in src/pipemode_op/RecordReader
57 3
crc32c.h
in src/pipemode_op/include/tensorflow/core/lib/hash
19 3
RecordReader.cpp
in src/pipemode_op/RecordReader
59 2
TextLineRecordReader.cpp
in src/pipemode_op/RecordReader
58 2
repo_helper.py
in benchmarking/pipemode_benchmark
40 1
bucket_helper.py
in benchmarking/pipemode_benchmark
16 1
local_benchmark.py
in benchmarking/pipemode_benchmark
51 1
RecordReader.hpp
in src/pipemode_op/RecordReader
35 1
Files With Long Lines (Top 1)

There is only one file with lines longer than 120 characters. In total, there are 4 long lines.

File# lines# units# long lines
buildspec-deploy.yml
in root
18 - 4