aws-samples / amazon-aurora-call-to-amazon-sagemaker-sample
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 276 files with 68,063 lines of code.
    • 9 very long files (20,603 lines of code)
    • 32 long files (21,270 lines of code)
    • 43 medium size files (14,106 lines of codeclsfd_ftr_w_mp_ins)
    • 47 small files (6,714 lines of code)
    • 145 very small files (5,370 lines of code)
30% | 31% | 20% | 9% | 7%
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
py31% | 30% | 21% | 9% | 6%
yaml0% | 52% | 0% | 5% | 41%
yml0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
stk-sample/lambda/stk-player-events-loader-mysql29% | 30% | 21% | 10% | 7%
stk-sample/lambda/stk-player-events-loader-pg37% | 31% | 21% | 6% | 3%
stk-sample/eks/aws-load-balancer-controller0% | 100% | 0% | 0% | 0%
stk-sample/eks0% | 0% | 0% | 33% | 66%
stk-sample/eks/stk0% | 0% | 0% | 0% | 100%
stk-sample/redshift0% | 0% | 0% | 0% | 100%
stk-sample/eks/spot-sig-handler0% | 0% | 0% | 0% | 100%
stk-sample/glue0% | 0% | 0% | 0% | 100%
stk-sample/ec2/ec2_build0% | 0% | 0% | 0% | 100%
stk-sample/ec20% | 0% | 0% | 0% | 100%
stk-sample/lambda/stk-player-events-filter0% | 0% | 0% | 0% | 100%
players-encounters0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
errorcode.py
in stk-sample/lambda/stk-player-events-loader-mysql/package/mysqlx
4644 -
errorcode.py
in stk-sample/lambda/stk-player-events-loader-mysql/package/mysql/connector
4574 -
core.py
in stk-sample/lambda/stk-player-events-loader-pg/package/asn1crypto
2867 182
__init__.py
in stk-sample/lambda/stk-player-events-loader-mysql/package/pkg_resources
1826 249
x509.py
in stk-sample/lambda/stk-player-events-loader-pg/package/asn1crypto
1825 100
easy_install.py
in stk-sample/lambda/stk-player-events-loader-mysql/package/setuptools/command
1561 111
connection.py
in stk-sample/lambda/stk-player-events-loader-mysql/package/mysqlx
1223 116
expr.py
in stk-sample/lambda/stk-player-events-loader-mysql/package/mysqlx
1082 71
text_format.py
in stk-sample/lambda/stk-player-events-loader-mysql/package/google/protobuf
1001 72
cursor.py
in stk-sample/lambda/stk-player-events-loader-mysql/package/mysql/connector
981 88
v2_3_0_full.yaml
in stk-sample/eks/aws-load-balancer-controller
918 -
python_message.py
in stk-sample/lambda/stk-player-events-loader-mysql/package/google/protobuf/internal
864 53
algos.py
in stk-sample/lambda/stk-player-events-loader-pg/package/asn1crypto
825 17
msvc.py
in stk-sample/lambda/stk-player-events-loader-mysql/package/setuptools
818 81
ER.py
in stk-sample/lambda/stk-player-events-loader-mysql/package/MySQLdb/constants
815 -
package_index.py
in stk-sample/lambda/stk-player-events-loader-mysql/package/setuptools
800 66
abstracts.py
in stk-sample/lambda/stk-player-events-loader-mysql/package/mysql/connector
795 93
constants.py
in stk-sample/lambda/stk-player-events-loader-mysql/package/mysql/connector
785 19
dist.py
in stk-sample/lambda/stk-player-events-loader-mysql/package/setuptools/_distutils
728 63
keys.py
in stk-sample/lambda/stk-player-events-loader-pg/package/asn1crypto
715 30
cms.py
in stk-sample/lambda/stk-player-events-loader-pg/package/asn1crypto
680 6
six.py
in stk-sample/lambda/stk-player-events-loader-mysql/package
677 62
dist.py
in stk-sample/lambda/stk-player-events-loader-mysql/package/setuptools
652 48
descriptor_pool.py
in stk-sample/lambda/stk-player-events-loader-mysql/package/google/protobuf
641 48
connection.py
in stk-sample/lambda/stk-player-events-loader-mysql/package/mysql/connector
640 53
cursor_cext.py
in stk-sample/lambda/stk-player-events-loader-mysql/package/mysql/connector
633 61
result.py
in stk-sample/lambda/stk-player-events-loader-mysql/package/mysqlx
630 91
core.py
in stk-sample/lambda/stk-player-events-loader-pg/package/pg8000
598 44
decoder.py
in stk-sample/lambda/stk-player-events-loader-mysql/package/google/protobuf/internal
583 27
statement.py
in stk-sample/lambda/stk-player-events-loader-mysql/package/mysqlx
577 106
converters.py
in stk-sample/lambda/stk-player-events-loader-pg/package/pg8000
576 46
protocol.py
in stk-sample/lambda/stk-player-events-loader-mysql/package/mysql/connector
573 29
protocol.py
in stk-sample/lambda/stk-player-events-loader-mysql/package/mysqlx
571 43
msvc9compiler.py
in stk-sample/lambda/stk-player-events-loader-mysql/package/setuptools/_distutils
545 27
json_format.py
in stk-sample/lambda/stk-player-events-loader-mysql/package/google/protobuf
544 33
bdist_msi.py
in stk-sample/lambda/stk-player-events-loader-mysql/package/setuptools/_distutils/command
543 15
descriptor.py
in stk-sample/lambda/stk-player-events-loader-mysql/package/google/protobuf
527 40
well_known_types.py
in stk-sample/lambda/stk-player-events-loader-mysql/package/google/protobuf/internal
519 77
encoder.py
in stk-sample/lambda/stk-player-events-loader-mysql/package/google/protobuf/internal
508 27
legacy.py
in stk-sample/lambda/stk-player-events-loader-pg/package/pg8000
506 35
ccompiler.py
in stk-sample/lambda/stk-player-events-loader-mysql/package/setuptools/_distutils
503 54
dbapi.py
in stk-sample/lambda/stk-player-events-loader-pg/package/pg8000
491 34
__init__.py
in stk-sample/lambda/stk-player-events-loader-mysql/package/mysqlx
488 10
core.py
in stk-sample/lambda/stk-player-events-loader-pg/package/scramp
486 40
connection_cext.py
in stk-sample/lambda/stk-player-events-loader-mysql/package/mysql/connector
485 46
egg_info.py
in stk-sample/lambda/stk-player-events-loader-mysql/package/setuptools/command
471 49
build_ext.py
in stk-sample/lambda/stk-player-events-loader-mysql/package/setuptools/_distutils/command
461 19
network.py
in stk-sample/lambda/stk-player-events-loader-mysql/package/mysql/connector
460 24
msvccompiler.py
in stk-sample/lambda/stk-player-events-loader-mysql/package/setuptools/_distutils
455 23
containers.py
in stk-sample/lambda/stk-player-events-loader-mysql/package/google/protobuf/internal
435 91
Files With Most Units (Top 20)
File# lines# units
__init__.py
in stk-sample/lambda/stk-player-events-loader-mysql/package/pkg_resources
1826 249
core.py
in stk-sample/lambda/stk-player-events-loader-pg/package/asn1crypto
2867 182
connection.py
in stk-sample/lambda/stk-player-events-loader-mysql/package/mysqlx
1223 116
easy_install.py
in stk-sample/lambda/stk-player-events-loader-mysql/package/setuptools/command
1561 111
statement.py
in stk-sample/lambda/stk-player-events-loader-mysql/package/mysqlx
577 106
x509.py
in stk-sample/lambda/stk-player-events-loader-pg/package/asn1crypto
1825 100
abstracts.py
in stk-sample/lambda/stk-player-events-loader-mysql/package/mysql/connector
795 93
result.py
in stk-sample/lambda/stk-player-events-loader-mysql/package/mysqlx
630 91
containers.py
in stk-sample/lambda/stk-player-events-loader-mysql/package/google/protobuf/internal
435 91
cursor.py
in stk-sample/lambda/stk-player-events-loader-mysql/package/mysql/connector
981 88
msvc.py
in stk-sample/lambda/stk-player-events-loader-mysql/package/setuptools
818 81
well_known_types.py
in stk-sample/lambda/stk-player-events-loader-mysql/package/google/protobuf/internal
519 77
text_format.py
in stk-sample/lambda/stk-player-events-loader-mysql/package/google/protobuf
1001 72
expr.py
in stk-sample/lambda/stk-player-events-loader-mysql/package/mysqlx
1082 71
package_index.py
in stk-sample/lambda/stk-player-events-loader-mysql/package/setuptools
800 66
dist.py
in stk-sample/lambda/stk-player-events-loader-mysql/package/setuptools/_distutils
728 63
six.py
in stk-sample/lambda/stk-player-events-loader-mysql/package
677 62
cursor_cext.py
in stk-sample/lambda/stk-player-events-loader-mysql/package/mysql/connector
633 61
util.py
in stk-sample/lambda/stk-player-events-loader-pg/package/asn1crypto
304 61
ccompiler.py
in stk-sample/lambda/stk-player-events-loader-mysql/package/setuptools/_distutils
503 54
Files With Long Lines (Top 9)

There are 9 files with lines longer than 120 characters. In total, there are 49 long lines.

File# lines# units# long lines
v2_3_0_full.yaml
in stk-sample/eks/aws-load-balancer-controller
918 - 38
eks-cluster-spec.yaml
in stk-sample/eks
59 - 2
eks-x86-cluster-spec.yaml
in stk-sample/eks/stk
59 - 2
bdist_msi.py
in stk-sample/lambda/stk-player-events-loader-mysql/package/setuptools/_distutils/command
543 15 2
eks-arm-stk-managedgroup-cluster-spec.yaml
in stk-sample/eks/stk
25 - 1
eks-arm-nodegroup-spec.yaml
in stk-sample/eks/stk
32 - 1
client_error.py
in stk-sample/lambda/stk-player-events-loader-mysql/package/mysql/connector/locales/eng
67 - 1
client_error.py
in stk-sample/lambda/stk-player-events-loader-mysql/package/mysqlx/locales/eng
67 - 1
lambda_function.py
in stk-sample/lambda/stk-player-events-loader-pg
80 1 1