We're attempting to address some of these problems at https://www.flipt.io/gitops. Having your flags defined as configuration and committed to repository opens up a range of possibilities in terms of static analysis.
Additionaly, we've got a prototype static analysis tool to finding calls to our feature flag clients in both Go and Rust too.