In movie screenwriting, the term “save the cat” has become shorthand to describe an action the main character performs to as a way to appear likable for the audience.

The phrase—popularized in screenwriter Blake Snyder’s aptly titled 2005 how-to book Save the Cat: The Last Book on Screenwriting You’ll Ever Need—has its origins in 1979’s Alien when Ripley (Sigourney Weaver) comes to rescue of the spaceship’s feline, Jones.

Jonesy should feel pretty lucky, though. Using the website DoesTheDogDie, which tallies whether an animal in a film is hurt or killed, Reddit user mu_Bru created a graph outlining the instances of pet peril by genre in more than 2,500 movies and posted the findings in the Data Is Beautiful community.

So what type of movie has the highest big screen animal mortality rate? Unsurprisingly, horror films earn that distinction with 57 percent of the pets (fictionally) dying, according to mu_Bru’s chart. From the glass-half-full perspective, it appears that the creatures didn’t suffer: While scary movies rack up the carcasses, the percentage of animals injured onscreen is fairly low at 7.1 percent.

Your safest bet when it comes to avoiding movies with violence toward pets is to stick to romantic flicks. That category had the highest survival percentage, as well as low death and injury numbers.

Interestingly, the chart might be indicating that screenwriters are taking the “save the cat” story beat seriously when writing scripts for family and animated films. Instances of a dog, cat, or other animal being injured are among the highest in these genres. But these cases of harm rarely have terminal consequences in those films, which could mean someone is coming to their rescue.

Maybe that’s the animal actor’s code: Any scene you can walk—or swim, in the case of this waterfall drop from the controversial children’s classic Milo and Otis—is a good one.