I haven't been attacked in ages but a halfwit neighbour of mine has a Jack Russell that yaps incessantly, all day, every day, and I swear that thing would savage me or anyone else if it ever got the chance.
I was walking up the street last year, just passing halfwit house, when I bumped into a friend and we started talking on the street. This caused the yapping from within the halfwit house to intensify and the daft animal started throwing itself at the inside of the front door. Eventually the halfwit owner comes out and asks if we can move on because our talking on the street is winding her halfwit dog up.
I did suggest that a trained, well adjusted dog really shouldn't be getting so highly strung at the simple prospect of humans talking in a public place well away from her door, and maybe she should sort out some training. She replied that he was only looking after her. Halfwit.
It'll yap at anything though. Cars passing, people passing, clouds passing, anything.