Crime (especially murders) are mainly a Jamaican on Jamaican or commonly referred to as "black on black" crime. As a tourist, you are mostly a protected species. Yes, a rare murder occurs involving a tourist but many of those are when a tourist gets involved in matters they shouldn't be involved with and in places they should not go.
Academic debating on who is safer and where is safer depends a lot on who you are and where you come from. From my vantage point of decades living and visiting in rural Jamaica, I feel safer there than in Palm Beach County Florida.
JMO