Migrate the complexity metric