aws / aws-xray-sdk-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 107 files with 4,060 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 1 medium size files (331 lines of codeclsfd_ftr_w_mp_ins)
    • 4 small files (590 lines of code)
    • 102 very small files (3,139 lines of code)
0% | 0% | 8% | 14% | 77%
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% | 8% | 14% | 76%
tf0% | 0% | 0% | 0% | 100%
in0% | 0% | 0% | 0% | 100%
tfvars0% | 0% | 0% | 0% | 100%
cfg0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
aws_xray_sdk/core0% | 0% | 39% | 19% | 41%
aws_xray_sdk/core/models0% | 0% | 0% | 28% | 71%
aws_xray_sdk/ext/httplib0% | 0% | 0% | 98% | 1%
aws_xray_sdk/core/sampling0% | 0% | 0% | 17% | 82%
aws_xray_sdk/ext/django0% | 0% | 0% | 0% | 100%
aws_xray_sdk/ext0% | 0% | 0% | 0% | 100%
aws_xray_sdk/core/utils0% | 0% | 0% | 0% | 100%
aws_xray_sdk/ext/aiohttp0% | 0% | 0% | 0% | 100%
aws_xray_sdk/ext/sqlalchemy0% | 0% | 0% | 0% | 100%
aws_xray_sdk/core/plugins0% | 0% | 0% | 0% | 100%
aws_xray_sdk/ext/flask0% | 0% | 0% | 0% | 100%
aws_xray_sdk/ext/sqlalchemy_core0% | 0% | 0% | 0% | 100%
aws_xray_sdk/ext/bottle0% | 0% | 0% | 0% | 100%
terraform0% | 0% | 0% | 0% | 100%
aws_xray_sdk/ext/pynamodb0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
sample-apps/flask0% | 0% | 0% | 0% | 100%
aws_xray_sdk/ext/psycopg20% | 0% | 0% | 0% | 100%
aws_xray_sdk/ext/requests0% | 0% | 0% | 0% | 100%
aws_xray_sdk/core/emitters0% | 0% | 0% | 0% | 100%
aws_xray_sdk/ext/pymongo0% | 0% | 0% | 0% | 100%
aws_xray_sdk/ext/flask_sqlalchemy0% | 0% | 0% | 0% | 100%
aws_xray_sdk/ext/pymysql0% | 0% | 0% | 0% | 100%
aws_xray_sdk0% | 0% | 0% | 0% | 100%
aws_xray_sdk/ext/botocore0% | 0% | 0% | 0% | 100%
aws_xray_sdk/ext/mysql0% | 0% | 0% | 0% | 100%
aws_xray_sdk/core/streaming0% | 0% | 0% | 0% | 100%
aws_xray_sdk/ext/aiobotocore0% | 0% | 0% | 0% | 100%
aws_xray_sdk/ext/pg80000% | 0% | 0% | 0% | 100%
aws_xray_sdk/ext/sqlite30% | 0% | 0% | 0% | 100%
aws_xray_sdk/core/exceptions0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
recorder.py
in aws_xray_sdk/core
331 46
patcher.py
in aws_xray_sdk/core
165 9
entity.py
in aws_xray_sdk/core/models
162 19
patch.py
in aws_xray_sdk/ext/httplib
156 12
connector.py
in aws_xray_sdk/core/sampling
107 11
sampling_rule.py
in aws_xray_sdk/core/sampling
97 21
middleware.py
in aws_xray_sdk/ext/flask
94 5
boto_utils.py
in aws_xray_sdk/ext
89 7
patch.py
in aws_xray_sdk/ext/sqlalchemy_core
87 6
decorators.py
in aws_xray_sdk/ext/sqlalchemy/util
86 3
lambda_launcher.py
in aws_xray_sdk/core
84 11
middleware.py
in aws_xray_sdk/ext/bottle
82 3
sampler.py
in aws_xray_sdk/core/sampling
81 8
segment.py
in aws_xray_sdk/core/models
78 15
subsegment.py
in aws_xray_sdk/core/models
75 13
middleware.py
in aws_xray_sdk/ext/django
73 3
util.py
in aws_xray_sdk/ext
71 9
context.py
in aws_xray_sdk/core
68 12
trace_header.py
in aws_xray_sdk/core/models
68 7
async_recorder.py
in aws_xray_sdk/core
66 3
db.py
in aws_xray_sdk/ext/django
65 6
async_context.py
in aws_xray_sdk/core
64 7
eb.tf
in terraform
62 -
patch.py
in aws_xray_sdk/ext/pynamodb
62 3
middleware.py
in aws_xray_sdk/ext/aiohttp
61 -
sampling_rule.py
in aws_xray_sdk/core/sampling/local
60 10
rule_cache.py
in aws_xray_sdk/core/sampling
58 11
reservoir.py
in aws_xray_sdk/core/sampling
56 8
dummy_entities.py
in aws_xray_sdk/core/models
56 19
conf.py
in aws_xray_sdk/ext/django
54 4
ec2_plugin.py
in aws_xray_sdk/core/plugins
54 5
daemon_config.py
in aws_xray_sdk/core
53 7
client.py
in aws_xray_sdk/ext/aiohttp
50 1
facade_segment.py
in aws_xray_sdk/core/models
48 17
dbapi2.py
in aws_xray_sdk/ext
47 8
setup.py
in root
46 -
throwable.py
in aws_xray_sdk/core/models
46 3
application.py
in sample-apps/flask
45 4
patch.py
in aws_xray_sdk/ext/psycopg2
42 3
apps.py
in aws_xray_sdk/ext/django
41 1
target_poller.py
in aws_xray_sdk/core/sampling
41 6
rule_poller.py
in aws_xray_sdk/core/sampling
40 6
udp_emitter.py
in aws_xray_sdk/core/emitters
40 7
patch.py
in aws_xray_sdk/ext/requests
39 4
sampler.py
in aws_xray_sdk/core/sampling/local
39 4
query.py
in aws_xray_sdk/ext/flask_sqlalchemy
36 4
patch.py
in aws_xray_sdk/ext/pymongo
35 5
search_pattern.py
in aws_xray_sdk/core/utils
34 1
patch.py
in aws_xray_sdk/ext/pymysql
32 4
patch.py
in aws_xray_sdk/ext/botocore
31 2
Files With Most Units (Top 20)
File# lines# units
recorder.py
in aws_xray_sdk/core
331 46
sampling_rule.py
in aws_xray_sdk/core/sampling
97 21
entity.py
in aws_xray_sdk/core/models
162 19
dummy_entities.py
in aws_xray_sdk/core/models
56 19
facade_segment.py
in aws_xray_sdk/core/models
48 17
segment.py
in aws_xray_sdk/core/models
78 15
subsegment.py
in aws_xray_sdk/core/models
75 13
patch.py
in aws_xray_sdk/ext/httplib
156 12
context.py
in aws_xray_sdk/core
68 12
rule_cache.py
in aws_xray_sdk/core/sampling
58 11
connector.py
in aws_xray_sdk/core/sampling
107 11
lambda_launcher.py
in aws_xray_sdk/core
84 11
sampling_rule.py
in aws_xray_sdk/core/sampling/local
60 10
util.py
in aws_xray_sdk/ext
71 9
patcher.py
in aws_xray_sdk/core
165 9
dbapi2.py
in aws_xray_sdk/ext
47 8
reservoir.py
in aws_xray_sdk/core/sampling
56 8
sampler.py
in aws_xray_sdk/core/sampling
81 8
boto_utils.py
in aws_xray_sdk/ext
89 7
daemon_config.py
in aws_xray_sdk/core
53 7
Files With Long Lines (Top 1)

There is only one file with lines longer than 120 characters. In total, there is only one long line.

File# lines# units# long lines
sdk_config.py
in aws_xray_sdk
31 3 1