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

Camelcade / Perl5-IDEA / #525521681

15 Oct 2025 03:48AM UTC coverage: 75.858% (-0.04%) from 75.898%
#525521681

push

github

hurricup
Bump org.sonarqube from 6.3.1.5724 to 7.0.0.6105

Bumps org.sonarqube from 6.3.1.5724 to 7.0.0.6105.

---
updated-dependencies:
- dependency-name: org.sonarqube
  dependency-version: 7.0.0.6105
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

14740 of 22631 branches covered (65.13%)

Branch coverage included in aggregate %.

31064 of 37750 relevant lines covered (82.29%)

0.82 hits per line

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

42.11
/mojo/backend/src/main/java/com/perl5/lang/mojolicious/model/MojoProjectListener.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.model;
18

19
import com.intellij.util.messages.Topic;
20
import org.jetbrains.annotations.NotNull;
21

22
public interface MojoProjectListener {
23
  Topic<MojoProjectListener> MOJO_PROJECT_TOPIC = Topic.create("Mojo project manager topic", MojoProjectListener.class);
1✔
24

25
  default void projectCreated(@NotNull MojoProject project) {
26
    MojoProjectManager.LOG.debug("project created event: " + project);
1✔
27
    if (project instanceof MojoApp mojoApp) {
1✔
28
      applicationCreated(mojoApp);
1✔
29
    }
30
    else {
31
      pluginCreated((MojoPlugin)project);
1✔
32
    }
33
  }
1✔
34

35
  default void applicationCreated(@NotNull MojoApp mojoApp) {}
×
36

37
  default void pluginCreated(@NotNull MojoPlugin mojoPlugin) {}
×
38

39
  /**
40
   * @apiNote invoked before deleting from the model
41
   */
42
  default void projectDeleted(@NotNull MojoProject project) {
43
    MojoProjectManager.LOG.debug("project deleted event: " + project);
×
44
    if (project instanceof MojoApp mojoApp) {
×
45
      applicationDeleted(mojoApp);
×
46
    }
47
    else {
48
      pluginDeleted((MojoPlugin)project);
×
49
    }
50
  }
×
51

52
  /**
53
   * @apiNote invoked before deleting from the model
54
   */
55
  @SuppressWarnings("EmptyMethod")
56
  default void applicationDeleted(@SuppressWarnings("unused") @NotNull MojoApp mojoApp) { }
×
57

58
  /**
59
   * @apiNote invoked before deleting from the model
60
   */
61
  @SuppressWarnings("EmptyMethod")
62
  default void pluginDeleted(@SuppressWarnings("unused") @NotNull MojoPlugin mojoPlugin) { }
×
63
}
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