It would have triggered an alarm if he had entered through the broken window.
True.
Aren't there security systems that will go off if a window is broken. No word if they had motion-detector lights, or motion-activated cameras, or just plain 24 hour surveillance cameras overseen by a human or humans.