What’s wrong with DNA barcoding?

In many sci fi tv series or movies there is a point at which a starship arrives at a new planet. The captain usually says something like “Scan for life forms” and the science officer is able to push a few buttons and give a nice report on the life…