This test doesn't look right. For instance, Django comes with its own ORM, and a bunch of stuff in contrib. Does the test count the code in contrib as well? To be fair, you would need to take for instance Flask, and add SQLAlchemy and a bunch of extension to get a meaningful score.