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

Camelcade / Perl5-IDEA / #525521567

03 Jun 2025 07:42AM UTC coverage: 82.347% (+0.008%) from 82.339%
#525521567

push

github

hurricup
Localization Perl plugin

4 of 11 new or added lines in 5 files covered. (36.36%)

96 existing lines in 21 files now uncovered.

30852 of 37466 relevant lines covered (82.35%)

0.82 hits per line

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

63.64
/mason/mason2/core/src/main/java/com/perl5/lang/mason2/filetypes/MasonPurePerlComponentFileType.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.mason2.filetypes;
18

19
import com.intellij.lang.Language;
20
import com.perl5.lang.mason2.Mason2Bundle;
21
import com.perl5.lang.mason2.Mason2Icons;
22
import com.perl5.lang.mason2.Mason2Language;
23
import com.perl5.lang.perl.fileTypes.PurePerlFileType;
24
import org.jetbrains.annotations.NotNull;
25
import org.jetbrains.annotations.Nullable;
26

27
import javax.swing.*;
28

29

30
public class MasonPurePerlComponentFileType extends PurePerlFileType {
31
  public static final MasonPurePerlComponentFileType INSTANCE = new MasonPurePerlComponentFileType();
1✔
32
  public static final String PURE_PERL_COMPONENT_EXTENSION = "mp";
33

34
  public MasonPurePerlComponentFileType() {
35
    this(Mason2Language.INSTANCE);
1✔
36
  }
1✔
37

38
  public MasonPurePerlComponentFileType(Language language) {
39
    super(language);
1✔
40
  }
1✔
41

42
  @Override
43
  public @NotNull String getName() {
44
    return "Mason2 Pure Perl5 Component";
1✔
45
  }
46

47
  @Override
48
  public @NotNull String getDescription() {
49
    return Mason2Bundle.message("label.mason2.pure.perl.component");
1✔
50
  }
51

52
  @Override
53
  public @NotNull String getDefaultExtension() {
UNCOV
54
    return PURE_PERL_COMPONENT_EXTENSION;
×
55
  }
56

57
  @Override
58
  public @Nullable Icon getIcon() {
UNCOV
59
    return Mason2Icons.MASON_PURE_PERL_COMPONENT_ICON;
×
60
  }
61

62
  @Override
63
  public boolean checkStrictPragma() {
UNCOV
64
    return false;
×
65
  }
66

67
  @Override
68
  public boolean checkWarningsPragma() {
UNCOV
69
    return false;
×
70
  }
71
}
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