microsoft / Azure-DCAP-Client
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 36 files with 4,182 lines of code.
    • 1 very long files (1,756 lines of code)
    • 0 long files (0 lines of code)
    • 4 medium size files (1,261 lines of codeclsfd_ftr_w_mp_ins)
    • 3 small files (391 lines of code)
    • 28 very small files (774 lines of code)
41% | 0% | 30% | 9% | 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
cpp52% | 0% | 38% | 8% | <1%
vcxproj0% | 0% | 0% | 100% | 0%
h0% | 0% | 0% | 0% | 100%
ps10% | 0% | 0% | 0% | 100%
MD0% | 0% | 0% | 0% | 100%
cmd0% | 0% | 0% | 0% | 100%
wxs0% | 0% | 0% | 0% | 100%
wixproj0% | 0% | 0% | 0% | 100%
in0% | 0% | 0% | 0% | 100%
Xml0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
src84% | 0% | 0% | 7% | 8%
src/Windows0% | 0% | 87% | 0% | 12%
src/Linux0% | 0% | 73% | 0% | 26%
src/Windows/dll0% | 0% | 0% | 71% | 28%
src/Windows/AzureDCAPSetupProject0% | 0% | 0% | 0% | 100%
src/Windows/GeneratePackage0% | 0% | 0% | 0% | 100%
build/Phase10% | 0% | 0% | 0% | 100%
build/Phase20% | 0% | 0% | 0% | 100%
src/Windows/dll/resources0% | 0% | 0% | 0% | 100%
src/Windows/dcap_provider_tests0% | 0% | 0% | 0% | 100%
Longest Files (Top 36)
File# lines# units
dcap_provider.cpp
in src
1756 38
curl_easy.cpp
in src/Windows
463 12
local_cache.cpp
in src/Linux
298 24
curl_easy.cpp
in src/Linux
251 11
local_cache.cpp
in src/Windows
249 10
logging.cpp
in src
152 6
evtx_logging.cpp
in src/Windows/dll
123 4
vcxproj
dcap_provider.vcxproj
in src/Windows/dll
116 -
README.MD
in src/Linux
78 -
curl_easy.h
in src/Linux
77 2
dcap_provider.h
in src
74 -
environment.h
in src
61 1
curl_easy.h
in src/Windows
59 1
build.ps1
in src/Windows/dll
52 -
wxs
Product.wxs
in src/Windows/AzureDCAPSetupProject
48 -
wixproj
AzureDCAPSetupProject.wixproj
in src/Windows/AzureDCAPSetupProject
45 -
in
Makefile.in
in src/Linux
40 -
InstallAzureDCAP.ps1
in src/Windows/GeneratePackage
40 -
README.MD
in src/Windows
27 -
cmd
install_prereqs.cmd
in build/Phase2
25 -
get-prereqs.ps1
in src/Windows
20 -
cmd
test.cmd
in build/Phase1
16 -
dllmain.cpp
in src/Windows/dll
16 -
local_cache.h
in src
16 -
UnitTestsJobGroup.Xml
in src
14 -
event_log.h
in src/Windows/dll
11 -
resource.h
in src/Windows/dll/resources
9 -
private.h
in src
9 -
resource.h
in src/Windows/dll
8 -
evtx_logging.h
in src/Windows/dll
7 -
cmd
package.cmd
in build/Phase1
6 -
cmd
install-dep.cmd
in build/Phase1
5 -
init.cpp
in src/Linux
5 -
stdafx.h
in src/Windows/dcap_provider_tests
3 -
targetver.h
in src/Windows/dcap_provider_tests
2 -
stdafx.cpp
in src/Windows/dcap_provider_tests
1 -
Files With Most Units (Top 10)
File# lines# units
dcap_provider.cpp
in src
1756 38
local_cache.cpp
in src/Linux
298 24
curl_easy.cpp
in src/Windows
463 12
curl_easy.cpp
in src/Linux
251 11
local_cache.cpp
in src/Windows
249 10
logging.cpp
in src
152 6
evtx_logging.cpp
in src/Windows/dll
123 4
curl_easy.h
in src/Linux
77 2
curl_easy.h
in src/Windows
59 1
environment.h
in src
61 1
Files With Long Lines (Top 16)

There are 16 files with lines longer than 120 characters. In total, there are 40 long lines.

File# lines# units# long lines
vcxproj
dcap_provider.vcxproj
in src/Windows/dll
116 - 7
wxs
Product.wxs
in src/Windows/AzureDCAPSetupProject
48 - 6
local_cache.cpp
in src/Windows
249 10 5
dcap_provider.cpp
in src
1756 38 5
wixproj
AzureDCAPSetupProject.wixproj
in src/Windows/AzureDCAPSetupProject
45 - 3
cmd
test.cmd
in build/Phase1
16 - 2
in
Makefile.in
in src/Linux
40 - 2
UnitTestsJobGroup.Xml
in src
14 - 2
cmd
package.cmd
in build/Phase1
6 - 1
README.MD
in src/Linux
78 - 1
curl_easy.cpp
in src/Linux
251 11 1
curl_easy.h
in src/Linux
77 2 1
local_cache.cpp
in src/Linux
298 24 1
README.MD
in src/Windows
27 - 1
get-prereqs.ps1
in src/Windows
20 - 1
logging.cpp
in src
152 6 1