locking version of code sniffer