Skip to content

Codebase intelligence for AI and humans: code health scores, auto-generated docs, git analytics, dead code detection, and architectural decisions via MCP.

3.6 KB
Raw Blame
{
 "repo": "django",
 "smells": [
  {
   "code": "catchall_layer",
   "message": "Test holds 68% of layered nodes",
   "severity": "WARN"
  },
  {
   "code": "module_oversized",
   "message": "conf/locale has 178 files with subdirs (window 120)",
   "severity": "WARN"
  },
  {
   "code": "module_oversized",
   "message": "tests has 607 files with subdirs (window 120)",
   "severity": "WARN"
  }
 ],
 "stats": {
  "by_language": {
   "javascript": {
    "edges_per_file": 0.02,
    "files": 45,
    "import_edges": 1,
    "import_support": "full",
    "orphan_files": 43,
    "orphan_ratio": 0.956,
    "resolution_rate": 0.0
   },
   "python": {
    "edges_per_file": 3.44,
    "files": 2591,
    "import_edges": 8909,
    "import_support": "full",
    "orphan_files": 602,
    "orphan_ratio": 0.232,
    "resolution_rate": 1.0
   },
   "shell": {
    "edges_per_file": 0.0,
    "files": 2,
    "import_edges": 0,
    "import_support": "none",
    "orphan_files": 2,
    "orphan_ratio": 1.0,
    "resolution_rate": null
   }
  },
  "dominant_language": "python",
  "entry_points": [
   "django/core/handlers/wsgi.py",
   "django/core/handlers/asgi.py",
   "django/__main__.py",
   "django/contrib/admin/views/main.py",
   "django/core/wsgi.py",
   "django/core/asgi.py"
  ],
  "modules": {
   "count": 85,
   "max_size": 607,
   "min_size": 7,
   "names": [
    ".github",
    "API",
    "Application (top-level)",
    "CLI",
    "Middleware",
    "Service",
    "UI",
    "Utility",
    "admin_docs",
    "admin_scripts",
    "admin_views",
    "apps",
    "async",
    "auth_tests",
    "backends",
    "check_framework",
    "composite_pk",
    "conf/locale",
    "contenttypes_tests",
    "contrib/admin",
    "contrib/auth",
    "contrib/contenttypes",
    "contrib/flatpages",
    "contrib/gis",
    "contrib/messages",
    "contrib/postgres",
    "contrib/redirects",
    "contrib/sessions",
    "contrib/sites",
    "contrib/staticfiles",
    "db/backends",
    "db/migrations",
    "db/models",
    "db_functions",
    "decorators",
    "django",
    "django/contrib",
    "django/forms",
    "django/tasks",
    "django/template",
    "django/test",
    "flatpages_tests",
    "foreign_object",
    "forms_tests",
    "generic_views",
    "gis/db",
    "gis_tests",
    "i18n",
    "js_tests",
    "messages_tests",
    "middleware",
    "migrations",
    "migrations/migrations_test_apps",
    "migrations/test_migrations_squashed_complex",
    "migrations/test_migrations_squashed_complex_multi_apps",
    "migrations/test_migrations_squashed_ref_squashed",
    "migrations/test_migrations_squashed_replaced_order",
    "migrations2",
    "model_fields",
    "model_options",
    "postgres_tests",
    "queries",
    "scripts",
    "serializers",
    "servers",
    "sitemaps_tests",
    "sphinx",
    "staticfiles_tests",
    "template_backends",
    "template_tests",
    "template_tests/filter_tests",
    "template_tests/syntax_tests",
    "template_tests/templatetags",
    "test_client",
    "test_client_regress",
    "test_runner",
    "test_runner_apps",
    "test_utils",
    "tests",
    "urlpatterns",
    "urlpatterns_reverse",
    "user_commands",
    "utils_tests",
    "validation",
    "view_tests"
   ]
  },
  "tour_paths": [
   "django",
   "django/__main__.py",
   "django/core/handlers/wsgi.py",
   "django/core/handlers/asgi.py",
   "django/contrib/admin/views/main.py",
   "django/core/wsgi.py",
   "django/middleware/csrf.py",
   "django/conf/project_template/manage.py-tpl",
   "django/db/__init__.py",
   "django/utils/functional.py",
   "django/core/management/commands/makemigrations.py",
   "tests/runtests.py"
  ]
 }
}