fsVarGrep is a fsgrep fork: fsgrep is a great Java grep tool (hosted on sourceforge), which I slightly enhanced to get data on variants in C code. Maybe you cannot use this out of the box, except your switches contain always an "_". But the regular expression matching can easily be modified. Output is a list with number of switches (by file), file name, name of switches. This can easily be exported to an Excel like tool and analyzed. (Number of variants is something like 2^(number of found switches). As you can easily see, everything over 10 (different) switches is difficult to handle and test.