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

Camelcade / Perl5-IDEA / #525521603

28 Jun 2025 02:45PM UTC coverage: 82.36% (+0.01%) from 82.35%
#525521603

Pull #3026

github

web-flow
Merge 9d7a53465 into fb75026eb
Pull Request #3026: Hurricup/front split

30867 of 37478 relevant lines covered (82.36%)

0.82 hits per line

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

80.0
/plugin/backend/src/main/java/com/perl5/lang/pod/idea/structureView/PodStructureViewModel.java
1
/*
2
 * Copyright 2015-2023 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.idea.structureView;
18

19
import com.intellij.ide.structureView.StructureViewModel;
20
import com.intellij.ide.structureView.StructureViewModelBase;
21
import com.intellij.ide.structureView.StructureViewTreeElement;
22
import com.intellij.ide.util.treeView.smartTree.Sorter;
23
import com.intellij.openapi.editor.Editor;
24
import com.intellij.psi.PsiFile;
25
import org.jetbrains.annotations.NotNull;
26
import org.jetbrains.annotations.Nullable;
27

28

29
public class PodStructureViewModel extends StructureViewModelBase implements StructureViewModel.ElementInfoProvider {
30
  public PodStructureViewModel(@NotNull PsiFile psiFile, @Nullable Editor editor) {
31
    super(psiFile, editor, new PodStructureViewElement(psiFile));
1✔
32
  }
1✔
33

34
  @Override
35
  public boolean isAlwaysShowsPlus(StructureViewTreeElement structureViewTreeElement) {
36
    return false;
1✔
37
  }
38

39
  @Override
40
  public boolean isAlwaysLeaf(StructureViewTreeElement structureViewTreeElement) {
41
    return false;
1✔
42
  }
43

44
  @Override
45
  public Sorter @NotNull [] getSorters() {
46
    return new Sorter[]{Sorter.ALPHA_SORTER};
×
47
  }
48
}
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