Now let’s look at the usage of undef & poison constants in tests:

The situation here is pretty serious! We keep adding tests that use undef at a scary pace. We’ve been adding about 15-20k uses of undef per release. We should make a serious effort to revert this. I hope most uses of undef can be replaced with poison as these are used as placeholders somewhere, so the exact value doesn’t matter.
With 140k references to undef, we will need a script to replace the easy cases with poison. But maybe that’s not for now, as we are still not removing undef this year.
Please use poison constants whenever possible in your test cases!