Safewise ranked Medford as the 21st safest college town in America.

SafeWise, an online company that compares and assess home security and safety systems, ranked Medford as the 21st safest college town in America.

"Medford, which is home to more than 57,000 residents, reported just 107 violent crimes and 761 property crimes in 2015," reads the report.

To compile the full report, analysts at Safewise looked at FBI crime data from 2015 for different communities, calculated the total number of crimes committed in every community with at least one accredited, academic institution of higher learning, and then weighed those numbers in relation to population numbers and other relevant factors.

The Safewise report, the fourth of its kind released on an annual basis by the company, lists a total of 30 college towns. Other Massachusetts communities listed this year include Amherst, Westfield and Waltham.

Medford did not make the list in 2016, according to a September 2016 article in Security Magazine.