microsoft / omi
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 584 files with 188,752 lines of code.
    • 53 very long files (116,016 lines of code)
    • 38 long files (25,896 lines of code)
    • 76 medium size files (24,628 lines of codeclsfd_ftr_w_mp_ins)
    • 80 small files (11,664 lines of code)
    • 337 very small files (10,548 lines of code)
61% | 13% | 13% | 6% | 5%
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
c68% | 14% | 11% | 3% | 2%
h51% | 6% | 17% | 12% | 12%
cpp45% | 26% | 17% | 8% | 3%
html100% | 0% | 0% | 0% | 0%
y90% | 0% | 9% | 0% | 0%
inc0% | 95% | 0% | 0% | 4%
l0% | 100% | 0% | 0% | 0%
cmd0% | 0% | 0% | 0% | 100%
reg0% | 0% | 0% | 0% | 100%
py0% | 0% | 0% | 0% | 100%
s0% | 0% | 0% | 0% | 100%
yml0% | 0% | 0% | 0% | 100%
in0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
Unix/base68% | 11% | 9% | 6% | 4%
Unix/wsman84% | 8% | 3% | 3% | <1%
Unix/mof86% | 7% | 0% | 3% | 2%
Unix/codec62% | 16% | 9% | 4% | 7%
Unix/http89% | 0% | 5% | 3% | 1%
Unix/miapi70% | 15% | 3% | 6% | 2%
Unix/common92% | 0% | 3% | 2% | 1%
Unix/doc100% | 0% | 0% | 0% | 0%
Unix/xmlserializer91% | 0% | 4% | 0% | 4%
Unix/gen60% | 11% | 20% | 4% | 3%
Unix/xml82% | 0% | 0% | 13% | 4%
Unix/nits47% | 24% | 16% | 5% | 6%
Unix/provmgr36% | 14% | 39% | 7% | 2%
Unix/micxx58% | 0% | 17% | 16% | 7%
Unix/disp97% | 0% | 0% | 0% | 2%
Unix/cli99% | 0% | 0% | 0% | <1%
Unix/protocol83% | 0% | 0% | 15% | <1%
Unix/scriptext61% | 25% | 7% | 0% | 5%
Unix/omiclient86% | 0% | 0% | 7% | 6%
Unix/server66% | 27% | 0% | 5% | <1%
Unix/pal16% | 7% | 35% | 16% | 24%
Unix/provreg63% | 0% | 25% | 8% | 2%
Unix/sock0% | 85% | 0% | 5% | 9%
Unix/oi0% | 52% | 10% | 23% | 13%
Unix/wql0% | 55% | 33% | 3% | 7%
Unix/deprecated0% | 54% | 21% | 10% | 13%
Unix/omiutils0% | 54% | 44% | 0% | <1%
Unix/providers0% | 54% | 43% | 0% | 1%
Unix/omireg0% | 100% | 0% | 0% | 0%
Unix/indication0% | 25% | 38% | 13% | 23%
Unix/omi_error0% | 24% | 61% | 12% | 1%
Unix/strhash0% | 0% | 100% | 0% | 0%
Unix/configeditor0% | 0% | 100% | 0% | 0%
Unix/agent0% | 0% | 97% | 0% | 2%
Unix/tools0% | 0% | 43% | 37% | 18%
Unix/scripts0% | 0% | 100% | 0% | 0%
Unix/check0% | 0% | 97% | 0% | 2%
Unix/ut0% | 0% | 27% | 12% | 60%
Unix/etc0% | 0% | 0% | 0% | 100%
Unix/engine0% | 0% | 0% | 0% | 100%
Unix/image0% | 0% | 0% | 0% | 100%
Unix/chkshlib0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
Unix/midll0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
MI.h
in Unix/common
6516 252
oiomi.h
in Unix/base
5689 -
oiwinomi.h
in Unix/base
4897 -
omi.html
in Unix/doc/omi
4738 -
types.c
in Unix/codec/mof/parser
4394 64
gen.cpp
in Unix/gen
4073 93
wsman.c
in Unix/wsman
3569 114
types.c
in Unix/mof
3306 50
xmldeserializer.c
in Unix/xmlserializer
3109 47
mofyaccinc.c
in Unix/mof
3096 2
Operation.c
in Unix/miapi
2790 55
wsbuf.c
in Unix/wsman
2772 55
class.c
in Unix/base
2761 58
wsmanparser.c
in Unix/wsman
2636 35
strand.c
in Unix/base
2532 159
cli_c.c
in Unix/cli
2502 38
httpclient.c
in Unix/http
2449 33
protocol.c
in Unix/protocol
2317 68
mofy.tab.c
in Unix/codec/mof/parser
2183 2
httpclientauth.c
in Unix/http
2177 12
InteractionProtocolHandler.c
in Unix/miapi
2160 50
moflexinc.c
in Unix/mof
2122 39
y
mof.y
in Unix/mof
2009 -
oi_traces.h
in Unix/base
1925 -
httpauth.c
in Unix/http
1785 23
dinstance.cpp
in Unix/micxx
1692 52
Options.c
in Unix/miapi
1689 35
provmgr.c
in Unix/provmgr
1682 34
instance.c
in Unix/base
1609 38
client.cpp
in Unix/omiclient
1586 57
context.c
in Unix/provmgr
1576 70
wsmanerrorhandling.c
in Unix/wsman
1523 2
xmlserializer.c
in Unix/xmlserializer
1485 34
nits.h
in Unix/nits/base
1448 39
agentmgr.c
in Unix/disp
1445 57
xml.c
in Unix/xml/new
1423 29
http.c
in Unix/http
1381 31
Strand.h
in Unix/base
1335 80
servercommon.c
in Unix/server
1311 27
xml.c
in Unix/xml
1300 28
y
mof.y
in Unix/codec/mof/parser
1288 -
xml.c
in Unix/xml/win
1267 30
disp.c
in Unix/disp
1244 31
messages.h
in Unix/base
1208 38
dinstance.h
in Unix/micxx
1206 96
wsmanclient.c
in Unix/wsman
1192 23
mofserializer.c
in Unix/codec/mof
1170 18
condlockposix.c
in Unix/pal
1169 8
Run.cpp
in Unix/nits/base
1133 39
Switch.cpp
in Unix/nits/base
1111 51
Files With Most Units (Top 20)
File# lines# units
MI.h
in Unix/common
6516 252
strand.c
in Unix/base
2532 159
wsman.c
in Unix/wsman
3569 114
dinstance.h
in Unix/micxx
1206 96
gen.cpp
in Unix/gen
4073 93
Strand.h
in Unix/base
1335 80
Identify.h
in Unix/providers/identify
839 78
context.c
in Unix/provmgr
1576 70
protocol.c
in Unix/protocol
2317 68
types.c
in Unix/codec/mof/parser
4394 64
class.c
in Unix/base
2761 58
agentmgr.c
in Unix/disp
1445 57
client.cpp
in Unix/omiclient
1586 57
OMI_DebugError.h
in Unix/omiutils
591 57
Operation.c
in Unix/miapi
2790 55
wsbuf.c
in Unix/wsman
2772 55
dinstance.cpp
in Unix/micxx
1692 52
Switch.cpp
in Unix/nits/base
1111 51
OMI_Error.h
in Unix/omiutils
523 51
InteractionProtocolHandler.c
in Unix/miapi
2160 50
Files With Long Lines (Top 20)

There are 124 files with lines longer than 120 characters. In total, there are 4179 long lines.

File# lines# units# long lines
oiomi.h
in Unix/base
5689 - 1243
oiwinomi.h
in Unix/base
4897 - 1150
xmlserializer.c
in Unix/xmlserializer
1485 34 211
xmldeserializer.c
in Unix/xmlserializer
3109 47 185
oi_traces.h
in Unix/base
1925 - 133
omi.html
in Unix/doc/omi
4738 - 106
Operation.c
in Unix/miapi
2790 55 99
Options.c
in Unix/miapi
1689 35 78
MI.h
in Unix/common
6516 252 48
nits.h
in Unix/nits/base
1448 39 43
class.c
in Unix/base
2761 58 40
httpclient.c
in Unix/http
2449 33 39
InteractionProtocolHandler.c
in Unix/miapi
2160 50 33
xml.h
in Unix/xml
175 - 31
wsman.c
in Unix/wsman
3569 114 28
wsbuf.c
in Unix/wsman
2772 55 27
xml_errors.inc
in Unix/xml
37 - 27
Strand.h
in Unix/base
1335 80 26
mofy.tab.c
in Unix/codec/mof/parser
2183 2 24
Application.c
in Unix/miapi
837 34 22