tensorflow / io
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 308 files with 45,458 lines of code.
    • 4 very long files (7,325 lines of code)
    • 13 long files (9,855 lines of code)
    • 47 medium size files (14,746 lines of codeclsfd_ftr_w_mp_ins)
    • 43 small files (6,072 lines of code)
    • 201 very small files (7,460 lines of code)
16% | 21% | 32% | 13% | 16%
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
py39% | 0% | 19% | 11% | 29%
cc10% | 32% | 36% | 12% | 7%
h0% | 0% | 46% | 14% | 38%
R0% | 0% | 39% | 0% | 60%
swift0% | 0% | 0% | 100% | 0%
tpl0% | 0% | 0% | 100% | 0%
go0% | 0% | 0% | 100% | 0%
Dockerfile0% | 0% | 0% | 0% | 100%
bzl0% | 0% | 0% | 0% | 100%
css0% | 0% | 0% | 0% | 100%
yml0% | 0% | 0% | 0% | 100%
Rmd0% | 0% | 0% | 0% | 100%
proto0% | 0% | 0% | 0% | 100%
js0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
tensorflow_io/python40% | 0% | 20% | 9% | 29%
tensorflow_io/core6% | 30% | 37% | 13% | 11%
tensorflow_io_gcs_filesystem/core63% | 0% | 13% | 13% | 9%
R-package/R0% | 0% | 41% | 0% | 58%
tools/lint0% | 0% | 0% | 73% | 26%
ROOT0% | 0% | 0% | 100% | 0%
tools/build0% | 0% | 0% | 81% | 18%
R-package/pkgdown0% | 0% | 0% | 0% | 100%
tools/docker0% | 0% | 0% | 0% | 100%
tensorflow_io0% | 0% | 0% | 0% | 100%
R-package/scripts0% | 0% | 0% | 0% | 100%
R-package0% | 0% | 0% | 0% | 100%
tensorflow_io_gcs_filesystem0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
dicom_ops.py
in tensorflow_io/python/ops
4095 3
gcs_filesystem.cc
in tensorflow_io_gcs_filesystem/core
1119 44
oss_file_system.cc
in tensorflow_io/core/kernels/oss
1068 38
s3_filesystem.cc
in tensorflow_io/core/filesystems/s3
1043 38
kafka_kernels_deprecated.cc
in tensorflow_io/core/kernels
963 32
kafka_kernels.cc
in tensorflow_io/core/kernels
918 40
az_filesystem.cc
in tensorflow_io/core/filesystems/az
910 41
ffmpeg_kernels.cc
in tensorflow_io/core/kernels
807 50
hadoop_filesystem.cc
in tensorflow_io/core/filesystems/hdfs
784 34
audio_video_mp4_kernels.cc
in tensorflow_io/core/kernels
758 32
arrow_dataset_ops.cc
in tensorflow_io/core/kernels/arrow
752 52
ffmpeg_kernels_deprecated.cc
in tensorflow_io/core/kernels
739 42
http_filesystem.cc
in tensorflow_io/core/filesystems/http
687 45
memcached_file_block_cache.cc
in tensorflow_io/core/kernels/gsmemcachedfs
654 25
hdf5_kernels.cc
in tensorflow_io/core/kernels
647 17
arrow_kernels.cc
in tensorflow_io/core/kernels/arrow
642 19
numpy_kernels.cc
in tensorflow_io/core/kernels
594 21
bigquery_lib.h
in tensorflow_io/core/kernels/bigquery
499 14
avro_kernels.cc
in tensorflow_io/core/kernels
494 16
audio_video_flac_kernels.cc
in tensorflow_io/core/kernels
466 22
serialization_kernels.cc
in tensorflow_io/core/kernels
457 21
avro_parser.cc
in tensorflow_io/core/kernels/avro/utils
452 34
bigtable_dataset_kernel.cc
in tensorflow_io/core/kernels/bigtable
430 25
avro_parser_tree.cc
in tensorflow_io/core/kernels/avro/utils
413 25
kinesis_kernels.cc
in tensorflow_io/core/kernels
407 15
arrow_dataset_ops.py
in tensorflow_io/python/ops
397 20
parse_avro_kernels.cc
in tensorflow_io/core/kernels/avro
390 7
audio_video_wav_kernels.cc
in tensorflow_io/core/kernels
390 10
audio_ffmpeg_kernels.cc
in tensorflow_io/core/kernels
385 6
image_dicom_kernels.cc
in tensorflow_io/core/kernels
382 18
audio_ops.py
in tensorflow_io/python/ops
366 32
arrow_util.cc
in tensorflow_io/core/kernels/arrow
362 28
parquet_kernels.cc
in tensorflow_io/core/kernels
355 12
value_buffer.h
in tensorflow_io/core/kernels/avro/utils
350 27
image_tiff_kernels.cc
in tensorflow_io/core/kernels
335 16
audio_video_ogg_kernels.cc
in tensorflow_io/core/kernels
324 13
prometheus_kernels.cc
in tensorflow_io/core/kernels
323 13
parse_avro_ops.py
in tensorflow_io/python/experimental
323 10
audio_video_mp3_kernels.cc
in tensorflow_io/core/kernels
317 12
mongodb_kernels.cc
in tensorflow_io/core/kernels
302 21
cpu_info.cc
in tensorflow_io/core/kernels
289 13
image_font_kernels.cc
in tensorflow_io/core/kernels
280 5
pulsar_kernel.cc
in tensorflow_io/core/kernels
278 21
elasticsearch_kernels.cc
in tensorflow_io/core/kernels
274 10
io_interface.h
in tensorflow_io/core/kernels
273 21
bigquery_dataset_ops.py
in tensorflow_io/python/ops
266 10
io_tensor_ops.py
in tensorflow_io/python/ops
262 35
avro_ops.cc
in tensorflow_io/core/ops
258 3
csv_kernels.cc
in tensorflow_io/core/kernels
258 5
value_buffer.cc
in tensorflow_io/core/kernels/avro/utils
256 14
Files With Most Units (Top 20)
File# lines# units
arrow_dataset_ops.cc
in tensorflow_io/core/kernels/arrow
752 52
ffmpeg_kernels.cc
in tensorflow_io/core/kernels
807 50
http_filesystem.cc
in tensorflow_io/core/filesystems/http
687 45
gcs_filesystem.cc
in tensorflow_io_gcs_filesystem/core
1119 44
ffmpeg_kernels_deprecated.cc
in tensorflow_io/core/kernels
739 42
az_filesystem.cc
in tensorflow_io/core/filesystems/az
910 41
kafka_kernels.cc
in tensorflow_io/core/kernels
918 40
s3_filesystem.cc
in tensorflow_io/core/filesystems/s3
1043 38
oss_file_system.cc
in tensorflow_io/core/kernels/oss
1068 38
IODataset_wrappers.R
in R-package/R
224 35
io_tensor_ops.py
in tensorflow_io/python/ops
262 35
hadoop_filesystem.cc
in tensorflow_io/core/filesystems/hdfs
784 34
avro_parser.cc
in tensorflow_io/core/kernels/avro/utils
452 34
kafka_kernels_deprecated.cc
in tensorflow_io/core/kernels
963 32
audio_video_mp4_kernels.cc
in tensorflow_io/core/kernels
758 32
audio_ops.py
in tensorflow_io/python/ops
366 32
arrow_util.cc
in tensorflow_io/core/kernels/arrow
362 28
value_buffer.h
in tensorflow_io/core/kernels/avro/utils
350 27
memcached_file_block_cache.cc
in tensorflow_io/core/kernels/gsmemcachedfs
654 25
avro_parser_tree.cc
in tensorflow_io/core/kernels/avro/utils
413 25
Files With Long Lines (Top 11)

There are 11 files with lines longer than 120 characters. In total, there are 39 long lines.

File# lines# units# long lines
video.swift
in tensorflow_io/core/swift
191 10 23
audio.swift
in tensorflow_io/core/swift
165 4 4
arrow_wrappers.R
in R-package/R
36 4 3
prometheus.go
in tensorflow_io/core/go
128 5 2
gen_wrappers.R
in R-package/scripts
29 - 1
image_wrappers.R
in R-package/R
29 4 1
Rmd
index.Rmd
in R-package
24 - 1
extra.css
in R-package/pkgdown
58 - 1
devel.Dockerfile
in tools/docker
46 - 1
configure.py
in tools/build
116 1 1
defs.bzl
in tools/lint
63 - 1