The study looked at 237 cities and towns across the commonwealth ranking them based on property and violent crime.