opensearch-project / opensearch-py
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 96 files with 15,695 lines of code.
    • 4 very long files (4,658 lines of code)
    • 4 long files (2,824 lines of code)
    • 12 medium size files (3,704 lines of codeclsfd_ftr_w_mp_ins)
    • 17 small files (2,464 lines of code)
    • 59 very small files (2,045 lines of code)
29% | 17% | 23% | 15% | 13%
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
pyi56% | 0% | 25% | 5% | 13%
py0% | 38% | 21% | 27% | 12%
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
opensearchpy/_async/client39% | 24% | 17% | 11% | 6%
opensearchpy/client38% | 23% | 17% | 13% | 6%
utils0% | 0% | 87% | 0% | 12%
opensearchpy/_async0% | 0% | 55% | 21% | 23%
opensearchpy/helpers0% | 0% | 62% | 0% | 37%
opensearchpy0% | 0% | 24% | 28% | 46%
opensearchpy/connection0% | 0% | 0% | 74% | 25%
ROOT0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
pyi
indices.pyi
in opensearchpy/_async/client
1231 -
pyi
indices.pyi
in opensearchpy/client
1231 57
pyi
__init__.pyi
in opensearchpy/_async/client
1098 2
pyi
__init__.pyi
in opensearchpy/client
1098 46
__init__.py
in opensearchpy/_async/client
791 2
__init__.py
in opensearchpy/client
779 46
indices.py
in opensearchpy/_async/client
629 -
indices.py
in opensearchpy/client
625 57
pyi
cat.pyi
in opensearchpy/_async/client
493 -
pyi
cat.pyi
in opensearchpy/client
493 21
actions.py
in opensearchpy/helpers
377 15
generate-api.py
in utils
317 23
pyi
cluster.pyi
in opensearchpy/_async/client
306 -
pyi
cluster.pyi
in opensearchpy/client
306 15
pyi
snapshot.pyi
in opensearchpy/_async/client
253 -
pyi
snapshot.pyi
in opensearchpy/client
253 12
http_aiohttp.py
in opensearchpy/_async
246 1
helpers.py
in opensearchpy/_async
243 1
transport.py
in opensearchpy
216 12
build-dists.py
in utils
201 4
base.py
in opensearchpy/connection
196 13
transport.py
in opensearchpy/_async
193 5
http_urllib3.py
in opensearchpy/connection
181 5
cat.py
in opensearchpy/_async/client
171 -
cat.py
in opensearchpy/client
171 21
http_requests.py
in opensearchpy/connection
154 4
snapshot.py
in opensearchpy/_async/client
145 -
snapshot.py
in opensearchpy/client
145 12
cluster.py
in opensearchpy/_async/client
142 -
cluster.py
in opensearchpy/client
142 15
connection_pool.py
in opensearchpy
131 19
serializer.py
in opensearchpy
129 9
utils.py
in opensearchpy/client
116 9
pyi
ingest.pyi
in opensearchpy/_async/client
112 -
pyi
nodes.pyi
in opensearchpy/_async/client
112 -
pyi
ingest.pyi
in opensearchpy/client
112 6
pyi
nodes.pyi
in opensearchpy/client
112 5
pyi
actions.pyi
in opensearchpy/helpers
90 8
pyi
base.pyi
in opensearchpy/connection
88 13
pyi
helpers.pyi
in opensearchpy/_async
84 6
setup.py
in root
82 -
license-headers.py
in utils
77 4
exceptions.py
in opensearchpy
77 6
__init__.py
in opensearchpy
73 -
pyi
tasks.pyi
in opensearchpy/_async/client
66 -
pyi
tasks.pyi
in opensearchpy/client
66 3
pyi
transport.pyi
in opensearchpy
64 9
pyi
transport.pyi
in opensearchpy/_async
61 6
pyi
dangling_indices.pyi
in opensearchpy/_async/client
59 -
pyi
dangling_indices.pyi
in opensearchpy/client
59 3
Files With Most Units (Top 20)
File# lines# units
indices.py
in opensearchpy/client
625 57
pyi
indices.pyi
in opensearchpy/client
1231 57
__init__.py
in opensearchpy/client
779 46
pyi
__init__.pyi
in opensearchpy/client
1098 46
generate-api.py
in utils
317 23
cat.py
in opensearchpy/client
171 21
pyi
cat.pyi
in opensearchpy/client
493 21
connection_pool.py
in opensearchpy
131 19
pyi
connection_pool.pyi
in opensearchpy
51 16
actions.py
in opensearchpy/helpers
377 15
pyi
cluster.pyi
in opensearchpy/client
306 15
cluster.py
in opensearchpy/client
142 15
pyi
base.pyi
in opensearchpy/connection
88 13
base.py
in opensearchpy/connection
196 13
transport.py
in opensearchpy
216 12
pyi
snapshot.pyi
in opensearchpy/client
253 12
snapshot.py
in opensearchpy/client
145 12
serializer.py
in opensearchpy
129 9
utils.py
in opensearchpy/client
116 9
pyi
transport.pyi
in opensearchpy
64 9
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