REF/ENH/TST: Rename main func to analyze, add tests, add conflicting_types getter