aws / graph-notebook
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 119 files with 8,456 lines of code.
    • 1 very long files (1,532 lines of code)
    • 4 long files (2,722 lines of code)
    • 5 medium size files (1,693 lines of codeclsfd_ftr_w_mp_ins)
    • 8 small files (1,192 lines of code)
    • 101 very small files (1,317 lines of code)
18% | 32% | 20% | 14% | 15%
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
py23% | 29% | 22% | 12% | 12%
ts0% | 83% | 0% | 12% | 4%
css0% | 0% | 98% | 0% | 1%
js0% | 0% | 0% | 76% | 23%
html0% | 0% | 0% | 0% | 100%
yaml0% | 0% | 0% | 0% | 100%
in0% | 0% | 0% | 0% | 100%
cfg0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
src/graph_notebook/magics52% | 26% | 7% | 12% | <1%
src/graph_notebook/widgets0% | 61% | 19% | 9% | 8%
src/graph_notebook/notebooks0% | 91% | 0% | 0% | 8%
src/graph_notebook/neptune0% | 94% | 0% | 0% | 5%
src/graph_notebook/network0% | 0% | 68% | 26% | 5%
ROOT0% | 0% | 78% | 0% | 21%
src/graph_notebook/static_resources0% | 0% | 0% | 89% | 10%
src/graph_notebook/nbextensions0% | 0% | 0% | 37% | 62%
src/graph_notebook/decorators0% | 0% | 0% | 99% | <1%
src/graph_notebook/visualization0% | 0% | 0% | 0% | 100%
src/graph_notebook/configuration0% | 0% | 0% | 0% | 100%
src/graph_notebook/options0% | 0% | 0% | 0% | 100%
src/graph_notebook/seed0% | 0% | 0% | 0% | 100%
src/graph_notebook0% | 0% | 0% | 0% | 100%
src/graph_notebook/jupyter_profile0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
graph_magic.py
in src/graph_notebook/magics
1532 32
force_widget.ts
in src/graph_notebook/widgets/src
797 2
ml.py
in src/graph_notebook/magics
788 19
neptune_ml_utils.py
in src/graph_notebook/notebooks/04-Machine-Learning
587 32
client.py
in src/graph_notebook/neptune
550 63
GremlinNetwork.py
in src/graph_notebook/network/gremlin
486 14
setupbase.py
in root
403 32
SPARQLNetwork.py
in src/graph_notebook/network/sparql
320 9
widget.css
in src/graph_notebook/widgets/src/css
257 -
graph_completer.py
in src/graph_notebook/magics/completers
227 1
metadata.py
in src/graph_notebook/magics
191 19
streams.py
in src/graph_notebook/magics
179 19
OCNetwork.py
in src/graph_notebook/network/opencypher
167 7
datatables.js
in src/graph_notebook/static_resources
167 4
EventfulNetwork.py
in src/graph_notebook/network
149 14
types.ts
in src/graph_notebook/widgets/src
118 11
main.js
in src/graph_notebook/nbextensions/neptune_menu/static
116 1
decorators.py
in src/graph_notebook/decorators
105 7
generate_config.py
in src/graph_notebook/configuration
98 9
tabs.html
in src/graph_notebook/visualization/templates
89 -
setup.py
in root
89 1
options.py
in src/graph_notebook/options
85 1
Network.py
in src/graph_notebook/network
58 10
gremlin_table.html
in src/graph_notebook/visualization/templates
51 -
opencypher_table.html
in src/graph_notebook/visualization/templates
50 -
sparql_table.html
in src/graph_notebook/visualization/templates
50 -
rows_and_columns.py
in src/graph_notebook/visualization
46 2
install.py
in src/graph_notebook/notebooks
46 2
load_query.py
in src/graph_notebook/seed
35 3
start_notebook.py
in src/graph_notebook
32 2
__init__.py
in src/graph_notebook/nbextensions
28 1
main.js
in src/graph_notebook/nbextensions/playable_cells/static
26 2
force_widget.py
in src/graph_notebook/widgets/force
26 3
visualizer.py
in src/graph_notebook/visualization
25 4
sparql_explain.html
in src/graph_notebook/visualization/templates
23 -
plugin.ts
in src/graph_notebook/widgets/src
23 1
get_config.py
in src/graph_notebook/configuration
21 2
sparql_construct.html
in src/graph_notebook/visualization/templates
20 -
loading_wheel.html
in src/graph_notebook/visualization/templates
19 -
main.js
in src/graph_notebook/nbextensions/opencypher_syntax/static
19 1
install.py
in src/graph_notebook/nbextensions
19 1
install.py
in src/graph_notebook/static_resources
19 1
hashable_dict_patch.py
in src/graph_notebook/neptune/gremlin
19 2
replace_namespace_vars.py
in src/graph_notebook/magics/parsing
18 2
__init__.py
in src/graph_notebook/widgets
15 2
graphsonV3d0_MapType_objectify_patch.py
in src/graph_notebook/neptune/gremlin
13 1
in
MANIFEST.in
in root
13 -
error.html
in src/graph_notebook/visualization/templates
12 -
pre_container.html
in src/graph_notebook/visualization/templates
12 -
main.js
in src/graph_notebook/nbextensions/sparql_syntax/static
10 1
Files With Most Units (Top 20)
File# lines# units
client.py
in src/graph_notebook/neptune
550 63
graph_magic.py
in src/graph_notebook/magics
1532 32
neptune_ml_utils.py
in src/graph_notebook/notebooks/04-Machine-Learning
587 32
setupbase.py
in root
403 32
ml.py
in src/graph_notebook/magics
788 19
metadata.py
in src/graph_notebook/magics
191 19
streams.py
in src/graph_notebook/magics
179 19
EventfulNetwork.py
in src/graph_notebook/network
149 14
GremlinNetwork.py
in src/graph_notebook/network/gremlin
486 14
types.ts
in src/graph_notebook/widgets/src
118 11
Network.py
in src/graph_notebook/network
58 10
generate_config.py
in src/graph_notebook/configuration
98 9
SPARQLNetwork.py
in src/graph_notebook/network/sparql
320 9
OCNetwork.py
in src/graph_notebook/network/opencypher
167 7
decorators.py
in src/graph_notebook/decorators
105 7
visualizer.py
in src/graph_notebook/visualization
25 4
datatables.js
in src/graph_notebook/static_resources
167 4
load_query.py
in src/graph_notebook/seed
35 3
force_widget.py
in src/graph_notebook/widgets/force
26 3
replace_namespace_vars.py
in src/graph_notebook/magics/parsing
18 2
Files With Long Lines (Top 7)

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

File# lines# units# long lines
datatables.js
in src/graph_notebook/static_resources
167 4 166
streams.py
in src/graph_notebook/magics
179 19 7
graph_magic.py
in src/graph_notebook/magics
1532 32 3
metadata.py
in src/graph_notebook/magics
191 19 3
neptune_ml_utils.py
in src/graph_notebook/notebooks/04-Machine-Learning
587 32 2
main.js
in src/graph_notebook/nbextensions/opencypher_syntax/static
19 1 1
start_notebook.py
in src/graph_notebook
32 2 1