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

Camelcade / Perl5-IDEA / #525521729

08 Dec 2025 05:32PM UTC coverage: 75.932% (-0.02%) from 75.953%
#525521729

push

github

hurricup
Update qodana to 2025.2.3

- removed old qodana gradle plugin
- updated checkout rules to properly work with prs

14755 of 22633 branches covered (65.19%)

Branch coverage included in aggregate %.

31072 of 37720 relevant lines covered (82.38%)

0.82 hits per line

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

66.67
/mojo/common/src/main/java/com/perl5/lang/mojolicious/MojoIcons.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;
18

19
import com.intellij.icons.AllIcons;
20
import com.intellij.openapi.util.IconLoader;
21
import com.intellij.openapi.util.NotNullLazyValue;
22
import com.perl5.PerlIcons;
23
import org.jetbrains.annotations.NotNull;
24

25
import javax.swing.*;
26

27
public final class MojoIcons {
28
  public static final Icon MOJO_FILE = load("/icons/mojolicious.png");
1✔
29
  public static final Icon MOJO_LOGO = load("/icons/mojolicious_color.png");
1✔
30

31
  private static @NotNull Icon load(@NotNull String resourcePath) {
32
    return IconLoader.getIcon(resourcePath, MojoIcons.class);
1!
33
  }
34

35
  public static final Icon MOJO_APP_ICON = MOJO_LOGO;
1✔
36
  public static final Icon MOJO_LITE_APP_ICON = MOJO_LOGO;
1✔
37
  private static final NotNullLazyValue<Icon> MOJO_ROOT = PerlIcons.createLazyIconWithModifier(PerlIcons.TEMPLATE_ROOT, MOJO_LOGO);
1✔
38
  private static final NotNullLazyValue<Icon> MOJO_PLUGIN_LOGO = PerlIcons.createLazyIconWithModifier(AllIcons.Nodes.Plugin, MOJO_LOGO);
1✔
39

40
  public static @NotNull Icon pluginIcon() {
41
    return MOJO_PLUGIN_LOGO.getValue();
1!
42
  }
43

44
  public static @NotNull Icon rootIcon() {
45
    return MOJO_ROOT.getValue();
×
46
  }
47

48
  private MojoIcons() {
49
  }
50
}
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