-
Notifications
You must be signed in to change notification settings - Fork 1
/
baseline.xml
21 lines (21 loc) · 2.08 KB
/
baseline.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?xml version="1.0" ?>
<SmellBaseline>
<Blacklist></Blacklist>
<Whitelist>
<ID>ComplexMethod:DefaultParameterResolver.kt$DefaultParameterResolver$evaluate</ID>
<ID>FunctionOnlyReturningConstant:TestCommands.kt$DoubleMain$@ShellMethod fun main()</ID>
<ID>FunctionOnlyReturningConstant:TestCommands.kt$DoubleMain$@ShellMethod(value = ["main"]) fun secondMain()</ID>
<ID>FunctionOnlyReturningConstant:TestCommands.kt$Gradle$@Suppress("UNUSED_PARAMETER") @ShellMethod fun module( @ShellOption(["", "--name"]) name: String, @ShellOption(["-g", "--group"]) group: String, @ShellOption(["-l", "--language"], defaultValue = "kotlin") language: String, @ShellOption(["-kts", "--kotlin-dsl"], arity = 0, defaultValue = "false") kts: Boolean, @ShellOption(["-wd", "--working-dir"], defaultValue = ".") workingDir: String ): String</ID>
<ID>LongMethod:DefaultParameterResolver.kt$DefaultParameterResolver$evaluate</ID>
<ID>LongParameterList:TestCommands.kt$Conversions$( @ShellOption(["-i"]) aInt: Int, @ShellOption(["-f"]) aFloat: Float, @ShellOption(["-b"]) aBool: Boolean, @ShellOption(["-d"]) aDouble: Double, @ShellOption(["-s"]) aString: String, @ShellOption(["-file"]) aFile: File )</ID>
<ID>MagicNumber:AliasesResolver.kt$AliasesResolver$100</ID>
<ID>MatchingDeclarationName:TestContext.kt$TestShellBuilder : DefaultShellBuilder</ID>
<ID>MaxLineLength:ContextExtensions.kt$container.get<Debugging>() .log { "Invoking '${target.methodTarget.name}' on '${target.shellClass.javaClass.simpleName}' with args='${target.arguments}'" }</ID>
<ID>MaximumLineLength:</ID>
<ID>MemberNameEqualsClassName:Help.kt$Help$private val MethodTarget.help get() = method.shellMethod().help</ID>
<ID>SpreadOperator:DefaultMethodTarget.kt$DefaultMethodTarget$(command, *arguments.toTypedArray())</ID>
<ID>SpreadOperator:MethodTarget.kt$MethodTarget$(command, *arguments.toTypedArray())</ID>
<ID>TooGenericExceptionCaught:Bootstrap.kt$Bootstrap$e: RuntimeException</ID>
<ID>TooManyFunctions:Reflection.kt$io.gitlab.arturbosch.ksh.defaults.Reflection.kt</ID>
</Whitelist>
</SmellBaseline>