If someone was trying to kick in your front door, would you rather greet them with a pistol, shotgun or rifle?

This exact scenario occurred in my area a few years ago. A thug, unknown to the homeowner, started kicking in the front door. The homeowner fired though the door and killed the thug. The type of firearm was never disclosed.

I realize all doors are not created equal. Let's just say a standard wooden panel front door.