SONARFLEX-1 Class complexity should not include complexity of function declared outside the class.