Selecting a scope for analyzing cyclic dependencies