changed method addViolationAtSubPath into  addViolationAt