Firebirdのコード品質はかなり良いらしい。

http://www.firebirdsql.org/en/news/code-quality-comparison-of-firebird-mysql-and-postgresql/

Code Quality Comparison of Firebird, MySQL, and PostgreSQL
PVS-Studio has performed the analysis of the code of open source databases: Firebird, MySQL, PostgreSQL. The result is pretty good for Firebird:

So, the code-quality rankings are as follows:
1 place - Firebird and PostgreSQL.
2 place - MySQL.

SQLiteはよく使われるデータベースだが、LibreOfiiceのBaseでは以下のような理由で採用されなかったようだ。
 SQLiteは標準SQLの多くの機能が不足している。
 SQLiteはデータ型が弱い。日時型がない。