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

source-academy / backend / e0330f2cf38b2d8af12bffd20f4cac2158d607fc-PR-1236

31 Mar 2025 09:12AM UTC coverage: 19.982% (-73.6%) from 93.607%
e0330f2cf38b2d8af12bffd20f4cac2158d607fc-PR-1236

Pull #1236

github

RichDom2185
Redate migrations to maintain total ordering
Pull Request #1236: Added Exam mode

12 of 57 new or added lines in 8 files covered. (21.05%)

2430 existing lines in 97 files now uncovered.

671 of 3358 relevant lines covered (19.98%)

3.03 hits per line

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

0.0
/lib/cadet_web/views/sourcecast_view.ex
1
defmodule CadetWeb.SourcecastView do
2
  use CadetWeb, :view
3

4
  def render("index.json", %{sourcecasts: sourcecasts}) do
UNCOV
5
    render_many(sourcecasts, CadetWeb.SourcecastView, "show.json", as: :sourcecast)
×
6
  end
7

8
  def render("show.json", %{sourcecast: sourcecast}) do
UNCOV
9
    transform_map_for_view(sourcecast, %{
×
10
      id: :id,
11
      title: :title,
12
      description: :description,
13
      uid: :uid,
UNCOV
14
      inserted_at: &format_datetime(&1.inserted_at),
×
UNCOV
15
      updated_at: &format_datetime(&1.updated_at),
×
16
      audio: :audio,
17
      playbackData: :playbackData,
UNCOV
18
      uploader: &transform_map_for_view(&1.uploader, [:name, :id]),
×
UNCOV
19
      url: &Cadet.Courses.SourcecastUpload.url({&1.audio, &1}),
×
20
      courseId: :course_id
21
    })
22
  end
23
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

© 2025 Coveralls, Inc