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

Camelcade / Perl5-IDEA / #525521606

29 Jun 2025 01:34PM UTC coverage: 82.318% (-0.09%) from 82.406%
#525521606

push

github

hurricup
#2842 Properly registered reference providers via contributors

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

41 existing lines in 15 files now uncovered.

30866 of 37496 relevant lines covered (82.32%)

0.82 hits per line

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

83.33
/plugin/backend/src/main/java/com/perl5/lang/pod/parser/psi/mixin/PodCompositeElementMixin.java
1
/*
2
 * Copyright 2015-2025 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.pod.parser.psi.mixin;
18

19
import com.intellij.extapi.psi.ASTWrapperPsiElement;
20
import com.intellij.lang.ASTNode;
21
import com.intellij.navigation.ItemPresentation;
22
import com.intellij.psi.PsiReference;
23
import com.perl5.lang.perl.psi.PerlReferenceOwner;
24
import com.perl5.lang.pod.parser.psi.PodCompositeElement;
25
import org.jetbrains.annotations.NotNull;
26

27
public class PodCompositeElementMixin extends ASTWrapperPsiElement implements PodCompositeElement {
28
  public PodCompositeElementMixin(@NotNull ASTNode node) {
29
    super(node);
1✔
30
  }
1✔
31

32
  @Override
33
  public final PsiReference @NotNull [] getReferences() {
34
    return PerlReferenceOwner.getReferencesWithCache(this);
1✔
35
  }
36

37
  @Override
38
  public final PsiReference getReference() {
39
    PsiReference[] references = getReferences();
1✔
40
    return references.length == 0 ? null : references[0];
1✔
41
  }
42

43
  @Override
44
  public ItemPresentation getPresentation() {
UNCOV
45
    return this;
×
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