A decent warm up routine may happen to involve some active stretching but that's through necessity of moving in a good range.
An example being people that flair their lower leg outward from the knee as they run being correlated to acl problems. People talk about tight calves, tight quads etc but ultimately its caused by a dysfunction of glute control which can't be improved via stretching.
Also a related side note, you should almost never stretch your hamstrings, especially if you are sat a lot. That compounds the issue you'll (and most of us) likely already have with long loose hams. Couch stretch hip flexors and strength hams instead.