... if you look at crocodiles today, they aren't really representative of what the lineage of crocodiles look like. Crocodiles are represented by about 23 species, plus or minus a couple. Along that lineage the more primitive members weren't aquatic. A lot of them were bipedal, a lot of them looked like little dinosaurs. Some were armored, others had no teeth. They were all fully terrestrial. So this is just the last vestige of that radiation that we're seeing. And the ancestor of both dinosaurs and crocodiles would have, to the untrained eye, looked much more like a dinosaur.
As quoted in "How Dinosaurs Loved: An Interview with Dr. Mark Norell on Dino Relations", Vice (March 20, 2012)