check code complexity