best static analysis rule for arithmetic complexity?
I have found a few metrics that appear to address operator complexity. Halstead is the metric you find online. It looks like C++test supports several different Halstead complexity calculations but; a. they are not all enabled b. the ones that are enabled are not setup for violation detection. I also found VOCF which can be used for violation detection. It isn't clear if this is different from Halstead. It is also difficult to customize the threshold value.
Looking forward to hearing you methodology.