awslabs / amazon-pollexy
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 72 files with 3,807 lines of code.
    • 0 very long files (0 lines of code)
    • 2 long files (1,292 lines of code)
    • 4 medium size files (1,009 lines of codeclsfd_ftr_w_mp_ins)
    • 2 small files (285 lines of code)
    • 64 very small files (1,221 lines of code)
0% | 33% | 26% | 7% | 32%
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% | 38% | 29% | 8% | 23%
yaml0% | 0% | 0% | 0% | 100%
tf0% | 0% | 0% | 0% | 100%
yml0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
cli0% | 99% | 0% | 0% | <1%
lex0% | 80% | 0% | 0% | 19%
messages0% | 0% | 99% | 0% | <1%
locator0% | 0% | 99% | 0% | <1%
scheduler0% | 0% | 99% | 0% | <1%
person0% | 0% | 0% | 99% | <1%
lambda_functions0% | 0% | 0% | 100% | 0%
sample_bots0% | 0% | 0% | 0% | 100%
terraform0% | 0% | 0% | 0% | 100%
helpers0% | 0% | 0% | 0% | 100%
snippets0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
face0% | 0% | 0% | 0% | 100%
speaker0% | 0% | 0% | 0% | 100%
time_window0% | 0% | 0% | 0% | 100%
sam0% | 0% | 0% | 0% | 100%
location0% | 0% | 0% | 0% | 100%
input0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
pollexy.py
in cli
728 48
__init__.py
in lex
564 53
message_manager.py
in messages
302 15
locator.py
in locator
256 24
message.py
in messages
243 16
scheduler.py
in scheduler
208 11
person.py
in person
155 16
queue_immediate.py
in lambda_functions
130 10
face.py
in face
86 8
__init__.py
in time_window
72 13
speaker.py
in speaker
72 5
weather.py
in helpers
67 6
queue_messages.py
in root
58 1
queue.yml
in sam
56 -
PollexyHygieneBot.py
in lex/bots
53 9
location.py
in location
50 6
pollexy-role.tf
in terraform
45 -
PollexySecondaryBot.py
in lex/bots
35 9
serverless.yml
in root
33 -
PollexyEmergencyIntent.yaml
in sample_bots/intents
29 -
PollexySetAlarmBot.py
in lex/bots
28 9
ddb_message_schedule.tf
in terraform
26 -
speech.py
in helpers
25 4
PollexySetAlarmIntent.yaml
in sample_bots/intents
25 -
PollexyHygieneBot.yaml
in sample_bots/bots
25 -
PollexySecondaryBot.yaml
in sample_bots/bots
23 -
switch.py
in input
21 2
PollexySetAlarmBot.yaml
in sample_bots/bots
21 -
setup.py
in root
21 -
ddb_message_library.tf
in terraform
21 -
ddb_location.tf
in terraform
21 -
ddb_people.tf
in terraform
21 -
listen.py
in snippets
20 1
lextest.py
in snippets
19 -
__init__.py
in lex/bots
18 8
db_helpers.py
in helpers
14 2
config.py
in helpers
14 1
mod1.py
in snippets/modules
14 2
PollexyAnythingElseIntent.yaml
in sample_bots/intents
13 -
PollexyPutToothpasteIntent.yaml
in sample_bots/intents
13 -
PollexyBrushTeethIntent.yaml
in sample_bots/intents
13 -
PollexyBrushTopTeethIntent.yaml
in sample_bots/intents
13 -
say.py
in snippets
13 -
record.py
in snippets
13 -
get_sample_rates.py
in snippets
12 -
PollexyWhatTimeIsItIntent.yaml
in sample_bots/intents
11 -
buildspec.yml
in root
9 -
button.py
in snippets
9 -
datetime_helpers.py
in helpers
8 2
PollexyEmergencyContactSlotType.yaml
in sample_bots/slots
8 -
Files With Most Units (Top 20)
File# lines# units
__init__.py
in lex
564 53
pollexy.py
in cli
728 48
locator.py
in locator
256 24
message.py
in messages
243 16
person.py
in person
155 16
message_manager.py
in messages
302 15
__init__.py
in time_window
72 13
scheduler.py
in scheduler
208 11
queue_immediate.py
in lambda_functions
130 10
PollexySetAlarmBot.py
in lex/bots
28 9
PollexyHygieneBot.py
in lex/bots
53 9
PollexySecondaryBot.py
in lex/bots
35 9
__init__.py
in lex/bots
18 8
face.py
in face
86 8
weather.py
in helpers
67 6
location.py
in location
50 6
speaker.py
in speaker
72 5
speech.py
in helpers
25 4
db_helpers.py
in helpers
14 2
datetime_helpers.py
in helpers
8 2
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
pollexy-role.tf
in terraform
45 - 1