Interesting script thank you.
However there's two things that came out very quickly.
1- The script's does not take into account the schema which is a drawback in our environment because it make it more tedious to find the reported object.
2- Table value functions aren't handled which lead to "hole" in the result list. (I've included a screenshot)
but as always if that script satisfies your needs first, then it's intended goal is achieve!
GJ