awslabs / aws-apigateway-lambda-authorizer-blueprints
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 21 files with 1,174 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 0 medium size files (0 lines of codeclsfd_ftr_w_mp_ins)
    • 6 small files (842 lines of code)
    • 15 very small files (332 lines of code)
0% | 0% | 0% | 71% | 28%
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% | 0% | 73% | 26%
rs0% | 0% | 0% | 100% | 0%
js0% | 0% | 0% | 100% | 0%
cs0% | 0% | 0% | 31% | 68%
go0% | 0% | 0% | 100% | 0%
py0% | 0% | 0% | 100% | 0%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
java/src/io0% | 0% | 0% | 83% | 16%
rust0% | 0% | 0% | 100% | 0%
nodejs0% | 0% | 0% | 100% | 0%
dotnet/src/APIGatewayAuthorizerHandler0% | 0% | 0% | 76% | 23%
go0% | 0% | 0% | 100% | 0%
python0% | 0% | 0% | 100% | 0%
dotnet/src/APIGatewayAuthorizerHandler/Model/Auth0% | 0% | 0% | 0% | 100%
dotnet/src/APIGatewayAuthorizerHandler/Model0% | 0% | 0% | 0% | 100%
java/src/example0% | 0% | 0% | 0% | 100%
dotnet/src/APIGatewayAuthorizerHandler/Error0% | 0% | 0% | 0% | 100%
Longest Files (Top 21)
File# lines# units
AuthPolicy.java
in blueprints/java/src/io
159 25
main.rs
in blueprints/rust
159 2
index.js
in blueprints/nodejs
156 12
AuthPolicyBuilder.cs
in blueprints/dotnet/src/APIGatewayAuthorizerHandler
127 7
main.go
in blueprints/go
124 10
api-gateway-authorizer-python.py
in blueprints/python
117 12
ApiGatewayArn.cs
in blueprints/dotnet/src/APIGatewayAuthorizerHandler/Model
50 3
Function.cs
in blueprints/dotnet/src/APIGatewayAuthorizerHandler
38 1
ConditionOperator.cs
in blueprints/dotnet/src/APIGatewayAuthorizerHandler/Model/Auth
34 -
TokenAuthorizerContext.java
in blueprints/java/src/io
31 8
ConditionKey.cs
in blueprints/dotnet/src/APIGatewayAuthorizerHandler/Model/Auth
30 2
APIGatewayAuthorizerHandler.java
in blueprints/java/src/example
25 1
HttpVerb.cs
in blueprints/dotnet/src/APIGatewayAuthorizerHandler/Model
24 2
ApiOptions.cs
in blueprints/dotnet/src/APIGatewayAuthorizerHandler/Model
18 2
Statement.cs
in blueprints/dotnet/src/APIGatewayAuthorizerHandler/Model/Auth
16 -
AuthPolicy.cs
in blueprints/dotnet/src/APIGatewayAuthorizerHandler/Model/Auth
15 -
TokenAuthorizerContext.cs
in blueprints/dotnet/src/APIGatewayAuthorizerHandler/Model
13 -
PolicyDocument.cs
in blueprints/dotnet/src/APIGatewayAuthorizerHandler/Model/Auth
12 -
Condition.cs
in blueprints/dotnet/src/APIGatewayAuthorizerHandler/Model/Auth
9 -
UnauthorizedException.cs
in blueprints/dotnet/src/APIGatewayAuthorizerHandler/Error
9 1
Effect.cs
in blueprints/dotnet/src/APIGatewayAuthorizerHandler/Model/Auth
8 -
Files With Most Units (Top 14)
File# lines# units
AuthPolicy.java
in blueprints/java/src/io
159 25
api-gateway-authorizer-python.py
in blueprints/python
117 12
index.js
in blueprints/nodejs
156 12
main.go
in blueprints/go
124 10
TokenAuthorizerContext.java
in blueprints/java/src/io
31 8
AuthPolicyBuilder.cs
in blueprints/dotnet/src/APIGatewayAuthorizerHandler
127 7
ApiGatewayArn.cs
in blueprints/dotnet/src/APIGatewayAuthorizerHandler/Model
50 3
main.rs
in blueprints/rust
159 2
ApiOptions.cs
in blueprints/dotnet/src/APIGatewayAuthorizerHandler/Model
18 2
HttpVerb.cs
in blueprints/dotnet/src/APIGatewayAuthorizerHandler/Model
24 2
ConditionKey.cs
in blueprints/dotnet/src/APIGatewayAuthorizerHandler/Model/Auth
30 2
APIGatewayAuthorizerHandler.java
in blueprints/java/src/example
25 1
Function.cs
in blueprints/dotnet/src/APIGatewayAuthorizerHandler
38 1
UnauthorizedException.cs
in blueprints/dotnet/src/APIGatewayAuthorizerHandler/Error
9 1
Files With Long Lines (Top 4)

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

File# lines# units# long lines
AuthPolicy.java
in blueprints/java/src/io
159 25 8
main.go
in blueprints/go
124 10 1
APIGatewayAuthorizerHandler.java
in blueprints/java/src/example
25 1 1
AuthPolicyBuilder.cs
in blueprints/dotnet/src/APIGatewayAuthorizerHandler
127 7 1