Plot: Two cops (Jonah Hill and Channing Tatum) go undercover at a high school trying to catch drug dealers, but end up partying and falling for girls. link to imdb photos
What saved it was that the high school students were more realistic and intelligent. I liked that the cool kids had "crunchy, hippy" ideas, and made officers Schmidt and Jenko feel awkward and out-of-place. Instead of being competent and cool the cops were the subject of the jokes. Jonah Hill is especially good at that.
Most of the jokes were about Channing Tatum trying to be a nerd, and Jonah Hill trying to make friends with girls, especially Brie Larson's Molly. Ice Cube as the police captain was great too.
This was not high cinema, and it was there was no love story. There were a lot of gay jokes, many dick jokes, but happily no fart jokes. The shooting scenes were surprisingly bloody.
.
.