@BlaineSch I think you're thinking of N-Path complexity, which actually counts the total number of different paths a method can take (including counting `if ($a || $b)` as two possible separate paths, since two different possibilities can cause the given code path to be taken).

Cyclomatic complexity, on the other hand, merely counts the number of times the code _branches_. Thus, `T_ELSE` (and `T_DEFAULT`, for that matter) aren't counted, because they're assumed to be the default code path. Take a look at the `Complexity` class in the `test` namespace. It implements a cyclomatic complexity counter already and is pretty straightforward.