duplicate function inspection should process a whole package not a single file