McCabe-style function complexity and line counting for C and C++ Closes #22557. Signed-off-by: Adam Vandenberg <flangy@gmail.com>