awslabs / amazon-timestream-tools
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 145 files with 21,563 lines of code.
    • 0 very long files (0 lines of code)
    • 5 long files (2,957 lines of code)
    • 36 medium size files (11,591 lines of codeclsfd_ftr_w_mp_ins)
    • 24 small files (3,390 lines of code)
    • 80 very small files (3,625 lines of code)
0% | 13% | 53% | 15% | 16%
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
go0% | 48% | 16% | 26% | 8%
cs0% | 17% | 65% | 10% | 6%
java0% | 0% | 63% | 11% | 24%
py0% | 0% | 64% | 14% | 21%
js0% | 0% | 70% | 15% | 13%
yaml0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
sample_apps_reinvent2021/goV20% | 58% | 10% | 24% | 6%
sample_apps_reinvent2021/go0% | 55% | 10% | 23% | 10%
sample_apps_reinvent2021/dotnet0% | 24% | 56% | 15% | 3%
sample_apps_reinvent2021/java0% | 0% | 88% | 6% | 5%
sample_apps_reinvent2021/javaV20% | 0% | 85% | 7% | 6%
sample_apps_reinvent2021/js0% | 0% | 61% | 24% | 14%
sample_apps/dotnet0% | 0% | 85% | 0% | 14%
tools/perf-scale-workload0% | 0% | 59% | 13% | 27%
sample_apps/js0% | 0% | 86% | 0% | 13%
sample_apps/java0% | 0% | 83% | 0% | 16%
sample_apps/javaV20% | 0% | 81% | 0% | 18%
sample_apps_reinvent2021/python0% | 0% | 67% | 20% | 11%
tools/continuous-ingestor0% | 0% | 99% | 0% | <1%
sample_apps/go0% | 0% | 49% | 40% | 10%
integrations/jdbc0% | 0% | 62% | 29% | 8%
tools/kinesis_ingestor0% | 0% | 99% | 0% | <1%
sample_apps/python0% | 0% | 57% | 0% | 42%
tools/multithreaded-writer0% | 0% | 0% | 25% | 75%
integrations/sagemaker0% | 0% | 0% | 99% | <1%
integrations/flink_connector_with_upserts0% | 0% | 0% | 26% | 73%
integrations/flink_connector0% | 0% | 0% | 32% | 67%
integrations/iot_core0% | 0% | 0% | 0% | 100%
integrations/telegraf0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
timestream-helper.go
in sample_apps_reinvent2021/goV2/utils
666 34
timestream-dependency-helper.go
in sample_apps_reinvent2021/goV2/utils
620 32
ScheduledQueryExample.cs
in sample_apps_reinvent2021/dotnet
573 11
timestream-helper.go
in sample_apps_reinvent2021/go/utils
563 24
timestream-dependency-helper.go
in sample_apps_reinvent2021/go/utils
535 29
CrudAndSimpleIngestionExample.cs
in sample_apps/dotnet
490 17
TimestreamDependencyHelper.cs
in sample_apps_reinvent2021/dotnet
482 19
CrudAndSimpleIngestionExample.cs
in sample_apps_reinvent2021/dotnet
482 17
TimestreamDependencyHelper.java
in sample_apps_reinvent2021/java/src/main/java/com/amazonaws/services/timestream
475 22
TimestreamDependencyHelper.java
in sample_apps_reinvent2021/javaV2/src/main/java/com/amazonaws/services/timestream
450 19
timestream_sample_continuous_data_ingestor_application.py
in tools/continuous-ingestor
447 15
crud-and-simple-ingestion-example.js
in sample_apps/js
430 20
timestream-dependency-helper.js
in sample_apps_reinvent2021/js
372 25
QueryExample.java
in sample_apps/java/src/main/java/com/amazonaws/services/timestream
366 12
crud-ingestion-sample.go
in sample_apps/go
365 1
CrudAndSimpleIngestionExample.java
in sample_apps/java/src/main/java/com/amazonaws/services/timestream
363 17
QueryExample.java
in sample_apps_reinvent2021/java/src/main/java/com/amazonaws/services/timestream
358 12
QueryExample.cs
in sample_apps/dotnet
351 17
QueryExample.cs
in sample_apps_reinvent2021/dotnet
349 17
CrudAndSimpleIngestionExample.java
in sample_apps/javaV2/src/main/java/com/amazonaws/services/timestream
348 15
QueryExample.java
in sample_apps/javaV2/src/main/java/com/amazonaws/services/timestream
324 12
query-example.js
in sample_apps_reinvent2021/js
317 13
QueryExample.java
in sample_apps_reinvent2021/javaV2/src/main/java/com/amazonaws/services/timestream
309 12
query-example.js
in sample_apps/js
308 13
QueryUtil.py
in sample_apps_reinvent2021/python/utils
289 12
continuous_ingester.py
in tools/perf-scale-workload
278 11
ScheduledQueryExample.java
in sample_apps_reinvent2021/javaV2/src/main/java/com/amazonaws/services/timestream
275 11
QueryExample.java
in integrations/jdbc/src/main/java/com/amazonaws/services/timestream
266 4
model.py
in tools/perf-scale-workload
265 9
timestream_kinesis_data_gen.py
in tools/kinesis_ingestor
258 7
CrudAndSimpleIngestionExample.py
in sample_apps/python
254 18
ScheduledQueryExample.java
in sample_apps_reinvent2021/java/src/main/java/com/amazonaws/services/timestream
252 11
query_executer.py
in tools/perf-scale-workload
245 13
crud-and-simple-ingestion-example.js
in sample_apps_reinvent2021/js
242 16
Main.java
in sample_apps_reinvent2021/java/src/main/java/com/amazonaws/services/timestream
241 9
Main.java
in sample_apps_reinvent2021/javaV2/src/main/java/com/amazonaws/services/timestream
237 8
TimestreamDependencyHelper.py
in sample_apps_reinvent2021/python/utils
234 20
scheduled-query-sample.go
in sample_apps_reinvent2021/goV2
220 1
CrudAndSimpleIngestionExample.java
in sample_apps_reinvent2021/java/src/main/java/com/amazonaws/services/timestream
217 14
scheduled-query-sample.go
in sample_apps_reinvent2021/go
216 1
CrudAndSimpleIngestionExample.java
in sample_apps_reinvent2021/javaV2/src/main/java/com/amazonaws/services/timestream
216 16
schedule-query-example.js
in sample_apps_reinvent2021/js
200 8
query-sample.go
in sample_apps_reinvent2021/goV2
190 2
query-sample.go
in sample_apps_reinvent2021/go
180 2
timestreamquery.py
in tools/perf-scale-workload
174 9
main.js
in sample_apps_reinvent2021/js
170 4
timestreamquery.py
in integrations/sagemaker
168 9
WriteUtil.py
in sample_apps_reinvent2021/python/utils
158 15
ingestion-csv-sample.go
in sample_apps/go
158 2
TimestreamWriterWorker.java
in tools/multithreaded-writer/TimestreamMultithreadedWriter/src/main/java/com/amazonaws/sample/timestream/multithreaded
145 6
Files With Most Units (Top 20)
File# lines# units
timestream-helper.go
in sample_apps_reinvent2021/goV2/utils
666 34
timestream-dependency-helper.go
in sample_apps_reinvent2021/goV2/utils
620 32
timestream-dependency-helper.go
in sample_apps_reinvent2021/go/utils
535 29
timestream-dependency-helper.js
in sample_apps_reinvent2021/js
372 25
timestream-helper.go
in sample_apps_reinvent2021/go/utils
563 24
TimestreamDependencyHelper.java
in sample_apps_reinvent2021/java/src/main/java/com/amazonaws/services/timestream
475 22
TimestreamDependencyHelper.py
in sample_apps_reinvent2021/python/utils
234 20
crud-and-simple-ingestion-example.js
in sample_apps/js
430 20
TimestreamDependencyHelper.java
in sample_apps_reinvent2021/javaV2/src/main/java/com/amazonaws/services/timestream
450 19
TimestreamDependencyHelper.cs
in sample_apps_reinvent2021/dotnet
482 19
CrudAndSimpleIngestionExample.py
in sample_apps/python
254 18
QueryExample.cs
in sample_apps_reinvent2021/dotnet
349 17
CrudAndSimpleIngestionExample.cs
in sample_apps_reinvent2021/dotnet
482 17
CrudAndSimpleIngestionExample.java
in sample_apps/java/src/main/java/com/amazonaws/services/timestream
363 17
QueryExample.cs
in sample_apps/dotnet
351 17
CrudAndSimpleIngestionExample.cs
in sample_apps/dotnet
490 17
crud-and-simple-ingestion-example.js
in sample_apps_reinvent2021/js
242 16
CrudAndSimpleIngestionExample.java
in sample_apps_reinvent2021/javaV2/src/main/java/com/amazonaws/services/timestream
216 16
TimestreamPoint.java
in integrations/flink_connector/src/main/java/com/amazonaws/services/timestream
79 16
TimestreamPoint.java
in integrations/flink_connector_with_upserts/src/main/java/com/amazonaws/services/timestream
79 16
Files With Long Lines (Top 20)

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

File# lines# units# long lines
QueryExample.cs
in sample_apps/dotnet
351 17 37
QueryExample.cs
in sample_apps_reinvent2021/dotnet
349 17 33
timestream_sample_continuous_data_ingestor_application.py
in tools/continuous-ingestor
447 15 30
devops_query_driver.py
in tools/perf-scale-workload
98 1 27
model.py
in tools/perf-scale-workload
265 9 22
devops_ingestion_driver.py
in tools/perf-scale-workload
67 1 18
continuous_ingester.py
in tools/perf-scale-workload
278 11 17
QueryExample.java
in sample_apps_reinvent2021/java/src/main/java/com/amazonaws/services/timestream
358 12 16
QueryUtil.py
in sample_apps_reinvent2021/python/utils
289 12 16
QueryExample.java
in sample_apps/java/src/main/java/com/amazonaws/services/timestream
366 12 16
QueryExample.java
in sample_apps_reinvent2021/javaV2/src/main/java/com/amazonaws/services/timestream
309 12 15
query-example.js
in sample_apps/js
308 13 15
QueryExample.java
in sample_apps/javaV2/src/main/java/com/amazonaws/services/timestream
324 12 15
query_executer.py
in tools/perf-scale-workload
245 13 14
QueryExample.java
in integrations/jdbc/src/main/java/com/amazonaws/services/timestream
266 4 14
scheduled-query-sample.go
in sample_apps_reinvent2021/goV2
220 1 13
timestream-helper.go
in sample_apps_reinvent2021/goV2/utils
666 34 13
scheduled-query-sample.go
in sample_apps_reinvent2021/go
216 1 12
ScheduledQueryExample.java
in sample_apps_reinvent2021/java/src/main/java/com/amazonaws/services/timestream
252 11 10
query-example.js
in sample_apps_reinvent2021/js
317 13 9