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

backspace / prison-rideshare-ui / 20477770688

24 Dec 2025 03:33AM UTC coverage: 80.812% (-0.3%) from 81.153%
20477770688

push

github

backspace
Fix ember-global deprecations

There’s at least one more, but where…!

434 of 601 branches covered (72.21%)

Branch coverage included in aggregate %.

3 of 3 new or added lines in 2 files covered. (100.0%)

22 existing lines in 7 files now uncovered.

1158 of 1369 relevant lines covered (84.59%)

24.78 hits per line

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

76.92
/app/controllers/application.js
1
import { action } from '@ember/object';
2
import { inject as service } from '@ember/service';
3
import Controller, { inject as controller } from '@ember/controller';
4
import { tracked } from '@glimmer/tracking';
5

6
export default class ApplicationController extends Controller {
7
  @service overlaps;
8
  @service sidebar;
9
  @service session;
10
  @service store;
11
  @service userSocket;
12

13
  @controller rides;
14

15
  @tracked headerElement;
16

17
  get ridesBadgeCount() {
18
    const overlapsCount = this.overlaps.count ?? 0;
116!
19
    const rides = this.rides.model || [];
116✔
20

21
    const ridesNeedingConfirmation =
22
      typeof rides.filterBy === 'function'
116!
23
        ? rides.filterBy('requiresConfirmation')
UNCOV
24
        : rides.filter((ride) => ride?.requiresConfirmation);
×
25

26
    return overlapsCount + ridesNeedingConfirmation.length;
116✔
27
  }
28

29
  @action
30
  logout() {
31
    this.session.invalidate();
1✔
32
    this.store.unloadAll();
1✔
33
  }
34
}
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