Swictehd to CodeNarc for static analysis