Skip to content

Bump org.jetbrains.kotlinx:kotlinx-coroutines-core from 1.9.0 to 1.10…

Sign in for the full log view
GitHub Actions / Code Coverage succeeded Dec 21, 2024 in 0s

Code Coverage 78.87 %

This run completed at 12/21/2024 01:55:26

Details

Coverage Report: Code Coverage

  • CodeMC-Bot
Outcome Value
Code Coverage % 78.87%
✔️ Number of Lines Covered 896
❌ Number of Lines Missed 240
Total Number of Lines 1136

Details:

io/codemc/bot/utils

❌ APIUtil.java

Lines Missed:

                        .error("Failed to create Nexus Repository!")
                        .send();
  • Line #61
                        .error("Failed to create Jenkins User for " + username + "!")
  • Line #62
                        .send();
  • Line #73
                        .error("Failed to create Jenkins Job '" + project + "' for " + username + "!")
  • Line #74
                        .send();
  • Line #85
                            .error("Failed to trigger Jenkins Build for " + username + "!")
  • Line #86
                            .send();
  • Line #111
                    .error("Failed to change Nexus Password for " + username + "!")
  • Line #112
                    .send();
  • Line #135
        } catch (IOException e) {
  • Line #138
        } catch (InterruptedException e) {
❌ ApplicationHandler.java

Lines Missed:

  • Line #47
            return;
  • Line #111
                return;
  • Line #124
                return;
  • Line #146
                    .send();
  • Line #147
                return;
  • Line #173
                    return;
  • Line #187
                        .reason("Archiving Thread of deleted Request message.")
  • Line #188
                        .queue();
  • Line #246
                    return;
  • Line #269
                    return;
  • Line #297
                                    .error("I lack the `Manage Roles` permission to apply the role.")
  • Line #298
                                    .send()
  • Line #304
                .error(
  • Line #307
                ).send();
  • Line #310
        });
❌ CommandUtil.java

Lines Missed:

io/codemc/bot/listeners

❌ ButtonListener.java

Lines Missed:

  • Line #71
            return;
  • Line #101
                return;
  • Line #110
                return;
❌ ModalListener.java

Lines Missed:

  • Line #53
            return;
  • Line #92
                    return;
  • Line #125
                            ).send();
  • Line #128
                        }
  • Line #155
                        .send();
  • Line #156
                    return;
  • Line #167
                                .send()
  • Line #174
                                .send()
  • Line #207
                                            .send();
  • Line #210
                                    }
  • Line #218
                                            .send();
  • Line #221
                                    }

io/codemc/bot/config

❌ ConfigHandler.java

Lines Missed:

  • Line #74
            return (node = loader.load()) != null;
  • Line #75
        }catch(IOException ex){
  • Line #96
        }catch(SerializationException ex){
  • Line #104
        }catch(SerializationException ex){
  • Line #112
        }catch(SerializationException ex){

io/codemc/bot/commands

❌ CmdApplication.java

Lines Missed:

  • Line #54
    public void withModalReply(SlashCommandEvent event){}
  • Line #57
    public void withHookReply(InteractionHook hook, SlashCommandEvent event, Guild guild, Member member){}
  • Line #76
        public void withModalReply(SlashCommandEvent event){}
  • Line #95
                    return;
  • Line #123
        public void withModalReply(SlashCommandEvent event){}
❌ CmdReload.java

Lines Missed:

  • Line #48
                .send();
  • Line #53
    public void withModalReply(SlashCommandEvent event){}
❌ CmdMsg.java

Lines Missed:

  • Line #60
    public void withHookReply(InteractionHook hook, SlashCommandEvent event, Guild guild, Member member){}
  • Line #63
    public void withModalReply(SlashCommandEvent event){}
  • Line #88
        }
  • Line #136
        public void withHookReply(InteractionHook hook, SlashCommandEvent event, Guild guild, Member member){}
  • Line #144
                }catch(NumberFormatException ex){
❌ CmdSubmit.java

Lines Missed:

    public void withHookReply(InteractionHook hook, SlashCommandEvent event, Guild guild, Member member){}
❌ BotCommand.java

Lines Missed:

  • Line #70
                .error("You lack the permissions required to use this command!")
  • Line #71
                .send();
  • Line #72
            return;
❌ CmdDisable.java

Lines Missed:

  • Line #48
        });
  • Line #49
    }
  • Line #52
    public void withModalReply(SlashCommandEvent event){}
❌ CmdCodeMC.java

Lines Missed:

  • Line #79
    }
  • Line #83
    }
  • Line #101
        }
  • Line #167
        }
  • Line #228
        }
  • Line #265
                return;
  • Line #269
                    .anyMatch(role -> role.getIdLong() == authorRole.getIdLong());
  • Line #286
                                                    .appendWarning("I lack the `Manage Roles` permission to remove the role.")
  • Line #287
                                                    .send()
  • Line #310
        public void withModalReply(SlashCommandEvent event) {}
  • Line #329
                if (!success.get()) return;
  • Line #338
                        .error("Failed to validate user(s)!")
  • Line #339
                        .send();
  • Line #386
        public void withModalReply(SlashCommandEvent event) {}
  • Line #411
                return;
  • Line #414
            boolean hasAuthor = target.getRoles().stream().anyMatch(role -> role.getIdLong() == authorRole.getIdLong());
  • Line #448
        public void withModalReply(SlashCommandEvent event) {}
  • Line #461
                    .filter(user -> user.getDiscord() == target.getIdLong())
  • Line #477
                return;
  • Line #501
        public void withModalReply(SlashCommandEvent event) {}
  • Line #510
                return;
  • Line #513
            boolean hasAuthor = member.getRoles().stream().anyMatch(role -> role.getIdLong() == authorRole.getIdLong());
  • Line #520
                    .filter(user -> user.getDiscord() == member.getIdLong())
  • Line #543
                return;
  • Line #570
        public void withModalReply(SlashCommandEvent event) {}
  • Line #595
                return;
  • Line #610
                                                        .appendWarning("I lack the `Manage Roles` permission to add the role.")
  • Line #611
                                                        .send()
  • Line #643
        public void withModalReply(SlashCommandEvent event) {}

io/codemc/bot

❌ CodeMCBot.java

Lines Missed:

  • Line #56
        }catch(LoginException ex){
  • Line #58
        }
  • Line #59
    }
  • Line #89
    }
  • Line #95
            return;
  • Line #99
    }
  • Line #107
            return;
  • Line #113
            return;
  • Line #152
            return;
  • Line #160
            return;
  • Line #194
            .addEventListeners(
  • Line #200
    }