BugHerd tool code