microsoft / ProjFS-Managed-API
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 41 files with 4,624 lines of code.
    • 1 very long files (1,476 lines of code)
    • 1 long files (606 lines of code)
    • 2 medium size files (459 lines of codeclsfd_ftr_w_mp_ins)
    • 8 small files (1,217 lines of code)
    • 29 very small files (866 lines of code)
31% | 13% | 9% | 26% | 18%
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
cpp86% | 0% | 0% | 6% | 6%
cs0% | 48% | 16% | 14% | 20%
h0% | 0% | 19% | 49% | 30%
props0% | 0% | 0% | 83% | 16%
filters0% | 0% | 0% | 100% | 0%
vcxproj0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
ProjectedFSLib.Managed.API46% | 0% | 7% | 28% | 16%
simpleProviderManaged0% | 48% | 16% | 14% | 20%
ProjectedFSLib.Managed.API/NetFramework0% | 0% | 0% | 79% | 20%
ROOT0% | 0% | 0% | 0% | 100%
ProjectedFSLib.Managed.API/NetCore0% | 0% | 0% | 0% | 100%
Longest Files (Top 41)
File# lines# units
VirtualizationInstance.cpp
in ProjectedFSLib.Managed.API
1476 50
SimpleProvider.cs
in simpleProviderManaged
606 24
VirtualizationInstance.h
in ProjectedFSLib.Managed.API
253 1
NotificationCallbacks.cs
in simpleProviderManaged
206 12
FileSystemApi.cs
in simpleProviderManaged
187 4
prjlib_deprecated.h
in ProjectedFSLib.Managed.API
180 -
ApiHelper.h
in ProjectedFSLib.Managed.API
169 -
DirectoryEnumerationResults.h
in ProjectedFSLib.Managed.API
159 6
props
ProjectedFSLib.Managed.props
in ProjectedFSLib.Managed.API
148 -
IVirtualizationInstance.h
in ProjectedFSLib.Managed.API
143 -
ApiHelper.cpp
in ProjectedFSLib.Managed.API
117 2
filters
ProjectedFSLib.Managed.vcxproj.filters
in ProjectedFSLib.Managed.API/NetFramework
114 -
ActiveEnumeration.cs
in simpleProviderManaged
93 9
CallbackDelegates.h
in ProjectedFSLib.Managed.API
73 -
WriteBuffer.cpp
in ProjectedFSLib.Managed.API
59 2
NotificationMapping.h
in ProjectedFSLib.Managed.API
58 4
Program.cs
in simpleProviderManaged
57 2
ProjectedFileInfo.cs
in simpleProviderManaged
53 2
IRequiredCallbacks.h
in ProjectedFSLib.Managed.API
44 -
WriteBuffer.h
in ProjectedFSLib.Managed.API
39 -
IDirectoryEnumerationResults.h
in ProjectedFSLib.Managed.API
35 -
ProviderOptions.cs
in simpleProviderManaged
33 -
Utils.cpp
in ProjectedFSLib.Managed.API
32 4
vcxproj
ProjectedFSLib.Managed.vcxproj
in ProjectedFSLib.Managed.API/NetFramework
30 -
vcxproj
ProjectedFSLib.Managed.Netcore.vcxproj
in ProjectedFSLib.Managed.API/NetCore
27 -
HResult.h
in ProjectedFSLib.Managed.API
25 -
NotificationType.h
in ProjectedFSLib.Managed.API
23 -
Utils.h
in ProjectedFSLib.Managed.API
23 -
IWriteBuffer.h
in ProjectedFSLib.Managed.API
21 -
stdafx.h
in ProjectedFSLib.Managed.API
21 -
AssemblyInfo.cpp
in ProjectedFSLib.Managed.API
19 -
EnvironmentHelper.cs
in simpleProviderManaged
15 -
OnDiskFileState.h
in ProjectedFSLib.Managed.API
14 -
UpdateFailureCause.h
in ProjectedFSLib.Managed.API
14 -
UpdateType.h
in ProjectedFSLib.Managed.API
13 -
props
ProjectedFSLib.Managed.props
in root
12 -
ProjFSSorter.cs
in simpleProviderManaged
10 -
props
ProjectedFSLib.Managed.cs.props
in root
9 -
props
ProjectedFSLib.Managed.cpp.props
in root
8 -
Resource.h
in ProjectedFSLib.Managed.API
3 -
stdafx.cpp
in ProjectedFSLib.Managed.API
3 -
Files With Most Units (Top 13)
File# lines# units
VirtualizationInstance.cpp
in ProjectedFSLib.Managed.API
1476 50
SimpleProvider.cs
in simpleProviderManaged
606 24
NotificationCallbacks.cs
in simpleProviderManaged
206 12
ActiveEnumeration.cs
in simpleProviderManaged
93 9
DirectoryEnumerationResults.h
in ProjectedFSLib.Managed.API
159 6
NotificationMapping.h
in ProjectedFSLib.Managed.API
58 4
Utils.cpp
in ProjectedFSLib.Managed.API
32 4
FileSystemApi.cs
in simpleProviderManaged
187 4
ApiHelper.cpp
in ProjectedFSLib.Managed.API
117 2
WriteBuffer.cpp
in ProjectedFSLib.Managed.API
59 2
Program.cs
in simpleProviderManaged
57 2
ProjectedFileInfo.cs
in simpleProviderManaged
53 2
VirtualizationInstance.h
in ProjectedFSLib.Managed.API
253 1
Files With Long Lines (Top 13)

There are 13 files with lines longer than 120 characters. In total, there are 115 long lines.

File# lines# units# long lines
VirtualizationInstance.cpp
in ProjectedFSLib.Managed.API
1476 50 49
ApiHelper.cpp
in ProjectedFSLib.Managed.API
117 2 26
props
ProjectedFSLib.Managed.props
in ProjectedFSLib.Managed.API
148 - 10
NotificationCallbacks.cs
in simpleProviderManaged
206 12 8
AssemblyInfo.cpp
in ProjectedFSLib.Managed.API
19 - 4
NotificationMapping.h
in ProjectedFSLib.Managed.API
58 4 4
SimpleProvider.cs
in simpleProviderManaged
606 24 4
FileSystemApi.cs
in simpleProviderManaged
187 4 3
DirectoryEnumerationResults.h
in ProjectedFSLib.Managed.API
159 6 2
stdafx.h
in ProjectedFSLib.Managed.API
21 - 2
VirtualizationInstance.h
in ProjectedFSLib.Managed.API
253 1 1
props
ProjectedFSLib.Managed.cs.props
in root
9 - 1
ProjectedFileInfo.cs
in simpleProviderManaged
53 2 1