• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

nshkrdotcom / ElixirScope / a3fb310680b32807957a42335caaaea14df2cc5d

29 May 2025 04:40AM UTC coverage: 58.763% (-0.1%) from 58.866%
a3fb310680b32807957a42335caaaea14df2cc5d

push

github

NSHkr
refactor pattern matcher

77 of 218 new or added lines in 10 files covered. (35.32%)

18 existing lines in 2 files now uncovered.

5918 of 10071 relevant lines covered (58.76%)

3267.44 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/lib/elixir_scope/ast_repository/query_builder/supervisor.ex
1
defmodule ElixirScope.ASTRepository.QueryBuilder.Supervisor do
2
  @moduledoc """
3
  Supervisor for the QueryBuilder system components.
4
  """
5

6
  use Supervisor
7

8
  def start_link(opts \\ []) do
9
    Supervisor.start_link(__MODULE__, opts, name: __MODULE__)
×
10
  end
11

12
  def init(_opts) do
13
    children = [
×
14
      # Start the cache first since QueryBuilder depends on it
15
      {ElixirScope.ASTRepository.QueryBuilder.Cache, []},
16
      # Then start the main QueryBuilder
17
      {ElixirScope.ASTRepository.QueryBuilder, []}
18
    ]
19

20
    # Use rest_for_one strategy so if QueryBuilder crashes,
21
    # Cache stays running but QueryBuilder will restart
UNCOV
22
    Supervisor.init(children, strategy: :rest_for_one)
×
23
  end
24
end
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc