Barcode scanning feature and source code