The Cyclomatic Complexity of this method "visit" is 35 which is greater than 10 authorized.