This is not at all true. If length of rifling is what mattered, then putting a caliber adapter in my shotgun would convert it from a 30" non-restricted to a 2.5" prohibited firearm. And what would smoothbore long guns be considered?
Barrel length is muzzle to breechface.
Wow, this thread just went to #### as we are debating on shotgun barrels now?