microsoft / EmbeddedSocial-Service
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 760 files with 48,110 lines of code.
    • 3 very long files (3,692 lines of code)
    • 8 long files (5,455 lines of code)
    • 32 medium size files (9,519 lines of codeclsfd_ftr_w_mp_ins)
    • 84 small files (10,946 lines of code)
    • 633 very small files (18,498 lines of code)
7% | 11% | 19% | 22% | 38%
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
cs5% | 12% | 21% | 19% | 40%
css100% | 0% | 0% | 0% | 0%
ps10% | 14% | 7% | 26% | 51%
ccproj0% | 0% | 100% | 0% | 0%
cscfg0% | 0% | 0% | 100% | 0%
csdef0% | 0% | 0% | 100% | 0%
psd10% | 0% | 0% | 0% | 100%
aspx0% | 0% | 0% | 0% | 100%
cmd0% | 0% | 0% | 0% | 100%
asax0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
Server/WebRole21% | 0% | 19% | 22% | 36%
Server/CTStore28% | 38% | 9% | 6% | 17%
Server/Common7% | 19% | 16% | 17% | 38%
Tools/Ops0% | 6% | 43% | 18% | 30%
Server/Search0% | 0% | 68% | 0% | 31%
Server/CloudService0% | 0% | 16% | 83% | 0%
Server/Messaging0% | 0% | 65% | 0% | 34%
UtilsInternal/Config0% | 0% | 84% | 0% | 15%
Server/PushNotificationsHub0% | 0% | 52% | 0% | 47%
Server/DataFactory0% | 0% | 0% | 78% | 21%
Server/OAuthLibrary0% | 0% | 0% | 39% | 60%
External/LoggingEventSource0% | 0% | 0% | 91% | 8%
Server/WebRoleCommon0% | 0% | 0% | 28% | 71%
Server/WorkerRole0% | 0% | 0% | 32% | 67%
Tools/Developer0% | 0% | 0% | 89% | 10%
Server/KVLibrary0% | 0% | 0% | 71% | 28%
UtilsInternal0% | 0% | 0% | 21% | 78%
Logging0% | 0% | 0% | 66% | 33%
Server/CBStore0% | 0% | 0% | 43% | 56%
Server/WebRoleMicrosoftInternal0% | 0% | 0% | 0% | 100%
Utils0% | 0% | 0% | 0% | 100%
Models/Requests0% | 0% | 0% | 0% | 100%
Models/Views0% | 0% | 0% | 0% | 100%
Server/VSONuGetAuthScripts0% | 0% | 0% | 0% | 100%
Server/Metrics0% | 0% | 0% | 0% | 100%
Models/Enums0% | 0% | 0% | 0% | 100%
Models/Responses0% | 0% | 0% | 0% | 100%
Server/CVS0% | 0% | 0% | 0% | 100%
Server/AVERT0% | 0% | 0% | 0% | 100%
Server/Email0% | 0% | 0% | 0% | 100%
Server/EventSources0% | 0% | 0% | 0% | 100%
NuGet0% | 0% | 0% | 0% | 100%
Utils/Handles0% | 0% | 0% | 0% | 100%
Logging/Properties0% | 0% | 0% | 0% | 100%
Models/Properties0% | 0% | 0% | 0% | 100%
NuGet/SocialPlus.Client.NuGet0% | 0% | 0% | 0% | 100%
NuGet/SocialPlus.Logging.NuGet0% | 0% | 0% | 0% | 100%
NuGet/SocialPlus.Server.Email.NuGet0% | 0% | 0% | 0% | 100%
NuGet/SocialPlus.Server.KVLibrary.NuGet0% | 0% | 0% | 0% | 100%
NuGet/SocialPlus.Server.Messaging.NuGet0% | 0% | 0% | 0% | 100%
NuGet/SocialPlus.Utils.NuGet0% | 0% | 0% | 0% | 100%
Utils/Properties0% | 0% | 0% | 0% | 100%
UtilsInternal/Properties0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
screen.css
in code/Server/WebRole/SwaggerConfig
1297 -
RedisCache.cs
in code/Server/CTStore
1259 22
ContainerTableDescriptorProvider.cs
in code/Server/Common/Tables
1136 3
ViewsManager.cs
in code/Server/Common/Managers
961 23
CVSModerationManager.cs
in code/Server/Common/Managers
843 26
ReportsManager.cs
in code/Server/Common/Managers
798 21
CTStore.cs
in code/Server/CTStore
622 31
New-SocialPlusEnvironment.ps1
in code/Tools/Ops/Scripts
588 -
PushNotificationsManager.cs
in code/Server/Common/Managers
569 19
AzureTableStorage.cs
in code/Server/CTStore
557 33
Operation.cs
in code/Server/CTStore
517 39
Program.cs
in code/Tools/Ops/ManageServerState
458 7
TopicsController.cs
in code/Server/WebRole/Controllers
447 13
AppsStore.cs
in code/Server/Common/Tables
430 32
TopicsStore.cs
in code/Server/Common/Tables
422 22
ExecutionManager.cs
in code/Server/CTStore
411 13
Apps.cs
in code/Tools/Ops/ManageApps
408 16
ccproj
SocialPlus.Server.CloudService.ccproj
in code/Server/CloudService
381 -
Program.cs
in code/Tools/Ops/ManageApps
364 5
RelationshipsManager.cs
in code/Server/Common/Managers
351 14
Program.cs
in code/Tools/Ops/PopulateClient
324 11
UsersController.cs
in code/Server/WebRole/Controllers
318 9
AppPushNotifications.cs
in code/Tools/Ops/ManageApps
307 6
AppAdmins.cs
in code/Tools/Ops/ManageApps
297 8
AppContentValidation.cs
in code/Tools/Ops/ManageApps
289 6
Format-SocialPlusManifest.ps1
in code/Tools/Ops/Scripts
286 -
Program.cs
in code/Tools/Ops/ManageRedis
282 6
AppsManager.cs
in code/Server/Common/Managers
267 23
UsersStore.cs
in code/Server/Common/Tables
265 15
AppIdentityProviders.cs
in code/Tools/Ops/ManageApps
265 6
UserRelationshipsStore.cs
in code/Server/Common/Tables
260 13
ServiceBusQueue.cs
in code/Server/Messaging
238 13
TopicRelationshipsStore.cs
in code/Server/Common/Tables
236 10
AppKeys.cs
in code/Tools/Ops/ManageApps
234 10
MyFollowingController.cs
in code/Server/WebRole/Controllers
233 11
BlobsManager.cs
in code/Server/Common/Managers
227 20
TestConstants.cs
in code/UtilsInternal/Config
224 1
SearchBase.cs
in code/Server/Search
223 9
SearchTopics.cs
in code/Server/Search
221 6
RelationshipsControllerBase.cs
in code/Server/WebRole/Controllers
216 4
UsersManager.cs
in code/Server/Common/Managers
214 13
PushNotificationsHubBase.cs
in code/Server/PushNotificationsHub
213 9
Program.cs
in code/Tools/Ops/ManageQueues
208 5
TopicsManager.cs
in code/Server/Common/Managers
194 11
EventSourceLogger.cs
in code/External/LoggingEventSource
192 9
SearchManager.cs
in code/Server/Common/Managers
189 8
Actions.cs
in code/Tools/Ops/ManageQueues
187 6
EventSourceLoggerProvider.cs
in code/External/LoggingEventSource
181 7
TransformColumn.cs
in code/Server/DataFactory
177 3
KV.cs
in code/Server/KVLibrary
170 5
Files With Most Units (Top 20)
File# lines# units
Operation.cs
in code/Server/CTStore
517 39
AzureTableStorage.cs
in code/Server/CTStore
557 33
AppsStore.cs
in code/Server/Common/Tables
430 32
CTStore.cs
in code/Server/CTStore
622 31
CVSModerationManager.cs
in code/Server/Common/Managers
843 26
AppsManager.cs
in code/Server/Common/Managers
267 23
ViewsManager.cs
in code/Server/Common/Managers
961 23
RedisCache.cs
in code/Server/CTStore
1259 22
TopicsStore.cs
in code/Server/Common/Tables
422 22
ReportsManager.cs
in code/Server/Common/Managers
798 21
BlobsManager.cs
in code/Server/Common/Managers
227 20
PushNotificationsManager.cs
in code/Server/Common/Managers
569 19
ConnectionStringProvider.cs
in code/Server/Common
85 16
Apps.cs
in code/Tools/Ops/ManageApps
408 16
NullConnectionStringProvider.cs
in code/Server/Common
71 15
UsersStore.cs
in code/Server/Common/Tables
265 15
RelationshipsManager.cs
in code/Server/Common/Managers
351 14
ExecutionManager.cs
in code/Server/CTStore
411 13
UsersManager.cs
in code/Server/Common/Managers
214 13
UserRelationshipsStore.cs
in code/Server/Common/Tables
260 13
Files With Long Lines (Top 20)

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

File# lines# units# long lines
screen.css
in code/Server/WebRole/SwaggerConfig
1297 - 90
ReportsManager.cs
in code/Server/Common/Managers
798 21 88
RedisCache.cs
in code/Server/CTStore
1259 22 74
AppsStore.cs
in code/Server/Common/Tables
430 32 71
TopicsStore.cs
in code/Server/Common/Tables
422 22 57
cscfg
ServiceConfiguration.Dev.Alec.cscfg
in code/Server/CloudService
113 - 45
cscfg
ServiceConfiguration.Dev.Eduardo.cscfg
in code/Server/CloudService
113 - 45
cscfg
ServiceConfiguration.Dev.Landon.cscfg
in code/Server/CloudService
113 - 45
cscfg
ServiceConfiguration.Dev.Sharad.cscfg
in code/Server/CloudService
113 - 45
cscfg
ServiceConfiguration.Dev.Stefan.cscfg
in code/Server/CloudService
113 - 45
cscfg
ServiceConfiguration.Dev.VSO.cscfg
in code/Server/CloudService
113 - 45
cscfg
ServiceConfiguration.api.cscfg
in code/Server/CloudService
113 - 45
cscfg
ServiceConfiguration.ppe-beihai.cscfg
in code/Server/CloudService
113 - 45
cscfg
ServiceConfiguration.ppe.cscfg
in code/Server/CloudService
113 - 45
cscfg
ServiceConfiguration.prod-beihai.cscfg
in code/Server/CloudService
113 - 45
cscfg
ServiceConfiguration.test-perf.cscfg
in code/Server/CloudService
113 - 45
cscfg
ServiceConfiguration.Dev.Test1.cscfg
in code/Server/CloudService
113 - 44
CVSModerationManager.cs
in code/Server/Common/Managers
843 26 39
UsersStore.cs
in code/Server/Common/Tables
265 15 38
CTStore.cs
in code/Server/CTStore
622 31 33