microsoft / MXDial-IoT-Sample
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 70 files with 3,615 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 2 medium size files (429 lines of codeclsfd_ftr_w_mp_ins)
    • 7 small files (971 lines of code)
    • 61 very small files (2,215 lines of code)
0% | 0% | 11% | 26% | 61%
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
js0% | 0% | 9% | 30% | 59%
ino0% | 0% | 100% | 0% | 0%
cpp0% | 0% | 0% | 100% | 0%
cs0% | 0% | 0% | 14% | 85%
css0% | 0% | 0% | 0% | 100%
html0% | 0% | 0% | 0% | 100%
h0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
frontend/mx/src0% | 0% | 11% | 35% | 53%
mxdevice/Device0% | 0% | 56% | 39% | 4%
backend/MXApi/Filters0% | 0% | 0% | 100% | 0%
frontend/common/components0% | 0% | 0% | 0% | 100%
backend/MXApi/Services0% | 0% | 0% | 0% | 100%
backend/MXApi/Models0% | 0% | 0% | 0% | 100%
frontend/common/styles0% | 0% | 0% | 0% | 100%
backend/MXApi/Controllers0% | 0% | 0% | 0% | 100%
backend/MXApi/Jobs0% | 0% | 0% | 0% | 100%
backend/MXApi0% | 0% | 0% | 0% | 100%
backend/MXApi/Helpers0% | 0% | 0% | 0% | 100%
frontend/common/containers0% | 0% | 0% | 0% | 100%
backend/MXApi/Resolvers0% | 0% | 0% | 0% | 100%
frontend/common/icons0% | 0% | 0% | 0% | 100%
frontend/mx/public0% | 0% | 0% | 0% | 100%
backend/MXApi/Config0% | 0% | 0% | 0% | 100%
backend/MXApi/Properties0% | 0% | 0% | 0% | 100%
backend/MXApi/SigR0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
device-dashboard.js
in frontend/mx/src/components
223 1
ino
MXDeviceDemo.ino
in mxdevice/Device
206 7
set-rule.js
in frontend/mx/src/containers
185 -
app.js
in frontend/mx/src/containers
171 4
utility.cpp
in mxdevice/Device
144 10
send-message.js
in frontend/mx/src/containers
141 -
BasicAuthorizeFilter.cs
in backend/MXApi/Filters
113 6
dashboard-gauge.js
in frontend/mx/src/components
111 1
round-gauge.js
in frontend/mx/src/components
106 -
MessagingService.cs
in backend/MXApi/Services
96 4
temperature-monitor.js
in frontend/mx/src/components
94 -
round-gauge.js
in frontend/common/components
93 -
dps-animation.js
in frontend/mx/src/containers
89 2
trigger-overlay.js
in frontend/mx/src/components
88 2
constants.js
in frontend/mx/src/common
83 -
events.js
in frontend/mx/src/mock
80 4
footer.js
in frontend/mx/src/containers
76 -
modal.js
in frontend/common/components
75 -
MXController.cs
in backend/MXApi/Controllers
68 7
EventHubProcessingJob.cs
in backend/MXApi/Jobs
67 6
app.js
in frontend/mx/src/components
66 -
fonts.css
in frontend/common/styles
65 -
AuthenticationFailureResult.cs
in backend/MXApi/Models
53 5
IoTHubService.cs
in backend/MXApi/Services
53 3
Utilities.cs
in backend/MXApi/Helpers
52 6
modal.js
in frontend/common/containers
52 1
NinjectResolver.cs
in backend/MXApi/Resolvers
51 6
threshold-notifications.js
in frontend/mx/src/containers
47 2
button.js
in frontend/common/components/styled
46 -
base.css
in frontend/common/styles
43 -
Startup.cs
in backend/MXApi
42 1
atmospheric-pressure-gauge.js
in frontend/mx/src/components
34 -
radio-button.js
in frontend/mx/src/icons
33 -
temperature.js
in frontend/mx/src/icons
33 -
devices.js
in frontend/mx/src/reducers
33 -
reset-app.js
in frontend/common/components
32 -
sound-level-gauge.js
in frontend/mx/src/components
32 2
device-provider.js
in frontend/mx/src/containers
32 2
MxPayload.cs
in backend/MXApi/Models
31 -
TwitterService.cs
in backend/MXApi/Services
31 2
index.js
in frontend/mx/src/actions
27 -
magnetometer-gauge.js
in frontend/mx/src/components
27 -
accelerometer.js
in frontend/mx/src/components
25 -
temperature-gauge.js
in frontend/mx/src/components
25 -
humidity-level-gauge.js
in frontend/mx/src/components
24 -
header.js
in frontend/common/components
23 -
accelerometer.js
in frontend/common/icons
22 -
MetricsPayload.cs
in backend/MXApi/Models
21 -
index.html
in frontend/mx/public
21 -
index.js
in frontend/mx/src
17 -
Files With Most Units (Top 20)
File# lines# units
utility.cpp
in mxdevice/Device
144 10
MXController.cs
in backend/MXApi/Controllers
68 7
ino
MXDeviceDemo.ino
in mxdevice/Device
206 7
BasicAuthorizeFilter.cs
in backend/MXApi/Filters
113 6
Utilities.cs
in backend/MXApi/Helpers
52 6
EventHubProcessingJob.cs
in backend/MXApi/Jobs
67 6
NinjectResolver.cs
in backend/MXApi/Resolvers
51 6
AuthenticationFailureResult.cs
in backend/MXApi/Models
53 5
MessagingService.cs
in backend/MXApi/Services
96 4
app.js
in frontend/mx/src/containers
171 4
events.js
in frontend/mx/src/mock
80 4
IoTHubService.cs
in backend/MXApi/Services
53 3
TwitterService.cs
in backend/MXApi/Services
31 2
sound-level-gauge.js
in frontend/mx/src/components
32 2
trigger-overlay.js
in frontend/mx/src/components
88 2
device-provider.js
in frontend/mx/src/containers
32 2
dps-animation.js
in frontend/mx/src/containers
89 2
threshold-notifications.js
in frontend/mx/src/containers
47 2
NinjectConfig.cs
in backend/MXApi/Config
15 1
Startup.cs
in backend/MXApi
42 1
Files With Long Lines (Top 12)

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

File# lines# units# long lines
accelerometer.js
in frontend/common/icons
22 - 3
IoTHubService.cs
in backend/MXApi/Services
53 3 2
ino
MXDeviceDemo.ino
in mxdevice/Device
206 7 2
MXController.cs
in backend/MXApi/Controllers
68 7 1
MessagingService.cs
in backend/MXApi/Services
96 4 1
TwitterService.cs
in backend/MXApi/Services
31 2 1
humidity.js
in frontend/mx/src/icons
15 - 1
magnetism.js
in frontend/mx/src/icons
13 - 1
pressure.js
in frontend/mx/src/icons
11 - 1
sound.js
in frontend/mx/src/icons
13 - 1
temperature.js
in frontend/mx/src/icons
33 - 1
twitter.js
in frontend/mx/src/icons
9 - 1