Adding analysis for scripts and tests
Refactoring analysis of type usage based on code