Report timestamp: May 10, 2010 10:17:20 PM
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
UnusedVariable | 2 | 71 | [SRC]def helpText = "" |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
AbcComplexity | 2 | [MSG]The ABC score for method [run] is [69.2] |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
AbcComplexity | 2 | [MSG]The ABC score for method [run] is [72.8] |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
NestedBlockDepth | 2 | 34 | [SRC]plugin.'release'.each { [MSG]The nested block depth is 6 |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
EmptyCatchBlock | 2 | 486 | [SRC]catch (SVNException e) { |
EmptyCatchBlock | 2 | 491 | [SRC]catch (SVNException e) { |
EmptyCatchBlock | 2 | 496 | [SRC]catch (SVNException e) { |
EmptyCatchBlock | 2 | 225 | [SRC]catch (e) { |
EmptyCatchBlock | 2 | 303 | [SRC]catch (e) { |
AbcComplexity | 2 | [MSG]The ABC score for method [run] is [184.0] | |
CyclomaticComplexity | 2 | [MSG]The cyclomatic complexity for method [run] is [34] | |
NestedBlockDepth | 2 | 157 | [SRC]if (notInRepository) { [MSG]The nested block depth is 6 |
NestedBlockDepth | 2 | 160 | [SRC]else { [MSG]The nested block depth is 6 |
NestedBlockDepth | 2 | 166 | [SRC]else { [MSG]The nested block depth is 7 |
UnusedVariable | 2 | 501 | [SRC]def wcClient = new SVNWCClient((ISVNAuthenticationManage..nager, null) |
UnusedVariable | 2 | 277 | [SRC]def addClient = new SVNWCClient((ISVNAuthenticationManag..nager, null) |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
AbcComplexity | 2 | [MSG]The ABC score for method [run] is [106.0] | |
CyclomaticComplexity | 2 | [MSG]The cyclomatic complexity for method [run] is [40] |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
UnusedImport | 3 | 2 | [SRC]import grails.util.GrailsWebUtil as GWU |
UnusedImport | 3 | 4 | [SRC]import java.lang.reflect.Modifier |
UnusedImport | 3 | 5 | [SRC]import junit.framework.TestCase |
UnusedImport | 3 | 6 | [SRC]import junit.framework.TestResult |
UnusedImport | 3 | 7 | [SRC]import junit.framework.TestSuite |
UnusedImport | 3 | 8 | [SRC]import org.apache.commons.logging.LogFactory |
UnusedImport | 3 | 9 | [SRC]import org.apache.tools.ant.taskdefs.optional.junit.JUnitTest |
UnusedImport | 3 | 10 | [SRC]import org.codehaus.groovy.grails.commons.GrailsApplication |
UnusedImport | 3 | 11 | [SRC]import org.codehaus.groovy.grails.support.PersistenceCon..tInterceptor |
UnusedImport | 3 | 12 | [SRC]import org.codehaus.groovy.grails.web.servlet.GrailsAppl..onAttributes |
UnusedImport | 3 | 13 | [SRC]import org.springframework.transaction.support.TransactionCallback |
UnusedImport | 3 | 14 | [SRC]import org.springframework.transaction.support.TransactionTemplate |
UnusedImport | 3 | 15 | [SRC]import org.springframework.web.context.request.RequestContextHolder |
UnusedImport | 3 | 17 | [SRC]import grails.util.GrailsUtil |
UnusedImport | 3 | 18 | [SRC]import grails.util.GrailsNameUtils |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
AbcComplexity | 2 | [MSG]The ABC score for method [run] is [122.5] | |
CyclomaticComplexity | 2 | [MSG]The cyclomatic complexity for method [run] is [30] | |
NestedBlockDepth | 2 | 120 | [SRC]copy(tofile: "${basedir}/grails-app/conf/${template}") { [MSG]The nested block depth is 6 |
NestedBlockDepth | 2 | 121 | [SRC]fileset(file: "${grailsHome}/src/grails/grails-app/conf/..emplate}") { [MSG]The nested block depth is 7 |
NestedBlockDepth | 2 | 131 | [SRC]copy(tofile: "${basedir}/grails-app/conf/${template}") { [MSG]The nested block depth is 6 |
NestedBlockDepth | 2 | 132 | [SRC]fileset(file: "${grailsHome}/src/grails/grails-app/conf/..emplate}") { [MSG]The nested block depth is 7 |
NestedBlockDepth | 2 | 144 | [SRC]fileset(file: "${grailsHome}/src/grails/grails-app/conf/..emplate}") { [MSG]The nested block depth is 6 |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
AbcComplexity | 2 | [MSG]The ABC score for method [run] is [95.1] |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
AbcComplexity | 2 | [MSG]The ABC score for method [run] is [79.6] | |
CyclomaticComplexity | 2 | [MSG]The cyclomatic complexity for method [run] is [23] |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
AbcComplexity | 2 | [MSG]The ABC score for method [run] is [98.3] |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
AbcComplexity | 2 | [MSG]The ABC score for method [run] is [87.2] | |
NestedBlockDepth | 2 | 144 | [SRC]foo.${m.name}(${m.arguments?.collect {GrailsNameUtils.ge...join(',')}) [MSG]The nested block depth is 6 |
NestedBlockDepth | 2 | 153 | [SRC]${m.arguments?.collect { '* @'+GrailsNameUtils.getProper..it)+'@\n' }} [MSG]The nested block depth is 6 |
UnusedImport | 3 | 1 | [SRC]import grails.util.GrailsUtil |
UnusedImport | 3 | 2 | [SRC]import org.radeox.engine.context.BaseInitialRenderContext |
UnusedImport | 3 | 3 | [SRC]import grails.doc.DocEngine |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
UnusedImport | 3 | 26 | [SRC]import org.springframework.core.io.FileSystemResource |
UnusedImport | 3 | 27 | [SRC]import grails.util.GrailsNameUtils |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
AbcComplexity | 2 | [MSG]The ABC score for method [run] is [158.7] | |
CyclomaticComplexity | 2 | [MSG]The cyclomatic complexity for method [run] is [28] | |
NestedBlockDepth | 2 | 119 | [SRC]i18nPluginDirs.eachAsync { Resource srcDir -> [MSG]The nested block depth is 6 |
NestedBlockDepth | 2 | 120 | [SRC]if(srcDir.exists()) { [MSG]The nested block depth is 7 |
NestedBlockDepth | 2 | 124 | [SRC]try { [MSG]The nested block depth is 8 |
NestedBlockDepth | 2 | 133 | [SRC]catch (e) { [MSG]The nested block depth is 8 |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
UnusedImport | 3 | 18 | [SRC]import groovy.xml.MarkupBuilder |
UnusedImport | 3 | 19 | [SRC]import org.codehaus.groovy.grails.compiler.support.Grail..LoaderHolder |
UnusedImport | 3 | 20 | [SRC]import grails.util.GrailsNameUtils |
UnusedImport | 3 | 21 | [SRC]import org.apache.commons.io.FilenameUtils |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
AbcComplexity | 2 | [MSG]The ABC score for method [run] is [159.8] | |
CyclomaticComplexity | 2 | [MSG]The cyclomatic complexity for method [run] is [37] | |
NestedBlockDepth | 2 | 248 | [SRC]plugin.'release'.each { [MSG]The nested block depth is 6 |
NestedBlockDepth | 2 | 264 | [SRC]if( release.'title'.text() ) { [MSG]The nested block depth is 6 |
NestedBlockDepth | 2 | 266 | [SRC]} else { [MSG]The nested block depth is 6 |
NestedBlockDepth | 2 | 270 | [SRC]if( release.'author'.text() ) { [MSG]The nested block depth is 6 |
NestedBlockDepth | 2 | 274 | [SRC]if( release.'authorEmail'.text() ) { [MSG]The nested block depth is 6 |
NestedBlockDepth | 2 | 278 | [SRC]if( release.'documentation'.text() ) { [MSG]The nested block depth is 6 |
NestedBlockDepth | 2 | 282 | [SRC]if( release.'description'.text() ) { [MSG]The nested block depth is 6 |
UnusedVariable | 2 | 314 | [SRC]def displayFullPluginInfo = { pluginName -> |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
AbcComplexity | 2 | [MSG]The ABC score for method [run] is [125.8] | |
CyclomaticComplexity | 2 | [MSG]The cyclomatic complexity for method [run] is [30] | |
NestedBlockDepth | 2 | 208 | [SRC]if (scriptName) { [MSG]The nested block depth is 6 |
NestedBlockDepth | 2 | 253 | [SRC]if (usingSecureServer) { [MSG]The nested block depth is 6 |
NestedBlockDepth | 2 | 256 | [SRC]else { [MSG]The nested block depth is 6 |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
AbcComplexity | 2 | [MSG]The ABC score for method [run] is [141.4] | |
CyclomaticComplexity | 2 | [MSG]The cyclomatic complexity for method [run] is [24] |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
AbcComplexity | 2 | [MSG]The ABC score for method [run] is [169.8] | |
CyclomaticComplexity | 2 | [MSG]The cyclomatic complexity for method [run] is [27] | |
NestedBlockDepth | 2 | 130 | [SRC]if (phaseName in ['integration', 'functional']) { [MSG]The nested block depth is 6 |
NestedBlockDepth | 2 | 137 | [SRC]} else { [MSG]The nested block depth is 6 |
NestedBlockDepth | 2 | 157 | [SRC]if (type.name in targetTypesForPhase || TEST_TYPE_WILDCA..sForPhase) { [MSG]The nested block depth is 6 |
UnusedImport | 3 | 25 | [SRC]import org.codehaus.groovy.grails.test.report.junit.JUni..portsFactory |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
AbcComplexity | 2 | [MSG]The ABC score for method [run] is [226.7] | |
CyclomaticComplexity | 2 | [MSG]The cyclomatic complexity for method [run] is [37] | |
NestedBlockDepth | 2 | 181 | [SRC]for(PluginInfo info in pluginInfos) { [MSG]The nested block depth is 6 |
NestedBlockDepth | 2 | 182 | [SRC]fileset(dir: info.pluginDir.file.path) { [MSG]The nested block depth is 7 |
NestedBlockDepth | 2 | 279 | [SRC]if(!addedResources.contains(name)) { [MSG]The nested block depth is 6 |
NestedBlockDepth | 2 | 282 | [SRC]} else { [MSG]The nested block depth is 6 |
NestedBlockDepth | 2 | 294 | [SRC]if(supportsScope) { [MSG]The nested block depth is 6 |
NestedBlockDepth | 2 | 297 | [SRC]if(!addedPlugins.contains(name)) { [MSG]The nested block depth is 7 |
NestedBlockDepth | 2 | 328 | [SRC]fileset(dir:pluginBase.absolutePath) { [MSG]The nested block depth is 6 |
NestedBlockDepth | 2 | 334 | [SRC]if(pluginResources.exists()) { [MSG]The nested block depth is 6 |
NestedBlockDepth | 2 | 335 | [SRC]fileset(dir:pluginResources) { [MSG]The nested block depth is 7 |
NestedBlockDepth | 2 | 350 | [SRC]fileset(dir:"${pluginBase.absolutePath}/grails-app/conf") { [MSG]The nested block depth is 6 |
NestedBlockDepth | 2 | 357 | [SRC]fileset(dir:"${pluginBase.absolutePath}/src/java") { [MSG]The nested block depth is 6 |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
AbcComplexity | 2 | [MSG]The ABC score for method [run] is [60.5] |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
EmptyCatchBlock | 2 | 1305 | [SRC]catch(e) { |
AbcComplexity | 2 | [MSG]The ABC score for method [run] is [622.9] | |
CyclomaticComplexity | 2 | [MSG]The cyclomatic complexity for method [run] is [155] | |
NestedBlockDepth | 2 | 422 | [SRC]for(File dir in pluginResources.file) { [MSG]The nested block depth is 6 |
NestedBlockDepth | 2 | 423 | [SRC]if (dir.exists() && dir.isDirectory()) { [MSG]The nested block depth is 7 |
NestedBlockDepth | 2 | 525 | [SRC]method(name:m.name, artefact:m.artefact, type:m.type?.name) { [MSG]The nested block depth is 6 |
NestedBlockDepth | 2 | 527 | [SRC]if(m.arguments) { [MSG]The nested block depth is 7 |
NestedBlockDepth | 2 | 528 | [SRC]for(arg in m.arguments) { [MSG]The nested block depth is 8 |
NestedBlockDepth | 2 | 535 | [SRC]'static-method'(name:m.name, artefact:m.artefact, type:m.type?.name) { [MSG]The nested block depth is 6 |
NestedBlockDepth | 2 | 537 | [SRC]if(m.arguments) { [MSG]The nested block depth is 7 |
NestedBlockDepth | 2 | 538 | [SRC]for(arg in m.arguments) { [MSG]The nested block depth is 8 |
NestedBlockDepth | 2 | 545 | [SRC]property(name:p.name, type:p?.type?.name, artefact:p.artefact) { [MSG]The nested block depth is 6 |
NestedBlockDepth | 2 | 586 | [SRC]if(grailsApp == null) { [MSG]The nested block depth is 6 |
NestedBlockDepth | 2 | 603 | [SRC]if(plugin) { [MSG]The nested block depth is 6 |
NestedBlockDepth | 2 | 609 | [SRC]for(p in pluginManager.failedLoadPlugins) { [MSG]The nested block depth is 6 |
NestedBlockDepth | 2 | 738 | [SRC]if (remoteRevision > localRevision) { [MSG]The nested block depth is 6 |
NestedBlockDepth | 2 | 742 | [SRC]repo.getDir('', -1,null,(Collection)null).each() { entry -> [MSG]The nested block depth is 7 |
NestedBlockDepth | 2 | 744 | [SRC]if (entry.name.startsWith(PREFIX)) { [MSG]The nested block depth is 8 |
NestedBlockDepth | 2 | 755 | [SRC]line.eachMatch(/Revision (.*):/) { [MSG]The nested block depth is 6 |
NestedBlockDepth | 2 | 758 | [SRC]if (remoteRevision > localRevision) { [MSG]The nested block depth is 6 |
NestedBlockDepth | 2 | 763 | [SRC]while(line=reader.readLine()) { [MSG]The nested block depth is 7 |
NestedBlockDepth | 2 | 764 | [SRC]line.eachMatch(/<li><a href="grails-(.+?)">/) { [MSG]The nested block depth is 8 |
NestedBlockDepth | 2 | 946 | [SRC]def release = plugin.'release'.find {rel -> rel.'@versio..ginRelease } [MSG]The nested block depth is 6 |
NestedBlockDepth | 2 | 947 | [SRC]if (release) { [MSG]The nested block depth is 6 |
NestedBlockDepth | 2 | 949 | [SRC]} else { [MSG]The nested block depth is 6 |
NestedBlockDepth | 2 | 1101 | [SRC]if(installVersion == '*') { [MSG]The nested block depth is 6 |
NestedBlockDepth | 2 | 1115 | [SRC]if (!GrailsPluginUtils.isValidVersion(dependencyVersion,..pVersion)) { [MSG]The nested block depth is 6 |
NestedBlockDepth | 2 | 1118 | [SRC]else { [MSG]The nested block depth is 6 |
NestedBlockDepth | 2 | 1148 | [SRC].localFile.each { File dep -> [MSG]The nested block depth is 6 |
NestedBlockDepth | 2 | 1150 | [SRC]if(!settings.runtimeDependencies.contains(dep)) { [MSG]The nested block depth is 7 |
NestedBlockDepth | 2 | 1154 | [SRC]if(!urls.contains(url)) { [MSG]The nested block depth is 7 |
UnusedVariable | 2 | 577 | [SRC]def application |
UnusedVariable | 2 | 1435 | [SRC]def ver = repo.getFile(file , (long)-1L, props , baos) |
UnusedVariable | 2 | 202 | [SRC]ISVNAuthenticationManager aAuthManager |
UnusedImport | 3 | 36 | [SRC]import org.apache.commons.lang.ArrayUtils |
UnusedImport | 3 | 55 | [SRC]import org.codehaus.groovy.control.MultipleCompilationErrorsException |
UnusedImport | 3 | 56 | [SRC]import org.codehaus.groovy.control.CompilationFailedException |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
EmptyCatchBlock | 2 | 119 | [SRC]catch (e) { |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
AbcComplexity | 2 | [MSG]The ABC score for method [publish] is [201.6] | |
CyclomaticComplexity | 2 | [MSG]The cyclomatic complexity for method [publish] is [26] | |
NestedBlockDepth | 2 | 292 | [SRC]new File("${refDocsDir}/ref/${f.name}/Usage.html").withW..ing) {out -> [MSG]The nested block depth is 6 |
NestedBlockDepth | 2 | 306 | [SRC]new File("${refDocsDir}/ref/${f.name}/${name}.html").wit..ing) {out -> [MSG]The nested block depth is 6 |
MethodSize | 3 | 94 | [MSG]Method "publish" is 231 lines |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
UnusedImport | 3 | 7 | [SRC]import org.radeox.filter.regex.RegexFilter |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
UnusedVariable | 2 | 39 | [SRC]Writer writer = new StringBufferWriter(buffer); |
UnusedImport | 3 | 12 | [SRC]import org.radeox.filter.interwiki.InterWiki |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
EmptyCatchBlock | 2 | 127 | [SRC]catch (InterruptedException ex) { |
UnusedPrivateField | 2 | 20 | [SRC]private final Condition waiting = lock.newCondition() |
UnusedVariable | 2 | 117 | [SRC]final monitor = "monitor" |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
UnusedImport | 3 | 18 | [SRC]import org.codehaus.groovy.grails.commons.DefaultGrailsCodecClass |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
UnusedImport | 3 | 18 | [SRC]import grails.util.GrailsWebUtil |
UnusedImport | 3 | 20 | [SRC]import org.codehaus.groovy.grails.commons.DefaultGrailsApplication |
UnusedImport | 3 | 21 | [SRC]import org.codehaus.groovy.grails.commons.GrailsApplication |
UnusedImport | 3 | 23 | [SRC]import org.codehaus.groovy.grails.plugins.web.ControllersGrailsPlugin |
UnusedImport | 3 | 24 | [SRC]import org.codehaus.groovy.grails.plugins.web.mapping.Ur..GrailsPlugin |
UnusedImport | 3 | 25 | [SRC]import org.codehaus.groovy.grails.support.MockApplicationContext |
UnusedImport | 3 | 28 | [SRC]import org.codehaus.groovy.grails.web.multipart.ContentL..partResolver |
UnusedImport | 3 | 30 | [SRC]import org.springframework.web.context.WebApplicationContext |
UnusedImport | 3 | 32 | [SRC]import org.springframework.web.servlet.DispatcherServlet |
UnusedImport | 3 | 34 | [SRC]import org.springframework.web.context.ServletContextAware |
UnusedImport | 3 | 35 | [SRC]import javax.servlet.ServletContext |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
AbcComplexity | 2 | [MSG]The ABC score for method [mockController] is [89.8] | |
AbcComplexity | 2 | [MSG]The ABC score for method [addValidateMethod] is [68.7] | |
CyclomaticComplexity | 2 | [MSG]The cyclomatic complexity for method [processInstances] is [24] | |
ClassSize | 3 | 49 | [MSG]Class "MockUtils" is 1108 lines |
MethodSize | 3 | 95 | [MSG]Method "mockController" is 136 lines |
MethodSize | 3 | 803 | [MSG]Method "addValidateMethod" is 125 lines |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
UnusedImport | 3 | 24 | [SRC]import grails.util.GrailsWebUtil |
UnusedImport | 3 | 25 | [SRC]import org.springframework.mock.web.MockServletContext |
UnusedImport | 3 | 28 | [SRC]import grails.util.GrailsNameUtils |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
ImportFromSamePackage | 3 | 18 | [SRC]import grails.util.Metadata |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
EmptyCatchBlock | 2 | 112 | [SRC]catch (e) { |
NestedBlockDepth | 2 | 179 | [SRC]if(info) { [MSG]The nested block depth is 6 |
ImportFromSamePackage | 3 | 18 | [SRC]import grails.util.BuildScope |
ImportFromSamePackage | 3 | 19 | [SRC]import grails.util.BuildSettings |
ImportFromSamePackage | 3 | 20 | [SRC]import grails.util.Environment |
ImportFromSamePackage | 3 | 21 | [SRC]import grails.util.GrailsNameUtils |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
NestedBlockDepth | 2 | 114 | [SRC]if(classLoader) { [MSG]The nested block depth is 6 |
NestedBlockDepth | 2 | 120 | [SRC]if(resource.filename.endsWith('.groovy')) { [MSG]The nested block depth is 6 |
NestedBlockDepth | 2 | 124 | [SRC]else if(resource.filename.endsWith('.properties')) { [MSG]The nested block depth is 6 |
UnusedImport | 3 | 27 | [SRC]import org.apache.log4j.helpers.LogLog |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
UnusedImport | 3 | 19 | [SRC]import org.codehaus.groovy.control.CompilerConfiguration |
UnusedImport | 3 | 23 | [SRC]import org.apache.tools.ant.BuildException |
UnusedImport | 3 | 24 | [SRC]import org.codehaus.groovy.tools.javac.JavaAwareCompilationUnit |
UnusedImport | 3 | 25 | [SRC]import org.codehaus.groovy.tools.ErrorReporter |
UnusedImport | 3 | 26 | [SRC]import org.apache.tools.ant.AntClassLoader |
UnusedImport | 3 | 29 | [SRC]import org.apache.commons.lang.ArrayUtils |
UnusedImport | 3 | 30 | [SRC]import org.codehaus.groovy.grails.commons.GrailsApplication |
UnusedImport | 3 | 32 | [SRC]import grails.util.BuildSettingsHolder |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
AbcComplexity | 2 | [MSG]The ABC score for method [handleMethodMissing] is [137.8] | |
CyclomaticComplexity | 2 | [MSG]The cyclomatic complexity for method [handleMethodMissing] is [42] |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
UnusedPrivateField | 2 | 60 | [SRC]private handleMethodMissing = {String name, args -> |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
UnnecessaryTernaryExpression | 3 | 81 | [SRC]boolean shouldTimestamp = m && !m.autoTimestamp ? false : true |
UnnecessaryTernaryExpression | 3 | 149 | [SRC]boolean shouldTimestamp = m && !m.autoTimestamp ? false : true |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
UnusedImport | 3 | 18 | [SRC]import grails.util.GrailsUtil |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
AbcComplexity | 2 | [MSG]The ABC score for method [addRelationshipManagementMethods] is [84.1] | |
CyclomaticComplexity | 2 | [MSG]The cyclomatic complexity for method [addRelationshipManagementMethods] is [27] | |
NestedBlockDepth | 2 | 233 | [SRC]if(otherSide.oneToMany || otherSide.manyToMany) { [MSG]The nested block depth is 6 |
NestedBlockDepth | 2 | 235 | [SRC]if (!obj[name]) { [MSG]The nested block depth is 7 |
NestedBlockDepth | 2 | 240 | [SRC]else { [MSG]The nested block depth is 6 |
NestedBlockDepth | 2 | 249 | [SRC]if (prop.bidirectional) { [MSG]The nested block depth is 6 |
NestedBlockDepth | 2 | 250 | [SRC]if (prop.manyToMany) { [MSG]The nested block depth is 7 |
NestedBlockDepth | 2 | 254 | [SRC]else { [MSG]The nested block depth is 7 |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
UnusedImport | 3 | 20 | [SRC]import org.springframework.validation.ObjectError |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
EqualsAndHashCode | 2 | 353 | [SRC]class VersionComparator implements Comparator{ |
ImportFromSamePackage | 3 | 22 | [SRC]import org.codehaus.groovy.grails.plugins.InvalidVersionException |
ImportFromSamePackage | 3 | 23 | [SRC]import org.codehaus.groovy.grails.plugins.PluginInfo |
ImportFromSamePackage | 3 | 24 | [SRC]import org.codehaus.groovy.grails.plugins.PluginManagerHolder |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
ImportFromSamePackage | 3 | 22 | [SRC]import org.codehaus.groovy.grails.plugins.DomainClassPluginSupport |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
UnusedImport | 3 | 20 | [SRC]import org.codehaus.groovy.runtime.DefaultGroovyMethods |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
UnusedImport | 3 | 19 | [SRC]import java.security.MessageDigest |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
UnnecessaryGroovyImport | 3 | 19 | [SRC]import java.net.URLEncoder |
UnnecessaryGroovyImport | 3 | 20 | [SRC]import java.net.URLDecoder |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
UnusedVariable | 2 | 97 | [SRC]def json = (value instanceof JSON || value instanceof JS..SON(value)); |
UnusedImport | 3 | 32 | [SRC]import org.codehaus.groovy.grails.web.servlet.mvc.GrailsWebRequest |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
AbcComplexity | 2 | [MSG]The ABC score for method [doWithSpring] is [73.6] | |
CyclomaticComplexity | 2 | [MSG]The cyclomatic complexity for method [doWithSpring] is [35] | |
NestedBlockDepth | 2 | 70 | [SRC]if(encryptionCodec instanceof Class) { [MSG]The nested block depth is 6 |
NestedBlockDepth | 2 | 71 | [SRC]try { [MSG]The nested block depth is 7 |
NestedBlockDepth | 2 | 74 | [SRC]catch (Exception e) { [MSG]The nested block depth is 7 |
NestedBlockDepth | 2 | 78 | [SRC]else { [MSG]The nested block depth is 6 |
NestedBlockDepth | 2 | 80 | [SRC]def codecClass = application.codecClasses.find { it.name..odec}?.clazz [MSG]The nested block depth is 7 |
NestedBlockDepth | 2 | 81 | [SRC]try { [MSG]The nested block depth is 7 |
NestedBlockDepth | 2 | 82 | [SRC]if(!codecClass) { [MSG]The nested block depth is 8 |
NestedBlockDepth | 2 | 85 | [SRC]if(codecClass) { [MSG]The nested block depth is 8 |
NestedBlockDepth | 2 | 88 | [SRC]else { [MSG]The nested block depth is 8 |
NestedBlockDepth | 2 | 92 | [SRC]catch (ClassNotFoundException e) { [MSG]The nested block depth is 7 |
NestedBlockDepth | 2 | 95 | [SRC]catch(Exception e) { [MSG]The nested block depth is 7 |
NestedBlockDepth | 2 | 126 | [SRC]dataSourceProperties.each { entry -> [MSG]The nested block depth is 6 |
NestedBlockDepth | 2 | 127 | [SRC]if(log.debugEnabled) { [MSG]The nested block depth is 7 |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
UnusedImport | 3 | 19 | [SRC]import grails.util.GrailsUtil |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
UnusedImport | 3 | 29 | [SRC]import org.apache.log4j.net.SMTPAppender |
UnusedImport | 3 | 30 | [SRC]import grails.util.GrailsUtil |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
EmptyCatchBlock | 2 | 908 | [SRC]} catch (org.springframework.beans.TypeMismatchException e) { |
EmptyCatchBlock | 2 | 939 | [SRC]} catch (FileNotFoundException fnfe) { |
ThrowExceptionFromFinallyBlock | 2 | 894 | [SRC]throw e |
AbcComplexity | 2 | [MSG]The ABC score for method [addQueryMethods] is [211.6] | |
AbcComplexity | 2 | [MSG]The ABC score for method [addBasicPersistenceMethods] is [72.2] | |
AbcComplexity | 2 | [MSG]The ABC score for method [doWithSpring] is [127.6] | |
CyclomaticComplexity | 2 | [MSG]The cyclomatic complexity for method [doWithSpring] is [38] | |
UnusedVariable | 2 | 156 | [SRC]def cacheClass = getClass().classLoader.loadClass(cacheProvider) |
UnusedVariable | 2 | 356 | [SRC]MetaClass emc = GroovySystem.metaClassRegistry.getMetaClass(dc.clazz) |
UnusedVariable | 2 | 509 | [SRC]def Class domainClassType = dc.clazz |
UnusedVariable | 2 | 511 | [SRC]ClassLoader classLoader = application.classLoader |
DuplicateImport | 3 | 21 | [SRC]import org.apache.commons.logging.Log; |
DuplicateImport | 3 | 22 | [SRC]import org.codehaus.groovy.grails.commons.GrailsApplication; |
DuplicateImport | 3 | 23 | [SRC]import org.codehaus.groovy.grails.commons.GrailsDomainClass; |
DuplicateImport | 3 | 24 | [SRC]import org.hibernate.SessionFactory; |
DuplicateImport | 3 | 26 | [SRC]import org.springframework.context.ApplicationContext; |
DuplicateImport | 3 | 25 | [SRC]import org.hibernate.proxy.HibernateProxy; |
UnnecessaryGroovyImport | 3 | 19 | [SRC]import java.util.Map; |
UnusedImport | 3 | 34 | [SRC]import org.codehaus.groovy.grails.commons.spring.WebRunt..onfiguration |
UnusedImport | 3 | 64 | [SRC]import org.hibernate.proxy.LazyInitializer |
MethodSize | 3 | 555 | [MSG]Method "addQueryMethods" is 208 lines |
MethodSize | 3 | 780 | [MSG]Method "addBasicPersistenceMethods" is 103 lines |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
EmptyCatchBlock | 2 | 154 | [SRC]catch (Exception e) { |
NestedBlockDepth | 2 | 98 | [SRC]metaClass."${GrailsClassUtils.getGetterName(propertyName)}" = {-> [MSG]The nested block depth is 6 |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
UnusedImport | 3 | 3 | [SRC]import org.codehaus.groovy.grails.commons.GrailsClassUtils |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
AbcComplexity | 2 | [MSG]The ABC score for method [registerControllerMethods] is [81.5] | |
AbcComplexity | 2 | [MSG]The ABC score for method [doWithDynamicMethods] is [107.5] | |
NestedBlockDepth | 2 | 258 | [SRC]try { [MSG]The nested block depth is 6 |
NestedBlockDepth | 2 | 260 | [SRC]if (counter < commandObjects.size()) { [MSG]The nested block depth is 7 |
NestedBlockDepth | 2 | 261 | [SRC]if (paramType.isInstance(commandObjects[counter])) { [MSG]The nested block depth is 8 |
NestedBlockDepth | 2 | 266 | [SRC]if (!commandObject) { [MSG]The nested block depth is 7 |
NestedBlockDepth | 2 | 275 | [SRC]constrainedProperties.each {constrainedProperty -> [MSG]The nested block depth is 7 |
NestedBlockDepth | 2 | 280 | [SRC]} catch (Exception e) { [MSG]The nested block depth is 6 |
UnusedVariable | 2 | 112 | [SRC]def basedir = System.getProperty("base.dir") |
UnusedVariable | 2 | 224 | [SRC]Class controllerClass = controller.clazz |
UnusedVariable | 2 | 197 | [SRC]def registry = GroovySystem.getMetaClassRegistry() |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
AbcComplexity | 2 | [MSG]The ABC score for method [doWithSpring] is [86.4] | |
AbcComplexity | 2 | [MSG]The ABC score for method [doWithDynamicMethods] is [80.7] | |
CyclomaticComplexity | 2 | [MSG]The cyclomatic complexity for method [doWithDynamicMethods] is [21] | |
UnusedPrivateMethod | 2 | 378 | [SRC]private PluginBuildSettings createPluginSettings() { |
UnnecessaryGroovyImport | 3 | 23 | [SRC]import groovy.lang.MetaClass |
UnusedImport | 3 | 36 | [SRC]import org.springframework.core.io.FileSystemResource |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
AbcComplexity | 2 | [MSG]The ABC score for method [doWithDynamicMethods] is [102.7] | |
AbcComplexity | 2 | [MSG]The ABC score for class [org.codehaus.groovy.grails.plugins.web.ServletsGrailsPlugin] is [102.7] |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
ImportFromSamePackage | 3 | 17 | [SRC]import org.codehaus.groovy.grails.plugins.web.filters.Fi..efactHandler |
ImportFromSamePackage | 3 | 18 | [SRC]import org.codehaus.groovy.grails.plugins.web.filters.Fi..ndlerAdapter |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
NestedBlockDepth | 2 | 138 | [SRC]if(formats.containsKey(mime.extension)) { [MSG]The nested block depth is 6 |
UnusedVariable | 2 | 122 | [SRC]def mimeTypes = req.mimeTypes |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
EmptyCatchBlock | 2 | 696 | [SRC]} catch (Exception) { |
AbcComplexity | 2 | [MSG]The ABC score for method [datePicker] is [97.2] | |
AbcComplexity | 2 | [MSG]The ABC score for method [select] is [65.8] | |
CyclomaticComplexity | 2 | [MSG]The cyclomatic complexity for method [datePicker] is [39] | |
CyclomaticComplexity | 2 | [MSG]The cyclomatic complexity for method [select] is [23] |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
AbcComplexity | 2 | [MSG]The ABC score for method [formatNumber] is [69.0] | |
CyclomaticComplexity | 2 | [MSG]The cyclomatic complexity for method [formatNumber] is [26] | |
UnnecessaryGroovyImport | 3 | 23 | [SRC]import java.util.Currency |
UnnecessaryGroovyImport | 3 | 24 | [SRC]import java.util.Locale; |
UnnecessaryGroovyImport | 3 | 25 | [SRC]import java.util.TimeZone; |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
UnusedImport | 3 | 17 | [SRC]import org.springframework.validation.Errors; |
UnusedImport | 3 | 18 | [SRC]import org.springframework.context.NoSuchMessageException; |
UnusedImport | 3 | 19 | [SRC]import org.springframework.web.servlet.support.RequestCo..tils as RCU; |
UnusedImport | 3 | 20 | [SRC]import org.codehaus.groovy.grails.commons.GrailsClassUtils as GCU |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
AbcComplexity | 2 | [MSG]The ABC score for method [paginate] is [84.3] | |
CyclomaticComplexity | 2 | [MSG]The cyclomatic complexity for method [paginate] is [28] | |
CyclomaticComplexity | 2 | [MSG]The cyclomatic complexity for method [render] is [23] | |
UnusedImport | 3 | 20 | [SRC]import com.opensymphony.module.sitemesh.RequestConstants |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
UnusedVariable | 2 | 137 | [SRC]def content=captureTagContent(out, 'meta', attrs, body) |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
UnusedImport | 3 | 30 | [SRC]import org.springframework.context.MessageSourceAware |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
UnusedImport | 3 | 24 | [SRC]import org.apache.ivy.core.module.descriptor.ModuleDescriptor |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
CyclomaticComplexity | 2 | [MSG]The cyclomatic complexity for method [parseDependenciesInternal] is [21] | |
NestedBlockDepth | 2 | 940 | [SRC]if(!pluginExcludes[plugin]) { [MSG]The nested block depth is 6 |
ImportFromSamePackage | 3 | 33 | [SRC]import org.codehaus.groovy.grails.resolve.DependencyDefinitionParser |
ImportFromSamePackage | 3 | 34 | [SRC]import org.codehaus.groovy.grails.resolve.DependencyResolver |
ImportFromSamePackage | 3 | 35 | [SRC]import org.codehaus.groovy.grails.resolve.EnhancedDefaul..cyDescriptor |
MethodSize | 3 | 219 | [MSG]Method "getDefaultDependencies" is 128 lines |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
UnusedPrivateMethod | 2 | 137 | [SRC]private generateListView(domainClass, destDir) { |
UnusedPrivateMethod | 2 | 147 | [SRC]private generateShowView(domainClass, destDir) { |
UnusedPrivateMethod | 2 | 157 | [SRC]private generateEditView(domainClass, destDir) { |
UnusedPrivateMethod | 2 | 167 | [SRC]private generateCreateView(domainClass, destDir) { |
ImportFromSamePackage | 3 | 25 | [SRC]import org.codehaus.groovy.grails.scaffolding.DomainClas..tyComparator |
ImportFromSamePackage | 3 | 26 | [SRC]import org.codehaus.groovy.grails.scaffolding.GrailsTemplateGenerator |
UnusedImport | 3 | 25 | [SRC]import org.codehaus.groovy.grails.scaffolding.DomainClas..tyComparator |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
UnusedImport | 3 | 20 | [SRC]import org.apache.commons.logging.Log |
UnusedImport | 3 | 21 | [SRC]import org.apache.commons.logging.LogFactory |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
UnusedImport | 3 | 25 | [SRC]import java.util.regex.Matcher |
UnusedImport | 3 | 26 | [SRC]import java.util.regex.Pattern |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
UnusedImport | 3 | 19 | [SRC]import grails.util.GrailsNameUtils |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
UnusedImport | 3 | 20 | [SRC]import org.springframework.web.context.request.RequestContextHolder |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
ImportFromSamePackage | 3 | 3 | [SRC]import org.codehaus.groovy.grails.web.converters.configu..nInitializer |
ImportFromSamePackage | 3 | 4 | [SRC]import org.codehaus.groovy.grails.web.converters.configu..rationHolder |
ImportFromSamePackage | 3 | 6 | [SRC]import org.codehaus.groovy.grails.web.converters.configu..onfiguration |
ImportFromSamePackage | 3 | 7 | [SRC]import org.codehaus.groovy.grails.web.converters.configu..onfiguration |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
UnusedImport | 3 | 7 | [SRC]import org.codehaus.groovy.grails.web.servlet.GrailsAppl..onAttributes |
UnusedImport | 3 | 11 | [SRC]import org.springframework.web.context.request.RequestContextHolder |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
UnusedImport | 3 | 17 | [SRC]import org.codehaus.groovy.grails.web.servlet.mvc.GrailsWebRequest |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
UnusedVariable | 2 | 26 | [SRC]def id = args.id |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
UnusedImport | 3 | 25 | [SRC]import org.codehaus.groovy.grails.web.binding.DataBindingUtils |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
UnusedVariable | 2 | 39 | [SRC]def qualifiedMimes = [] |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
AbcComplexity | 2 | [MSG]The ABC score for method [compileGSP] is [64.8] |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
ImportFromSamePackage | 3 | 25 | [SRC]import org.codehaus.groovy.grails.web.pages.GroovyPageCompiler |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
CyclomaticComplexity | 2 | [MSG]The cyclomatic complexity for method [doTag] is [23] | |
NestedBlockDepth | 2 | 112 | [SRC]while(state != IterationTag.SKIP_BODY) { [MSG]The nested block depth is 6 |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
DuplicateImport | 3 | 17 | [SRC]import javax.servlet.jsp.PageContext as PC |
DuplicateImport | 3 | 22 | [SRC]import org.codehaus.groovy.grails.web.servlet.GrailsAppl..butes as GAA |
UnusedImport | 3 | 17 | [SRC]import javax.servlet.jsp.PageContext as PC |
UnusedImport | 3 | 22 | [SRC]import org.codehaus.groovy.grails.web.servlet.GrailsAppl..butes as GAA |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
NestedBlockDepth | 2 | 169 | [SRC]if (token == XmlPullParser.START_TAG && "uri".equals(pul..etName())) { [MSG]The nested block depth is 6 |
NestedBlockDepth | 2 | 179 | [SRC]if (tagLibURI == uri) { [MSG]The nested block depth is 6 |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
UnusedImport | 3 | 20 | [SRC]import org.springframework.beans.BeanWrapperImpl |
UnusedImport | 3 | 25 | [SRC]import org.codehaus.groovy.grails.web.taglib.GroovyPageTagBody |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
UnusedPrivateMethod | 2 | 266 | [SRC]private Byte 'byte'(String name) { getByte(name) } |
UnusedPrivateMethod | 2 | 272 | [SRC]private Integer 'int'(String name) { getInt(name) } |
UnusedPrivateMethod | 2 | 279 | [SRC]private Long 'long'(String name) { getLong(name) } |
UnusedPrivateMethod | 2 | 286 | [SRC]private Short 'short'(String name) { getShort(name) } |
UnusedPrivateMethod | 2 | 293 | [SRC]private Double 'double'(String name) { getDouble(name) } |
UnusedPrivateMethod | 2 | 300 | [SRC]private Float 'float'(String name) { getFloat(name) } |
UnusedPrivateMethod | 2 | 307 | [SRC]private Boolean 'boolean'(String name) { |
UnnecessaryGroovyImport | 3 | 18 | [SRC]import groovy.lang.GString; |
UnnecessaryGroovyImport | 3 | 29 | [SRC]import java.io.UnsupportedEncodingException; |
UnusedImport | 3 | 18 | [SRC]import groovy.lang.GString; |
UnusedImport | 3 | 23 | [SRC]import org.codehaus.groovy.grails.web.binding.Structured..pertyEditor; |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
UnusedPrivateMethod | 2 | 49 | [SRC]private Byte 'byte'(String name) { getByte(name) } |
UnusedPrivateMethod | 2 | 55 | [SRC]private Integer 'int'(String name) { getInt(name) } |
UnusedPrivateMethod | 2 | 62 | [SRC]private Long 'long'(String name) { getLong(name) } |
UnusedPrivateMethod | 2 | 69 | [SRC]private Short 'short'(String name) { getShort(name) } |
UnusedPrivateMethod | 2 | 76 | [SRC]private Double 'double'(String name) { getDouble(name) } |
UnusedPrivateMethod | 2 | 83 | [SRC]private Float 'float'(String name) { getFloat(name) } |
UnusedPrivateMethod | 2 | 90 | [SRC]private Boolean 'boolean'(String name) { |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
UnusedImport | 3 | 19 | [SRC]import org.codehaus.groovy.grails.commons.TagLibArtefactHandler |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
CloneableWithoutClone | 2 | 25 | [SRC]class TypeConvertingMap implements Map, Cloneable{ |
EmptyCatchBlock | 2 | 54 | [SRC]catch (NumberFormatException e) { |
EmptyCatchBlock | 2 | 74 | [SRC]catch (NumberFormatException e) { |
EmptyCatchBlock | 2 | 93 | [SRC]catch (NumberFormatException e) { |
EmptyCatchBlock | 2 | 114 | [SRC]catch (NumberFormatException e) { |
EmptyCatchBlock | 2 | 136 | [SRC]catch (NumberFormatException e) { |
EmptyCatchBlock | 2 | 157 | [SRC]catch (NumberFormatException e) { |
EmptyCatchBlock | 2 | 178 | [SRC]catch (e) { |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
UnusedImport | 3 | 20 | [SRC]import org.codehaus.groovy.grails.webflow.engine.builder..FlowRegistry |
UnusedImport | 3 | 25 | [SRC]import org.codehaus.groovy.grails.webflow.persistence.Fl..ssionContext |
UnusedImport | 3 | 26 | [SRC]import org.codehaus.groovy.grails.webflow.persistence.Se..tionListener |
UnusedImport | 3 | 40 | [SRC]import org.springframework.webflow.execution.factory.Sta..stenerLoader |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
UnusedImport | 3 | 28 | [SRC]import org.springframework.webflow.execution.repository...nRepository; |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
UnusedVariable | 2 | 39 | [SRC]def attrs = context?.attributes ? context.attributes : [:] |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
EmptyCatchBlock | 2 | 167 | [SRC]catch(MissingPropertyException) { |
UnusedPrivateField | 2 | 52 | [SRC]private static final String RESULT = "result"; |
UnnecessaryGroovyImport | 3 | 17 | [SRC]import groovy.lang.Closure; |
UnnecessaryGroovyImport | 3 | 18 | [SRC]import groovy.lang.GroovyObject; |
UnnecessaryGroovyImport | 3 | 19 | [SRC]import groovy.lang.MetaClass; |
UnnecessaryGroovyImport | 3 | 20 | [SRC]import groovy.lang.MetaMethod; |
UnnecessaryGroovyImport | 3 | 35 | [SRC]import java.util.Map |
UnusedImport | 3 | 23 | [SRC]import org.codehaus.groovy.runtime.InvokerHelper; |
UnusedImport | 3 | 31 | [SRC]import org.codehaus.groovy.grails.validation.metaclass.C..amicProperty |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
EmptyCatchBlock | 2 | 259 | [SRC]} catch (MissingPropertyException mpe) { |
EmptyCatchBlock | 2 | 268 | [SRC]} catch (MissingPropertyException mpe) { |
AbcComplexity | 2 | [MSG]The ABC score for method [invokeMethod] is [95.3] | |
NestedBlockDepth | 2 | 266 | [SRC]try { [MSG]The nested block depth is 6 |
NestedBlockDepth | 2 | 268 | [SRC]} catch (MissingPropertyException mpe) { [MSG]The nested block depth is 6 |
MethodSize | 3 | 112 | [MSG]Method "invokeMethod" is 123 lines |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
UnusedVariable | 2 | 646 | [SRC]def dataSource = ctx.getBean("dataSource") |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
UnusedImport | 3 | 21 | [SRC]import junit.framework.AssertionFailedError |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
EqualsAndHashCode | 2 | 361 | [SRC]class MockUrlMapping implements UrlMapping { |
UnusedImport | 3 | 13 | [SRC]import org.codehaus.groovy.grails.web.mapping.DefaultUrlMappingsHolder |
UnusedImport | 3 | 16 | [SRC]import org.codehaus.groovy.grails.web.mapping.RegexUrlMapping |
UnusedImport | 3 | 19 | [SRC]import org.codehaus.groovy.grails.web.mapping.AbstractUrlMapping |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
EqualsAndHashCode | 2 | 1456 | [SRC]class TestDomain { |
EqualsAndHashCode | 2 | 1519 | [SRC]class TestDomainWithUUID { |
JUnitSetUpCallsSuper | 2 | 33 | [SRC]void setUp() { |
JUnitTearDownCallsSuper | 2 | 43 | [SRC]void tearDown() { |
AbcComplexity | 2 | [MSG]The ABC score for method [testDynamicFinders] is [75.2] | |
AbcComplexity | 2 | [MSG]The ABC score for method [testConstraintValidation] is [96.4] | |
ClassSize | 3 | 29 | [MSG]Class "MockUtilsTests" is 1344 lines |
MethodSize | 3 | 117 | [MSG]Method "testDynamicFinders" is 105 lines |
MethodSize | 3 | 625 | [MSG]Method "testConstraintValidation" is 109 lines |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitTearDownCallsSuper | 2 | 9 | [SRC]protected void tearDown() { |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitSetUpCallsSuper | 2 | 14 | [SRC]void setUp() { |
JUnitTearDownCallsSuper | 2 | 27 | [SRC]void tearDown() { |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitTearDownCallsSuper | 2 | 11 | [SRC]protected void tearDown() { |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitPublicNonTestMethod | 2 | 14 | [SRC]PluginBuildSettings createPluginBuildSettings() { |
UnusedVariable | 2 | 22 | [SRC]def sourceFiles = pluginSettings.getPluginSourceFiles() |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitSetUpCallsSuper | 2 | 42 | [SRC]void setUp() { |
JUnitTearDownCallsSuper | 2 | 51 | [SRC]void tearDown() { |
AbcComplexity | 2 | [MSG]The ABC score for method [gantRun] is [72.9] |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitPublicNonTestMethod | 2 | 27 | [SRC]void tryController(String className) { |
JUnitPublicNonTestMethod | 2 | 31 | [SRC]void tryController(String scriptArg, String className) { |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitPublicNonTestMethod | 2 | 14 | [SRC]void tryDomain(String className) { |
JUnitPublicNonTestMethod | 2 | 18 | [SRC]void tryDomain(String scriptArg, String className) { |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitPublicNonTestMethod | 2 | 14 | [SRC]void tryIntegrationTest(String className) { |
JUnitPublicNonTestMethod | 2 | 18 | [SRC]void tryIntegrationTest(String scriptArg, String className) { |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitPublicNonTestMethod | 2 | 13 | [SRC]void tryScript(String className) { |
JUnitPublicNonTestMethod | 2 | 17 | [SRC]void tryScript(String scriptArg, String className) { |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitPublicNonTestMethod | 2 | 14 | [SRC]void tryService(String className) { |
JUnitPublicNonTestMethod | 2 | 18 | [SRC]void tryService(String scriptArg, String className) { |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitPublicNonTestMethod | 2 | 14 | [SRC]void tryTagLib(String className) { |
JUnitPublicNonTestMethod | 2 | 18 | [SRC]void tryTagLib(String scriptArg, String className) { |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitPublicNonTestMethod | 2 | 14 | [SRC]void tryUnitTest(String className) { |
JUnitPublicNonTestMethod | 2 | 18 | [SRC]void tryUnitTest(String scriptArg, String className) { |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitPublicNonTestMethod | 2 | 41 | [SRC]void tryGenerate(String className) { |
JUnitPublicNonTestMethod | 2 | 45 | [SRC]void tryGenerate(String scriptArg, String className) { |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
AbcComplexity | 2 | [MSG]The ABC score for method [testExecutionWithCustomSettings] is [60.9] |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
AbcComplexity | 2 | [MSG]The ABC score for method [testAddGrailsClass] is [76.4] | |
AbcComplexity | 2 | [MSG]The ABC score for class [org.codehaus.groovy.grails.commons.DefaultArtefactInfoTests] is [76.4] |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitSetUpCallsSuper | 2 | 11 | [SRC]protected void setUp() { |
JUnitTearDownCallsSuper | 2 | 15 | [SRC]protected void tearDown() { |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitSetUpCallsSuper | 2 | 10 | [SRC]void setUp() { |
JUnitTearDownCallsSuper | 2 | 14 | [SRC]void tearDown() { |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitSetUpCallsSuper | 2 | 14 | [SRC]void setUp() throws Exception { |
UnnecessaryGroovyImport | 3 | 3 | [SRC]import groovy.util.GroovyTestCase; |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
EmptyCatchBlock | 2 | 352 | [SRC]catch(InvalidPropertyException ipe) { |
JUnitSetUpCallsSuper | 2 | 12 | [SRC]void setUp() { |
JUnitTearDownCallsSuper | 2 | 16 | [SRC]void tearDown() { |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
UnusedVariable | 2 | 20 | [SRC]def xml = new XmlSlurper().parseText(text) |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
EmptyCatchBlock | 2 | 147 | [SRC]catch(PluginException pe) { |
UnnecessaryGroovyImport | 3 | 3 | [SRC]import java.io.IOException; |
UnusedImport | 3 | 3 | [SRC]import java.io.IOException; |
UnusedImport | 3 | 9 | [SRC]import org.springframework.context.support.GenericApplicationContext; |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
UnusedImport | 3 | 18 | [SRC]import org.springframework.beans.BeanUtils |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
UnusedImport | 3 | 3 | [SRC]import org.codehaus.groovy.control.CompilerConfiguration |
UnusedImport | 3 | 4 | [SRC]import org.codehaus.groovy.grails.compiler.support.Grail..sourceLoader |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitSetUpCallsSuper | 2 | 19 | [SRC]protected void setUp() { |
JUnitTearDownCallsSuper | 2 | 23 | [SRC]protected void tearDown() { |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
AbcComplexity | 2 | [MSG]The ABC score for method [testGeneratedMetadata] is [74.9] | |
AbcComplexity | 2 | [MSG]The ABC score for class [org.codehaus.groovy.grails.documentation.MetadataGeneratingExpandoMetaClassTests] is [74.9] | |
UnusedImport | 3 | 3 | [SRC]import org.codehaus.groovy.grails.commons.ControllerArtefactHandler |
UnusedImport | 3 | 4 | [SRC]import groovy.xml.StreamingMarkupBuilder |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
AbcComplexity | 2 | [MSG]The ABC score for method [setUp] is [65.7] |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitPublicNonTestMethod | 2 | 18 | [SRC]void onSetUp() { |
JUnitPublicNonTestMethod | 2 | 30 | [SRC]void onTearDown() { |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitPublicNonTestMethod | 2 | 8 | [SRC]void onSetUp() { |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitSetUpCallsSuper | 2 | 33 | [SRC]protected void setUp() { |
AbcComplexity | 2 | [MSG]The ABC score for method [testIndexBackrefMapping] is [62.1] | |
AbcComplexity | 2 | [MSG]The ABC score for method [testCollectionBackrefMapping] is [89.1] | |
AbcComplexity | 2 | [MSG]The ABC score for method [testListMapping] is [147.2] | |
AbcComplexity | 2 | [MSG]The ABC score for class [org.codehaus.groovy.grails.orm.hibernate.BidirectionalListMappingTests] is [60.1] | |
UnusedVariable | 2 | 69 | [SRC]PersistentClass faqSection = config.getClassMapping("TestFaqSection") |
UnusedVariable | 2 | 107 | [SRC]PersistentClass faqSection = config.getClassMapping("TestFaqSection") |
UnusedVariable | 2 | 162 | [SRC]PersistentClass faqSection = config.getClassMapping("TestFaqSection") |
UnusedVariable | 2 | 184 | [SRC]PersistentClass faqSection = config.getClassMapping("TestFaqSection") |
UnusedVariable | 2 | 204 | [SRC]PersistentClass faqSection = config.getClassMapping("TestFaqSection") |
UnusedVariable | 2 | 300 | [SRC]SimpleValue indexColumnValue = indexColumn.getValue() |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
UnusedImport | 3 | 3 | [SRC]import org.hibernate.Session |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
UnusedVariable | 2 | 54 | [SRC]def configItemClass = ga.getDomainClass("ConfigurationItem").clazz |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
UnusedImport | 3 | 3 | [SRC]import org.codehaus.groovy.grails.commons.test.AbstractGrailsMockTests |
UnusedImport | 3 | 4 | [SRC]import org.codehaus.groovy.grails.commons.DefaultGrailsApplication |
UnusedImport | 3 | 5 | [SRC]import org.codehaus.groovy.grails.exceptions.GrailsDomainException |
UnusedImport | 3 | 6 | [SRC]import org.codehaus.groovy.grails.commons.GrailsDomainClass |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitPublicNonTestMethod | 2 | 65 | [SRC]void onSetUp() { |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitPublicNonTestMethod | 2 | 47 | [SRC]void onSetUp() { |
UnusedImport | 3 | 13 | [SRC]import org.codehaus.groovy.grails.commons.GrailsDomainClass |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitPublicNonTestMethod | 2 | 99 | [SRC]void onSetUp() { |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
UnusedVariable | 2 | 34 | [SRC]def face = faceClass.newInstance(nose:noseClass.newInstance()).save() |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitPublicNonTestMethod | 2 | 22 | [SRC]void onSetUp() { |
JUnitPublicNonTestMethod | 2 | 36 | [SRC]void onTearDown() { |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitPublicNonTestMethod | 2 | 36 | [SRC]void onTearDown() {} |
JUnitPublicNonTestMethod | 2 | 38 | [SRC]void onSetUp() { |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitPublicNonTestMethod | 2 | 37 | [SRC]void onSetUp() { |
JUnitPublicNonTestMethod | 2 | 49 | [SRC]void onTearDown() { |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitPublicNonTestMethod | 2 | 38 | [SRC]void onTearDown() {} |
JUnitPublicNonTestMethod | 2 | 40 | [SRC]void onSetUp() { |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitPublicNonTestMethod | 2 | 16 | [SRC]void onSetUp() { |
JUnitPublicNonTestMethod | 2 | 40 | [SRC]void onTearDown() { |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitPublicNonTestMethod | 2 | 23 | [SRC]void onSetUp() { |
JUnitPublicNonTestMethod | 2 | 44 | [SRC]void onTearDown() { |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitPublicNonTestMethod | 2 | 72 | [SRC]void onSetUp() { |
JUnitPublicNonTestMethod | 2 | 112 | [SRC]void onTearDown() { |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
UnusedImport | 3 | 3 | [SRC]import org.codehaus.groovy.grails.validation.ConstrainedProperty |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitPublicNonTestMethod | 2 | 34 | [SRC]void onSetUp() { |
JUnitPublicNonTestMethod | 2 | 48 | [SRC]void onTearDown() { |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitPublicNonTestMethod | 2 | 35 | [SRC]void onSetUp() { |
JUnitPublicNonTestMethod | 2 | 72 | [SRC]void onTearDown() { |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitPublicNonTestMethod | 2 | 26 | [SRC]void onSetUp() { |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitPublicNonTestMethod | 2 | 22 | [SRC]void onSetUp() { |
JUnitPublicNonTestMethod | 2 | 34 | [SRC]void onTearDown() { |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
UnusedVariable | 2 | 38 | [SRC]def Plant = ga.getDomainClass("Plant").clazz |
UnusedVariable | 2 | 77 | [SRC]def Plant = ga.getDomainClass("Plant").clazz |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
UnusedVariable | 2 | 38 | [SRC]def twoClass = ga.getDomainClass("CustomCascadeMappingTwo").clazz |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitPublicNonTestMethod | 2 | 10 | [SRC]void onSetUp() { |
JUnitPublicNonTestMethod | 2 | 37 | [SRC]void onTearDown() { |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitPublicNonTestMethod | 2 | 88 | [SRC]void onSetUp() { |
JUnitPublicNonTestMethod | 2 | 112 | [SRC]void onTearDown() { |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
UnusedVariable | 2 | 33 | [SRC]def Book = ga.getDomainClass("DefaultSortOrderForCollect..Book").clazz |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
UnusedVariable | 2 | 30 | [SRC]def bookClass = ga.getDomainClass("DeleteBook").clazz |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitPublicNonTestMethod | 2 | 31 | [SRC]void onSetUp() { |
JUnitPublicNonTestMethod | 2 | 43 | [SRC]void onTearDown() { |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
UnusedVariable | 2 | 47 | [SRC]def Child2 = ga.getDomainClass("Child2").clazz |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitPublicNonTestMethod | 2 | 180 | [SRC]void onSetUp() { |
UnusedVariable | 2 | 157 | [SRC]def success = false |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitPublicNonTestMethod | 2 | 168 | [SRC]void onSetUp() { |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitPublicNonTestMethod | 2 | 52 | [SRC]void onSetUp() { |
JUnitPublicNonTestMethod | 2 | 73 | [SRC]void onTearDown() { |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
UnusedVariable | 2 | 34 | [SRC]def tagClass = ga.getDomainClass("EagerFindByQueryTag").clazz |
UnusedVariable | 2 | 52 | [SRC]def tagClass = ga.getDomainClass("EagerFindByQueryTag").clazz |
UnusedVariable | 2 | 70 | [SRC]def tagClass = ga.getDomainClass("EagerFindByQueryTag").clazz |
UnusedVariable | 2 | 87 | [SRC]def tagClass = ga.getDomainClass("EagerFindByQueryTag").clazz |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitPublicNonTestMethod | 2 | 9 | [SRC]void onSetUp() { |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitPublicNonTestMethod | 2 | 28 | [SRC]def init() { |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
ImportFromSamePackage | 3 | 3 | [SRC]import org.codehaus.groovy.grails.orm.hibernate.Abstract..bernateTests |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitPublicNonTestMethod | 2 | 7 | [SRC]void onSetUp() { |
UnnecessaryGroovyImport | 3 | 3 | [SRC]import groovy.util.GroovyTestCase; |
UnusedImport | 3 | 3 | [SRC]import groovy.util.GroovyTestCase; |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitPublicNonTestMethod | 2 | 45 | [SRC]List retrieveListOfNames() { |
UnusedImport | 3 | 4 | [SRC]import org.codehaus.groovy.runtime.InvokerInvocationException |
ClassSize | 3 | 14 | [MSG]Class "HibernateCriteriaBuilderTests" is 1445 lines |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitPublicNonTestMethod | 2 | 28 | [SRC]void onSetUp() { |
JUnitPublicNonTestMethod | 2 | 57 | [SRC]void onTearDown() { |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
UnusedVariable | 2 | 38 | [SRC]Class AttributeA = ga.getDomainClass("AttributeA").clazz |
UnusedVariable | 2 | 72 | [SRC]Class A = ga.getDomainClass("A").clazz |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitPublicNonTestMethod | 2 | 25 | [SRC]void onSetUp() { |
JUnitPublicNonTestMethod | 2 | 42 | [SRC]void onTearDown() { |
UnusedVariable | 2 | 9 | [SRC]def authorClass = ga.getDomainClass("Author") |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
UnusedVariable | 2 | 44 | [SRC]def Category = ga.getDomainClass("Category").clazz |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitPublicNonTestMethod | 2 | 61 | [SRC]void onSetUp() { |
JUnitPublicNonTestMethod | 2 | 81 | [SRC]void onTearDown() { |
UnusedVariable | 2 | 48 | [SRC]def ids = [a1.id, a2.id, a2.id] |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
EmptyCatchBlock | 2 | 28 | [SRC]catch(LazyInitializationException lie) { |
JUnitPublicNonTestMethod | 2 | 36 | [SRC]void onSetUp() { |
JUnitPublicNonTestMethod | 2 | 55 | [SRC]void onTearDown() { |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
UnusedImport | 3 | 9 | [SRC]import org.codehaus.groovy.grails.commons.test.AbstractGrailsMockTests |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitPublicNonTestMethod | 2 | 119 | [SRC]void onSetUp() { |
JUnitPublicNonTestMethod | 2 | 163 | [SRC]void onTearDown() { |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitPublicNonTestMethod | 2 | 30 | [SRC]void onSetUp() { |
JUnitPublicNonTestMethod | 2 | 48 | [SRC]void onTearDown() { |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitPublicNonTestMethod | 2 | 105 | [SRC]void onSetUp() { |
JUnitPublicNonTestMethod | 2 | 133 | [SRC]void onTearDown() { |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitPublicNonTestMethod | 2 | 27 | [SRC]void onSetUp() { |
JUnitPublicNonTestMethod | 2 | 52 | [SRC]void onTearDown() { |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitPublicNonTestMethod | 2 | 43 | [SRC]void onSetUp() { |
JUnitPublicNonTestMethod | 2 | 68 | [SRC]void onTearDown() { |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
UnusedImport | 3 | 4 | [SRC]import org.codehaus.groovy.grails.commons.GrailsDomainClassProperty |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
UnusedVariable | 2 | 232 | [SRC]def personClass = ga.getDomainClass("MappedPerson").clazz |
UnusedImport | 3 | 10 | [SRC]import org.hibernate.SessionFactory |
MethodSize | 3 | 322 | [MSG]Method "onSetUp" is 143 lines |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
UnusedImport | 3 | 9 | [SRC]import org.springframework.util.Log4jConfigurer |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
UnusedVariable | 2 | 39 | [SRC]def orgB = Organization.newInstance(name:'Org B', descri..org1).save() |
UnusedVariable | 2 | 40 | [SRC]def orgaa = Organization.newInstance(name:'Org aa', desc..orgA).save() |
UnusedVariable | 2 | 44 | [SRC]def xorgB = ExtOrganization.newInstance(name:'ExtOrg B',..org1).save() |
UnusedVariable | 2 | 45 | [SRC]def xorgaa = ExtOrganization.newInstance(name:'ExtOrg aa..orgA).save() |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
EmptyCatchBlock | 2 | 161 | [SRC]catch(Exception e) { |
EmptyCatchBlock | 2 | 260 | [SRC]catch(Exception e) { |
EmptyCatchBlock | 2 | 369 | [SRC]} catch(MissingMethodException iae) { |
EmptyCatchBlock | 2 | 372 | [SRC]catch(InvokerInvocationException iie) { |
EmptyCatchBlock | 2 | 382 | [SRC]catch(MissingMethodException mme) { |
EmptyCatchBlock | 2 | 385 | [SRC]catch(InvokerInvocationException iie) { |
EmptyCatchBlock | 2 | 722 | [SRC]catch(Exception e) { |
EmptyCatchBlock | 2 | 810 | [SRC]catch(Exception e) { |
EmptyCatchBlock | 2 | 819 | [SRC]catch(Exception e) { |
EmptyCatchBlock | 2 | 828 | [SRC]catch(Exception e) { |
AbcComplexity | 2 | [MSG]The ABC score for method [testFindPersistentMethods] is [80.5] | |
AbcComplexity | 2 | [MSG]The ABC score for method [testFindByPersistentMethods] is [100.2] | |
AbcComplexity | 2 | [MSG]The ABC score for method [testGetAllPersistentMethod] is [89.1] | |
AbcComplexity | 2 | [MSG]The ABC score for method [testFindAllPersistentMethod] is [219.7] | |
AbcComplexity | 2 | [MSG]The ABC score for method [testExecuteQueryMethod] is [105.1] | |
UnusedVariable | 2 | 803 | [SRC]MetaClass domain = obj.getMetaClass(); |
MethodSize | 3 | 145 | [MSG]Method "testFindPersistentMethods" is 119 lines |
MethodSize | 3 | 265 | [MSG]Method "testFindByPersistentMethods" is 125 lines |
MethodSize | 3 | 504 | [MSG]Method "testFindAllPersistentMethod" is 222 lines |
MethodSize | 3 | 788 | [MSG]Method "testExecuteQueryMethod" is 114 lines |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitPublicNonTestMethod | 2 | 49 | [SRC]void onSetUp() { |
JUnitPublicNonTestMethod | 2 | 61 | [SRC]void onTearDown() { |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitPublicNonTestMethod | 2 | 271 | [SRC]void onSetUp() { |
JUnitPublicNonTestMethod | 2 | 323 | [SRC]void onTearDown() { |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitPublicNonTestMethod | 2 | 15 | [SRC]void onSetUp() { |
JUnitPublicNonTestMethod | 2 | 35 | [SRC]void onTearDown() { |
UnusedVariable | 2 | 10 | [SRC]def bookClass = ga.getDomainClass("Book") |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
UnusedImport | 3 | 4 | [SRC]import org.codehaus.groovy.grails.web.servlet.mvc.GrailsWebRequest |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
UnusedVariable | 2 | 37 | [SRC]def sub1Class = ga.getDomainClass("TablePerHierarchSub1").clazz |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
AbcComplexity | 2 | [MSG]The ABC score for method [testAssociation] is [72.0] | |
UnusedImport | 3 | 9 | [SRC]import org.codehaus.groovy.grails.commons.test.AbstractGrailsMockTests |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitPublicNonTestMethod | 2 | 103 | [SRC]void onSetUp() { |
AbcComplexity | 2 | [MSG]The ABC score for method [testManyToManyMapping] is [104.3] |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitPublicNonTestMethod | 2 | 25 | [SRC]void onSetUp() { |
JUnitPublicNonTestMethod | 2 | 48 | [SRC]void onTearDown() { |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitPublicNonTestMethod | 2 | 29 | [SRC]void onSetUp() { |
JUnitPublicNonTestMethod | 2 | 44 | [SRC]void onTearDown() { |
UnusedImport | 3 | 4 | [SRC]import org.hibernate.LazyInitializationException |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitPublicNonTestMethod | 2 | 38 | [SRC]void onSetUp() { |
JUnitPublicNonTestMethod | 2 | 68 | [SRC]void onTearDown() { |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
UnusedVariable | 2 | 35 | [SRC]def Child = ga.getDomainClass("Child").clazz |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
MethodSize | 3 | 10 | [MSG]Method "onSetUp" is 126 lines |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitPublicNonTestMethod | 2 | 135 | [SRC]void onSetUp() { |
JUnitPublicNonTestMethod | 2 | 205 | [SRC]void onTearDown() { |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitPublicNonTestMethod | 2 | 8 | [SRC]void onSetUp() { |
JUnitPublicNonTestMethod | 2 | 70 | [SRC]void onTearDown() { |
UnusedImport | 3 | 4 | [SRC]import org.hibernate.FlushMode; |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitPublicNonTestMethod | 2 | 27 | [SRC]void onSetUp() { |
JUnitPublicNonTestMethod | 2 | 58 | [SRC]void onTearDown() { |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitPublicNonTestMethod | 2 | 38 | [SRC]void onSetUp() { |
JUnitPublicNonTestMethod | 2 | 65 | [SRC]void onTearDown() { |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
AbcComplexity | 2 | [MSG]The ABC score for method [testOneToManyBindingWithSubscriptOperatorAndExistingInstance] is [71.1] | |
AbcComplexity | 2 | [MSG]The ABC score for method [testOneToManyBindingWithSubscriptOperatorAndNewInstance] is [72.6] |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
UnusedImport | 3 | 10 | [SRC]import org.springframework.context.support.ClassPathXmlA..ationContext |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
UnusedImport | 3 | 4 | [SRC]import org.codehaus.groovy.grails.web.servlet.mvc.GrailsWebRequest |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
EmptyCatchBlock | 2 | 135 | [SRC]} catch (Exception e) { |
EmptyCatchBlock | 2 | 160 | [SRC]} catch (Exception e) { |
EmptyCatchBlock | 2 | 185 | [SRC]} catch (Exception e) { |
EmptyCatchBlock | 2 | 210 | [SRC]} catch (Exception e) { |
JUnitPublicNonTestMethod | 2 | 287 | [SRC]void onSetUp() { |
JUnitPublicNonTestMethod | 2 | 323 | [SRC]void onTearDown() { |
AbcComplexity | 2 | [MSG]The ABC score for method [testValidation] is [72.9] | |
UnusedVariable | 2 | 14 | [SRC]def userClass = ga.getDomainClass("User") |
MethodSize | 3 | 112 | [MSG]Method "testWrongUniqueParams" is 127 lines |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitPublicNonTestMethod | 2 | 28 | [SRC]void onSetUp() { |
UnusedImport | 3 | 7 | [SRC]import grails.spring.BeanBuilder |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitPublicNonTestMethod | 2 | 13 | [SRC]void onSetUp() { |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
UnusedImport | 3 | 5 | [SRC]import grails.util.BuildSettings |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitSetUpCallsSuper | 2 | 18 | [SRC]void setUp() { |
JUnitTearDownCallsSuper | 2 | 50 | [SRC]void tearDown() { |
UnusedImport | 3 | 9 | [SRC]import org.apache.commons.io.FileUtils |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitPublicNonTestMethod | 2 | 140 | [SRC]void onSetUp() { |
JUnitPublicNonTestMethod | 2 | 184 | [SRC]void onTearDown() { |
UnusedVariable | 2 | 51 | [SRC]def addressClass = ga.getDomainClass("Address") |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
ImportFromSamePackage | 3 | 3 | [SRC]import org.codehaus.groovy.grails.plugins.ValidationGrailsPlugin |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitTearDownCallsSuper | 2 | 35 | [SRC]protected void tearDown() { |
UnusedVariable | 2 | 195 | [SRC]def consoleAppender |
UnusedImport | 3 | 23 | [SRC]import org.apache.log4j.net.SMTPAppender |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitPublicNonTestMethod | 2 | 11 | [SRC]void onSetUp() { |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitPublicNonTestMethod | 2 | 11 | [SRC]void onSetUp() { |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitPublicNonTestMethod | 2 | 34 | [SRC]void onSetUp() { |
JUnitTearDownCallsSuper | 2 | 79 | [SRC]final void tearDown() { |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitPublicNonTestMethod | 2 | 10 | [SRC]void onSetUp() { |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
EmptyCatchBlock | 2 | 117 | [SRC]} catch (NoSuchBeanDefinitionException e) { |
JUnitPublicNonTestMethod | 2 | 13 | [SRC]void onSetUp() { |
JUnitPublicNonTestMethod | 2 | 192 | [SRC]Class parseTestBean() { |
UnusedImport | 3 | 8 | [SRC]import org.springframework.core.io.FileSystemResource |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitPublicNonTestMethod | 2 | 14 | [SRC]void onTearDown() { |
JUnitPublicNonTestMethod | 2 | 20 | [SRC]void onSetUp() { |
UnusedVariable | 2 | 58 | [SRC]def registry = GroovySystem.metaClassRegistry |
UnusedVariable | 2 | 67 | [SRC]def registry = GroovySystem.metaClassRegistry |
UnusedVariable | 2 | 76 | [SRC]def registry = GroovySystem.metaClassRegistry |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitPublicNonTestMethod | 2 | 13 | [SRC]void onSetUp() { |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitPublicNonTestMethod | 2 | 17 | [SRC]public void onSetUp() { |
AbcComplexity | 2 | [MSG]The ABC score for method [testFilterMatching] is [137.4] | |
AbcComplexity | 2 | [MSG]The ABC score for class [org.codehaus.groovy.grails.plugins.web.filters.FilterExecutionTests] is [72.3] | |
MethodSize | 3 | 17 | [MSG]Method "onSetUp" is 145 lines |
MethodSize | 3 | 164 | [MSG]Method "testFilterMatching" is 127 lines |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitPublicNonTestMethod | 2 | 13 | [SRC]void onSetUp() { |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
UnusedImport | 3 | 17 | [SRC]import org.springframework.webflow.engine.RequestControlContext |
UnusedImport | 3 | 18 | [SRC]import org.springframework.webflow.core.collection.MutableAttributeMap |
UnusedImport | 3 | 31 | [SRC]import org.springframework.webflow.definition.registry.F..tionRegistry |
UnusedImport | 3 | 32 | [SRC]import org.codehaus.groovy.grails.commons.GrailsControllerClass |
UnusedImport | 3 | 33 | [SRC]import org.springframework.webflow.engine.builder.FlowAssembler |
UnusedImport | 3 | 34 | [SRC]import org.codehaus.groovy.grails.webflow.engine.builder.FlowBuilder |
UnusedImport | 3 | 35 | [SRC]import org.springframework.webflow.engine.builder.suppor..lderServices |
UnusedImport | 3 | 36 | [SRC]import org.springframework.binding.convert.service.Defau..rsionService |
UnusedImport | 3 | 37 | [SRC]import org.springframework.webflow.expression.DefaultExp..arserFactory |
UnusedImport | 3 | 38 | [SRC]import org.springframework.webflow.mvc.builder.MvcViewFactoryCreator |
UnusedImport | 3 | 39 | [SRC]import org.springframework.webflow.executor.FlowExecutorImpl |
UnusedImport | 3 | 40 | [SRC]import org.springframework.webflow.engine.impl.FlowExecu..nImplFactory |
UnusedImport | 3 | 41 | [SRC]import org.springframework.webflow.conversation.impl.Ses..ationManager |
UnusedImport | 3 | 42 | [SRC]import org.springframework.webflow.execution.repository...pshotFactory |
UnusedImport | 3 | 43 | [SRC]import org.springframework.webflow.execution.repository...onRepository |
UnusedImport | 3 | 44 | [SRC]import org.springframework.context.ApplicationContext |
UnusedImport | 3 | 45 | [SRC]import org.springframework.webflow.engine.builder.DefaultFlowHolder |
UnusedImport | 3 | 46 | [SRC]import org.springframework.webflow.core.collection.AttributeMap |
UnusedImport | 3 | 47 | [SRC]import org.springframework.webflow.core.collection.LocalAttributeMap |
UnusedImport | 3 | 48 | [SRC]import org.springframework.webflow.mvc.servlet.FlowHandlerAdapter |
UnusedImport | 3 | 49 | [SRC]import org.springframework.webflow.execution.FlowExecutionKeyFactory |
UnusedImport | 3 | 50 | [SRC]import org.springframework.webflow.execution.FlowExecutionFactory |
UnusedImport | 3 | 51 | [SRC]import org.codehaus.groovy.grails.webflow.context.servle..owUrlHandler |
UnusedImport | 3 | 52 | [SRC]import org.codehaus.groovy.grails.webflow.execution.Grai..ExecutorImpl |
UnusedImport | 3 | 53 | [SRC]import org.codehaus.groovy.grails.webflow.scope.ScopeRegistrar |
UnusedImport | 3 | 54 | [SRC]import org.codehaus.groovy.grails.webflow.mvc.servlet.Gr..ndlerAdapter |
UnusedImport | 3 | 55 | [SRC]import org.codehaus.groovy.grails.webflow.mvc.servlet.Gr..ndlerMapping |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitPublicNonTestMethod | 2 | 30 | [SRC]public void onSetUp() { |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitPublicNonTestMethod | 2 | 58 | [SRC]void onSetUp() { |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitPublicNonTestMethod | 2 | 50 | [SRC]void onInit() { |
UnusedVariable | 2 | 20 | [SRC]Class oldClass = ga.getTagLibClass("TestTagLib").getClazz() |
UnusedVariable | 2 | 21 | [SRC]def result |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitPublicNonTestMethod | 2 | 55 | [SRC]void onSetUp() { |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitPublicNonTestMethod | 2 | 384 | [SRC]def getCurrentGrailsVersion() { |
JUnitSetUpCallsSuper | 2 | 24 | [SRC]protected void setUp() { |
JUnitTearDownCallsSuper | 2 | 28 | [SRC]protected void tearDown() { |
AbcComplexity | 2 | [MSG]The ABC score for method [testSerializerToMarkup] is [61.9] | |
UnusedVariable | 2 | 502 | [SRC]ModuleRevisionId junit = manager.dependencies.find { Mo.. == 'junit'} |
UnusedImport | 3 | 9 | [SRC]import grails.util.BuildSettingsHolder |
UnusedImport | 3 | 10 | [SRC]import grails.util.GrailsUtil |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitSetUpCallsSuper | 2 | 17 | [SRC]protected void setUp() { |
JUnitTearDownCallsSuper | 2 | 22 | [SRC]protected void tearDown() { |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitTearDownCallsSuper | 2 | 34 | [SRC]void tearDown() { |
ImportFromSamePackage | 3 | 8 | [SRC]import org.codehaus.groovy.grails.scaffolding.view.Scaff..oovyPageView |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
UnusedImport | 3 | 11 | [SRC]import org.codehaus.groovy.grails.plugins.DefaultPluginMetaManager |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitPublicNonTestMethod | 2 | 83 | [SRC]Errors validateInstance(instance, validator) { |
JUnitPublicNonTestMethod | 2 | 89 | [SRC]GrailsDomainClassValidator configureValidator(theClass, instance) { |
JUnitPublicNonTestMethod | 2 | 104 | [SRC]public void onSetUp() { |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitPublicNonTestMethod | 2 | 92 | [SRC]public void onSetUp() { |
AbcComplexity | 2 | [MSG]The ABC score for method [testCascadingValidation] is [85.4] |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitSetUpCallsSuper | 2 | 13 | [SRC]void setUp() { |
JUnitTearDownCallsSuper | 2 | 55 | [SRC]void tearDown() { |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
UnusedVariable | 2 | 51 | [SRC]def model = controller.update() |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitPublicNonTestMethod | 2 | 18 | [SRC]void onSetUp() { |
UnusedVariable | 2 | 155 | [SRC]def error = b.errors.getFieldError('site') |
UnusedImport | 3 | 14 | [SRC]import java.text.SimpleDateFormat |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitSetUpCallsSuper | 2 | 12 | [SRC]void setUp() { |
JUnitTearDownCallsSuper | 2 | 20 | [SRC]void tearDown() { |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitSetUpCallsSuper | 2 | 6 | [SRC]void setUp() { |
JUnitTearDownCallsSuper | 2 | 10 | [SRC]void tearDown() { |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitSetUpCallsSuper | 2 | 7 | [SRC]void setUp() { |
JUnitTearDownCallsSuper | 2 | 11 | [SRC]void tearDown() { |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitSetUpCallsSuper | 2 | 6 | [SRC]void setUp() { |
JUnitTearDownCallsSuper | 2 | 11 | [SRC]void tearDown() { |
UnusedVariable | 2 | 7 | [SRC]GroovyClassLoader gcl = new GroovyClassLoader(); |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitSetUpCallsSuper | 2 | 7 | [SRC]void setUp() { |
JUnitTearDownCallsSuper | 2 | 11 | [SRC]void tearDown() { |
UnusedVariable | 2 | 33 | [SRC]byte[] result = codec.decode(data) |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitSetUpCallsSuper | 2 | 7 | [SRC]void setUp() { |
JUnitTearDownCallsSuper | 2 | 11 | [SRC]void tearDown() { |
UnusedVariable | 2 | 33 | [SRC]byte[] result = codec.decode(data) |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitSetUpCallsSuper | 2 | 7 | [SRC]void setUp() { |
JUnitTearDownCallsSuper | 2 | 11 | [SRC]void tearDown() { |
UnusedVariable | 2 | 33 | [SRC]byte[] result = codec.decode(data) |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitSetUpCallsSuper | 2 | 7 | [SRC]void setUp() { |
JUnitTearDownCallsSuper | 2 | 11 | [SRC]void tearDown() { |
UnusedVariable | 2 | 33 | [SRC]byte[] result = codec.decode(data) |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitSetUpCallsSuper | 2 | 7 | [SRC]void setUp() { |
JUnitTearDownCallsSuper | 2 | 11 | [SRC]void tearDown() { |
UnusedVariable | 2 | 34 | [SRC]byte[] result = codec.decode(data) |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitSetUpCallsSuper | 2 | 7 | [SRC]void setUp() { |
JUnitTearDownCallsSuper | 2 | 11 | [SRC]void tearDown() { |
UnusedVariable | 2 | 33 | [SRC]byte[] result = codec.decode(data) |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitSetUpCallsSuper | 2 | 12 | [SRC]void setUp() { |
JUnitTearDownCallsSuper | 2 | 18 | [SRC]void tearDown() { |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitTearDownCallsSuper | 2 | 40 | [SRC]protected void tearDown() { |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitPublicNonTestMethod | 2 | 16 | [SRC]public void onSetUp() { |
UnnecessaryGroovyImport | 3 | 11 | [SRC]import groovy.util.ConfigSlurper |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitPublicNonTestMethod | 2 | 15 | [SRC]public void onSetUp() { |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
DuplicateImport | 3 | 8 | [SRC]import org.codehaus.groovy.grails.web.converters.marshal..ssMarshaller |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitPublicNonTestMethod | 2 | 107 | [SRC]void onSetUp() { |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitPublicNonTestMethod | 2 | 80 | [SRC]void onSetUp() { |
UnusedImport | 3 | 15 | [SRC]import java.lang.reflect.Method |
UnusedImport | 3 | 21 | [SRC]import org.hibernate.repackage.cglib.proxy.Enhancer |
UnusedImport | 3 | 22 | [SRC]import org.hibernate.repackage.cglib.proxy.MethodProxy |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
UnusedImport | 3 | 10 | [SRC]import java.util.regex.Pattern |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
UnusedImport | 3 | 4 | [SRC]import org.springframework.mock.web.MockServletContext; |
UnusedImport | 3 | 6 | [SRC]import org.codehaus.groovy.grails.web.servlet.GrailsAppl..nAttributes; |
UnusedImport | 3 | 7 | [SRC]import org.codehaus.groovy.grails.web.servlet.mvc.GrailsWebRequest; |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitTearDownCallsSuper | 2 | 17 | [SRC]protected void tearDown() { |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitTearDownCallsSuper | 2 | 34 | [SRC]void tearDown() { |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitPublicNonTestMethod | 2 | 50 | [SRC]public void onSetUp() { |
UnusedImport | 3 | 9 | [SRC]import org.codehaus.groovy.grails.web.servlet.mvc.Abstra..trollerTests |
UnusedImport | 3 | 11 | [SRC]import org.springframework.mock.web.MockServletContext |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
UnusedImport | 3 | 9 | [SRC]import org.codehaus.groovy.grails.web.servlet.mvc.Abstra..trollerTests |
UnusedImport | 3 | 11 | [SRC]import org.springframework.mock.web.MockServletContext |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitPublicNonTestMethod | 2 | 28 | [SRC]void onSetUp() { |
UnusedImport | 3 | 9 | [SRC]import org.codehaus.groovy.grails.web.servlet.mvc.Abstra..trollerTests |
UnusedImport | 3 | 11 | [SRC]import org.springframework.mock.web.MockServletContext |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
AbcComplexity | 2 | [MSG]The ABC score for method [testComparable] is [226.2] | |
UnusedVariable | 2 | 316 | [SRC]def m = new RegexUrlMapping(parser.parse("/(*)/hello"), ..vletContext) |
UnusedImport | 3 | 6 | [SRC]import org.springframework.mock.web.MockServletContext |
MethodSize | 3 | 143 | [MSG]Method "testComparable" is 130 lines |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
UnusedImport | 3 | 6 | [SRC]import org.codehaus.groovy.grails.web.servlet.mvc.Abstra..trollerTests |
UnusedImport | 3 | 8 | [SRC]import org.springframework.mock.web.MockServletContext |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
UnusedImport | 3 | 3 | [SRC]import org.codehaus.groovy.grails.validation.ConstrainedProperty; |
UnusedImport | 3 | 6 | [SRC]import org.springframework.mock.web.MockServletContext |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitPublicNonTestMethod | 2 | 14 | [SRC]public void onSetUp() { |
UnusedImport | 3 | 3 | [SRC]import org.codehaus.groovy.grails.web.servlet.mvc.Abstra..trollerTests |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitPublicNonTestMethod | 2 | 15 | [SRC]void onSetUp() { |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitPublicNonTestMethod | 2 | 12 | [SRC]public void onSetUp() { |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitPublicNonTestMethod | 2 | 12 | [SRC]public void onSetUp() { |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitPublicNonTestMethod | 2 | 7 | [SRC]public void onSetUp() { |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
AbcComplexity | 2 | [MSG]The ABC score for method [testEvaluateMappings] is [81.1] | |
AbcComplexity | 2 | [MSG]The ABC score for class [org.codehaus.groovy.grails.web.mapping.UrlMappingEvaluatorTests] is [81.1] |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
UnusedImport | 3 | 3 | [SRC]import org.codehaus.groovy.grails.web.servlet.mvc.Abstra..trollerTests |
UnusedImport | 3 | 4 | [SRC]import org.springframework.core.io.ByteArrayResource |
UnusedImport | 3 | 5 | [SRC]import org.springframework.mock.web.MockServletContext |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
UnusedImport | 3 | 3 | [SRC]import org.codehaus.groovy.grails.validation.ConstrainedProperty; |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
UnusedImport | 3 | 3 | [SRC]import org.codehaus.groovy.grails.validation.ConstrainedProperty; |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
UnnecessaryGroovyImport | 3 | 28 | [SRC]import java.util.List |
UnusedImport | 3 | 17 | [SRC]import junit.framework.TestCase; |
UnusedImport | 3 | 24 | [SRC]import org.codehaus.groovy.grails.web.mapping.UrlMappingEvaluator; |
UnusedImport | 3 | 25 | [SRC]import org.codehaus.groovy.grails.web.mapping.DefaultUrl..ngEvaluator; |
UnusedImport | 3 | 28 | [SRC]import java.util.List |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitPublicNonTestMethod | 2 | 15 | [SRC]public void onSetUp() { |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitSetUpCallsSuper | 2 | 13 | [SRC]protected void setUp() { |
JUnitTearDownCallsSuper | 2 | 31 | [SRC]protected void tearDown() { |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitPublicNonTestMethod | 2 | 14 | [SRC]public void onSetUp() { |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
UnusedImport | 3 | 5 | [SRC]import org.codehaus.groovy.grails.web.taglib.exceptions...agException; |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitPublicNonTestMethod | 2 | 17 | [SRC]void onSetUp() { |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitPublicNonTestMethod | 2 | 16 | [SRC]void onSetUp() { |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitPublicNonTestMethod | 2 | 59 | [SRC]void onSetUp() { |
JUnitPublicNonTestMethod | 2 | 104 | [SRC]def runPageCode(pageCode) { |
JUnitPublicNonTestMethod | 2 | 184 | [SRC]def getBinding(out) { |
UnnecessaryGroovyImport | 3 | 3 | [SRC]import java.io.PrintWriter; |
UnnecessaryGroovyImport | 3 | 4 | [SRC]import java.io.StringWriter; |
UnnecessaryGroovyImport | 3 | 5 | [SRC]import java.io.Writer; |
UnnecessaryGroovyImport | 3 | 6 | [SRC]import java.io.IOException; |
UnnecessaryGroovyImport | 3 | 9 | [SRC]import groovy.lang.MissingPropertyException; |
UnnecessaryGroovyImport | 3 | 10 | [SRC]import groovy.lang.GroovyClassLoader; |
UnnecessaryGroovyImport | 3 | 11 | [SRC]import groovy.lang.GroovyObject; |
UnnecessaryGroovyImport | 3 | 12 | [SRC]import groovy.lang.Binding; |
UnnecessaryGroovyImport | 3 | 13 | [SRC]import groovy.lang.Script; |
UnusedImport | 3 | 6 | [SRC]import java.io.IOException; |
UnusedImport | 3 | 9 | [SRC]import groovy.lang.MissingPropertyException; |
UnusedImport | 3 | 10 | [SRC]import groovy.lang.GroovyClassLoader; |
UnusedImport | 3 | 11 | [SRC]import groovy.lang.GroovyObject; |
UnusedImport | 3 | 14 | [SRC]import org.codehaus.groovy.runtime.InvokerHelper; |
UnusedImport | 3 | 16 | [SRC]import javax.servlet.http.HttpServletRequest; |
UnusedImport | 3 | 17 | [SRC]import javax.servlet.http.HttpServletResponse; |
UnusedImport | 3 | 20 | [SRC]import org.codehaus.groovy.grails.web.metaclass.GetParam..micProperty; |
UnusedImport | 3 | 21 | [SRC]import org.codehaus.groovy.grails.web.metaclass.GetSessi..micProperty; |
UnusedImport | 3 | 22 | [SRC]import org.codehaus.groovy.grails.web.metaclass.Controll..amicMethods; |
UnusedImport | 3 | 29 | [SRC]import org.codehaus.groovy.grails.support.MockApplicationContext; |
UnusedImport | 3 | 30 | [SRC]import org.springframework.mock.web.MockHttpServletRequest; |
UnusedImport | 3 | 31 | [SRC]import org.springframework.mock.web.MockHttpServletResponse; |
UnusedImport | 3 | 32 | [SRC]import org.springframework.mock.web.MockServletContext; |
UnusedImport | 3 | 33 | [SRC]import junit.framework.TestCase; |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitSetUpCallsSuper | 2 | 55 | [SRC]void setUp() { |
JUnitTearDownCallsSuper | 2 | 52 | [SRC]void tearDown() { |
UnusedVariable | 2 | 16 | [SRC]def writer = gps.createResponseWriter(new MockHttpServletResponse()) |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitSetUpCallsSuper | 2 | 200 | [SRC]void setUp() { |
JUnitTearDownCallsSuper | 2 | 197 | [SRC]void tearDown() { |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
UnnecessaryGroovyImport | 3 | 3 | [SRC]import groovy.util.GroovyTestCase; |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
UnusedImport | 3 | 14 | [SRC]import org.codehaus.groovy.grails.commons.ConfigurationHolder |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitPublicNonTestMethod | 2 | 31 | [SRC]void onTearDown() { |
JUnitPublicNonTestMethod | 2 | 34 | [SRC]void onSetUp() { |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitPublicNonTestMethod | 2 | 16 | [SRC]public void onSetUp() { |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitPublicNonTestMethod | 2 | 14 | [SRC]public void onSetUp() { |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitSetUpCallsSuper | 2 | 14 | [SRC]protected void setUp() { |
JUnitTearDownCallsSuper | 2 | 18 | [SRC]protected void tearDown() { |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitSetUpCallsSuper | 2 | 22 | [SRC]protected void setUp() { |
JUnitTearDownCallsSuper | 2 | 27 | [SRC]protected void tearDown() { |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitSetUpCallsSuper | 2 | 21 | [SRC]protected void setUp() { |
JUnitTearDownCallsSuper | 2 | 26 | [SRC]protected void tearDown() { |
UnusedImport | 3 | 8 | [SRC]import javax.servlet.jsp.jstl.core.Config |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitSetUpCallsSuper | 2 | 22 | [SRC]protected void setUp() { |
JUnitTearDownCallsSuper | 2 | 27 | [SRC]protected void tearDown() { |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
ImportFromSamePackage | 3 | 20 | [SRC]import org.codehaus.groovy.grails.web.pages.ext.jsp.WebX..ibraryReader |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitPublicNonTestMethod | 2 | 161 | [SRC]void onSetUp() { |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitSetUpCallsSuper | 2 | 11 | [SRC]void setUp() { |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitPublicNonTestMethod | 2 | 27 | [SRC]void onSetUp() { |
UnusedImport | 3 | 19 | [SRC]import org.springframework.mock.web.MockHttpServletRequest |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitPublicNonTestMethod | 2 | 37 | [SRC]void onSetUp() { |
UnusedVariable | 2 | 53 | [SRC]def mock = new MockHttpSession() |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitPublicNonTestMethod | 2 | 13 | [SRC]public void onSetUp() { |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitPublicNonTestMethod | 2 | 164 | [SRC]void onSetUp() { |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitTearDownCallsSuper | 2 | 57 | [SRC]void tearDown() { |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitPublicNonTestMethod | 2 | 128 | [SRC]void runTest(Closure callable) { |
AbcComplexity | 2 | [MSG]The ABC score for method [setUp] is [63.6] | |
UnusedImport | 3 | 22 | [SRC]import org.codehaus.groovy.grails.commons.spring.GrailsA..ationContext |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitPublicNonTestMethod | 2 | 10 | [SRC]public void onSetUp() { |
UnusedVariable | 2 | 39 | [SRC]def cmd = ga.getClassLoader().loadClass("SampleCommand").newInstance() |
UnusedVariable | 2 | 53 | [SRC]def cmd = ga.getClassLoader().loadClass("SampleCommand").newInstance() |
UnusedVariable | 2 | 60 | [SRC]def model = ctrl.renderWithCmd() |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitPublicNonTestMethod | 2 | 13 | [SRC]public void onSetUp() { |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitPublicNonTestMethod | 2 | 17 | [SRC]void onSetUp() { |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitPublicNonTestMethod | 2 | 19 | [SRC]void onSetUp() { |
JUnitPublicNonTestMethod | 2 | 28 | [SRC]void onTearDown() { |
JUnitPublicNonTestMethod | 2 | 36 | [SRC]void runTest(Closure callable) { |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitSetUpCallsSuper | 2 | 10 | [SRC]void setUp() { |
AbcComplexity | 2 | [MSG]The ABC score for method [testConversionHelperMethods] is [72.4] |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitPublicNonTestMethod | 2 | 17 | [SRC]void onSetUp() { |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitPublicNonTestMethod | 2 | 22 | [SRC]void onSetUp() { |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitPublicNonTestMethod | 2 | 17 | [SRC]void onSetUp() { |
UnusedVariable | 2 | 65 | [SRC]def webRequest = RequestContextHolder.currentRequestAttributes() |
UnusedVariable | 2 | 66 | [SRC]def helper = new SimpleGrailsControllerHelper(ga, ctx, servletContext) |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitPublicNonTestMethod | 2 | 17 | [SRC]void onSetUp() { |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitTearDownCallsSuper | 2 | 44 | [SRC]void tearDown() { |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitTearDownCallsSuper | 2 | 98 | [SRC]void tearDown() { |
UnusedVariable | 2 | 14 | [SRC]def result = applyTemplate(template, [:]) |
UnusedVariable | 2 | 22 | [SRC]def result = applyTemplate(template, [:]) |
UnusedVariable | 2 | 30 | [SRC]def result = applyTemplate(template, [:]) |
UnusedVariable | 2 | 38 | [SRC]def result = applyTemplate(template, [:]) |
UnusedVariable | 2 | 50 | [SRC]def result = applyTemplate(template, [:]) |
UnusedVariable | 2 | 68 | [SRC]def result = applyTemplate(template, [:], target1) |
UnusedVariable | 2 | 85 | [SRC]def result = applyTemplate(template, [:]) |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitPublicNonTestMethod | 2 | 68 | [SRC]def withConfig(String text, Closure callable) { |
JUnitPublicNonTestMethod | 2 | 79 | [SRC]def profile(String name, Closure callable) { |
JUnitPublicNonTestMethod | 2 | 89 | [SRC]def withTag(String tagName, Writer out, Closure callable) { |
JUnitPublicNonTestMethod | 2 | 137 | [SRC]void onSetUp() { |
JUnitPublicNonTestMethod | 2 | 280 | [SRC]void runTest(Closure callable) { |
JUnitPublicNonTestMethod | 2 | 284 | [SRC]void printCompiledSource(template, params = [:]) { |
JUnitPublicNonTestMethod | 2 | 290 | [SRC]def getCompiledSource(template, params = [:]) { |
JUnitPublicNonTestMethod | 2 | 307 | [SRC]def assertCompiledSourceContains(expected, template, params = [:]) { |
JUnitPublicNonTestMethod | 2 | 312 | [SRC]void assertOutputContains(expected, template, params = [:]) { |
JUnitPublicNonTestMethod | 2 | 317 | [SRC]void assertOutputNotContains(expected, template, params = [:]) { |
JUnitPublicNonTestMethod | 2 | 335 | [SRC]void assertOutputEquals(expected, template, params = [:]..tring() }) { |
JUnitPublicNonTestMethod | 2 | 361 | [SRC]def applyTemplate(template, params = [:], target = null,..e = null ) { |
JUnitPublicNonTestMethod | 2 | 386 | [SRC]String sitemeshPreprocess(String template) { |
JUnitPublicNonTestMethod | 2 | 391 | [SRC]String applyLayout(String layout, String template, Map params=[:]) { |
JUnitSetUpCallsSuper | 2 | 141 | [SRC]void setUp() throws Exception { |
JUnitTearDownCallsSuper | 2 | 232 | [SRC]void tearDown() { |
AbcComplexity | 2 | [MSG]The ABC score for method [setUp] is [85.4] | |
UnusedVariable | 2 | 112 | [SRC]GroovyPageOutputStack stack=GroovyPageOutputStack.createNew(out) |
UnusedVariable | 2 | 304 | [SRC]String text = sw.toString() |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
UnusedImport | 3 | 6 | [SRC]import org.codehaus.groovy.grails.commons.ApplicationHolder |
UnusedImport | 3 | 10 | [SRC]import org.springframework.mock.web.MockHttpServletRequest |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitPublicNonTestMethod | 2 | 29 | [SRC]void onInit() { |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
UnusedImport | 3 | 14 | [SRC]import grails.util.GrailsUtil |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitPublicNonTestMethod | 2 | 79 | [SRC]void assertResultContains(result, expectedSubstring) { |
UnusedVariable | 2 | 54 | [SRC]def value = CountryTagLib.ISO3166_3[it] |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitPublicNonTestMethod | 2 | 32 | [SRC]void assertOutputEquals(expected, template, params = [:]) { |
UnusedImport | 3 | 3 | [SRC]import org.codehaus.groovy.runtime.InvokerHelper |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
EmptyCatchBlock | 2 | 72 | [SRC]} catch (e) { |
UnusedPrivateField | 2 | 17 | [SRC]private static final def SELECT_TAG_NAME = "testSelect"; |
UnusedPrivateMethod | 2 | 232 | [SRC]private void assertSelectFieldPresentWithValue(Document ..ing value) { |
UnusedPrivateMethod | 2 | 238 | [SRC]private void assertSelectFieldPresentWithValueAndText(Do..ing label) { |
UnusedVariable | 2 | 127 | [SRC]String xp |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
UnusedPrivateField | 2 | 19 | [SRC]private static final String DATE_PICKER_TAG_NAME = "testDatePicker"; |
UnusedPrivateField | 2 | 21 | [SRC]private static final Collection DATE_PRECISIONS_INCLUDIN.. String[] )) |
UnusedPrivateField | 2 | 22 | [SRC]private static final Collection DATE_PRECISIONS_INCLUDIN.. String[] )) |
UnusedPrivateField | 2 | 23 | [SRC]private static final Collection DATE_PRECISIONS_INCLUDIN.. String[] )) |
UnusedPrivateField | 2 | 24 | [SRC]private static final Collection DATE_PRECISIONS_INCLUDIN.. String[] )) |
UnnecessaryGroovyImport | 3 | 3 | [SRC]import java.io.StringWriter; |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
UnusedPrivateField | 2 | 13 | [SRC]private static final String DATE_PICKER_TAG_NAME = "testDatePicker"; |
UnusedPrivateField | 2 | 14 | [SRC]private static final def SELECT_TAG_NAME = "testSelect"; |
UnusedPrivateField | 2 | 16 | [SRC]private static final Collection DATE_PRECISIONS_INCLUDIN.. String[] )) |
UnusedPrivateField | 2 | 17 | [SRC]private static final Collection DATE_PRECISIONS_INCLUDIN.. String[] )) |
UnusedPrivateField | 2 | 18 | [SRC]private static final Collection DATE_PRECISIONS_INCLUDIN.. String[] )) |
UnusedPrivateField | 2 | 19 | [SRC]private static final Collection DATE_PRECISIONS_INCLUDIN.. String[] )) |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
EmptyCatchBlock | 2 | 80 | [SRC]catch(org.codehaus.groovy.grails.web.taglib.exceptions.G..Exception e) |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
EmptyCatchBlock | 2 | 16 | [SRC]catch(Exception e) { |
EmptyCatchBlock | 2 | 37 | [SRC]catch(Exception e) { |
EmptyCatchBlock | 2 | 72 | [SRC]catch(Exception ex) { |
EmptyCatchBlock | 2 | 89 | [SRC]catch(Exception e) { |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
EmptyCatchBlock | 2 | 16 | [SRC]catch(Exception e) { |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitTearDownCallsSuper | 2 | 32 | [SRC]protected void tearDown() { |
UnnecessaryGroovyImport | 3 | 6 | [SRC]import java.io.PrintWriter; |
UnnecessaryGroovyImport | 3 | 7 | [SRC]import java.io.StringWriter; |
UnnecessaryGroovyImport | 3 | 8 | [SRC]import java.util.HashMap; |
UnnecessaryGroovyImport | 3 | 9 | [SRC]import java.util.Map; |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitPublicNonTestMethod | 2 | 5 | [SRC]void onSetUp() { |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitPublicNonTestMethod | 2 | 11 | [SRC]public void onSetUp() { |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitPublicNonTestMethod | 2 | 18 | [SRC]public void onSetUp() { |
JUnitPublicNonTestMethod | 2 | 24 | [SRC]void onInit() { |
JUnitPublicNonTestMethod | 2 | 369 | [SRC]def setRequestContext() { |
JUnitPublicNonTestMethod | 2 | 373 | [SRC]def setRequestContext(path) { |
JUnitPublicNonTestMethod | 2 | 377 | [SRC]def setupPluginController(tag) { |
UnusedVariable | 2 | 45 | [SRC]String newLine = EOL |
UnusedVariable | 2 | 232 | [SRC]def retval = tag.call(attrs) {"body"} |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitPublicNonTestMethod | 2 | 8 | [SRC]void onInit() { |
JUnitPublicNonTestMethod | 2 | 40 | [SRC]void assertOutputEquals(expected, template, params = [:]) { |
UnusedImport | 3 | 3 | [SRC]import org.codehaus.groovy.runtime.InvokerHelper |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitPublicNonTestMethod | 2 | 8 | [SRC]void onInit() { |
UnusedImport | 3 | 3 | [SRC]import org.codehaus.groovy.runtime.InvokerHelper |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitPublicNonTestMethod | 2 | 33 | [SRC]void onInit() { |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitPublicNonTestMethod | 2 | 6 | [SRC]void onInit() { |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitPublicNonTestMethod | 2 | 10 | [SRC]public void onSetUp() { |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitPublicNonTestMethod | 2 | 67 | [SRC]void onInit() { |
UnusedImport | 3 | 14 | [SRC]import org.springframework.validation.MapBindingResult |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitPublicNonTestMethod | 2 | 14 | [SRC]void onInit() { |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitPublicNonTestMethod | 2 | 18 | [SRC]void onInit() { |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitPublicNonTestMethod | 2 | 35 | [SRC]void onInit() { |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitPublicNonTestMethod | 2 | 18 | [SRC]public void onSetUp() { |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitPublicNonTestMethod | 2 | 367 | [SRC]void checkTagOutput(output, expectedClassValue, expected..edContent) { |
JUnitPublicNonTestMethod | 2 | 409 | [SRC]void checkTagOutput(output, expectedClassValue, expected..therAttrs) { |
UnusedVariable | 2 | 46 | [SRC]def head = "" |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitPublicNonTestMethod | 2 | 259 | [SRC]void checkMultiSelect(List categories, List selected, Cl..sSelected) { |
UnusedPrivateMethod | 2 | 322 | [SRC]private void assertSelectFieldNotPresent(Document docume..fieldName) { |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitPublicNonTestMethod | 2 | 10 | [SRC]public void onSetUp() { |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitPublicNonTestMethod | 2 | 15 | [SRC]void onSetUp() { |
UnnecessaryGroovyImport | 3 | 3 | [SRC]import java.util.Locale; |
UnusedImport | 3 | 7 | [SRC]import org.springframework.util.StringUtils |
UnusedImport | 3 | 8 | [SRC]import org.springframework.web.context.request.RequestContextHolder |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitSetUpCallsSuper | 2 | 7 | [SRC]protected void setUp() { |
UnnecessaryGroovyImport | 3 | 3 | [SRC]import java.io.Writer |
UnusedImport | 3 | 3 | [SRC]import java.io.Writer |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitPublicNonTestMethod | 2 | 120 | [SRC]void clearGrailsWebRequest() { |
JUnitSetUpCallsSuper | 2 | 19 | [SRC]protected void setUp() { |
JUnitTearDownCallsSuper | 2 | 40 | [SRC]protected void tearDown() { |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitPublicNonTestMethod | 2 | 95 | [SRC]public Closure getFlowClosure() { |
UnusedImport | 3 | 14 | [SRC]import org.springframework.webflow.definition.FlowDefinition |
UnusedImport | 3 | 15 | [SRC]import org.codehaus.groovy.grails.webflow.engine.builder.FlowBuilder |
UnusedImport | 3 | 16 | [SRC]import org.springframework.webflow.context.servlet.Servl..ernalContext |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitPublicNonTestMethod | 2 | 42 | [SRC]public Closure getFlowClosure() { |
UnusedImport | 3 | 4 | [SRC]import org.springframework.webflow.definition.FlowDefinition |
UnusedImport | 3 | 5 | [SRC]import org.codehaus.groovy.grails.webflow.engine.builder.FlowBuilder |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitPublicNonTestMethod | 2 | 40 | [SRC]void onInit() { |
JUnitPublicNonTestMethod | 2 | 49 | [SRC]public Closure getFlowClosure() { |
UnusedImport | 3 | 14 | [SRC]import org.springframework.webflow.definition.FlowDefinition |
UnusedImport | 3 | 15 | [SRC]import org.codehaus.groovy.grails.webflow.engine.builder.FlowBuilder |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitPublicNonTestMethod | 2 | 24 | [SRC]public Closure getFlowClosure() { |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitSetUpCallsSuper | 2 | 27 | [SRC]void setUp() { |
UnusedImport | 3 | 5 | [SRC]import org.codehaus.groovy.grails.support.MockApplicationContext |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitPublicNonTestMethod | 2 | 10 | [SRC]public Closure getFlowClosure() { |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitPublicNonTestMethod | 2 | 35 | [SRC]String getFlowId() { "myFlow" } |
JUnitPublicNonTestMethod | 2 | 37 | [SRC]Closure getFlowClosure() { |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitPublicNonTestMethod | 2 | 10 | [SRC]public Closure getFlowClosure() { |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitPublicNonTestMethod | 2 | 13 | [SRC]public Closure getFlowClosure() { |
JUnitPublicNonTestMethod | 2 | 62 | [SRC]def foo() { |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitSetUpCallsSuper | 2 | 16 | [SRC]void setUp() { |
JUnitTearDownCallsSuper | 2 | 26 | [SRC]void tearDown() { |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitPublicNonTestMethod | 2 | 7 | [SRC]public Closure getFlowClosure() { |
Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|
JUnitPublicNonTestMethod | 2 | 190 | [SRC]FlowDefinition getFlowDefinition() { |
JUnitPublicNonTestMethod | 2 | 204 | [SRC]String getFlowId() { 'testFlow' } |
JUnitPublicNonTestMethod | 2 | 206 | [SRC]abstract Closure getFlowClosure(); |
JUnitSetUpCallsSuper | 2 | 69 | [SRC]final void setUp() throws Exception { |
JUnitTearDownCallsSuper | 2 | 153 | [SRC]final void tearDown() { |
AbcComplexity | 2 | [MSG]The ABC score for method [setUp] is [77.8] | |
UnusedImport | 3 | 17 | [SRC]import org.codehaus.groovy.grails.commons.spring.Default..onfiguration |
UnusedImport | 3 | 26 | [SRC]import org.codehaus.groovy.runtime.InvokerHelper |
UnusedImport | 3 | 28 | [SRC]import org.springframework.core.io.Resource |