aws-samples / aws-iot-chat-example
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 64 files with 3,082 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 2 medium size files (568 lines of codeclsfd_ftr_w_mp_ins)
    • 5 small files (638 lines of code)
    • 57 very small files (1,876 lines of code)
0% | 0% | 18% | 20% | 60%
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
yml0% | 0% | 99% | 0% | <1%
js0% | 0% | 8% | 23% | 68%
html0% | 0% | 0% | 0% | 100%
css0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
api0% | 0% | 95% | 0% | 4%
client/src/lib0% | 0% | 33% | 42% | 23%
client/src/components0% | 0% | 0% | 22% | 77%
client/src/actions0% | 0% | 0% | 36% | 63%
client/src/reducers0% | 0% | 0% | 0% | 100%
client/src0% | 0% | 0% | 0% | 100%
api/src/user0% | 0% | 0% | 0% | 100%
api/src/policy0% | 0% | 0% | 0% | 100%
api/src/chat0% | 0% | 0% | 0% | 100%
api/src/helpers0% | 0% | 0% | 0% | 100%
client/public0% | 0% | 0% | 0% | 100%
client/src/config0% | 0% | 0% | 0% | 100%
client/src/store0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
serverless.yml
in api
336 -
sigV4Client.js
in client/src/lib
232 14
aws-cognito.js
in client/src/lib
174 -
api-gateway.js
in client/src/lib
123 4
Login.js
in client/src/components/Auth
117 7
authActions.js
in client/src/actions
116 -
CreateRoom.js
in client/src/components/Rooms
108 5
App.js
in client/src/components
97 7
Register.js
in client/src/components/Auth
94 3
chatReducer.js
in client/src/reducers
91 1
authReducer.js
in client/src/reducers
83 1
iot-client.js
in client/src/lib
79 11
iotActions.js
in client/src/actions
73 -
registerServiceWorker.js
in client/src
73 4
Chat.js
in client/src/components/Chat
72 5
Spinner.js
in client/src/components
69 -
chatActions.js
in client/src/actions
61 -
iotReducer.js
in client/src/reducers
59 1
SocialLogins.js
in client/src/components/Auth
59 -
create.js
in api/src/chat
52 -
aws-iot.js
in client/src/lib
46 -
RootRouter.js
in client/src/components/Routers
46 3
Reply.js
in client/src/components/Chat
45 3
Rooms.js
in client/src/components/Rooms
41 2
messageActions.js
in client/src/actions
37 -
topicHelper.js
in client/src/lib
36 -
RoomCard.js
in client/src/components/Rooms
36 -
attachPublicPublish.js
in api/src/policy
35 -
RoomMenu.js
in client/src/components/Chat
33 -
MessageHistory.js
in client/src/components/Chat
33 -
RoomMenuItem.js
in client/src/components/Chat
30 -
create.js
in api/src/user
29 -
types.js
in client/src/actions
28 -
RoomCardExtra.js
in client/src/components/Rooms
28 -
get.js
in api/src/user
23 1
getMe.js
in api/src/user
22 -
unreadsReducer.js
in client/src/reducers
22 1
roomsReducer.js
in client/src/reducers
22 1
Message.js
in client/src/components/Chat
21 -
messagesReducer.js
in client/src/reducers
20 1
roomReducer.js
in client/src/reducers
19 1
index.js
in client/src
19 -
index.html
in client/public
17 -
rootReducer.js
in client/src/reducers
16 -
PrivateRoute.js
in client/src/components/Routers
16 -
list.js
in api/src/user
14 -
list.js
in api/src/chat
14 -
usersReducer.js
in client/src/reducers
14 1
attachPublicReceive.js
in api/src/policy
13 -
attachConnect.js
in api/src/policy
13 -
Files With Most Units (Top 20)
File# lines# units
sigV4Client.js
in client/src/lib
232 14
iot-client.js
in client/src/lib
79 11
Login.js
in client/src/components/Auth
117 7
App.js
in client/src/components
97 7
CreateRoom.js
in client/src/components/Rooms
108 5
Chat.js
in client/src/components/Chat
72 5
api-gateway.js
in client/src/lib
123 4
registerServiceWorker.js
in client/src
73 4
Register.js
in client/src/components/Auth
94 3
RootRouter.js
in client/src/components/Routers
46 3
Reply.js
in client/src/components/Chat
45 3
Rooms.js
in client/src/components/Rooms
41 2
get.js
in api/src/user
23 1
iotReducer.js
in client/src/reducers
59 1
roomReducer.js
in client/src/reducers
19 1
unreadsReducer.js
in client/src/reducers
22 1
roomsReducer.js
in client/src/reducers
22 1
authReducer.js
in client/src/reducers
83 1
usersReducer.js
in client/src/reducers
14 1
messagesReducer.js
in client/src/reducers
20 1
Files With Long Lines (Top 0)

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

File# lines# units# long lines