aws-samples / aws-dynamodb-examples
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 226 files with 10,135 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 3 medium size files (653 lines of codeclsfd_ftr_w_mp_ins)
    • 20 small files (2,983 lines of code)
    • 203 very small files (6,499 lines of code)
0% | 0% | 6% | 29% | 64%
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
java0% | 0% | 14% | 76% | 9%
go0% | 0% | 14% | 0% | 85%
js0% | 0% | 0% | 21% | 78%
yml0% | 0% | 0% | 81% | 18%
py0% | 0% | 0% | 0% | 100%
cs0% | 0% | 0% | 0% | 100%
rs0% | 0% | 0% | 0% | 100%
toml0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
DynamoDB-SDK-Examples/java0% | 0% | 14% | 76% | 9%
DynamoDB-SDK-Examples/golang0% | 0% | 14% | 0% | 85%
DynamoDB-SDK-Examples/node.js0% | 0% | 0% | 17% | 82%
cloudformation/global_tables0% | 0% | 0% | 82% | 17%
nosqlworkbenchscript0% | 0% | 0% | 100% | 0%
DynamoDB-SDK-Examples/python0% | 0% | 0% | 0% | 100%
DynamoDB-SDK-Examples/dotnet0% | 0% | 0% | 0% | 100%
DynamoDB-SDK-Examples/rust0% | 0% | 0% | 0% | 100%
SchemaDesign/WriteSharding0% | 0% | 0% | 0% | 100%
LoadS3toDynamoDB0% | 0% | 0% | 0% | 100%
cloudformation0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
TransactWriteItem.java
in DynamoDB-SDK-Examples/java/WorkingWithItems
232 35
enableAutoscaling.go
in DynamoDB-SDK-Examples/golang/WorkingWithTables/enableAutoscaling
219 11
TransactGetItem.java
in DynamoDB-SDK-Examples/java/WorkingWithItems
202 35
BatchWriteItem.java
in DynamoDB-SDK-Examples/java/WorkingWithItems
196 27
BatchGetItem.java
in DynamoDB-SDK-Examples/java/WorkingWithItems
171 27
QueryWithFilterExpression.java
in DynamoDB-SDK-Examples/java/WorkingWithQueries
171 25
batch-execute-statement.js
in DynamoDB-SDK-Examples/node.js/WorkingWithPartiQL
171 -
UpdateItemConditional.java
in DynamoDB-SDK-Examples/java/WorkingWithItems
168 27
PutItemConditional.java
in DynamoDB-SDK-Examples/java/WorkingWithItems
164 24
QueryWithProjectionExpression.java
in DynamoDB-SDK-Examples/java/WorkingWithQueries
161 25
GlobalTable_Provisioned.yml
in cloudformation/global_tables
161 -
PutItem.java
in DynamoDB-SDK-Examples/java/WorkingWithItems
155 24
DeleteItem.java
in DynamoDB-SDK-Examples/java/WorkingWithItems
152 24
QueryConsistentRead.java
in DynamoDB-SDK-Examples/java/WorkingWithQueries
152 24
UpdateItem.java
in DynamoDB-SDK-Examples/java/WorkingWithItems
149 24
GetItem.java
in DynamoDB-SDK-Examples/java/WorkingWithItems
148 24
QueryWithSortKey.java
in DynamoDB-SDK-Examples/java/WorkingWithQueries
148 24
enable_auto_scaling_v3.js
in DynamoDB-SDK-Examples/node.js/WorkingWithTables
127 -
enable_auto_scaling_v2.js
in DynamoDB-SDK-Examples/node.js/WorkingWithTables
126 -
CreateTableProvisioned.java
in DynamoDB-SDK-Examples/java/WorkingWithTables
122 23
DeleteTable.java
in DynamoDB-SDK-Examples/java/WorkingWithTables
115 23
CreateTableOnDemand.java
in DynamoDB-SDK-Examples/java/WorkingWithTables
115 23
create-workbench-import.js
in nosqlworkbenchscript
111 -
WriteShardingExample.py
in SchemaDesign/WriteSharding/python
100 -
TransactWriteItems.cs
in DynamoDB-SDK-Examples/dotnet/WorkingWithItems
85 1
query-with-pagination-backwards.js
in DynamoDB-SDK-Examples/node.js/WorkingWithQueries
84 -
TableAsyncScan.java
in DynamoDB-SDK-Examples/java/WorkingWithScans
81 9
disableAutoscaling.go
in DynamoDB-SDK-Examples/golang/WorkingWithTables/disableAutoscaling
78 6
enable_auto-scaling.py
in DynamoDB-SDK-Examples/python/WorkingWithTables
76 -
batchWriteItem.go
in DynamoDB-SDK-Examples/golang/WorkingWithItems
74 1
BatchWriteItem.cs
in DynamoDB-SDK-Examples/dotnet/WorkingWithItems
70 1
TableAsyncQueryIndex.java
in DynamoDB-SDK-Examples/java/WorkingWithIndexes
69 9
CreateTableProvisioned.cs
in DynamoDB-SDK-Examples/dotnet/WorkingWithTables
69 1
TableAsyncQuery.java
in DynamoDB-SDK-Examples/java/WorkingWithQueries
68 9
putItemConditional.go
in DynamoDB-SDK-Examples/golang/WorkingWithItems
67 1
createTableProvisioned.go
in DynamoDB-SDK-Examples/golang/WorkingWithTables/createTableProvisioned
67 3
putItem.go
in DynamoDB-SDK-Examples/golang/WorkingWithItems
66 1
createTableOnDemand.go
in DynamoDB-SDK-Examples/golang/WorkingWithTables/createTableOnDemand
64 3
TransactGetItems.cs
in DynamoDB-SDK-Examples/dotnet/WorkingWithItems
64 1
batch-write.js
in DynamoDB-SDK-Examples/node.js/WorkingWithItems
63 1
QueryConsistentRead.cs
in DynamoDB-SDK-Examples/dotnet/WorkingWithQueries
63 2
PutItemConditional.cs
in DynamoDB-SDK-Examples/dotnet/WorkingWithItems
62 3
batch_write.py
in DynamoDB-SDK-Examples/python/WorkingWithItems
61 -
PutItem.cs
in DynamoDB-SDK-Examples/dotnet/WorkingWithItems
61 3
BatchGetItem.cs
in DynamoDB-SDK-Examples/dotnet/WorkingWithItems
58 1
query-with-pagination.js
in DynamoDB-SDK-Examples/node.js/WorkingWithQueries
56 -
transact_write.py
in DynamoDB-SDK-Examples/python/WorkingWithItems
56 -
updateGlobalTable.go
in DynamoDB-SDK-Examples/golang/WorkingWithTables/updateGlobalTable
55 4
UpdateItemConditional.cs
in DynamoDB-SDK-Examples/dotnet/WorkingWithItems
55 3
UpdateItem.cs
in DynamoDB-SDK-Examples/dotnet/WorkingWithItems
53 3
Files With Most Units (Top 20)
File# lines# units
TransactWriteItem.java
in DynamoDB-SDK-Examples/java/WorkingWithItems
232 35
TransactGetItem.java
in DynamoDB-SDK-Examples/java/WorkingWithItems
202 35
BatchGetItem.java
in DynamoDB-SDK-Examples/java/WorkingWithItems
171 27
UpdateItemConditional.java
in DynamoDB-SDK-Examples/java/WorkingWithItems
168 27
BatchWriteItem.java
in DynamoDB-SDK-Examples/java/WorkingWithItems
196 27
QueryWithProjectionExpression.java
in DynamoDB-SDK-Examples/java/WorkingWithQueries
161 25
QueryWithFilterExpression.java
in DynamoDB-SDK-Examples/java/WorkingWithQueries
171 25
GetItem.java
in DynamoDB-SDK-Examples/java/WorkingWithItems
148 24
PutItemConditional.java
in DynamoDB-SDK-Examples/java/WorkingWithItems
164 24
DeleteItem.java
in DynamoDB-SDK-Examples/java/WorkingWithItems
152 24
UpdateItem.java
in DynamoDB-SDK-Examples/java/WorkingWithItems
149 24
PutItem.java
in DynamoDB-SDK-Examples/java/WorkingWithItems
155 24
QueryConsistentRead.java
in DynamoDB-SDK-Examples/java/WorkingWithQueries
152 24
QueryWithSortKey.java
in DynamoDB-SDK-Examples/java/WorkingWithQueries
148 24
DeleteTable.java
in DynamoDB-SDK-Examples/java/WorkingWithTables
115 23
CreateTableOnDemand.java
in DynamoDB-SDK-Examples/java/WorkingWithTables
115 23
CreateTableProvisioned.java
in DynamoDB-SDK-Examples/java/WorkingWithTables
122 23
enableAutoscaling.go
in DynamoDB-SDK-Examples/golang/WorkingWithTables/enableAutoscaling
219 11
TableAsyncQueryIndex.java
in DynamoDB-SDK-Examples/java/WorkingWithIndexes
69 9
TableAsyncQuery.java
in DynamoDB-SDK-Examples/java/WorkingWithQueries
68 9
Files With Long Lines (Top 20)

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

File# lines# units# long lines
GetItem.java
in DynamoDB-SDK-Examples/java/WorkingWithItems
148 24 7
BatchGetItem.java
in DynamoDB-SDK-Examples/java/WorkingWithItems
171 27 7
UpdateItemConditional.java
in DynamoDB-SDK-Examples/java/WorkingWithItems
168 27 7
PutItemConditional.java
in DynamoDB-SDK-Examples/java/WorkingWithItems
164 24 7
DeleteItem.java
in DynamoDB-SDK-Examples/java/WorkingWithItems
152 24 7
BatchWriteItem.java
in DynamoDB-SDK-Examples/java/WorkingWithItems
196 27 7
UpdateItem.java
in DynamoDB-SDK-Examples/java/WorkingWithItems
149 24 7
TransactWriteItem.java
in DynamoDB-SDK-Examples/java/WorkingWithItems
232 35 7
TransactGetItem.java
in DynamoDB-SDK-Examples/java/WorkingWithItems
202 35 7
PutItem.java
in DynamoDB-SDK-Examples/java/WorkingWithItems
155 24 7
QueryConsistentRead.java
in DynamoDB-SDK-Examples/java/WorkingWithQueries
152 24 7
QueryWithFilterExpression.java
in DynamoDB-SDK-Examples/java/WorkingWithQueries
171 25 7
QueryWithProjectionExpression.java
in DynamoDB-SDK-Examples/java/WorkingWithQueries
161 25 6
QueryWithSortKey.java
in DynamoDB-SDK-Examples/java/WorkingWithQueries
148 24 6
BatchGetItem.cs
in DynamoDB-SDK-Examples/dotnet/WorkingWithItems
58 1 6
enable_auto-scaling.py
in DynamoDB-SDK-Examples/python/WorkingWithTables
76 - 2
TransactWriteItems.cs
in DynamoDB-SDK-Examples/dotnet/WorkingWithItems
85 1 2
create-workbench-import.js
in nosqlworkbenchscript
111 - 1
TableAsyncQueryIndex.java
in DynamoDB-SDK-Examples/java/WorkingWithIndexes
69 9 1
TableAsyncScan.java
in DynamoDB-SDK-Examples/java/WorkingWithScans
81 9 1