You can test the catch rate of illegal or dangerous materials, but this is a measure more of the chance of catching someone once an attack is already in progress. Basically, it just measures if its security theatre or not. To know if its effective at preventing attacks, we’d also need to know the number who wanted to attack and decided against it because TSA existed.