Police investigating an incident in Eccleshill are appealing for information about a white car which is believed to have been involved.
At about 12.25am on Sunday, 3 April, two men knocked on the front door of a house in Norman Lane.
The occupant, a man in his thirties, looked out of his side door and saw a male further down his driveway carrying a box.
The male asked him if he had ordered a pizza and the occupant said he had not.
As the occupant shut the door he saw another male with his face covered holding what he believed to be a baseball bat.
It is believed the bat was used to smash a pane of glass on the door before the offenders ran off.
Detective Inspector Andy Howard, of Bradford District CID, said:
"We believe these males ran off towards a white hatchback-style car which was waiting nearby. This is described as looking similar to a Peugeot model.
"Our enquiries are continuing to trace this vehicle and we would like to hear from anyone who saw a similar vehicle in the Eccleshill area in the time leading up to this incident.
"At this time the motive for this attack remains unclear, so we would ask for anyone with information to contact DC 6071 Mohan at Bradford District CID on 101, quoting crime reference 13160142024, or to report anonymously via the independent charity Crimestoppers on 0800 555111."

Milton Keynes 12-Year-Old Scores in Top One Per Cent in Mensa Tests
Suspected £6,000 Drugs Haul Seized in Manchester City Centre
Halifax Residents Asked How £20m Community Investment Should Be Spent
Former Girlington Allotment Site to Become New Community Park
Three Men Jailed Over UK’s Largest Illegal Phone Smuggling Network
Piccadilly Gardens Transformation Approved with Work to Start This Autumn
Four Keighley Shops to Appeal Alcohol Licence Bans
Fresh Concerns Raised Over Proposed Night Flight Rules at Leeds Bradford Airport
Murder Investigation Launched After Death of 52-Year-Old Man in Rochdale
Leeds Christmas Market to Return with New Yorkshire Twist
Barnsley Man Jailed After Shop Worker Stabbed During £50 Robbery
Bradford Driver Jailed After Nitrous Oxide-Fuelled Crash Leaves Woman Seriously Injured
Bhangra Nights
Remix Saturdays
Legal Show
The Golden Era