aws-samples / amazon-qldb-streaming-amazon-opensearch-service-sample-python
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 20 files with 832 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 2 medium size files (517 lines of codeclsfd_ftr_w_mp_ins)
    • 0 small files (0 lines of code)
    • 18 very small files (315 lines of code)
0% | 0% | 62% | 0% | 37%
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
yaml0% | 0% | 100% | 0% | 0%
py0% | 0% | 42% | 0% | 57%
toml0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
ROOT0% | 0% | 97% | 0% | 2%
sample_scenarios0% | 0% | 64% | 0% | 35%
src/qldb_streaming_to_es_sample0% | 0% | 0% | 0% | 100%
setup0% | 0% | 0% | 0% | 100%
src/qldb_streaming_to_es_sample/clients0% | 0% | 0% | 0% | 100%
src/qldb_streaming_to_es_sample/helpers0% | 0% | 0% | 0% | 100%
src0% | 0% | 0% | 0% | 100%
Longest Files (Top 20)
File# lines# units
template.yaml
in root
287 -
sample_data.py
in sample_scenarios
230 5
app.py
in src/qldb_streaming_to_es_sample
54 3
provisioning_lambda.py
in setup
49 4
elasticsearch.py
in src/qldb_streaming_to_es_sample/clients
38 3
insert_documents.py
in sample_scenarios
36 3
filtered_records_generator.py
in src/qldb_streaming_to_es_sample/helpers
29 3
multiple_updates_to_a_document.py
in sample_scenarios
25 1
delete_document.py
in sample_scenarios
24 1
single_update_to_document.py
in sample_scenarios
20 1
constants.py
in sample_scenarios
10 -
helpers.py
in sample_scenarios
10 2
constants.py
in src/qldb_streaming_to_es_sample
8 -
samconfig.toml
in root
6 -
__init__.py
in src
1 -
__init__.py
in src/qldb_streaming_to_es_sample
1 -
__init__.py
in src/qldb_streaming_to_es_sample/helpers
1 -
__init__.py
in src/qldb_streaming_to_es_sample/clients
1 -
__init__.py
in sample_scenarios
1 -
__init__.py
in setup
1 -
Files With Most Units (Top 10)
File# lines# units
sample_data.py
in sample_scenarios
230 5
provisioning_lambda.py
in setup
49 4
filtered_records_generator.py
in src/qldb_streaming_to_es_sample/helpers
29 3
app.py
in src/qldb_streaming_to_es_sample
54 3
elasticsearch.py
in src/qldb_streaming_to_es_sample/clients
38 3
insert_documents.py
in sample_scenarios
36 3
helpers.py
in sample_scenarios
10 2
multiple_updates_to_a_document.py
in sample_scenarios
25 1
delete_document.py
in sample_scenarios
24 1
single_update_to_document.py
in sample_scenarios
20 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