Basically, there's no perfect code dude but the problem is people lack of knowledge about how to analyze the possibility for the creator of smartcontract to put the rugpull or selfdestruct function on its smartcontract.
Put a self destruct function on its smart contract? Wow! This is a new one and it's getting scary with this. I know of the rugpull stunt and with devs scampering away with funds but the self destruct angle will definitely have to stand out as the most wicked of thoughts.
That's why i was seeing the smartcontract before try to invest in a new project.
Please, I will like to learn how to find this out myself. I will appreciate any tutorial on this from you (or any other person).