aws-samples / algorithmic-trading
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 1,658 lines of code.
    • 0 very long files (0 lines of code)
    • 1 long files (523 lines of code)
    • 1 medium size files (346 lines of codeclsfd_ftr_w_mp_ins)
    • 2 small files (266 lines of code)
    • 16 very small files (523 lines of code)
0% | 31% | 20% | 16% | 31%
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% | 60% | 39% | 0% | 0%
py0% | 0% | 0% | 33% | 66%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
0_Setup0% | 100% | 0% | 0% | 0%
4_Kinesis0% | 0% | 92% | 0% | 7%
4_Kinesis/model0% | 0% | 0% | 42% | 57%
2_Strategies/model0% | 0% | 0% | 42% | 57%
3_Models/model0% | 0% | 0% | 0% | 100%
1_Data0% | 0% | 0% | 0% | 100%
2_Strategies0% | 0% | 0% | 0% | 100%
Longest Files (Top 20)
File# lines# units
algo-reference.yaml
in 0_Setup
523 -
algo-kinesis.yaml
in 4_Kinesis
346 -
algo_base.py
in 4_Kinesis/model
133 9
algo_base.py
in 2_Strategies/model
133 9
algo_sim_feed.py
in 4_Kinesis/model
69 4
algo_live_feed.py
in 4_Kinesis/model
69 7
algo_sim_feed.py
in 2_Strategies/model
69 4
algo_live_feed.py
in 2_Strategies/model
69 7
predictor.py
in 3_Models/model
55 4
predictor.py
in 4_Kinesis/model
42 4
predictor.py
in 2_Strategies/model
42 4
data_prep.py
in 1_Data
38 3
update_config_kinesis.py
in 4_Kinesis
22 -
update_config.py
in 2_Strategies
18 -
init_model.py
in 4_Kinesis
8 -
init_model.py
in 2_Strategies
8 -
leaderboard.py
in 2_Strategies
8 -
wsgi.py
in 4_Kinesis/model
2 -
wsgi.py
in 2_Strategies/model
2 -
wsgi.py
in 3_Models/model
2 -
Files With Most Units (Top 10)
File# lines# units
algo_base.py
in 4_Kinesis/model
133 9
algo_base.py
in 2_Strategies/model
133 9
algo_live_feed.py
in 4_Kinesis/model
69 7
algo_live_feed.py
in 2_Strategies/model
69 7
predictor.py
in 4_Kinesis/model
42 4
algo_sim_feed.py
in 4_Kinesis/model
69 4
predictor.py
in 2_Strategies/model
42 4
algo_sim_feed.py
in 2_Strategies/model
69 4
predictor.py
in 3_Models/model
55 4
data_prep.py
in 1_Data
38 3
Files With Long Lines (Top 3)

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

File# lines# units# long lines
algo_base.py
in 4_Kinesis/model
133 9 1
algo-kinesis.yaml
in 4_Kinesis
346 - 1
algo_base.py
in 2_Strategies/model
133 9 1