• 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

77.78
/mojo/core/src/main/java/com/perl5/lang/mojolicious/filetypes/MojoliciousFileType.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.mojolicious.filetypes;
18

19
import com.perl5.lang.mojolicious.MojoBundle;
20
import com.perl5.lang.mojolicious.MojoIcons;
21
import com.perl5.lang.mojolicious.MojoliciousLanguage;
22
import com.perl5.lang.perl.fileTypes.PerlFileType;
23
import org.jetbrains.annotations.NotNull;
24
import org.jetbrains.annotations.Nullable;
25

26
import javax.swing.*;
27

28

29
public class MojoliciousFileType extends PerlFileType {
30
  public static final MojoliciousFileType INSTANCE = new MojoliciousFileType();
1✔
31
  public static final String MOJO_DEFAULT_EXTENSION = "ep";
32

33
  public MojoliciousFileType() {
34
    super(MojoliciousLanguage.INSTANCE);
1✔
35
  }
1✔
36

37
  @Override
38
  public @NotNull String getName() {
39
    return "Mojolicious Perl5 Template";
1✔
40
  }
41

42
  @Override
43
  public @NotNull String getDescription() {
44
    return MojoBundle.message("label.mojolicious.perl5.template");
1✔
45
  }
46

47
  @Override
48
  public @NotNull String getDefaultExtension() {
49
    return MOJO_DEFAULT_EXTENSION;
1✔
50
  }
51

52
  @Override
53
  public @Nullable Icon getIcon() {
54
    return MojoIcons.MOJO_FILE;
1✔
55
  }
56

57
  @Override
58
  public boolean checkStrictPragma() {
UNCOV
59
    return false;
×
60
  }
61

62
  @Override
63
  public boolean checkWarningsPragma() {
UNCOV
64
    return false;
×
65
  }
66
}
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