Sorta gets covered by having stats to calculate the p value, however with a p of 0.05 1 in 20 bogus results will get through.
Also having a detailed explanation of exactly the results are derived can show that many bad things didn't happen. However I notice that there are very few papers that have enough information to allow me to replicate the results without first needing to ask the authors a few questions.
I'm not a scientist, but I find this incredibly depressing as someone who tries to spread the message on science and skepticism. It really seems to me that science itself is broken, if the most powerful thing about it (its self correcting mechanism through review and replication) never actually happens in the real world.
Well, scientists are people too

and make mistakes. It's not completely broken but it's not completely good either. There is room for improvement however a lot of poor papers do get picked up and never printed and a few bad ones that get through do get picked up in follow up comments. And even fewer get through and are accepted by everyone and then prove to be wrong. Remember that before a paper gets published it is reveiwed by anonymous scientists so that culls the wheat from the chaff and reduces the chance something is really screwey. And although pure replications don't occur often it sort of occurs when scientists expand upon an idea with a follow up idea. If there was something horribly wrong with the first experiment it gets found by a extension experiment that fails becuase the fundamental assumption about the first experiment isn't born out.
Also remember than many experiments *are* replicated by students in Uni but simply don't get published, they get written up and graded. If students find a problem with an existing experiment there is good chance their findings are publishable if something new has been discovered.
Like everything in the world science isn't black and white, it's a spectrum of greys. There is some poor science and there is lots and lots of good science.
My main point is not to preach that science is perfect or a perfect solution, it's simply the best way to increase our knowledge we know of.
So, don't give up hope, just be reasonable with your expectations of what is practicable and reasonable in a market driven economy.