microsoft / Bing-Maps-Fleet-Tracker
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 454 files with 19,606 lines of code.
    • 0 very long files (0 lines of code)
    • 2 long files (1,224 lines of code)
    • 11 medium size files (3,054 lines of codeclsfd_ftr_w_mp_ins)
    • 32 small files (4,367 lines of code)
    • 409 very small files (10,961 lines of code)
0% | 6% | 15% | 22% | 55%
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
ts0% | 13% | 4% | 29% | 53%
cs0% | 4% | 21% | 21% | 53%
html0% | 0% | 16% | 10% | 72%
css0% | 0% | 0% | 0% | 100%
js0% | 0% | 0% | 0% | 100%
scss0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
Frontend/src/app0% | 12% | 7% | 20% | 60%
Backend/src/System.Device0% | 21% | 59% | 12% | 7%
Backend/src/Trackable.Services0% | 0% | 28% | 20% | 50%
Backend/src/Trackable.EntityFramework0% | 0% | 13% | 15% | 70%
Backend/src/Trackable.TripDetection0% | 0% | 11% | 13% | 74%
Backend/src/Trackable.Web0% | 0% | 11% | 36% | 51%
Backend/src/Trackable.Repositories0% | 0% | 0% | 31% | 68%
MobileClient/src/providers0% | 0% | 0% | 71% | 28%
MobileClient/src/pages0% | 0% | 0% | 38% | 61%
Backend/src/Trackable.Func0% | 0% | 0% | 58% | 41%
Backend/src/Trackable.Configurations0% | 0% | 0% | 79% | 20%
Backend/src/Trackable.Models0% | 0% | 0% | 0% | 100%
Backend/src/Trackable.Common0% | 0% | 0% | 0% | 100%
Frontend/src0% | 0% | 0% | 0% | 100%
MobileClient/src/app0% | 0% | 0% | 0% | 100%
MobileClient/src0% | 0% | 0% | 0% | 100%
MobileClient/src/theme0% | 0% | 0% | 0% | 100%
Frontend/src/environments0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
bing-maps.service.ts
in Frontend/src/app/maps
691 21
GeoCoordinateWatcherInternal.cs
in Backend/src/System.Device/Location
533 19
DispatchingService.cs
in Backend/src/Trackable.Services/Services
476 20
LocationProviderInternal.cs
in Backend/src/System.Device/Location
441 14
GeoCoordinateWatcher.cs
in Backend/src/System.Device/Location
344 22
LocationProvider.cs
in Backend/src/System.Device/Location
264 17
DbContextBulkOperations.cs
in Backend/src/Trackable.EntityFramework
246 9
Internals.cs
in Backend/src/System.Device/Location/Internal
224 7
GeoCoordinate.cs
in Backend/src/System.Device/Location
223 9
maps.service.ts
in Frontend/src/app/maps
212 24
MathUtils.cs
in Backend/src/Trackable.TripDetection/Helpers
211 12
dispatching-editor.component.html
in Frontend/src/app/dispatching/dispatching-editor
207 -
Startup.cs
in Backend/src/Trackable.Web
206 5
DevicesController.cs
in Backend/src/Trackable.Web/Controllers
190 9
dispatching-editor.component.ts
in Frontend/src/app/dispatching/dispatching-editor
187 12
RoleRequirementHandler.cs
in Backend/src/Trackable.Web/Auth
179 2
maps.component.ts
in Frontend/src/app/maps/maps
168 1
UsersController.cs
in Backend/src/Trackable.Web/Controllers
167 12
geofence-editor.component.ts
in Frontend/src/app/geofences/geofence-editor
167 8
CivicAddressResolver.cs
in Backend/src/System.Device/Location
166 9
asset-list.component.ts
in Frontend/src/app/assets/asset-list
161 12
DbRepositoryBase.cs
in Backend/src/Trackable.Repositories/Repositories
155 8
TrackingPointRepository.cs
in Backend/src/Trackable.Repositories/Repositories
151 5
201803071221497_ResourceIdToString.cs
in Backend/src/Trackable.EntityFramework/Migrations
150 2
ModelMappingProfile.cs
in Backend/src/Trackable.Repositories/AutoMapper
145 1
background-tracker-service.ts
in MobileClient/src/providers
145 7
asset.service.ts
in Frontend/src/app/assets
143 3
map-host-service.ts
in MobileClient/src/providers
143 10
LocationCoordinate.cs
in Backend/src/System.Device/Location
138 10
debug.html
in MobileClient/src/pages/debug
136 -
AdvancedSerializationBinder.cs
in Backend/src/Trackable.Func/Shared
130 5
ClusteredStopDetectorModule.cs
in Backend/src/Trackable.TripDetection/Modules
130 2
InstrumentationService.cs
in Backend/src/Trackable.Services/Services
127 6
AssetsController.cs
in Backend/src/Trackable.Web/Controllers
118 5
TrackableDbContext.cs
in Backend/src/Trackable.EntityFramework
117 6
dispatching-show.component.ts
in Frontend/src/app/dispatching/dispatching-show
114 5
ReportingService.cs
in Backend/src/Trackable.Services/Services
111 1
PipelineFunction.cs
in Backend/src/Trackable.Func
107 2
GeoFenceService.cs
in Backend/src/Trackable.Services/Services
106 1
DbCompositeRepositoryBase.cs
in Backend/src/Trackable.Repositories/Repositories
105 9
data.service.ts
in Frontend/src/app/core
104 2
device-list.component.ts
in Frontend/src/app/devices/device-list
103 9
TripExtractorBase.cs
in Backend/src/Trackable.TripDetection/Modules
102 4
ConfigurationManager.cs
in Backend/src/Trackable.Configurations
101 4
home.ts
in MobileClient/src/pages/home
101 8
device-editor.component.ts
in Frontend/src/app/devices/device-editor
100 5
JwtTokenService.cs
in Backend/src/Trackable.Services/Services
99 7
LocationsController.cs
in Backend/src/Trackable.Web/Controllers
99 5
201701181247597_Initial.cs
in Backend/src/Trackable.EntityFramework/Migrations
98 2
CivicAddress.cs
in Backend/src/System.Device/Location
95 3
Files With Most Units (Top 20)
File# lines# units
maps.service.ts
in Frontend/src/app/maps
212 24
GeoCoordinateWatcher.cs
in Backend/src/System.Device/Location
344 22
bing-maps.service.ts
in Frontend/src/app/maps
691 21
DispatchingService.cs
in Backend/src/Trackable.Services/Services
476 20
GeoCoordinateWatcherInternal.cs
in Backend/src/System.Device/Location
533 19
LocationProvider.cs
in Backend/src/System.Device/Location
264 17
LocationProviderInternal.cs
in Backend/src/System.Device/Location
441 14
MathUtils.cs
in Backend/src/Trackable.TripDetection/Helpers
211 12
UsersController.cs
in Backend/src/Trackable.Web/Controllers
167 12
asset-list.component.ts
in Frontend/src/app/assets/asset-list
161 12
dispatching-editor.component.ts
in Frontend/src/app/dispatching/dispatching-editor
187 12
LocationCoordinate.cs
in Backend/src/System.Device/Location
138 10
map-host-service.ts
in MobileClient/src/providers
143 10
CivicAddressResolver.cs
in Backend/src/System.Device/Location
166 9
GeoCoordinate.cs
in Backend/src/System.Device/Location
223 9
DbContextBulkOperations.cs
in Backend/src/Trackable.EntityFramework
246 9
DbCompositeRepositoryBase.cs
in Backend/src/Trackable.Repositories/Repositories
105 9
DevicesController.cs
in Backend/src/Trackable.Web/Controllers
190 9
device-list.component.ts
in Frontend/src/app/devices/device-list
103 9
debug.ts
in MobileClient/src/pages/debug
89 9
Files With Long Lines (Top 20)

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

File# lines# units# long lines
ModelMappingProfile.cs
in Backend/src/Trackable.Repositories/AutoMapper
145 1 16
Startup.cs
in Backend/src/Trackable.Web
206 5 12
asset-editor.component.html
in Frontend/src/app/assets/asset-editor
67 - 10
GeoCoordinateWatcherInternal.cs
in Backend/src/System.Device/Location
533 19 8
LocationProviderInternal.cs
in Backend/src/System.Device/Location
441 14 6
asset-list.component.html
in Frontend/src/app/assets/asset-list
31 - 6
ConfigurationManager.cs
in Backend/src/Trackable.Configurations
101 4 5
DispatchingService.cs
in Backend/src/Trackable.Services/Services
476 20 5
geofence-editor.component.html
in Frontend/src/app/geofences/geofence-editor
51 - 5
bing-maps.service.ts
in Frontend/src/app/maps
691 21 5
CivicAddressResolver.cs
in Backend/src/System.Device/Location
166 9 4
201803071221497_ResourceIdToString.cs
in Backend/src/Trackable.EntityFramework/Migrations
150 2 4
PipelineFunction.cs
in Backend/src/Trackable.Func
107 2 4
IDbTaggedRepository.cs
in Backend/src/Trackable.Repositories
44 - 4
TrackingPointRepository.cs
in Backend/src/Trackable.Repositories/Repositories
151 5 4
JwtTokenService.cs
in Backend/src/Trackable.Services/Services
99 7 4
DtoMappingProfile.cs
in Backend/src/Trackable.Web/DTOs
44 1 4
instrumentation-approval.component.html
in Frontend/src/app/users/instrumentation-approval
13 - 4
Internals.cs
in Backend/src/System.Device/Location/Internal
224 7 3
DbContextBulkOperations.cs
in Backend/src/Trackable.EntityFramework
246 9 3