We joke at home that when we're on "fatness pal" then we can only eat dust and sand, which is what I assume you are referring to since everything has a barcode.
If you mean stay away from processed foods, then yeah readymeals and the like are best avoided. But pretty much everything has a barcode - raw chicken breast, raw fruit and veg, milk ... you name it - hell even salt and water have barcodes.
A good tule of thumb is to minimize the number of things you eat with barcodes.