microsoft / BotBuilder-V3
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 619 files with 56,209 lines of code.
    • 0 very long files (0 lines of code)
    • 17 long files (11,263 lines of code)
    • 57 medium size files (17,068 lines of codeclsfd_ftr_w_mp_ins)
    • 76 small files (10,709 lines of code)
    • 469 very small files (17,169 lines of code)
0% | 20% | 30% | 19% | 30%
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% | 19% | 30% | 18% | 31%
js0% | 19% | 31% | 21% | 27%
ts0% | 22% | 30% | 16% | 29%
css0% | 0% | 0% | 100% | 0%
cmd0% | 0% | 0% | 0% | 100%
ps10% | 0% | 0% | 0% | 100%
html0% | 0% | 0% | 0% | 100%
vstemplate0% | 0% | 0% | 0% | 100%
props0% | 0% | 0% | 0% | 100%
htm0% | 0% | 0% | 0% | 100%
vsixmanifest0% | 0% | 0% | 0% | 100%
shproj0% | 0% | 0% | 0% | 100%
targets0% | 0% | 0% | 0% | 100%
asax0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
CSharp/Library0% | 22% | 27% | 18% | 31%
Node/core0% | 23% | 28% | 20% | 26%
Node/calling0% | 22% | 44% | 0% | 32%
Azure/CSharp0% | 0% | 44% | 20% | 34%
Cognitive Services/CSharp0% | 0% | 59% | 8% | 32%
Cognitive Services/Node0% | 0% | 53% | 28% | 18%
Azure/Node0% | 0% | 0% | 70% | 29%
CSharp/Tools0% | 0% | 0% | 66% | 33%
CSharp/Generator0% | 0% | 0% | 26% | 73%
Node/snippets0% | 0% | 0% | 0% | 100%
Node/Generator0% | 0% | 0% | 0% | 100%
CSharp/EchoBot0% | 0% | 0% | 0% | 100%
CSharp/buildtools0% | 0% | 0% | 0% | 100%
CSharp0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
ChatConnector.ts
in Node/core/src/bots
957 50
ChatConnector.js
in Node/core/lib/bots
940 52
Steps.cs
in CSharp/Library/Microsoft.Bot.Builder/FormFlow
803 62
Session.js
in Node/core/lib
773 58
Session.ts
in Node/core/src
728 54
Recognize.cs
in CSharp/Library/Microsoft.Bot.Builder/FormFlow
723 51
Chain.cs
in CSharp/Library/Microsoft.Bot.Builder/Dialogs
698 85
FormDialog.cs
in CSharp/Library/Microsoft.Bot.Builder/FormFlow
678 10
Field.cs
in CSharp/Library/Microsoft.Bot.Builder/FormFlow
632 3
PromptDialog.cs
in CSharp/Library/Microsoft.Bot.Builder/Dialogs
600 42
UniversalBot.js
in Node/core/lib/bots
556 32
BotData.cs
in CSharp/Library/Microsoft.Bot.Builder/ConnectorEx
555 28
CallConnector.ts
in Node/calling/src/bots
551 18
IPrompt.cs
in CSharp/Library/Microsoft.Bot.Builder/FormFlow
540 12
UniversalBot.ts
in Node/core/src/bots
525 28
FieldJson.cs
in CSharp/Library/Microsoft.Bot.Builder.FormFlow.Json
502 26
CallConnector.js
in Node/calling/lib/bots
502 22
Library.js
in Node/core/lib/bots
486 34
LuisActionResolver.cs
in Cognitive Services/CSharp/Library/LuisActionBinding
466 18
CallSession.js
in Node/calling/lib
464 31
Library.ts
in Node/core/src/bots
464 30
CallSession.ts
in Node/calling/src
447 30
FormBuilder.cs
in CSharp/Library/Microsoft.Bot.Builder/FormFlow
440 27
LuisActionBinding.js
in Cognitive Services/Node/lib
400 18
PromptRecognizer.cs
in CSharp/Library/Microsoft.Bot.Builder/Dialogs
399 8
LuisActionBinding.js
in Cognitive Services/Node/src
390 17
FieldReflector.cs
in CSharp/Library/Microsoft.Bot.Builder/FormFlow
388 10
FormBuilderJson.cs
in CSharp/Library/Microsoft.Bot.Builder.FormFlow.Json
377 28
Prompt.js
in Node/core/lib/dialogs
374 27
PromptRecognizers.ts
in Node/core/src/dialogs
359 15
DialogTask.cs
in CSharp/Library/Microsoft.Bot.Builder/Dialogs
357 15
Attributes.cs
in CSharp/Library/Microsoft.Bot.Builder/FormFlow
350 20
Prompt.ts
in Node/core/src/dialogs
347 24
Message.js
in Node/core/lib
339 36
DialogModule.cs
in CSharp/Library/Microsoft.Bot.Builder.Autofac/Dialogs
334 4
Message.ts
in Node/core/src
325 36
Prompts.ts
in Node/calling/src/dialogs
320 12
ActivityEx.cs
in CSharp/Library/Microsoft.Bot.Connector.Shared
311 21
Prompts.js
in Node/calling/lib/dialogs
311 15
LuisActionDialog.cs
in Cognitive Services/CSharp/Library/LuisActionBinding/Bot
307 13
TableLogger.cs
in Azure/CSharp/Library/Microsoft.Bot.Builder.Azure
303 14
LuisDialog.cs
in CSharp/Library/Microsoft.Bot.Builder/Dialogs
297 19
BotToUser.cs
in CSharp/Library/Microsoft.Bot.Builder/ConnectorEx
296 12
PromptRecognizers.js
in Node/core/lib/dialogs
291 16
Wait.cs
in CSharp/Library/Microsoft.Bot.Builder/Fibers
282 7
Scorables.cs
in CSharp/Library/Microsoft.Bot.Builder/Scorables
280 19
Resolution.cs
in CSharp/Library/Microsoft.Bot.Builder/Luis
276 9
LegacyPrompts.js
in Node/core/lib/deprecated
270 12
ActionSet.ts
in Node/core/src/dialogs
270 13
UniversalCallBot.ts
in Node/calling/src/bots
264 18
Files With Most Units (Top 20)
File# lines# units
Chain.cs
in CSharp/Library/Microsoft.Bot.Builder/Dialogs
698 85
Steps.cs
in CSharp/Library/Microsoft.Bot.Builder/FormFlow
803 62
Session.js
in Node/core/lib
773 58
Session.ts
in Node/core/src
728 54
ChatConnector.js
in Node/core/lib/bots
940 52
Recognize.cs
in CSharp/Library/Microsoft.Bot.Builder/FormFlow
723 51
ChatConnector.ts
in Node/core/src/bots
957 50
PromptDialog.cs
in CSharp/Library/Microsoft.Bot.Builder/Dialogs
600 42
Message.js
in Node/core/lib
339 36
Message.ts
in Node/core/src
325 36
Library.js
in Node/core/lib/bots
486 34
UniversalBot.js
in Node/core/lib/bots
556 32
CallSession.js
in Node/calling/lib
464 31
CallSession.ts
in Node/calling/src
447 30
Library.ts
in Node/core/src/bots
464 30
FormBuilderJson.cs
in CSharp/Library/Microsoft.Bot.Builder.FormFlow.Json
377 28
BotData.cs
in CSharp/Library/Microsoft.Bot.Builder/ConnectorEx
555 28
UniversalBot.ts
in Node/core/src/bots
525 28
FormBuilder.cs
in CSharp/Library/Microsoft.Bot.Builder/FormFlow
440 27
Prompt.js
in Node/core/lib/dialogs
374 27
Files With Long Lines (Top 20)

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

File# lines# units# long lines
PromptDialog.cs
in CSharp/Library/Microsoft.Bot.Builder/Dialogs
600 42 45
ChatConnector.ts
in Node/core/src/bots
957 50 31
PromptRecognizer.cs
in CSharp/Library/Microsoft.Bot.Builder/Dialogs
399 8 27
IPrompt.cs
in CSharp/Library/Microsoft.Bot.Builder/FormFlow
540 12 27
LuisActionDialog.cs
in Cognitive Services/CSharp/Library/LuisActionBinding/Bot
307 13 27
ChatConnector.js
in Node/core/lib/bots
940 52 26
systemResources.js
in Node/core/lib
184 - 26
systemResources.ts
in Node/core/src
182 - 26
CallingBotService.cs
in CSharp/Library/Microsoft.Bot.Builder.Calling
184 19 23
Recognize.cs
in CSharp/Library/Microsoft.Bot.Builder/FormFlow
723 51 21
Steps.cs
in CSharp/Library/Microsoft.Bot.Builder/FormFlow
803 62 21
ActivityEx.cs
in CSharp/Library/Microsoft.Bot.Connector.Shared
311 21 19
FormDialog.cs
in CSharp/Library/Microsoft.Bot.Builder/FormFlow
678 10 18
BotData.cs
in CSharp/Library/Microsoft.Bot.Builder/ConnectorEx
555 28 17
FormBuilder.cs
in CSharp/Library/Microsoft.Bot.Builder/FormFlow
440 27 17
IFormBuilder.cs
in CSharp/Library/Microsoft.Bot.Builder/FormFlow
151 2 17
ConversationsEx.cs
in CSharp/Library/Microsoft.Bot.Connector.Shared
77 12 16
JwtTokenExtractor.cs
in CSharp/Library/Microsoft.Bot.Connector.Shared
224 11 16
MicrosoftAppCredentials.cs
in CSharp/Library/Microsoft.Bot.Connector.Shared
223 13 16
JwtTokenExtractor.cs
in CSharp/Library/Microsoft.Bot.Connector.Shared/SkillAuthentication
179 8 16