At minimum, I'd love an opt-in rule that will warn me on every array subscript (sort of like a compiler-warning version of ! that signals other unsafe code in Swift but is absent for array ...
open might fail and return -1; check the return value and do not continue with a negative value. found by coverity: Argument cannot be negative 596 3. negative_return ...