99 lines
9.7 KiB
XML
99 lines
9.7 KiB
XML
<?xml version="1.0" ?>
|
|
<SmellBaseline>
|
|
<ManuallySuppressedIssues></ManuallySuppressedIssues>
|
|
<CurrentIssues>
|
|
<ID>ComplexCondition:Addons.kt$Addons$((isPrivate && module.isPrivateMsgEnabled) || !isPrivate) && module.commands.contains(cmd)</ID>
|
|
<ID>ComplexMethod:EntriesMgr.kt$EntriesMgr$ fun saveEntries( bot: Mobibot, entries: List<EntryLink>, history: MutableList<String>, isDayBackup: Boolean )</ID>
|
|
<ID>ComplexMethod:Weather2.kt$Weather2.Companion$ @JvmStatic @Throws(ModuleException::class) fun getWeather(query: String, apiKey: String?): List<Message></ID>
|
|
<ID>LongMethod:EntriesMgr.kt$EntriesMgr$ fun saveEntries( bot: Mobibot, entries: List<EntryLink>, history: MutableList<String>, isDayBackup: Boolean )</ID>
|
|
<ID>LongMethod:Mobibot.kt$Mobibot.Companion$ @JvmStatic fun main(args: Array<String>)</ID>
|
|
<ID>LongMethod:StockQuote.kt$StockQuote.Companion$ @JvmStatic @Throws(ModuleException::class) fun getQuote(symbol: String, apiKey: String?): List<Message></ID>
|
|
<ID>LongMethod:Weather2.kt$Weather2.Companion$ @JvmStatic @Throws(ModuleException::class) fun getWeather(query: String, apiKey: String?): List<Message></ID>
|
|
<ID>LongParameterList:Addons.kt$Addons$(sender: String, login: String, cmd: String, args: String, isOp: Boolean, isPrivate: Boolean)</ID>
|
|
<ID>LongParameterList:Comment.kt$Comment$( bot: Mobibot, cmd: String, sender: String, isOp: Boolean, entry: EntryLink, index: Int, commentIndex: Int )</ID>
|
|
<ID>LongParameterList:Comment.kt$Comment$( bot: Mobibot, sender: String, isOp: Boolean, entry: EntryLink, index: Int, commentIndex: Int )</ID>
|
|
<ID>LongParameterList:Comment.kt$Comment$(bot: Mobibot, cmd: String, sender: String, entry: EntryLink, index: Int, commentIndex: Int)</ID>
|
|
<ID>LongParameterList:Mobibot.kt$Mobibot$( nick: String, list: List<String>, maxPerLine: Int, isPrivate: Boolean, isBold: Boolean = false, isIndent: Boolean = false )</ID>
|
|
<ID>LongParameterList:Twitter.kt$Twitter.Companion$( consumerKey: String?, consumerSecret: String?, token: String?, tokenSecret: String?, handle: String?, message: String, isDm: Boolean )</ID>
|
|
<ID>MagicNumber:AddLog.kt$AddLog$4</ID>
|
|
<ID>MagicNumber:Comment.kt$Comment$3</ID>
|
|
<ID>MagicNumber:CurrencyConverter.kt$CurrencyConverter$11</ID>
|
|
<ID>MagicNumber:CurrencyConverter.kt$CurrencyConverter$3</ID>
|
|
<ID>MagicNumber:CurrencyConverter.kt$CurrencyConverter.Companion$3</ID>
|
|
<ID>MagicNumber:CurrencyConverter.kt$CurrencyConverter.Companion$4</ID>
|
|
<ID>MagicNumber:CurrencyConverter.kt$CurrencyConverter.Companion$8</ID>
|
|
<ID>MagicNumber:Cycle.kt$Cycle$10</ID>
|
|
<ID>MagicNumber:Dice.kt$Dice$7</ID>
|
|
<ID>MagicNumber:FeedReader.kt$FeedReader$5</ID>
|
|
<ID>MagicNumber:Ignore.kt$Ignore$8</ID>
|
|
<ID>MagicNumber:Mobibot.kt$Mobibot$10</ID>
|
|
<ID>MagicNumber:Mobibot.kt$Mobibot$1000L</ID>
|
|
<ID>MagicNumber:Mobibot.kt$Mobibot$3</ID>
|
|
<ID>MagicNumber:Mobibot.kt$Mobibot$5</ID>
|
|
<ID>MagicNumber:Mobibot.kt$Mobibot$8</ID>
|
|
<ID>MagicNumber:Modules.kt$Modules$7</ID>
|
|
<ID>MagicNumber:Recap.kt$Recap.Companion$10</ID>
|
|
<ID>MagicNumber:Tell.kt$Tell$50</ID>
|
|
<ID>MagicNumber:Tell.kt$Tell$7</ID>
|
|
<ID>MagicNumber:Twitter.kt$Twitter$1000L</ID>
|
|
<ID>MagicNumber:Twitter.kt$Twitter$60L</ID>
|
|
<ID>MagicNumber:Users.kt$Users$8</ID>
|
|
<ID>MagicNumber:Utils.kt$Utils$30</ID>
|
|
<ID>MagicNumber:Utils.kt$Utils$365</ID>
|
|
<ID>MagicNumber:Utils.kt$Utils$7</ID>
|
|
<ID>MagicNumber:View.kt$View$8</ID>
|
|
<ID>MagicNumber:Weather2.kt$Weather2.Companion$1.60934</ID>
|
|
<ID>MagicNumber:Weather2.kt$Weather2.Companion$32</ID>
|
|
<ID>MagicNumber:Weather2.kt$Weather2.Companion$5</ID>
|
|
<ID>MagicNumber:Weather2.kt$Weather2.Companion$9</ID>
|
|
<ID>MagicNumber:WorldTime.kt$WorldTime$17</ID>
|
|
<ID>MagicNumber:WorldTime.kt$WorldTime.Companion$3</ID>
|
|
<ID>MagicNumber:WorldTime.kt$WorldTime.Companion$3600</ID>
|
|
<ID>MagicNumber:WorldTime.kt$WorldTime.Companion$60</ID>
|
|
<ID>MagicNumber:WorldTime.kt$WorldTime.Companion$86.4</ID>
|
|
<ID>MemberNameEqualsClassName:Calc.kt$Calc.Companion$ @JvmStatic fun calc(query: String): String</ID>
|
|
<ID>MemberNameEqualsClassName:Lookup.kt$Lookup.Companion$ @JvmStatic @Throws(UnknownHostException::class) fun lookup(query: String): String</ID>
|
|
<ID>MemberNameEqualsClassName:WorldTime.kt$WorldTime.Companion$ @JvmStatic fun worldTime(query: String): Message</ID>
|
|
<ID>NestedBlockDepth:Addons.kt$Addons$ fun add(command: AbstractCommand, props: Properties)</ID>
|
|
<ID>NestedBlockDepth:Comment.kt$Comment$override fun commandResponse( sender: String, login: String, args: String, isOp: Boolean, isPrivate: Boolean )</ID>
|
|
<ID>NestedBlockDepth:CurrencyConverter.kt$CurrencyConverter$ override fun run(sender: String, cmd: String, args: String, isPrivate: Boolean)</ID>
|
|
<ID>NestedBlockDepth:CurrencyConverter.kt$CurrencyConverter$override fun helpResponse(sender: String, isPrivate: Boolean): Boolean</ID>
|
|
<ID>NestedBlockDepth:CurrencyConverter.kt$CurrencyConverter.Companion$ @JvmStatic fun convertCurrency(query: String): Message</ID>
|
|
<ID>NestedBlockDepth:EntriesMgr.kt$EntriesMgr$ @Throws(IOException::class, FeedException::class) fun loadEntries(file: String, channel: String, entries: MutableList<EntryLink>): String</ID>
|
|
<ID>NestedBlockDepth:EntriesMgr.kt$EntriesMgr$ fun saveEntries( bot: Mobibot, entries: List<EntryLink>, history: MutableList<String>, isDayBackup: Boolean )</ID>
|
|
<ID>NestedBlockDepth:EntryLink.kt$EntryLink$ private fun setTags(tags: List<String?>)</ID>
|
|
<ID>NestedBlockDepth:FeedReader.kt$FeedReader$ override fun run()</ID>
|
|
<ID>NestedBlockDepth:GoogleSearch.kt$GoogleSearch$ override fun run(sender: String, cmd: String, args: String, isPrivate: Boolean)</ID>
|
|
<ID>NestedBlockDepth:LinksMgr.kt$LinksMgr$override fun commandResponse( sender: String, login: String, args: String, isOp: Boolean, isPrivate: Boolean )</ID>
|
|
<ID>NestedBlockDepth:Lookup.kt$Lookup$override fun commandResponse( sender: String, cmd: String, args: String, isPrivate: Boolean )</ID>
|
|
<ID>NestedBlockDepth:Mobibot.kt$Mobibot$ fun connect()</ID>
|
|
<ID>NestedBlockDepth:StockQuote.kt$StockQuote$ override fun run(sender: String, cmd: String, args: String, isPrivate: Boolean)</ID>
|
|
<ID>NestedBlockDepth:StockQuote.kt$StockQuote.Companion$ @JvmStatic @Throws(ModuleException::class) fun getQuote(symbol: String, apiKey: String?): List<Message></ID>
|
|
<ID>NestedBlockDepth:Tell.kt$Tell$ @JvmOverloads fun send(nickname: String, isMessage: Boolean = false)</ID>
|
|
<ID>NestedBlockDepth:Tell.kt$Tell$// Delete message. private fun deleteMessage(sender: String, args: String, isOp: Boolean, isPrivate: Boolean)</ID>
|
|
<ID>NestedBlockDepth:TellMessagesMgr.kt$TellMessagesMgr$ fun save(file: String, messages: List<TellMessage?>?, logger: Logger)</ID>
|
|
<ID>NestedBlockDepth:Weather2.kt$Weather2$ override fun run(sender: String, cmd: String, args: String, isPrivate: Boolean)</ID>
|
|
<ID>NestedBlockDepth:Weather2.kt$Weather2.Companion$ @JvmStatic @Throws(ModuleException::class) fun getWeather(query: String, apiKey: String?): List<Message></ID>
|
|
<ID>NestedBlockDepth:WorldTime.kt$WorldTime$override fun commandResponse( sender: String, cmd: String, args: String, isPrivate: Boolean )</ID>
|
|
<ID>PrintStackTrace:Mobibot.kt$Mobibot$e</ID>
|
|
<ID>PrintStackTrace:Mobibot.kt$Mobibot.Companion$e</ID>
|
|
<ID>ReturnCount:Addons.kt$Addons$ fun exec(sender: String, login: String, cmd: String, args: String, isOp: Boolean, isPrivate: Boolean): Boolean</ID>
|
|
<ID>ReturnCount:Addons.kt$Addons$ fun help(sender: String, topic: String, isOp: Boolean, isPrivate: Boolean): Boolean</ID>
|
|
<ID>SwallowedException:Calc.kt$Calc.Companion$catch (e: IllegalArgumentException) { "No idea. This is the kind of math I don't get." }</ID>
|
|
<ID>SwallowedException:GoogleSearchTest.kt$GoogleSearchTest$catch (e: ModuleException) { // Avoid displaying api keys in CI logs if ("true" == System.getenv("CI") && apiKey.isNotBlank() && cseKey.isNotBlank()) { throw ModuleException(e.debugMessage, e.getSanitizedMessage(apiKey, cseKey)) } else { throw e } }</ID>
|
|
<ID>SwallowedException:StockQuoteTest.kt$StockQuoteTest$catch (e: ModuleException) { // Avoid displaying api keys in CI logs if ("true" == System.getenv("CI") && apiKey.isNotBlank()) { throw ModuleException(e.debugMessage, e.getSanitizedMessage(apiKey)) } else { throw e } }</ID>
|
|
<ID>SwallowedException:TwitterTest.kt$TwitterTest$catch (e: UnknownHostException) { "Unknown Host" }</ID>
|
|
<ID>ThrowsCount:GoogleSearch.kt$GoogleSearch.Companion$ @JvmStatic @Throws(ModuleException::class) fun searchGoogle(query: String, apiKey: String?, cseKey: String?): List<Message></ID>
|
|
<ID>ThrowsCount:StockQuote.kt$StockQuote.Companion$ @JvmStatic @Throws(ModuleException::class) fun getQuote(symbol: String, apiKey: String?): List<Message></ID>
|
|
<ID>ThrowsCount:StockQuote.kt$StockQuote.Companion$@Throws(ModuleException::class) private fun getJsonResponse(response: String, debugMessage: String): JSONObject</ID>
|
|
<ID>ThrowsCount:Weather2.kt$Weather2.Companion$ @JvmStatic @Throws(ModuleException::class) fun getWeather(query: String, apiKey: String?): List<Message></ID>
|
|
<ID>TooGenericExceptionCaught:FeedReader.kt$FeedReader$e: Exception</ID>
|
|
<ID>TooGenericExceptionCaught:Mobibot.kt$Mobibot$e: Exception</ID>
|
|
<ID>TooGenericExceptionCaught:Mobibot.kt$Mobibot$ex: Exception</ID>
|
|
<ID>TooGenericExceptionCaught:StockQuote.kt$StockQuote.Companion$e: NullPointerException</ID>
|
|
<ID>TooGenericExceptionCaught:Weather2.kt$Weather2.Companion$e: NullPointerException</ID>
|
|
<ID>TooManyFunctions:Mobibot.kt$Mobibot : PircBot</ID>
|
|
<ID>TooManyFunctions:Tell.kt$Tell : AbstractCommand</ID>
|
|
<ID>TooManyFunctions:Utils.kt$Utils$Utils</ID>
|
|
</CurrentIssues>
|
|
</SmellBaseline>
|