codemetre allows you to compare different versions of your software project, determining how and how much source files have changed. It currently recognizes both source code and comments from Ada, Bash shell, C, Eiffel, SQL, and more. It can also provide you with metrics on any single snapshot of your project.
Berkeley DB XML is a native XML database engine for use within your product. Made available as a C++ library with language bindings for Java, Perl, Python, PHP, and Tcl, it integrates directly into your application (it is not a standalone database server). It provides XQuery access into a database of document containers. XML documents are stored and indexed in their native format using Berkeley DB as the transactional database engine.