Matt Landfair of Primary and Secondary wrote about what type of gun to use for home defense. Pistol, shotgun, or carbine?
He goes through pros and cons. A bit long to read since the article also talks about some other considerations to make, but is certainly a good article
https://primaryandsecondary.com/2015/05/weapons-for-home-defense/
From: Primary and Secondary via Soldier Systems