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

Camelcade / Perl5-IDEA / #525521858

19 Jun 2026 05:39AM UTC coverage: 76.009% (-0.1%) from 76.151%
#525521858

push

github

hurricup
Build 262-EAP.8117.19

14731 of 22542 branches covered (65.35%)

Branch coverage included in aggregate %.

31065 of 37709 relevant lines covered (82.38%)

0.82 hits per line

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

81.82
/plugin/backend/src/main/java/com/perl5/lang/perl/idea/completion/PerlStringCompletionCache.java
1
/*
2
 * Copyright 2015-2020 Alexandr Evstigneev
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
package com.perl5.lang.perl.idea.completion;
18

19
import com.intellij.openapi.project.Project;
20
import org.jetbrains.annotations.NotNull;
21
import org.jetbrains.annotations.TestOnly;
22

23
import java.util.HashSet;
24
import java.util.Set;
25

26
public class PerlStringCompletionCache {
1✔
27
  private final Set<String> myHashIndexesCache = new HashSet<>();
1✔
28
  private final Set<String> myHeredocOpenersCache = new HashSet<>();
1✔
29

30
  public Set<String> getHashIndexesCache() {
31
    return myHashIndexesCache;
1✔
32
  }
33

34
  public Set<String> getHeredocOpenersCache() {
35
    return myHeredocOpenersCache;
×
36
  }
37

38
  @TestOnly
39
  public void clear() {
40
    myHashIndexesCache.clear();
1✔
41
    myHeredocOpenersCache.clear();
1✔
42
  }
1✔
43

44
  public static @NotNull PerlStringCompletionCache getInstance(@NotNull Project project) {
45
    return project.getService(PerlStringCompletionCache.class);
1!
46
  }
47
}
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