“The quality of your gun-licensing laws is only as good as those surrounding you,” said James Alan Fox, a Northeastern University criminologist.

By that measure, according to gun-law proponents, Massachusetts has proved to be vulnerable. Only two states have a higher percentage of out-of-state guns found at crime scenes, according to a study by Mayors Against Illegal Guns, a group cofounded by Boston Mayor Thomas M. Menino.