ComplexMethod:Links.kt$Links$commandResponse ComplexMethod:UrlMgr.kt$UrlMgr$commandResponse ComplexMethod:View.kt$View$commandResponse LongMethod:Links.kt$Links$commandResponse LongMethod:UrlMgr.kt$UrlMgr$commandResponse LongMethod:View.kt$View$commandResponse LongParameterList:AbstractCommand.kt$AbstractCommand$( bot: Mobibot, sender: String, login: String, args: String, isOp: Boolean, isPrivate: Boolean ) LoopWithTooManyJumpStatements:View.kt$View$while (i < max) { entry = getEntry(i) if (lcArgs.isNotEmpty()) { if (entry.link.toLowerCase().contains(lcArgs) || entry.title.toLowerCase().contains(lcArgs) || entry.nick.toLowerCase().contains(lcArgs)) { if (sent > maxEntries) { bot.send( sender, "To view more, try: " + Utils.bold("${bot.nick}: $command ${i + 1} $lcArgs"), isPrivate ) break } bot.send(sender, EntriesUtils.buildLink(i, entry, true), isPrivate) sent++ } } else { if (sent > maxEntries) { bot.send( sender, "To view more, try: " + Utils.bold("${bot.nick}: $command ${i + 1}"), isPrivate ) break } bot.send(sender, EntriesUtils.buildLink(i, entry, true), isPrivate) sent++ } i++ } MagicNumber:Comments.kt$Comments$3 MagicNumber:Cycle.kt$Cycle$10 MagicNumber:Recap.kt$Recap.Companion$10 MagicNumber:View.kt$View$8 NestedBlockDepth:Comments.kt$Comments$commandResponse NestedBlockDepth:Ignore.kt$Ignore$commandResponse NestedBlockDepth:Links.kt$Links$commandResponse NestedBlockDepth:UrlMgr.kt$UrlMgr$commandResponse NestedBlockDepth:View.kt$View$commandResponse