There is lots of data that show that back boring and lengthening of forcing cones will improve patterns. The mechanism for the improvement is less pellet deformation as deformed pellets tend to separate from the shot string due to different aerodynamics than round pellets. Abrupt forcing cones tend to jam the pellets together, causing some to be deformed, so lengthening of the forcing cones reduces that effect. If the final bore diameter is less, that will also reduce the number of deformed pellets. Harder shot, to an extent, will also produce patterns with less flyers. For a given choke constriction, loads with different shot hardnesses can be made to pattern from IC to Full. I have seen some data that suggest that some older guns are actually "over-choked" with modern loads due to the harder shot pellets.
I have never seen any data that suggests barrel porting of shotguns will improve patterns. Not saying that it does not have an effect, and I can see how the porting might help separate the wad from the shot. I just have not seen any data.