Flog lets you measure the complexity of your ruby code
ruby.sadi.st
ruby.sadi.st
With it, you can specify score profiles in a YAML file. We've also got a website in the works that will allow people to share score profiles for various types of code (for a Rails app, for a test suite, etc.)
Does anyone know of other metrics to measure code complexity?