awslabs / amazon-athena-cross-account-catalog
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 42,036 lines of code.
    • 3 very long files (41,227 lines of code)
    • 0 long files (0 lines of code)
    • 1 medium size files (207 lines of codeclsfd_ftr_w_mp_ins)
    • 3 small files (366 lines of code)
    • 13 very small files (236 lines of code)
98% | 0% | <1% | <1% | <1%
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
py98% | 0% | <1% | <1% | <1%
yaml0% | 0% | 0% | 100% | 0%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
heracles/hive/hive_metastore99% | 0% | 0% | 0% | <1%
heracles/hive/fb30397% | 0% | 0% | 0% | 2%
heracles/handlers0% | 0% | 57% | 36% | 6%
ROOT0% | 0% | 0% | 100% | 0%
heracles/clients0% | 0% | 0% | 0% | 100%
heracles0% | 0% | 0% | 0% | 100%
heracles/hive0% | 0% | 0% | 0% | 100%
Longest Files (Top 20)
File# lines# units
ThriftHiveMetastore.py
in heracles/hive/hive_metastore
28625 2899
ttypes.py
in heracles/hive/hive_metastore
10974 971
FacebookService.py
in heracles/hive/fb303
1628 224
getters.py
in heracles/handlers
207 18
hive_mappers.py
in heracles/handlers
131 5
crossaccountathena.cf.yaml
in root
121 -
crossaccountathena-dockerized.cf.yaml
in root
114 -
s3.py
in heracles/clients
54 6
glue.py
in heracles/clients
53 13
lambda.py
in heracles
37 1
ttypes.py
in heracles/hive/fb303
31 -
constants.py
in heracles/hive/hive_metastore
29 -
handlerbase.py
in heracles/handlers
21 3
constants.py
in heracles/hive/fb303
5 -
__init__.py
in heracles
1 -
__init__.py
in heracles/hive
1 -
__init__.py
in heracles/hive/hive_metastore
1 -
__init__.py
in heracles/hive/fb303
1 -
__init__.py
in heracles/handlers
1 -
__init__.py
in heracles/clients
1 -
Files With Most Units (Top 9)
File# lines# units
ThriftHiveMetastore.py
in heracles/hive/hive_metastore
28625 2899
ttypes.py
in heracles/hive/hive_metastore
10974 971
FacebookService.py
in heracles/hive/fb303
1628 224
getters.py
in heracles/handlers
207 18
glue.py
in heracles/clients
53 13
s3.py
in heracles/clients
54 6
hive_mappers.py
in heracles/handlers
131 5
handlerbase.py
in heracles/handlers
21 3
lambda.py
in heracles
37 1
Files With Long Lines (Top 7)

There are 7 files with lines longer than 120 characters. In total, there are 934 long lines.

File# lines# units# long lines
ThriftHiveMetastore.py
in heracles/hive/hive_metastore
28625 2899 585
ttypes.py
in heracles/hive/hive_metastore
10974 971 310
FacebookService.py
in heracles/hive/fb303
1628 224 29
lambda.py
in heracles
37 1 3
getters.py
in heracles/handlers
207 18 3
crossaccountathena.cf.yaml
in root
121 - 2
crossaccountathena-dockerized.cf.yaml
in root
114 - 2