microsoft / xbox-live-developer-tools
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 143 files with 8,363 lines of code.
    • 0 very long files (0 lines of code)
    • 3 long files (2,496 lines of code)
    • 2 medium size files (760 lines of codeclsfd_ftr_w_mp_ins)
    • 16 small files (2,362 lines of code)
    • 122 very small files (2,745 lines of code)
0% | 29% | 9% | 28% | 32%
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
cs0% | 30% | 9% | 27% | 32%
yml0% | 0% | 0% | 82% | 17%
cmd0% | 0% | 0% | 0% | 100%
props0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
Tools/MultiplayerSessionHistoryViewer0% | 43% | 22% | 18% | 15%
Microsoft.Xbox.Service.DevTools/XblConfig0% | 56% | 0% | 0% | 43%
CommandLine/XblConfig0% | 78% | 0% | 16% | 4%
CommandLine/GlobalStorage0% | 0% | 94% | 0% | 5%
Microsoft.Xbox.Service.DevTools/Authentication0% | 0% | 0% | 41% | 58%
Microsoft.Xbox.Service.DevTools/TitleStorage0% | 0% | 0% | 69% | 30%
Powershell/XblConfig0% | 0% | 0% | 29% | 70%
CommandLine/XblDevAccount0% | 0% | 0% | 91% | 8%
Utilities/Pipelines0% | 0% | 0% | 60% | 39%
CommandLine/XblPlayerDataReset0% | 0% | 0% | 90% | 9%
CommandLine/XblConnectedStorage0% | 0% | 0% | 90% | 9%
Microsoft.Xbox.Service.DevTools/PlayerReset0% | 0% | 0% | 59% | 40%
Microsoft.Xbox.Service.DevTools/Common0% | 0% | 0% | 41% | 58%
ROOT0% | 0% | 0% | 0% | 100%
Microsoft.Xbox.Service.DevTools/Properties0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
Form1.cs
in Tools/MultiplayerSessionHistoryViewer
977 45
ConfigurationManager.cs
in Microsoft.Xbox.Service.DevTools/XblConfig
799 11
Program.cs
in CommandLine/XblConfig
720 26
Form1.Designer.cs
in Tools/MultiplayerSessionHistoryViewer
497 2
Program.cs
in CommandLine/GlobalStorage
263 6
PSCmdletBase.cs
in Powershell/XblConfig
193 11
AuthClient.cs
in Microsoft.Xbox.Service.DevTools/Authentication
170 7
Program.cs
in CommandLine/XblDevAccount
163 6
SessionHistory.cs
in Tools/MultiplayerSessionHistoryViewer
162 2
TitleStorage.cs
in Microsoft.Xbox.Service.DevTools/TitleStorage
161 8
vs2017-build.yml
in Utilities/Pipelines/Tasks
159 -
ObjectPrinter.cs
in CommandLine/XblConfig
154 7
Program.cs
in CommandLine/XblPlayerDataReset
148 3
Program.cs
in CommandLine/XblConnectedStorage
146 2
ConnectedStorage.cs
in Microsoft.Xbox.Service.DevTools/TitleStorage
144 5
PlayerReset.cs
in Microsoft.Xbox.Service.DevTools/PlayerReset
143 5
ToolAuthentication.cs
in Microsoft.Xbox.Service.DevTools/Authentication
137 14
XboxLiveHttpRequest.cs
in Microsoft.Xbox.Service.DevTools/Common
132 10
Serializer.cs
in Tools/MultiplayerSessionHistoryViewer
125 11
UserSettings.cs
in Tools/MultiplayerSessionHistoryViewer
122 1
GetSchemas.cs
in Powershell/XblConfig
103 4
AuthTokenCache.cs
in Microsoft.Xbox.Service.DevTools/Authentication
92 8
DisplayAttribute.cs
in Microsoft.Xbox.Service.DevTools/XblConfig
82 2
GetDocuments.cs
in Powershell/XblConfig
82 1
CertificateHelper.cs
in Microsoft.Xbox.Service.DevTools/XblConfig
79 4
SaveDocuments.cs
in Powershell/XblConfig
77 1
HelperExtensions.cs
in Microsoft.Xbox.Service.DevTools/Common
59 5
AdalAuthContext.cs
in Microsoft.Xbox.Service.DevTools/Authentication
55 3
SessionHistoryDocumentResponse.cs
in Tools/MultiplayerSessionHistoryViewer
55 1
TestAccount.cs
in Microsoft.Xbox.Service.DevTools/Authentication
54 2
SessionHistorySnapshotCache.cs
in Tools/MultiplayerSessionHistoryViewer
54 4
DocumentsResponse.cs
in Microsoft.Xbox.Service.DevTools/XblConfig
53 3
ClientSettings.cs
in Microsoft.Xbox.Service.DevTools/Common
51 1
DynamicDictionary.cs
in Powershell/XblConfig
46 3
MsalAuthContext.cs
in Microsoft.Xbox.Service.DevTools/Authentication
45 3
GetRelyingPartyDocument.cs
in Powershell/XblConfig
45 1
DevAccount.cs
in Microsoft.Xbox.Service.DevTools/Authentication
42 2
AdalTokenCache.cs
in Microsoft.Xbox.Service.DevTools/Authentication
40 3
PublishDocuments.cs
in Powershell/XblConfig
40 1
cmd
postBuildScript.cmd
in Utilities/Pipelines/Scripts
40 -
ConnectDevAccount.cs
in Powershell/XblConfig
36 2
NewWebServiceCertificate.cs
in Powershell/XblConfig
35 1
SessionHistoryQueryResponse.cs
in Tools/MultiplayerSessionHistoryViewer
35 1
ConfigFileStream.cs
in Microsoft.Xbox.Service.DevTools/XblConfig
31 3
Product.cs
in Microsoft.Xbox.Service.DevTools/XblConfig
31 -
QueryBundle.cs
in Tools/MultiplayerSessionHistoryViewer
30 -
TitleStorageBlobMetadataResult.cs
in Microsoft.Xbox.Service.DevTools/TitleStorage
28 1
EditWebService.cs
in Powershell/XblConfig
28 1
GetDevAccount.cs
in Powershell/XblConfig
27 2
VirtualTerminal.cs
in CommandLine/XblConfig
26 1
Files With Most Units (Top 20)
File# lines# units
Form1.cs
in Tools/MultiplayerSessionHistoryViewer
977 45
Program.cs
in CommandLine/XblConfig
720 26
ToolAuthentication.cs
in Microsoft.Xbox.Service.DevTools/Authentication
137 14
ConfigurationManager.cs
in Microsoft.Xbox.Service.DevTools/XblConfig
799 11
PSCmdletBase.cs
in Powershell/XblConfig
193 11
Serializer.cs
in Tools/MultiplayerSessionHistoryViewer
125 11
XboxLiveHttpRequest.cs
in Microsoft.Xbox.Service.DevTools/Common
132 10
AuthTokenCache.cs
in Microsoft.Xbox.Service.DevTools/Authentication
92 8
TitleStorage.cs
in Microsoft.Xbox.Service.DevTools/TitleStorage
161 8
ObjectPrinter.cs
in CommandLine/XblConfig
154 7
AuthClient.cs
in Microsoft.Xbox.Service.DevTools/Authentication
170 7
Program.cs
in CommandLine/GlobalStorage
263 6
Program.cs
in CommandLine/XblDevAccount
163 6
HelperExtensions.cs
in Microsoft.Xbox.Service.DevTools/Common
59 5
PlayerReset.cs
in Microsoft.Xbox.Service.DevTools/PlayerReset
143 5
ConnectedStorage.cs
in Microsoft.Xbox.Service.DevTools/TitleStorage
144 5
CertificateHelper.cs
in Microsoft.Xbox.Service.DevTools/XblConfig
79 4
GetSchemas.cs
in Powershell/XblConfig
103 4
SessionHistorySnapshotCache.cs
in Tools/MultiplayerSessionHistoryViewer
54 4
Program.cs
in CommandLine/XblPlayerDataReset
148 3
Files With Long Lines (Top 20)

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

File# lines# units# long lines
ConfigurationManager.cs
in Microsoft.Xbox.Service.DevTools/XblConfig
799 11 68
Program.cs
in CommandLine/XblConfig
720 26 42
Form1.cs
in Tools/MultiplayerSessionHistoryViewer
977 45 29
Program.cs
in CommandLine/GlobalStorage
263 6 15
TitleStorage.cs
in Microsoft.Xbox.Service.DevTools/TitleStorage
161 8 12
SaveDocuments.cs
in Powershell/XblConfig
77 1 12
ConnectedStorage.cs
in Microsoft.Xbox.Service.DevTools/TitleStorage
144 5 11
GetDocuments.cs
in Powershell/XblConfig
82 1 11
Form1.Designer.cs
in Tools/MultiplayerSessionHistoryViewer
497 2 10
SessionHistory.cs
in Tools/MultiplayerSessionHistoryViewer
162 2 10
Program.cs
in CommandLine/XblConnectedStorage
146 2 9
AuthClient.cs
in Microsoft.Xbox.Service.DevTools/Authentication
170 7 9
Program.cs
in CommandLine/XblPlayerDataReset
148 3 8
AuthTokenCache.cs
in Microsoft.Xbox.Service.DevTools/Authentication
92 8 8
GetSchemas.cs
in Powershell/XblConfig
103 4 8
ToolAuthentication.cs
in Microsoft.Xbox.Service.DevTools/Authentication
137 14 7
PublishDocuments.cs
in Powershell/XblConfig
40 1 7
EditWebService.cs
in Powershell/XblConfig
28 1 6
ObjectPrinter.cs
in CommandLine/XblConfig
154 7 5
PlayerReset.cs
in Microsoft.Xbox.Service.DevTools/PlayerReset
143 5 5