SONARJS-291 Class complexity should not include complexity of function declared outside the class.