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

Camelcade / Perl5-IDEA / #525521581

06 Jun 2025 08:26AM UTC coverage: 82.33% (-0.02%) from 82.354%
#525521581

push

github

hurricup
Moved debugger properties to the respective bundle

18 of 26 new or added lines in 8 files covered. (69.23%)

158 existing lines in 31 files now uncovered.

30858 of 37481 relevant lines covered (82.33%)

0.82 hits per line

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

80.0
/plugin/debugger/src/main/java/com/perl5/lang/perl/debugger/breakpoints/PerlLineBreakpointType.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.perl.debugger.breakpoints;
18

19
import com.intellij.openapi.project.Project;
20
import com.intellij.openapi.vfs.VirtualFile;
21
import com.intellij.xdebugger.breakpoints.XLineBreakpoint;
22
import com.intellij.xdebugger.breakpoints.XLineBreakpointType;
23
import com.intellij.xdebugger.evaluation.XDebuggerEditorsProvider;
24
import com.perl5.lang.perl.debugger.PerlDebuggerBundle;
25
import com.perl5.lang.perl.debugger.PerlDebuggerEditorsProvider;
26
import com.perl5.lang.perl.fileTypes.PerlFileType;
27
import org.jetbrains.annotations.NotNull;
28
import org.jetbrains.annotations.Nullable;
29

30

31
public class PerlLineBreakpointType extends XLineBreakpointType<PerlLineBreakpointProperties> {
32
  public PerlLineBreakpointType() {
33
    super("perl_line_breakpoint", PerlDebuggerBundle.message("perl.line.breakpoint"));
1✔
34
  }
1✔
35

36
  @Override
37
  public @Nullable PerlLineBreakpointProperties createBreakpointProperties(@NotNull VirtualFile file, int line) {
38
    return new PerlLineBreakpointProperties();
1✔
39
  }
40

41
  @Override
42
  public boolean canPutAt(@NotNull VirtualFile file, int line, @NotNull Project project) {
43
    // fixme add method to disable in templating
44
    return file.getFileType() instanceof PerlFileType;
1✔
45
  }
46

47
  @Override
48
  public @Nullable XDebuggerEditorsProvider getEditorsProvider(@NotNull XLineBreakpoint<PerlLineBreakpointProperties> breakpoint,
49
                                                               @NotNull Project project) {
UNCOV
50
    return PerlDebuggerEditorsProvider.INSTANCE;
×
51
  }
52
}
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