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

optimizely / swift-sdk / 36447729447

28 Sep 2026 03:59PM UTC coverage: 56.194% (-37.7%) from 93.929%
36447729447

Pull #658

github

web-flow
Merge a21ef4289 into 63b3b8c3e
Pull Request #658: [FSSDK-11920] Migrate Swift SDK distribution, CI, and releases to SPM on Xcode 27

685 of 1219 relevant lines covered (56.19%)

90.87 hits per line

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

0.0
/Sources/Extensions/DataStoreQueueStackImpl+Extension.swift
1
//
2
// Copyright 2019, 2021, Optimizely, Inc. and contributors
3
//
4
// Licensed under the Apache License, Version 2.0 (the "License");
5
// you may not use this file except in compliance with the License.
6
// You may obtain a copy of the License at
7
//
8
//    http://www.apache.org/licenses/LICENSE-2.0
9
//
10
// Unless required by applicable law or agreed to in writing, software
11
// distributed under the License is distributed on an "AS IS" BASIS,
12
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
// See the License for the specific language governing permissions and
14
// limitations under the License.
15
//
16

17
import Foundation
18

19
extension DataStoreQueueStack {
20
    func getFirstItem() -> T? {
×
21
        return getFirstItems(count: 1)?.first
22
    }
23
    func getLastItem() -> T? {
×
24
        return getLastItems(count: 1)?.first
25
    }
26
    func removeFirstItem() -> T? {
×
27
        return removeFirstItems(count: 1)?.first
28
    }
29
    func removeLastItem() -> T? {
×
30
        return removeLastItems(count: 1)?.first
31
    }
32
 }
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc