Content Based Analysis during PAS modernization

Are there any examples of where analytics were applied to a legacy PAS configuration prior to modernization?  Specifically, was the legacy configuration migrated via bruteforce or was an effort made to understand the content of the configuration?  Were similar loops identified? Were custom loops identified?  I am seeking input as to what analysis steps are taken to translate a legacy configuration to DeltaV.