tensorflow / gnn
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 51 files with 5,667 lines of code.
    • 0 very long files (0 lines of code)
    • 2 long files (1,013 lines of code)
    • 8 medium size files (2,222 lines of codeclsfd_ftr_w_mp_ins)
    • 9 small files (1,403 lines of code)
    • 32 very small files (1,029 lines of code)
0% | 17% | 39% | 24% | 18%
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% | 18% | 41% | 22% | 17%
proto0% | 0% | 0% | 66% | 33%
bzl0% | 0% | 0% | 0% | 100%
in0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
tensorflow_gnn/graph0% | 31% | 41% | 15% | 11%
tensorflow_gnn/graph/keras0% | 0% | 65% | 10% | 23%
tensorflow_gnn/data0% | 0% | 0% | 99% | <1%
tensorflow_gnn/proto0% | 0% | 0% | 93% | 6%
tensorflow_gnn/tools0% | 0% | 0% | 43% | 56%
ROOT0% | 0% | 0% | 96% | 3%
tensorflow_gnn/sampler0% | 0% | 0% | 75% | 24%
tensorflow_gnn0% | 0% | 0% | 0% | 100%
package0% | 0% | 0% | 0% | 100%
tensorflow_gnn/utils0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
graph_tensor.py
in tensorflow_gnn/graph
508 60
graph_piece.py
in tensorflow_gnn/graph
505 55
graph_ops.py
in tensorflow_gnn/graph/keras/layers
345 45
padding_ops.py
in tensorflow_gnn/graph
329 15
graph_update.py
in tensorflow_gnn/graph/keras/layers
303 26
graph_tensor_ops.py
in tensorflow_gnn/graph
271 19
graph_tensor_io.py
in tensorflow_gnn/graph
265 22
gat_v2.py
in tensorflow_gnn/graph/keras/layers
262 10
adjacency.py
in tensorflow_gnn/graph
239 28
schema_validation.py
in tensorflow_gnn/graph
208 13
unigraph.py
in tensorflow_gnn/data
199 21
tensor_utils.py
in tensorflow_gnn/graph
197 14
proto
graph_schema.proto
in tensorflow_gnn/proto
188 -
graph_tensor_random.py
in tensorflow_gnn/graph
175 7
sampled_stats.py
in tensorflow_gnn/tools
147 13
map_features.py
in tensorflow_gnn/graph/keras/layers
142 10
setup.py
in root
136 9
batching_utils.py
in tensorflow_gnn/graph
116 3
subgraph.py
in tensorflow_gnn/sampler
103 6
schema_utils.py
in tensorflow_gnn/graph
98 10
__init__.py
in tensorflow_gnn
86 -
keras_tensors.py
in tensorflow_gnn/graph/keras
79 6
next_state.py
in tensorflow_gnn/graph/keras/layers
79 6
graph_tensor_encode.py
in tensorflow_gnn/graph
77 9
convolutions.py
in tensorflow_gnn/graph/keras/layers
69 5
normalization_ops.py
in tensorflow_gnn/graph
62 4
print_training_data.py
in tensorflow_gnn/tools
62 4
proto
sampled_stats.proto
in tensorflow_gnn/tools
53 -
generate_training_data.py
in tensorflow_gnn/tools
50 5
builders.py
in tensorflow_gnn/graph/keras
39 3
graph_constants.py
in tensorflow_gnn/graph
35 -
__init__.py
in tensorflow_gnn/graph/keras/layers
33 -
proto
subgraph.proto
in tensorflow_gnn/sampler
32 -
graph_tensor_test_utils.py
in tensorflow_gnn/graph
30 2
graph_tensor_pprint.py
in tensorflow_gnn/graph
29 3
validate_graph_schema.py
in tensorflow_gnn/tools
26 3
parse_example.py
in tensorflow_gnn/graph/keras/layers
23 6
tfdep.bzl
in package
12 -
preprocessing_common.py
in tensorflow_gnn/graph
11 -
dict_utils.py
in tensorflow_gnn/graph
10 2
proto
examples.proto
in tensorflow_gnn/proto
8 -
__init__.py
in tensorflow_gnn/graph/keras
6 -
in
MANIFEST.in
in root
5 -
graph_schema.py
in tensorflow_gnn/proto
5 -
version.py
in tensorflow_gnn
4 -
__init__.py
in tensorflow_gnn/data
1 -
__init__.py
in tensorflow_gnn/graph
1 -
__init__.py
in tensorflow_gnn/sampler
1 -
__init__.py
in tensorflow_gnn/tools
1 -
__init__.py
in tensorflow_gnn/utils
1 -
Files With Most Units (Top 20)
File# lines# units
graph_tensor.py
in tensorflow_gnn/graph
508 60
graph_piece.py
in tensorflow_gnn/graph
505 55
graph_ops.py
in tensorflow_gnn/graph/keras/layers
345 45
adjacency.py
in tensorflow_gnn/graph
239 28
graph_update.py
in tensorflow_gnn/graph/keras/layers
303 26
graph_tensor_io.py
in tensorflow_gnn/graph
265 22
unigraph.py
in tensorflow_gnn/data
199 21
graph_tensor_ops.py
in tensorflow_gnn/graph
271 19
padding_ops.py
in tensorflow_gnn/graph
329 15
tensor_utils.py
in tensorflow_gnn/graph
197 14
schema_validation.py
in tensorflow_gnn/graph
208 13
sampled_stats.py
in tensorflow_gnn/tools
147 13
schema_utils.py
in tensorflow_gnn/graph
98 10
gat_v2.py
in tensorflow_gnn/graph/keras/layers
262 10
map_features.py
in tensorflow_gnn/graph/keras/layers
142 10
setup.py
in root
136 9
graph_tensor_encode.py
in tensorflow_gnn/graph
77 9
graph_tensor_random.py
in tensorflow_gnn/graph
175 7
keras_tensors.py
in tensorflow_gnn/graph/keras
79 6
next_state.py
in tensorflow_gnn/graph/keras/layers
79 6
Files With Long Lines (Top 0)

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

File# lines# units# long lines