One metric that is interested is source lines of code or SLOC. The original tool for counting this is a code base is sloccount. Lately, I’ve been looking at other tools that support more languages, and tokei seems very good (written Rust). Here are stats on Simple IoT and Yoe projects:
Yoe Distro:
===============================================================================
Language Files Lines Code Comments Blanks
===============================================================================
JSON 1 30 29 0 1
Lua 4 206 157 6 43
Markdown 18 1114 0 896 218
Shell 6 1466 1075 151 240
SVG 1 150 148 1 1
===============================================================================
Total 30 2966 1409 1054 503
===============================================================================
Simple IoT:
===============================================================================
Language Files Lines Code Comments Blanks
===============================================================================
CSS 1 5 4 1 0
Elm 28 4678 3641 144 893
Go 109 14426 10643 1320 2463
JavaScript 3 407 318 35 54
JSON 4 1907 1907 0 0
Protocol Buffers 4 75 61 0 14
Shell 1 205 157 15 33
SVG 3 259 255 2 2
YAML 1 7 6 0 1
-------------------------------------------------------------------------------
HTML 1 16 16 0 0
|- JavaScript 1 1 1 0 0
(Total) 17 17 0 0
-------------------------------------------------------------------------------
Markdown 23 1333 0 1052 281
|- Go 1 18 18 0 0
|- TOML 1 4 4 0 0
(Total) 1355 22 1052 281
===============================================================================
Total 178 23318 17008 2569 3741
===============================================================================
SLOC is not a true measure of work/value with projects like Yoe, because most of the effort goes into debugging/integrating issues in various OpenEmbedded layers. However, it is still a useful tool to know what is there.