facebookincubator / python-nubia
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 3,077 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 4 medium size files (1,066 lines of codeclsfd_ftr_w_mp_ins)
    • 6 small files (906 lines of code)
    • 41 very small files (1,105 lines of code)
0% | 0% | 34% | 29% | 35%
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% | 0% | 35% | 29% | 34%
toml0% | 0% | 0% | 0% | 100%
in0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
nubia/internal0% | 0% | 37% | 30% | 31%
nubia/internal/typing0% | 0% | 74% | 21% | 4%
nubia/internal/ui0% | 0% | 0% | 64% | 35%
nubia_complete0% | 0% | 0% | 65% | 34%
nubia/internal/commands0% | 0% | 0% | 0% | 100%
example0% | 0% | 0% | 0% | 100%
nubia/internal/io0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
example/commands0% | 0% | 0% | 0% | 100%
nubia0% | 0% | 0% | 0% | 100%
example/commands/more0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
cmdbase.py
in nubia/internal
357 24
__init__.py
in nubia/internal/typing
246 9
nubia.py
in nubia/internal
236 8
argparse.py
in nubia/internal/typing
227 12
completion.py
in nubia/internal
192 18
interactive.py
in nubia/internal
163 7
lexer.py
in nubia/internal/ui
145 1
builder.py
in nubia/internal/typing
140 14
completer.py
in nubia_complete
138 7
helpers.py
in nubia/internal
128 11
registry_tools.py
in nubia/internal
87 6
registry.py
in nubia/internal
78 11
plugin_interface.py
in nubia/internal
74 15
context.py
in nubia/internal
67 13
parser.py
in nubia/internal
64 5
main.py
in nubia_complete
55 2
sample_commands.py
in example/commands
53 8
52 -
help.py
in nubia/internal/commands
52 5
builtin.py
in nubia/internal/commands
51 12
nubia_plugin.py
in example
50 8
style.py
in nubia/internal/ui
49 -
session_logger.py
in nubia/internal/io
40 9
ipython.py
in nubia/internal
35 -
logger.py
in nubia/internal/io
34 3
deprecation.py
in nubia/internal
27 1
inspect.py
in nubia/internal/typing
26 6
__init__.py
in nubia
25 -
24 4
cmdloader.py
in nubia/internal
24 3
eventbus.py
in nubia/internal/io
18 -
shell.py
in nubia_complete
16 1
statusbar.py
in nubia/internal/ui
16 6
15 -
ipython.py
in nubia/internal/ui
14 2
13 1
blackcmd.py
in nubia/internal
8 3
exceptions.py
in nubia/internal
8 -
usage_logger_interface.py
in nubia/internal
7 3
moar_commands.py
in example/commands/more
5 1
options.py
in nubia/internal
5 -
in
3 -
constants.py
in nubia/internal
2 -
__init__.py
in example
1 -
__init__.py
in example/commands
1 -
__init__.py
in example/commands/more
1 -
__init__.py
in nubia_complete
1 -
__init__.py
in nubia/internal/ui
1 -
__init__.py
in nubia/internal/io
1 -
__init__.py
in nubia/internal
1 -
Files With Most Units (Top 33)
File# lines# units
cmdbase.py
in nubia/internal
357 24
completion.py
in nubia/internal
192 18
plugin_interface.py
in nubia/internal
74 15
builder.py
in nubia/internal/typing
140 14
context.py
in nubia/internal
67 13
argparse.py
in nubia/internal/typing
227 12
builtin.py
in nubia/internal/commands
51 12
registry.py
in nubia/internal
78 11
helpers.py
in nubia/internal
128 11
session_logger.py
in nubia/internal/io
40 9
__init__.py
in nubia/internal/typing
246 9
nubia_plugin.py
in example
50 8
sample_commands.py
in example/commands
53 8
nubia.py
in nubia/internal
236 8
completer.py
in nubia_complete
138 7
interactive.py
in nubia/internal
163 7
statusbar.py
in nubia/internal/ui
16 6
inspect.py
in nubia/internal/typing
26 6
registry_tools.py
in nubia/internal
87 6
parser.py
in nubia/internal
64 5
help.py
in nubia/internal/commands
52 5
24 4
logger.py
in nubia/internal/io
34 3
usage_logger_interface.py
in nubia/internal
7 3
cmdloader.py
in nubia/internal
24 3
blackcmd.py
in nubia/internal
8 3
main.py
in nubia_complete
55 2
ipython.py
in nubia/internal/ui
14 2
moar_commands.py
in example/commands/more
5 1
13 1
shell.py
in nubia_complete
16 1
lexer.py
in nubia/internal/ui
145 1
deprecation.py
in nubia/internal
27 1
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
Correlations

File Size vs. Commits (all time): 42 points

nubia/internal/typing/argparse.py x: 7 commits (all time) y: 227 lines of code nubia/__init__.py x: 11 commits (all time) y: 25 lines of code pyproject.toml x: 5 commits (all time) y: 52 lines of code example/commands/sample_commands.py x: 3 commits (all time) y: 53 lines of code example/nubia_context.py x: 2 commits (all time) y: 13 lines of code example/nubia_plugin.py x: 3 commits (all time) y: 50 lines of code nubia/internal/cmdbase.py x: 11 commits (all time) y: 357 lines of code nubia/internal/commands/builtin.py x: 2 commits (all time) y: 51 lines of code nubia/internal/context.py x: 3 commits (all time) y: 67 lines of code nubia/internal/helpers.py x: 4 commits (all time) y: 128 lines of code nubia/internal/interactive.py x: 12 commits (all time) y: 163 lines of code nubia/internal/io/eventbus.py x: 3 commits (all time) y: 18 lines of code nubia/internal/ipython.py x: 4 commits (all time) y: 35 lines of code nubia/internal/nubia.py x: 8 commits (all time) y: 236 lines of code nubia/internal/plugin_interface.py x: 5 commits (all time) y: 74 lines of code nubia/internal/registry.py x: 7 commits (all time) y: 78 lines of code nubia/internal/typing/__init__.py x: 8 commits (all time) y: 246 lines of code nubia/internal/typing/inspect.py x: 4 commits (all time) y: 26 lines of code nubia/internal/ui/statusbar.py x: 2 commits (all time) y: 16 lines of code example/nubia_example.py x: 4 commits (all time) y: 15 lines of code example/nubia_statusbar.py x: 2 commits (all time) y: 24 lines of code nubia/internal/completion.py x: 3 commits (all time) y: 192 lines of code nubia/internal/deprecation.py x: 1 commits (all time) y: 27 lines of code nubia/internal/io/logger.py x: 1 commits (all time) y: 34 lines of code nubia/internal/io/session_logger.py x: 3 commits (all time) y: 40 lines of code nubia/internal/parser.py x: 3 commits (all time) y: 64 lines of code nubia/internal/registry_tools.py x: 2 commits (all time) y: 87 lines of code nubia/internal/typing/builder.py x: 4 commits (all time) y: 140 lines of code nubia/internal/ui/lexer.py x: 2 commits (all time) y: 145 lines of code nubia/internal/ui/style.py x: 2 commits (all time) y: 49 lines of code nubia_complete/completer.py x: 1 commits (all time) y: 138 lines of code nubia_complete/main.py x: 2 commits (all time) y: 55 lines of code nubia_complete/shell.py x: 1 commits (all time) y: 16 lines of code nubia/internal/options.py x: 2 commits (all time) y: 5 lines of code example/commands/more/__init__.py x: 3 commits (all time) y: 1 lines of code nubia/internal/ui/ipython.py x: 1 commits (all time) y: 14 lines of code nubia/internal/blackcmd.py x: 1 commits (all time) y: 8 lines of code nubia/internal/usage_logger_interface.py x: 1 commits (all time) y: 7 lines of code example/commands/more/moar_commands.py x: 1 commits (all time) y: 5 lines of code MANIFEST.in x: 1 commits (all time) y: 3 lines of code
357.0
lines of code
  min: 1.0
  average: 72.86
  25th percentile: 16.0
  median: 49.5
  75th percentile: 97.25
  max: 357.0
0 12.0
commits (all time)
min: 1.0 | average: 3.55 | 25th percentile: 2.0 | median: 3.0 | 75th percentile: 4.0 | max: 12.0

File Size vs. Contributors (all time): 42 points

nubia/internal/typing/argparse.py x: 5 contributors (all time) y: 227 lines of code nubia/__init__.py x: 7 contributors (all time) y: 25 lines of code pyproject.toml x: 4 contributors (all time) y: 52 lines of code example/commands/sample_commands.py x: 2 contributors (all time) y: 53 lines of code example/nubia_context.py x: 1 contributors (all time) y: 13 lines of code example/nubia_plugin.py x: 2 contributors (all time) y: 50 lines of code nubia/internal/cmdbase.py x: 8 contributors (all time) y: 357 lines of code nubia/internal/commands/builtin.py x: 2 contributors (all time) y: 51 lines of code nubia/internal/commands/help.py x: 1 contributors (all time) y: 52 lines of code nubia/internal/context.py x: 2 contributors (all time) y: 67 lines of code nubia/internal/helpers.py x: 3 contributors (all time) y: 128 lines of code nubia/internal/interactive.py x: 8 contributors (all time) y: 163 lines of code nubia/internal/io/eventbus.py x: 2 contributors (all time) y: 18 lines of code nubia/internal/ipython.py x: 3 contributors (all time) y: 35 lines of code nubia/internal/nubia.py x: 7 contributors (all time) y: 236 lines of code nubia/internal/plugin_interface.py x: 5 contributors (all time) y: 74 lines of code nubia/internal/registry.py x: 5 contributors (all time) y: 78 lines of code nubia/internal/typing/__init__.py x: 6 contributors (all time) y: 246 lines of code nubia/internal/typing/inspect.py x: 3 contributors (all time) y: 26 lines of code nubia/internal/ui/statusbar.py x: 2 contributors (all time) y: 16 lines of code example/nubia_example.py x: 4 contributors (all time) y: 15 lines of code example/nubia_statusbar.py x: 2 contributors (all time) y: 24 lines of code nubia/internal/completion.py x: 3 contributors (all time) y: 192 lines of code nubia/internal/deprecation.py x: 1 contributors (all time) y: 27 lines of code nubia/internal/io/logger.py x: 1 contributors (all time) y: 34 lines of code nubia/internal/io/session_logger.py x: 2 contributors (all time) y: 40 lines of code nubia/internal/parser.py x: 3 contributors (all time) y: 64 lines of code nubia/internal/registry_tools.py x: 2 contributors (all time) y: 87 lines of code nubia/internal/typing/builder.py x: 3 contributors (all time) y: 140 lines of code nubia/internal/ui/lexer.py x: 2 contributors (all time) y: 145 lines of code nubia/internal/ui/style.py x: 2 contributors (all time) y: 49 lines of code nubia_complete/completer.py x: 1 contributors (all time) y: 138 lines of code nubia_complete/main.py x: 2 contributors (all time) y: 55 lines of code nubia_complete/shell.py x: 1 contributors (all time) y: 16 lines of code nubia/internal/options.py x: 2 contributors (all time) y: 5 lines of code example/commands/more/__init__.py x: 2 contributors (all time) y: 1 lines of code nubia/internal/blackcmd.py x: 1 contributors (all time) y: 8 lines of code nubia/internal/usage_logger_interface.py x: 1 contributors (all time) y: 7 lines of code example/commands/more/moar_commands.py x: 1 contributors (all time) y: 5 lines of code MANIFEST.in x: 1 contributors (all time) y: 3 lines of code
357.0
lines of code
  min: 1.0
  average: 72.86
  25th percentile: 16.0
  median: 49.5
  75th percentile: 97.25
  max: 357.0
0 8.0
contributors (all time)
min: 1.0 | average: 2.81 | 25th percentile: 1.0 | median: 2.0 | 75th percentile: 3.25 | max: 8.0

File Size vs. Commits (30 days): 0 points

No data for "commits (30d)" vs. "lines of code".

File Size vs. Contributors (30 days): 0 points

No data for "contributors (30d)" vs. "lines of code".


File Size vs. Commits (90 days): 1 points

nubia/internal/typing/argparse.py x: 1 commits (90d) y: 227 lines of code
227.0
lines of code
  min: 227.0
  average: 227.0
  25th percentile: 227.0
  median: 227.0
  75th percentile: 227.0
  max: 227.0
0 1.0
commits (90d)
min: 1.0 | average: 1.0 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 1.0

File Size vs. Contributors (90 days): 1 points

nubia/internal/typing/argparse.py x: 1 contributors (90d) y: 227 lines of code
227.0
lines of code
  min: 227.0
  average: 227.0
  25th percentile: 227.0
  median: 227.0
  75th percentile: 227.0
  max: 227.0
0 1.0
contributors (90d)
min: 1.0 | average: 1.0 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 1.0