tensorflow / ngraph-bridge
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 63 files with 9,530 lines of code.
    • 1 very long files (2,316 lines of code)
    • 2 long files (1,099 lines of code)
    • 10 medium size files (3,291 lines of codeclsfd_ftr_w_mp_ins)
    • 8 small files (1,184 lines of code)
    • 42 very small files (1,640 lines of code)
24% | 11% | 34% | 12% | 17%
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
cc34% | 16% | 34% | 9% | 5%
py0% | 0% | 55% | 18% | 26%
cmake0% | 0% | 0% | 59% | 40%
h0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
ngraph_bridge35% | 16% | 23% | 9% | 14%
tools0% | 0% | 81% | 0% | 18%
ngraph_bridge/pass0% | 0% | 95% | 0% | 4%
ngraph_bridge/kernels0% | 0% | 100% | 0% | 0%
ROOT0% | 0% | 72% | 0% | 27%
diagnostics/model_test0% | 0% | 100% | 0% | 0%
diagnostics0% | 0% | 0% | 62% | 37%
python/ngraph_bridge0% | 0% | 0% | 100% | 0%
python0% | 0% | 0% | 77% | 22%
cmake0% | 0% | 0% | 40% | 59%
diagnostics/model_accuracy0% | 0% | 0% | 0% | 100%
ngraph_bridge/ops0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
ngraph_builder.cc
in ngraph_bridge
2316 84
mark_for_clustering.cc
in ngraph_bridge
581 13
assign_clusters.cc
in ngraph_bridge
518 6
build_utils.py
in tools
425 20
tf_deadness_analysis.cc
in ngraph_bridge
425 38
encapsulate_clusters.cc
in ngraph_bridge
417 5
transpose_sinking.cc
in ngraph_bridge/pass
394 20
ngraph_encapsulate_op.cc
in ngraph_bridge/kernels
349 3
build_ngtf.py
in root
311 2
tf_graphcycles.cc
in ngraph_bridge
298 20
verify_model.py
in diagnostics/model_test
235 6
executable.cc
in ngraph_bridge
232 2
backend.cc
in ngraph_bridge
205 2
tf_utils.cc
in ngraph_bridge
188 7
ngtf_graph_viewer.py
in diagnostics
166 9
ie_tensor.cc
in ngraph_bridge
159 4
deassign_clusters.cc
in ngraph_bridge
151 2
__init__.in.py
in python/ngraph_bridge
148 15
cmake
CreatePipWhl.cmake
in python
132 -
ngraph_optimizer.cc
in ngraph_bridge
127 4
cmake
FindTensorFlow.cmake
in cmake
113 -
verify_inference_model.py
in diagnostics/model_accuracy
100 5
log_parser.py
in tools
94 2
api.cc
in ngraph_bridge
90 23
ngraph_conversions.h
in ngraph_bridge
86 7
cmake
external_gtest.cmake
in cmake
81 -
remove_protobuf_class_attribute.py
in diagnostics
73 4
build_tf.py
in root
64 1
ngraph_rewrite_pass.cc
in ngraph_bridge
63 2
backend_manager.cc
in ngraph_bridge
60 4
cmake
sdl.cmake
in cmake
55 -
build_ov.py
in root
55 1
utils.cc
in ngraph_bridge
52 5
ngraph_builder.h
in ngraph_bridge
46 1
ie_tensor.h
in ngraph_bridge
44 3
encapsulate_clusters.h
in ngraph_bridge
40 -
timer.h
in ngraph_bridge
40 4
setup.in.py
in python
39 2
api.h
in ngraph_bridge
38 -
version.cc
in ngraph_bridge
37 2
tf_deadness_analysis.h
in ngraph_bridge
32 4
tf_graphcycles.h
in ngraph_bridge
32 -
cmake
cmake_uninstall.in.cmake
in cmake
31 -
executable.h
in ngraph_bridge
31 -
log.h
in ngraph_bridge
29 1
ngraph_conversions.cc
in ngraph_bridge
29 2
ngraph_optimizer.h
in ngraph_bridge
29 2
tf_utils.h
in ngraph_bridge
27 -
get_node_encapsulate_map.py
in diagnostics
26 1
mark_for_clustering.h
in ngraph_bridge
26 -
Files With Most Units (Top 20)
File# lines# units
ngraph_builder.cc
in ngraph_bridge
2316 84
tf_deadness_analysis.cc
in ngraph_bridge
425 38
api.cc
in ngraph_bridge
90 23
build_utils.py
in tools
425 20
tf_graphcycles.cc
in ngraph_bridge
298 20
transpose_sinking.cc
in ngraph_bridge/pass
394 20
__init__.in.py
in python/ngraph_bridge
148 15
mark_for_clustering.cc
in ngraph_bridge
581 13
ngtf_graph_viewer.py
in diagnostics
166 9
ngraph_conversions.h
in ngraph_bridge
86 7
tf_utils.cc
in ngraph_bridge
188 7
verify_model.py
in diagnostics/model_test
235 6
assign_clusters.cc
in ngraph_bridge
518 6
verify_inference_model.py
in diagnostics/model_accuracy
100 5
encapsulate_clusters.cc
in ngraph_bridge
417 5
utils.cc
in ngraph_bridge
52 5
remove_protobuf_class_attribute.py
in diagnostics
73 4
tf_deadness_analysis.h
in ngraph_bridge
32 4
backend_manager.cc
in ngraph_bridge
60 4
ngraph_optimizer.cc
in ngraph_bridge
127 4
Files With Long Lines (Top 2)

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

File# lines# units# long lines
remove_protobuf_class_attribute.py
in diagnostics
73 4 1
__init__.in.py
in python/ngraph_bridge
148 15 1