Total Files | Files with Violations | Priority 1 | Priority 2 | Priority 3 |
---|---|---|---|---|
590 | 152 | - | 410 | 3970 |
File | Rule Name | Priority | Line # | Source Line / Message |
---|---|---|---|---|
AddProductBacklogItem.groovy | ExplicitCallToEqualsMethod | 2 | 32 | [SRC]}else if("Any".equals(parameters.statusId)){ [MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to Any.equals(parameters.statusId) method can be rewritten as (Any == (parameters.statusId)) |
AddProductBacklogItem.groovy | LineLength | 2 | 37 | [SRC]def performFindResults = runService('performFind', ["ent..quenceNum"]) [MSG]The line exceeds 150 characters. The line is 157 characters. |
AddProductBacklogItem.groovy | ExplicitCallToEqualsMethod | 2 | 80 | [SRC]if ("N".equals(parameters.sequence)) { // re-order category list item [MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to N.equals(parameters.sequence) method can be rewritten as (N == (parameters.sequence)) |
AddProductBacklogItem.groovy | ExplicitCallToEqualsMethod | 2 | 84 | [SRC]if("".equals(parameters.statusId)){ [MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to .equals(parameters.statusId) method can be rewritten as ( == (parameters.statusId)) |
AddProductBacklogItem.groovy | LineLength | 2 | 109 | [SRC]unplannedList = select("custRequestId", "custSequenceNum...queryList() [MSG]The line exceeds 150 characters. The line is 258 characters. |
AddProductBacklogItem.groovy | ExplicitCallToEqualsMethod | 2 | 137 | [SRC]if ("N".equals(parameters.UnplannedSequence)) { // re-or..ry list item [MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to N.equals(parameters.UnplannedSequence) method can be rewritten as (N == (parameters.UnplannedSequence)) |
AddResourceTaskParty.groovy | LineLength | 2 | 24 | [SRC]projectAndTaskList = from("ProjectSprintBacklogAndTask")...queryList() [MSG]The line exceeds 150 characters. The line is 166 characters. |
AddResourceTaskParty.groovy | ExplicitCallToEqualsMethod | 2 | 47 | [SRC]if ("RF_SCRUM_MEETINGS".equals(custRequestTypeId) && "CR..StatusId)) { [MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to RF_SCRUM_MEETINGS.equals(custRequestTypeId) method can be rewritten as (RF_SCRUM_MEETINGS == (custRequestTypeId)) |
AddResourceTaskParty.groovy | ExplicitCallToEqualsMethod | 2 | 47 | [SRC]if ("RF_SCRUM_MEETINGS".equals(custRequestTypeId) && "CR..StatusId)) { [MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to CRQ_REVIEWED.equals(backlogStatusId) method can be rewritten as (CRQ_REVIEWED == (backlogStatusId)) |
AdvancedSearchPrep.groovy | ExplicitCallToEqualsMethod | 2 | 30 | [SRC]if (!"AND".equals(searchOperator) && !"OR".equals(searchOperator)) { [MSG]Violation in class org.apache.ofbiz.ecommerce.content.None. Explicit call to AND.equals(searchOperator) method can be rewritten as (AND == (searchOperator)) |
AdvancedSearchPrep.groovy | ExplicitCallToEqualsMethod | 2 | 30 | [SRC]if (!"AND".equals(searchOperator) && !"OR".equals(searchOperator)) { [MSG]Violation in class org.apache.ofbiz.ecommerce.content.None. Explicit call to OR.equals(searchOperator) method can be rewritten as (OR == (searchOperator)) |
AdvancedSearchPrep.groovy | ExplicitCallToEqualsMethod | 2 | 28 | [SRC]if (!"AND".equals(searchOperator) && !"OR".equals(searchOperator)) { [MSG]Violation in class org.apache.ofbiz.lucene.content.None. Explicit call to AND.equals(searchOperator) method can be rewritten as (AND == (searchOperator)) |
AdvancedSearchPrep.groovy | ExplicitCallToEqualsMethod | 2 | 28 | [SRC]if (!"AND".equals(searchOperator) && !"OR".equals(searchOperator)) { [MSG]Violation in class org.apache.ofbiz.lucene.content.None. Explicit call to OR.equals(searchOperator) method can be rewritten as (OR == (searchOperator)) |
BacklogNotifications.groovy | UnusedVariable | 2 | 22 | [SRC]def module = "BacklogNotifications.groovy" [MSG]The variable [module] in class org.apache.ofbiz.scrum.None is not used |
BacklogNotifications.groovy | LineLength | 2 | 33 | [SRC]backlogList = select("productId", "workEffortId", "custR...queryList() [MSG]The line exceeds 150 characters. The line is 175 characters. |
BacklogNotifications.groovy | ExplicitCallToEqualsMethod | 2 | 53 | [SRC]if ("CRQ_ACCEPTED".equals(custRequest.statusId)) { [MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to CRQ_ACCEPTED.equals(custRequest.statusId) method can be rewritten as (CRQ_ACCEPTED == (custRequest.statusId)) |
BacklogNotifications.groovy | ExplicitCallToEqualsMethod | 2 | 55 | [SRC]if (custStatusList.size() > 2 && "CRQ_REVIEWED".equals(c..statusId)) { [MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to CRQ_REVIEWED.equals(custStatusList[1].statusId) method can be rewritten as (CRQ_REVIEWED == (custStatusList[1].statusId)) |
BillSettings.groovy | ExplicitCallToEqualsMethod | 2 | 43 | [SRC]if (partyId && !"_NA_".equals(partyId)) { [MSG]Violation in class org.apache.ofbiz.ecommerce.order.None. Explicit call to _NA_.equals(partyId) method can be rewritten as (_NA_ == (partyId)) |
BillSettings.groovy | LineLength | 2 | 66 | [SRC]partyContactMech = from("PartyContactMech").where("party..queryFirst() [MSG]The line exceeds 150 characters. The line is 172 characters. |
BillSettings.groovy | ExplicitCallToEqualsMethod | 2 | 80 | [SRC]if ("CREDIT_CARD".equals(paymentMethod.paymentMethodTypeId)) { [MSG]Violation in class org.apache.ofbiz.ecommerce.order.None. Explicit call to CREDIT_CARD.equals(paymentMethod.paymentMethodTypeId) method can be rewritten as (CREDIT_CARD == (paymentMethod.paymentMethodTypeId)) |
BillSettings.groovy | ExplicitCallToEqualsMethod | 2 | 84 | [SRC]} else if ("EFT_ACCOUNT".equals(paymentMethod.paymentMethodTypeId)) { [MSG]Violation in class org.apache.ofbiz.ecommerce.order.None. Explicit call to EFT_ACCOUNT.equals(paymentMethod.paymentMethodTypeId) method can be rewritten as (EFT_ACCOUNT == (paymentMethod.paymentMethodTypeId)) |
BillSettings.groovy | ExplicitCallToEqualsMethod | 2 | 88 | [SRC]} else if ("GIFT_CARD".equals(paymentMethod.paymentMethodTypeId)) { [MSG]Violation in class org.apache.ofbiz.ecommerce.order.None. Explicit call to GIFT_CARD.equals(paymentMethod.paymentMethodTypeId) method can be rewritten as (GIFT_CARD == (paymentMethod.paymentMethodTypeId)) |
ChangePassword.groovy | IfStatementBraces | 2 | 33 | [SRC]if (!tryEntity) userLoginData = UtilHttp.getParameterMap(request) [MSG]The if statement lacks braces |
ChangePassword.groovy | IfStatementBraces | 2 | 34 | [SRC]if (!userLoginData) userLoginData = [:] [MSG]The if statement lacks braces |
CheckoutReview.groovy | ExplicitCallToEqualsMethod | 2 | 42 | [SRC]if ("OrderAdjustment".equals(valueObj.getEntityName())) { [MSG]Violation in class org.apache.ofbiz.ecommerce.order.None. Explicit call to OrderAdjustment.equals(valueObj.getEntityName()) method can be rewritten as (OrderAdjustment == (valueObj.getEntityName())) |
CheckoutReview.groovy | ExplicitCallToEqualsMethod | 2 | 77 | [SRC]isDemoStore = !"N".equals(productStore.isDemoStore) [MSG]Violation in class org.apache.ofbiz.ecommerce.order.None. Explicit call to N.equals(productStore.isDemoStore) method can be rewritten as (N == (productStore.isDemoStore)) |
CheckoutReview.groovy | IfStatementBraces | 2 | 82 | [SRC]if (paymentAddress) context.paymentAddress = paymentAddress [MSG]The if statement lacks braces |
CheckoutReview.groovy | IfStatementBraces | 2 | 101 | [SRC]if (shipmentMethodType) context.shipMethDescription = sh...description [MSG]The if statement lacks braces |
CommonServicesScript.groovy | AssignmentInConditional | 2 | 355 | [SRC]while (party = parties.next()) { [MSG]Assignment used as conditional value, which always results in true. Use the == operator instead |
ContactList.groovy | LineLength | 2 | 57 | [SRC]partyAndContactMechList = from("PartyAndContactMech").wh...queryList() [MSG]The line exceeds 150 characters. The line is 169 characters. |
ContentPrep.groovy | IfStatementBraces | 2 | 48 | [SRC]if (!contentId) [MSG]The if statement lacks braces |
ContentPrep.groovy | IfStatementBraces | 2 | 50 | [SRC]if (!contentId) [MSG]The if statement lacks braces |
ContentServicesScript.groovy | AssignmentInConditional | 2 | 154 | [SRC]while (content = contents.next()) { [MSG]Assignment used as conditional value, which always results in true. Use the == operator instead |
CurrentValPrep.groovy | EmptyIfStatement | 2 | 100 | [SRC]if (!sPassed.equals(sCached)) { [MSG]The if statement is empty |
CurrentValPrep.groovy | ExplicitCallToEqualsMethod | 2 | 100 | [SRC]if (!sPassed.equals(sCached)) { [MSG]Violation in class org.apache.ofbiz.ecommerce.forum.None. Explicit call to sPassed.equals(sCached) method can be rewritten as (sPassed == (sCached)) |
CurrentValPrep.groovy | IfStatementBraces | 2 | 131 | [SRC]if (s) suffix = "_" + s [MSG]The if statement lacks braces |
CurrentValPrep.groovy | ExplicitCallToEqualsMethod | 2 | 133 | [SRC]if ("_ELECTRONIC_TEXT".equals(suffix)) { [MSG]Violation in class org.apache.ofbiz.ecommerce.forum.None. Explicit call to _ELECTRONIC_TEXT.equals(suffix) method can be rewritten as (_ELECTRONIC_TEXT == (suffix)) |
CurrentValPrep.groovy | IfStatementBraces | 2 | 135 | [SRC]if (s) suffix += "_" + s [MSG]The if statement lacks braces |
CustSettings.groovy | LineLength | 2 | 37 | [SRC]// NOTE: if there was an error, then don't look up and f..tomagically) [MSG]The line exceeds 150 characters. The line is 182 characters. |
CustSettings.groovy | LineLength | 2 | 72 | [SRC]emailPartyContactDetail = from("PartyContactDetailByPurp..queryFirst() [MSG]The line exceeds 150 characters. The line is 168 characters. |
CustSettings.groovy | LineLength | 2 | 80 | [SRC]homePhonePartyContactDetail = from("PartyContactDetailBy..queryFirst() [MSG]The line exceeds 150 characters. The line is 169 characters. |
CustSettings.groovy | LineLength | 2 | 90 | [SRC]workPhonePartyContactDetail = from("PartyContactDetailBy..queryFirst() [MSG]The line exceeds 150 characters. The line is 169 characters. |
CustomerAddress.groovy | ExplicitCallToEqualsMethod | 2 | 34 | [SRC]if (contactMech && "POSTAL_ADDRESS".equals(contactMech.c..chTypeId)) { [MSG]Violation in class org.apache.ofbiz.webpos.search.None. Explicit call to POSTAL_ADDRESS.equals(contactMech.contactMechTypeId) method can be rewritten as (POSTAL_ADDRESS == (contactMech.contactMechTypeId)) |
CustomerAddress.groovy | ExplicitCallToEqualsMethod | 2 | 45 | [SRC]if (contactMech && "POSTAL_ADDRESS".equals(contactMech.c..chTypeId)) { [MSG]Violation in class org.apache.ofbiz.webpos.search.None. Explicit call to POSTAL_ADDRESS.equals(contactMech.contactMechTypeId) method can be rewritten as (POSTAL_ADDRESS == (contactMech.contactMechTypeId)) |
DimensionServices.groovy | AssignmentInConditional | 2 | 56 | [SRC]while (iterator = listIterator.next()) { [MSG]Assignment used as conditional value, which always results in true. Use the == operator instead |
DimensionServices.groovy | AssignmentInConditional | 2 | 72 | [SRC]while (iterator = listIterator.next()) { [MSG]Assignment used as conditional value, which always results in true. Use the == operator instead |
DimensionServices.groovy | AssignmentInConditional | 2 | 83 | [SRC]while (iterator = listIterator.next()) { [MSG]Assignment used as conditional value, which always results in true. Use the == operator instead |
EcommerceSetup.groovy | IfStatementBraces | 2 | 35 | [SRC]if (catalogStyleSheet) globalContext.catalogStyleSheet =..ogStyleSheet [MSG]The if statement lacks braces |
EcommerceSetup.groovy | IfStatementBraces | 2 | 37 | [SRC]if (catalogHeaderLogo) globalContext.catalogHeaderLogo =..ogHeaderLogo [MSG]The if statement lacks braces |
EditAddPrep.groovy | ExplicitCallToEqualsMethod | 2 | 53 | [SRC]if ("SUMMARY".equals(mapKey)) { [MSG]Violation in class org.apache.ofbiz.ecommerce.forum.None. Explicit call to SUMMARY.equals(mapKey) method can be rewritten as (SUMMARY == (mapKey)) |
EditAddPrep.groovy | ExplicitCallToEqualsMethod | 2 | 73 | [SRC]if ("SUMMARY".equals(mapKey)) { [MSG]Violation in class org.apache.ofbiz.ecommerce.forum.None. Explicit call to SUMMARY.equals(mapKey) method can be rewritten as (SUMMARY == (mapKey)) |
EditBillingAddress.groovy | LineLength | 2 | 50 | [SRC]paymentMethod = from("PaymentMethod").where("partyId", p..queryFirst() [MSG]The line exceeds 150 characters. The line is 163 characters. |
EditBillingAddress.groovy | ExplicitCallToEqualsMethod | 2 | 63 | [SRC]if (billToContactMechId && billToContactMechId.equals(sh..ctMechId)) { [MSG]Violation in class org.apache.ofbiz.ecommerce.customer.None. Explicit call to billToContactMechId.equals(shipToContactMechId) method can be rewritten as (billToContactMechId == (shipToContactMechId)) |
EditContactMech.groovy | IfStatementBraces | 2 | 42 | [SRC]if (preContactMechTypeId) context.preContactMechTypeId =..ctMechTypeId [MSG]The if statement lacks braces |
EditContactMech.groovy | IfStatementBraces | 2 | 45 | [SRC]if (paymentMethodId) context.paymentMethodId = paymentMethodId [MSG]The if statement lacks braces |
EditContactMech.groovy | IfStatementBraces | 2 | 61 | [SRC]if (!tryEntity) contactMechData = parameters [MSG]The if statement lacks braces |
EditContactMech.groovy | IfStatementBraces | 2 | 62 | [SRC]if (!contactMechData) contactMechData = [:] [MSG]The if statement lacks braces |
EditContactMech.groovy | IfStatementBraces | 2 | 63 | [SRC]if (contactMechData) context.contactMechData = contactMechData [MSG]The if statement lacks braces |
EditContactMech.groovy | IfStatementBraces | 2 | 66 | [SRC]if (!tryEntity) partyContactMechData = parameters [MSG]The if statement lacks braces |
EditContactMech.groovy | IfStatementBraces | 2 | 67 | [SRC]if (!partyContactMechData) partyContactMechData = [:] [MSG]The if statement lacks braces |
EditContactMech.groovy | IfStatementBraces | 2 | 68 | [SRC]if (partyContactMechData) context.partyContactMechData =..tactMechData [MSG]The if statement lacks braces |
EditContactMech.groovy | IfStatementBraces | 2 | 71 | [SRC]if (!tryEntity) postalAddressData = parameters [MSG]The if statement lacks braces |
EditContactMech.groovy | IfStatementBraces | 2 | 72 | [SRC]if (!postalAddressData) postalAddressData = [:] [MSG]The if statement lacks braces |
EditContactMech.groovy | IfStatementBraces | 2 | 73 | [SRC]if (postalAddressData) context.postalAddressData = postalAddressData [MSG]The if statement lacks braces |
EditContactMech.groovy | IfStatementBraces | 2 | 76 | [SRC]if (!tryEntity) telecomNumberData = parameters [MSG]The if statement lacks braces |
EditContactMech.groovy | IfStatementBraces | 2 | 77 | [SRC]if (!telecomNumberData) telecomNumberData = [:] [MSG]The if statement lacks braces |
EditContactMech.groovy | IfStatementBraces | 2 | 78 | [SRC]if (telecomNumberData) context.telecomNumberData = telecomNumberData [MSG]The if statement lacks braces |
EditDailyHourReport.groovy | IfStatementBraces | 2 | 63 | [SRC]if (!timesheet) return [MSG]The if statement lacks braces |
EditDailyHourReport.groovy | IfStatementBraces | 2 | 105 | [SRC]if (estimatedMilliSeconds > 0) [MSG]The if statement lacks braces |
EditDailyHourReport.groovy | LineLength | 2 | 111 | [SRC]lastTimeEntryOfTasks = from("TimeEntry").where("workEffo...queryList() [MSG]The line exceeds 150 characters. The line is 155 characters. |
EditDailyHourReport.groovy | IfStatementBraces | 2 | 112 | [SRC]if (lastTimeEntryOfTasks.size() != 0) lastTimeEntry = la..ryOfTasks[0] [MSG]The if statement lacks braces |
EditDailyHourReport.groovy | LineLength | 2 | 126 | [SRC]workEffortPartyAssigns = EntityUtil.filterByDate(entryWo..ull, false)) [MSG]The line exceeds 150 characters. The line is 153 characters. |
EditDailyHourReport.groovy | ExplicitCallToEqualsMethod | 2 | 131 | [SRC]if ("SCAS_COMPLETED".equals(workEffortPartyAssign.statusId)) { [MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to SCAS_COMPLETED.equals(workEffortPartyAssign.statusId) method can be rewritten as (SCAS_COMPLETED == (workEffortPartyAssign.statusId)) |
EditDailyHourReport.groovy | ExplicitCallToEqualsMethod | 2 | 136 | [SRC]if ("STS_COMPLETED".equals(entryWorkEffort.currentStatusId)) { [MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to STS_COMPLETED.equals(entryWorkEffort.currentStatusId) method can be rewritten as (STS_COMPLETED == (entryWorkEffort.currentStatusId)) |
EditDailyHourReport.groovy | IfStatementBraces | 2 | 156 | [SRC]if (aHours > 0.00) [MSG]The if statement lacks braces |
EditDailyHourReport.groovy | ExplicitCallToEqualsMethod | 2 | 177 | [SRC](!lastTimeEntry.workEffortId.equals(timeEntry.workEffortId) || [MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to lastTimeEntry.workEffortId.equals(timeEntry.workEffortId) method can be rewritten as (lastTimeEntry.workEffortId == (timeEntry.workEffortId)) |
EditDailyHourReport.groovy | ExplicitCallToEqualsMethod | 2 | 178 | [SRC]!lastTimeEntry.rateTypeId.equals(timeEntry.rateTypeId))) { [MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to lastTimeEntry.rateTypeId.equals(timeEntry.rateTypeId) method can be rewritten as (lastTimeEntry.rateTypeId == (timeEntry.rateTypeId)) |
EditDailyHourReport.groovy | IfStatementBraces | 2 | 185 | [SRC]if ("d0".equals(dayNumber)) day0Total += hours [MSG]The if statement lacks braces |
EditDailyHourReport.groovy | ExplicitCallToEqualsMethod | 2 | 185 | [SRC]if ("d0".equals(dayNumber)) day0Total += hours [MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to d0.equals(dayNumber) method can be rewritten as (d0 == (dayNumber)) |
EditDailyHourReport.groovy | IfStatementBraces | 2 | 186 | [SRC]if ("d1".equals(dayNumber)) day1Total += hours [MSG]The if statement lacks braces |
EditDailyHourReport.groovy | ExplicitCallToEqualsMethod | 2 | 186 | [SRC]if ("d1".equals(dayNumber)) day1Total += hours [MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to d1.equals(dayNumber) method can be rewritten as (d1 == (dayNumber)) |
EditDailyHourReport.groovy | IfStatementBraces | 2 | 187 | [SRC]if ("d2".equals(dayNumber)) day2Total += hours [MSG]The if statement lacks braces |
EditDailyHourReport.groovy | ExplicitCallToEqualsMethod | 2 | 187 | [SRC]if ("d2".equals(dayNumber)) day2Total += hours [MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to d2.equals(dayNumber) method can be rewritten as (d2 == (dayNumber)) |
EditDailyHourReport.groovy | IfStatementBraces | 2 | 188 | [SRC]if ("d3".equals(dayNumber)) day3Total += hours [MSG]The if statement lacks braces |
EditDailyHourReport.groovy | ExplicitCallToEqualsMethod | 2 | 188 | [SRC]if ("d3".equals(dayNumber)) day3Total += hours [MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to d3.equals(dayNumber) method can be rewritten as (d3 == (dayNumber)) |
EditDailyHourReport.groovy | IfStatementBraces | 2 | 189 | [SRC]if ("d4".equals(dayNumber)) day4Total += hours [MSG]The if statement lacks braces |
EditDailyHourReport.groovy | ExplicitCallToEqualsMethod | 2 | 189 | [SRC]if ("d4".equals(dayNumber)) day4Total += hours [MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to d4.equals(dayNumber) method can be rewritten as (d4 == (dayNumber)) |
EditDailyHourReport.groovy | IfStatementBraces | 2 | 190 | [SRC]if ("d5".equals(dayNumber)) day5Total += hours [MSG]The if statement lacks braces |
EditDailyHourReport.groovy | ExplicitCallToEqualsMethod | 2 | 190 | [SRC]if ("d5".equals(dayNumber)) day5Total += hours [MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to d5.equals(dayNumber) method can be rewritten as (d5 == (dayNumber)) |
EditDailyHourReport.groovy | IfStatementBraces | 2 | 191 | [SRC]if ("d6".equals(dayNumber)) day6Total += hours [MSG]The if statement lacks braces |
EditDailyHourReport.groovy | ExplicitCallToEqualsMethod | 2 | 191 | [SRC]if ("d6".equals(dayNumber)) day6Total += hours [MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to d6.equals(dayNumber) method can be rewritten as (d6 == (dayNumber)) |
EditDailyHourReport.groovy | IfStatementBraces | 2 | 198 | [SRC]if ("pd0".equals(dayNumber)) pDay0Total += planHours [MSG]The if statement lacks braces |
EditDailyHourReport.groovy | ExplicitCallToEqualsMethod | 2 | 198 | [SRC]if ("pd0".equals(dayNumber)) pDay0Total += planHours [MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to pd0.equals(dayNumber) method can be rewritten as (pd0 == (dayNumber)) |
EditDailyHourReport.groovy | IfStatementBraces | 2 | 199 | [SRC]if ("pd1".equals(dayNumber)) pDay1Total += planHours [MSG]The if statement lacks braces |
EditDailyHourReport.groovy | ExplicitCallToEqualsMethod | 2 | 199 | [SRC]if ("pd1".equals(dayNumber)) pDay1Total += planHours [MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to pd1.equals(dayNumber) method can be rewritten as (pd1 == (dayNumber)) |
EditDailyHourReport.groovy | IfStatementBraces | 2 | 200 | [SRC]if ("pd2".equals(dayNumber)) pDay2Total += planHours [MSG]The if statement lacks braces |
EditDailyHourReport.groovy | ExplicitCallToEqualsMethod | 2 | 200 | [SRC]if ("pd2".equals(dayNumber)) pDay2Total += planHours [MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to pd2.equals(dayNumber) method can be rewritten as (pd2 == (dayNumber)) |
EditDailyHourReport.groovy | IfStatementBraces | 2 | 201 | [SRC]if ("pd3".equals(dayNumber)) pDay3Total += planHours [MSG]The if statement lacks braces |
EditDailyHourReport.groovy | ExplicitCallToEqualsMethod | 2 | 201 | [SRC]if ("pd3".equals(dayNumber)) pDay3Total += planHours [MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to pd3.equals(dayNumber) method can be rewritten as (pd3 == (dayNumber)) |
EditDailyHourReport.groovy | IfStatementBraces | 2 | 202 | [SRC]if ("pd4".equals(dayNumber)) pDay4Total += planHours [MSG]The if statement lacks braces |
EditDailyHourReport.groovy | ExplicitCallToEqualsMethod | 2 | 202 | [SRC]if ("pd4".equals(dayNumber)) pDay4Total += planHours [MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to pd4.equals(dayNumber) method can be rewritten as (pd4 == (dayNumber)) |
EditDailyHourReport.groovy | IfStatementBraces | 2 | 203 | [SRC]if ("pd5".equals(dayNumber)) pDay5Total += planHours [MSG]The if statement lacks braces |
EditDailyHourReport.groovy | ExplicitCallToEqualsMethod | 2 | 203 | [SRC]if ("pd5".equals(dayNumber)) pDay5Total += planHours [MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to pd5.equals(dayNumber) method can be rewritten as (pd5 == (dayNumber)) |
EditDailyHourReport.groovy | IfStatementBraces | 2 | 204 | [SRC]if ("pd6".equals(dayNumber)) pDay6Total += planHours [MSG]The if statement lacks braces |
EditDailyHourReport.groovy | ExplicitCallToEqualsMethod | 2 | 204 | [SRC]if ("pd6".equals(dayNumber)) pDay6Total += planHours [MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to pd6.equals(dayNumber) method can be rewritten as (pd6 == (dayNumber)) |
EditDailyHourReport.groovy | LineLength | 2 | 215 | [SRC]["userLogin": parameters.userLogin, "partyId": lastEmplL..y.fromDate]) [MSG]The line exceeds 150 characters. The line is 179 characters. |
EditDailyHourReport.groovy | AssignmentInConditional | 2 | 247 | [SRC]while ((emplLeaveMap = emplLeave.next())) { [MSG]Assignment used as conditional value, which always results in true. Use the == operator instead |
EditDailyHourReport.groovy | ExplicitCallToEqualsMethod | 2 | 255 | [SRC]!lastEmplLeaveEntry.leaveTypeId.equals(emplLeaveEntry.leaveTypeId) || [MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to lastEmplLeaveEntry.leaveTypeId.equals(emplLeaveEntry.leaveTypeId) method can be rewritten as (lastEmplLeaveEntry.leaveTypeId == (emplLeaveEntry.leaveTypeId)) |
EditDailyHourReport.groovy | ExplicitCallToEqualsMethod | 2 | 256 | [SRC]!lastEmplLeaveEntry.partyId.equals(emplLeaveEntry.partyId))) { [MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to lastEmplLeaveEntry.partyId.equals(emplLeaveEntry.partyId) method can be rewritten as (lastEmplLeaveEntry.partyId == (emplLeaveEntry.partyId)) |
EditDailyHourReport.groovy | LineLength | 2 | 260 | [SRC]["userLogin": parameters.userLogin, "partyId": emplLeave..y.fromDate]) [MSG]The line exceeds 150 characters. The line is 159 characters. |
EditDailyHourReport.groovy | LineLength | 2 | 265 | [SRC]["userLogin": parameters.userLogin, "partyId": emplLeave..y.fromDate]) [MSG]The line exceeds 150 characters. The line is 163 characters. |
EditDailyHourReport.groovy | IfStatementBraces | 2 | 268 | [SRC]if ("d0".equals(leaveDayNumber)) day0Total += leaveHours [MSG]The if statement lacks braces |
EditDailyHourReport.groovy | ExplicitCallToEqualsMethod | 2 | 268 | [SRC]if ("d0".equals(leaveDayNumber)) day0Total += leaveHours [MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to d0.equals(leaveDayNumber) method can be rewritten as (d0 == (leaveDayNumber)) |
EditDailyHourReport.groovy | IfStatementBraces | 2 | 269 | [SRC]if ("d1".equals(leaveDayNumber)) day1Total += leaveHours [MSG]The if statement lacks braces |
EditDailyHourReport.groovy | ExplicitCallToEqualsMethod | 2 | 269 | [SRC]if ("d1".equals(leaveDayNumber)) day1Total += leaveHours [MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to d1.equals(leaveDayNumber) method can be rewritten as (d1 == (leaveDayNumber)) |
EditDailyHourReport.groovy | IfStatementBraces | 2 | 270 | [SRC]if ("d2".equals(leaveDayNumber)) day2Total += leaveHours [MSG]The if statement lacks braces |
EditDailyHourReport.groovy | ExplicitCallToEqualsMethod | 2 | 270 | [SRC]if ("d2".equals(leaveDayNumber)) day2Total += leaveHours [MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to d2.equals(leaveDayNumber) method can be rewritten as (d2 == (leaveDayNumber)) |
EditDailyHourReport.groovy | IfStatementBraces | 2 | 271 | [SRC]if ("d3".equals(leaveDayNumber)) day3Total += leaveHours [MSG]The if statement lacks braces |
EditDailyHourReport.groovy | ExplicitCallToEqualsMethod | 2 | 271 | [SRC]if ("d3".equals(leaveDayNumber)) day3Total += leaveHours [MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to d3.equals(leaveDayNumber) method can be rewritten as (d3 == (leaveDayNumber)) |
EditDailyHourReport.groovy | IfStatementBraces | 2 | 272 | [SRC]if ("d4".equals(leaveDayNumber)) day4Total += leaveHours [MSG]The if statement lacks braces |
EditDailyHourReport.groovy | ExplicitCallToEqualsMethod | 2 | 272 | [SRC]if ("d4".equals(leaveDayNumber)) day4Total += leaveHours [MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to d4.equals(leaveDayNumber) method can be rewritten as (d4 == (leaveDayNumber)) |
EditDailyHourReport.groovy | IfStatementBraces | 2 | 273 | [SRC]if ("d5".equals(leaveDayNumber)) day5Total += leaveHours [MSG]The if statement lacks braces |
EditDailyHourReport.groovy | ExplicitCallToEqualsMethod | 2 | 273 | [SRC]if ("d5".equals(leaveDayNumber)) day5Total += leaveHours [MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to d5.equals(leaveDayNumber) method can be rewritten as (d5 == (leaveDayNumber)) |
EditDailyHourReport.groovy | IfStatementBraces | 2 | 274 | [SRC]if ("d6".equals(leaveDayNumber)) day6Total += leaveHours [MSG]The if statement lacks braces |
EditDailyHourReport.groovy | ExplicitCallToEqualsMethod | 2 | 274 | [SRC]if ("d6".equals(leaveDayNumber)) day6Total += leaveHours [MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to d6.equals(leaveDayNumber) method can be rewritten as (d6 == (leaveDayNumber)) |
EditDailyHourReport.groovy | LineLength | 2 | 280 | [SRC]["userLogin": parameters.userLogin, "partyId": emplLeave..y.fromDate]) [MSG]The line exceeds 150 characters. The line is 163 characters. |
EditDailyHourReport.groovy | IfStatementBraces | 2 | 283 | [SRC]if ("pd0".equals(leavePlanDay)) pDay0Total += leavePlanHours [MSG]The if statement lacks braces |
EditDailyHourReport.groovy | ExplicitCallToEqualsMethod | 2 | 283 | [SRC]if ("pd0".equals(leavePlanDay)) pDay0Total += leavePlanHours [MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to pd0.equals(leavePlanDay) method can be rewritten as (pd0 == (leavePlanDay)) |
EditDailyHourReport.groovy | IfStatementBraces | 2 | 284 | [SRC]if ("pd1".equals(leavePlanDay)) pDay1Total += leavePlanHours [MSG]The if statement lacks braces |
EditDailyHourReport.groovy | ExplicitCallToEqualsMethod | 2 | 284 | [SRC]if ("pd1".equals(leavePlanDay)) pDay1Total += leavePlanHours [MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to pd1.equals(leavePlanDay) method can be rewritten as (pd1 == (leavePlanDay)) |
EditDailyHourReport.groovy | IfStatementBraces | 2 | 285 | [SRC]if ("pd2".equals(leavePlanDay)) pDay2Total += leavePlanHours [MSG]The if statement lacks braces |
EditDailyHourReport.groovy | ExplicitCallToEqualsMethod | 2 | 285 | [SRC]if ("pd2".equals(leavePlanDay)) pDay2Total += leavePlanHours [MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to pd2.equals(leavePlanDay) method can be rewritten as (pd2 == (leavePlanDay)) |
EditDailyHourReport.groovy | IfStatementBraces | 2 | 286 | [SRC]if ("pd3".equals(leavePlanDay)) pDay3Total += leavePlanHours [MSG]The if statement lacks braces |
EditDailyHourReport.groovy | ExplicitCallToEqualsMethod | 2 | 286 | [SRC]if ("pd3".equals(leavePlanDay)) pDay3Total += leavePlanHours [MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to pd3.equals(leavePlanDay) method can be rewritten as (pd3 == (leavePlanDay)) |
EditDailyHourReport.groovy | IfStatementBraces | 2 | 287 | [SRC]if ("pd4".equals(leavePlanDay)) pDay4Total += leavePlanHours [MSG]The if statement lacks braces |
EditDailyHourReport.groovy | ExplicitCallToEqualsMethod | 2 | 287 | [SRC]if ("pd4".equals(leavePlanDay)) pDay4Total += leavePlanHours [MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to pd4.equals(leavePlanDay) method can be rewritten as (pd4 == (leavePlanDay)) |
EditDailyHourReport.groovy | IfStatementBraces | 2 | 288 | [SRC]if ("pd5".equals(leavePlanDay)) pDay5Total += leavePlanHours [MSG]The if statement lacks braces |
EditDailyHourReport.groovy | ExplicitCallToEqualsMethod | 2 | 288 | [SRC]if ("pd5".equals(leavePlanDay)) pDay5Total += leavePlanHours [MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to pd5.equals(leavePlanDay) method can be rewritten as (pd5 == (leavePlanDay)) |
EditDailyHourReport.groovy | IfStatementBraces | 2 | 289 | [SRC]if ("pd6".equals(leavePlanDay)) pDay6Total += leavePlanHours [MSG]The if statement lacks braces |
EditDailyHourReport.groovy | ExplicitCallToEqualsMethod | 2 | 289 | [SRC]if ("pd6".equals(leavePlanDay)) pDay6Total += leavePlanHours [MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to pd6.equals(leavePlanDay) method can be rewritten as (pd6 == (leavePlanDay)) |
EditDailyHourReport.groovy | ExplicitCallToEqualsMethod | 2 | 306 | [SRC]if (!"TIMESHEET_COMPLETED".equals(timesheet.statusId)) { [MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to TIMESHEET_COMPLETED.equals(timesheet.statusId) method can be rewritten as (TIMESHEET_COMPLETED == (timesheet.statusId)) |
EditDailyHourReport.groovy | ExplicitLinkedListInstantiation | 2 | 337 | [SRC]timesheets = new LinkedList() [MSG]LinkedList objects are better instantiated using the form "[] as Queue" |
EditDailyHourReport.groovy | AssignmentInConditional | 2 | 348 | [SRC]while ((emplLeaveMap = emplLeaveList.next())) { [MSG]Assignment used as conditional value, which always results in true. Use the == operator instead |
EditDailyHourReport.groovy | LineLength | 2 | 351 | [SRC]["userLogin": parameters.userLogin, "partyId": emplLeave..y.fromDate]) [MSG]The line exceeds 150 characters. The line is 163 characters. |
EditDailyHourReport.groovy | LineLength | 2 | 378 | [SRC]projectAndTaskList = from("ProjectSprintBacklogAndTask")...queryList() [MSG]The line exceeds 150 characters. The line is 199 characters. |
EditDailyHourReport.groovy | ExplicitCallToEqualsMethod | 2 | 396 | [SRC]if ("RF_SCRUM_MEETINGS".equals(custRequestTypeId) && "CR..StatusId)) { [MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to RF_SCRUM_MEETINGS.equals(custRequestTypeId) method can be rewritten as (RF_SCRUM_MEETINGS == (custRequestTypeId)) |
EditDailyHourReport.groovy | ExplicitCallToEqualsMethod | 2 | 396 | [SRC]if ("RF_SCRUM_MEETINGS".equals(custRequestTypeId) && "CR..StatusId)) { [MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to CRQ_REVIEWED.equals(backlogStatusId) method can be rewritten as (CRQ_REVIEWED == (backlogStatusId)) |
EditDailyHourReport.groovy | LineLength | 2 | 409 | [SRC]custRequestList = from("CustRequest").where("custRequest...queryList() [MSG]The line exceeds 150 characters. The line is 160 characters. |
EditDailyHourReport.groovy | ExplicitCallToEqualsMethod | 2 | 418 | [SRC]if (productId.equals(productOut)) { [MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to productId.equals(productOut) method can be rewritten as (productId == (productOut)) |
EditDailyHourReport.groovy | LineLength | 2 | 421 | [SRC]partyAssignmentTaskList = from("WorkEffortPartyAssignmen...queryList() [MSG]The line exceeds 150 characters. The line is 156 characters. |
EditEmailAndTelecomNumber.groovy | LineLength | 2 | 35 | [SRC]partyContactMech = from("PartyContactMech").where("party..queryFirst() [MSG]The line exceeds 150 characters. The line is 155 characters. |
EditPaymentMethod.groovy | IfStatementBraces | 2 | 41 | [SRC]if (!tryEntity) creditCardData = parameters [MSG]The if statement lacks braces |
EditPaymentMethod.groovy | IfStatementBraces | 2 | 42 | [SRC]if (!creditCardData) creditCardData = [:] [MSG]The if statement lacks braces |
EditPaymentMethod.groovy | IfStatementBraces | 2 | 43 | [SRC]if (creditCardData) context.creditCardData = creditCardData [MSG]The if statement lacks braces |
EditPaymentMethod.groovy | IfStatementBraces | 2 | 46 | [SRC]if (!tryEntity) giftCardData = parameters [MSG]The if statement lacks braces |
EditPaymentMethod.groovy | IfStatementBraces | 2 | 47 | [SRC]if (!giftCardData) giftCardData = [:] [MSG]The if statement lacks braces |
EditPaymentMethod.groovy | IfStatementBraces | 2 | 48 | [SRC]if (giftCardData) context.giftCardData = giftCardData [MSG]The if statement lacks braces |
EditPaymentMethod.groovy | IfStatementBraces | 2 | 51 | [SRC]if (!tryEntity) eftAccountData = parameters [MSG]The if statement lacks braces |
EditPaymentMethod.groovy | IfStatementBraces | 2 | 52 | [SRC]if (!eftAccountData) eftAccountData = [:] [MSG]The if statement lacks braces |
EditPaymentMethod.groovy | IfStatementBraces | 2 | 53 | [SRC]if (eftAccountData) context.eftAccountData = eftAccountData [MSG]The if statement lacks braces |
EditPaymentMethod.groovy | IfStatementBraces | 2 | 56 | [SRC]if (!tryEntity) paymentMethodData = parameters [MSG]The if statement lacks braces |
EditPaymentMethod.groovy | IfStatementBraces | 2 | 57 | [SRC]if (!paymentMethodData) paymentMethodData = [:] [MSG]The if statement lacks braces |
EditPaymentMethod.groovy | IfStatementBraces | 2 | 58 | [SRC]if (paymentMethodData) context.paymentMethodData = paymentMethodData [MSG]The if statement lacks braces |
EditPaymentMethod.groovy | LineLength | 2 | 61 | [SRC]if (!security.hasEntityPermission("PARTYMGR", "_VIEW", s...partyId)) { [MSG]The line exceeds 150 characters. The line is 217 characters. |
EditPaymentMethod.groovy | ExplicitCallToEqualsMethod | 2 | 61 | [SRC]if (!security.hasEntityPermission("PARTYMGR", "_VIEW", s...partyId)) { [MSG]Violation in class org.apache.ofbiz.ecommerce.customer.None. Explicit call to userLogin.partyId.equals(context.paymentMethod.partyId) method can be rewritten as (userLogin.partyId == (context.paymentMethod.partyId)) |
EditPerson.groovy | IfStatementBraces | 2 | 30 | [SRC]if (!tryEntity) personData = UtilHttp.getParameterMap(request) [MSG]The if statement lacks braces |
EditPerson.groovy | IfStatementBraces | 2 | 31 | [SRC]if (!personData) personData = [:] [MSG]The if statement lacks braces |
EditShippingAddress.groovy | ExplicitCallToEqualsMethod | 2 | 27 | [SRC]if ("PERSON".equals(party.partyTypeId)) { [MSG]Violation in class org.apache.ofbiz.ecommerce.customer.None. Explicit call to PERSON.equals(party.partyTypeId) method can be rewritten as (PERSON == (party.partyTypeId)) |
EditShoppingList.groovy | BracesForIfElse | 2 | 36 | [SRC]if (userLogin) [MSG]Opening brace should be on the same line as 'if' |
EditShoppingList.groovy | LineLength | 2 | 97 | [SRC]calcPriceOutMap = runService('calculateProductPrice', [p..: userLogin, [MSG]The line exceeds 150 characters. The line is 181 characters. |
EditShoppingList.groovy | ExplicitCallToEqualsMethod | 2 | 102 | [SRC]if ("ASSET_USAGE".equals(product.productTypeId) || "ASSE..ctTypeId)) { [MSG]Violation in class org.apache.ofbiz.ecommerce.shoppinglist.None. Explicit call to ASSET_USAGE.equals(product.productTypeId) method can be rewritten as (ASSET_USAGE == (product.productTypeId)) |
EditShoppingList.groovy | ExplicitCallToEqualsMethod | 2 | 102 | [SRC]if ("ASSET_USAGE".equals(product.productTypeId) || "ASSE..ctTypeId)) { [MSG]Violation in class org.apache.ofbiz.ecommerce.shoppinglist.None. Explicit call to ASSET_USAGE_OUT_IN.equals(product.productTypeId) method can be rewritten as (ASSET_USAGE_OUT_IN == (product.productTypeId)) |
EditShoppingList.groovy | ExplicitCallToEqualsMethod | 2 | 132 | [SRC]if ("Y".equals(product.isVirtual)) { [MSG]Violation in class org.apache.ofbiz.ecommerce.shoppinglist.None. Explicit call to Y.equals(product.isVirtual) method can be rewritten as (Y == (product.isVirtual)) |
EditShoppingList.groovy | LineLength | 2 | 165 | [SRC]childShoppingLists = from("ShoppingList").where("partyId...queryList() [MSG]The line exceeds 150 characters. The line is 169 characters. |
EditShoppingList.groovy | LineLength | 2 | 172 | [SRC]childShoppingListPriceMap = runService('calculateShoppin..rencyUomId]) [MSG]The line exceeds 150 characters. The line is 254 characters. |
EditShoppingList.groovy | ExplicitCallToEqualsMethod | 2 | 190 | [SRC]context.canView = userLogin.partyId.equals(shoppingList.partyId) [MSG]Violation in class org.apache.ofbiz.ecommerce.shoppinglist.None. Explicit call to userLogin.partyId.equals(shoppingList.partyId) method can be rewritten as (userLogin.partyId == (shoppingList.partyId)) |
EditShoppingList.groovy | ExplicitCallToEqualsMethod | 2 | 193 | [SRC]if ("SLT_AUTO_REODR".equals(shoppingListType?.shoppingListTypeId)) { [MSG]Violation in class org.apache.ofbiz.ecommerce.shoppinglist.None. Explicit call to SLT_AUTO_REODR.equals(shoppingListType?.shoppingListTypeId) method can be rewritten as (SLT_AUTO_REODR == (shoppingListType?.shoppingListTypeId)) |
EditShoppingList.groovy | ExplicitCallToEqualsMethod | 2 | 197 | [SRC]if (userLogin.partyId.equals(shoppingList.partyId)) { [MSG]Violation in class org.apache.ofbiz.ecommerce.shoppinglist.None. Explicit call to userLogin.partyId.equals(shoppingList.partyId) method can be rewritten as (userLogin.partyId == (shoppingList.partyId)) |
EditWeekTimesheet.groovy | IfStatementBraces | 2 | 61 | [SRC]if (!timesheet) return [MSG]The if statement lacks braces |
EditWeekTimesheet.groovy | LineLength | 2 | 103 | [SRC]workEffortPartyAssigns = EntityUtil.filterByDate(entryWo..ull, false)) [MSG]The line exceeds 150 characters. The line is 153 characters. |
EditWeekTimesheet.groovy | ExplicitCallToEqualsMethod | 2 | 108 | [SRC]if ("PAS_COMPLETED".equals(workEffortPartyAssign.statusId)) { [MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to PAS_COMPLETED.equals(workEffortPartyAssign.statusId) method can be rewritten as (PAS_COMPLETED == (workEffortPartyAssign.statusId)) |
EditWeekTimesheet.groovy | ExplicitCallToEqualsMethod | 2 | 142 | [SRC](!lastTimeEntry.workEffortId.equals(timeEntry.workEffortId) || [MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to lastTimeEntry.workEffortId.equals(timeEntry.workEffortId) method can be rewritten as (lastTimeEntry.workEffortId == (timeEntry.workEffortId)) |
EditWeekTimesheet.groovy | ExplicitCallToEqualsMethod | 2 | 143 | [SRC]!lastTimeEntry.rateTypeId.equals(timeEntry.rateTypeId))) { [MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to lastTimeEntry.rateTypeId.equals(timeEntry.rateTypeId) method can be rewritten as (lastTimeEntry.rateTypeId == (timeEntry.rateTypeId)) |
EditWeekTimesheet.groovy | IfStatementBraces | 2 | 150 | [SRC]if ("d0".equals(dayNumber)) day0Total += hours [MSG]The if statement lacks braces |
EditWeekTimesheet.groovy | ExplicitCallToEqualsMethod | 2 | 150 | [SRC]if ("d0".equals(dayNumber)) day0Total += hours [MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to d0.equals(dayNumber) method can be rewritten as (d0 == (dayNumber)) |
EditWeekTimesheet.groovy | IfStatementBraces | 2 | 151 | [SRC]if ("d1".equals(dayNumber)) day1Total += hours [MSG]The if statement lacks braces |
EditWeekTimesheet.groovy | ExplicitCallToEqualsMethod | 2 | 151 | [SRC]if ("d1".equals(dayNumber)) day1Total += hours [MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to d1.equals(dayNumber) method can be rewritten as (d1 == (dayNumber)) |
EditWeekTimesheet.groovy | IfStatementBraces | 2 | 152 | [SRC]if ("d2".equals(dayNumber)) day2Total += hours [MSG]The if statement lacks braces |
EditWeekTimesheet.groovy | ExplicitCallToEqualsMethod | 2 | 152 | [SRC]if ("d2".equals(dayNumber)) day2Total += hours [MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to d2.equals(dayNumber) method can be rewritten as (d2 == (dayNumber)) |
EditWeekTimesheet.groovy | IfStatementBraces | 2 | 153 | [SRC]if ("d3".equals(dayNumber)) day3Total += hours [MSG]The if statement lacks braces |
EditWeekTimesheet.groovy | ExplicitCallToEqualsMethod | 2 | 153 | [SRC]if ("d3".equals(dayNumber)) day3Total += hours [MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to d3.equals(dayNumber) method can be rewritten as (d3 == (dayNumber)) |
EditWeekTimesheet.groovy | IfStatementBraces | 2 | 154 | [SRC]if ("d4".equals(dayNumber)) day4Total += hours [MSG]The if statement lacks braces |
EditWeekTimesheet.groovy | ExplicitCallToEqualsMethod | 2 | 154 | [SRC]if ("d4".equals(dayNumber)) day4Total += hours [MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to d4.equals(dayNumber) method can be rewritten as (d4 == (dayNumber)) |
EditWeekTimesheet.groovy | IfStatementBraces | 2 | 155 | [SRC]if ("d5".equals(dayNumber)) day5Total += hours [MSG]The if statement lacks braces |
EditWeekTimesheet.groovy | ExplicitCallToEqualsMethod | 2 | 155 | [SRC]if ("d5".equals(dayNumber)) day5Total += hours [MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to d5.equals(dayNumber) method can be rewritten as (d5 == (dayNumber)) |
EditWeekTimesheet.groovy | IfStatementBraces | 2 | 156 | [SRC]if ("d6".equals(dayNumber)) day6Total += hours [MSG]The if statement lacks braces |
EditWeekTimesheet.groovy | ExplicitCallToEqualsMethod | 2 | 156 | [SRC]if ("d6".equals(dayNumber)) day6Total += hours [MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to d6.equals(dayNumber) method can be rewritten as (d6 == (dayNumber)) |
EditWeekTimesheet.groovy | ExplicitCallToEqualsMethod | 2 | 168 | [SRC]if (!"TIMESHEET_COMPLETED".equals(timesheet.statusId)) { [MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to TIMESHEET_COMPLETED.equals(timesheet.statusId) method can be rewritten as (TIMESHEET_COMPLETED == (timesheet.statusId)) |
EditWeekTimesheet.groovy | ExplicitLinkedListInstantiation | 2 | 192 | [SRC]timesheets = new LinkedList() [MSG]LinkedList objects are better instantiated using the form "[] as Queue" |
EditWeekTimesheet.groovy | IfStatementBraces | 2 | 60 | [SRC]if (!timesheet) return [MSG]The if statement lacks braces |
EditWeekTimesheet.groovy | LineLength | 2 | 102 | [SRC]workEffortPartyAssigns = EntityUtil.filterByDate(entryWo..ull, false)) [MSG]The line exceeds 150 characters. The line is 153 characters. |
EditWeekTimesheet.groovy | ExplicitCallToEqualsMethod | 2 | 107 | [SRC]if ("PAS_COMPLETED".equals(workEffortPartyAssign.statusId)) { [MSG]Violation in class org.apache.ofbiz.projectmgr.None. Explicit call to PAS_COMPLETED.equals(workEffortPartyAssign.statusId) method can be rewritten as (PAS_COMPLETED == (workEffortPartyAssign.statusId)) |
EditWeekTimesheet.groovy | ExplicitCallToEqualsMethod | 2 | 141 | [SRC](!lastTimeEntry.workEffortId.equals(timeEntry.workEffortId) || [MSG]Violation in class org.apache.ofbiz.projectmgr.None. Explicit call to lastTimeEntry.workEffortId.equals(timeEntry.workEffortId) method can be rewritten as (lastTimeEntry.workEffortId == (timeEntry.workEffortId)) |
EditWeekTimesheet.groovy | ExplicitCallToEqualsMethod | 2 | 142 | [SRC]!lastTimeEntry.rateTypeId.equals(timeEntry.rateTypeId))) { [MSG]Violation in class org.apache.ofbiz.projectmgr.None. Explicit call to lastTimeEntry.rateTypeId.equals(timeEntry.rateTypeId) method can be rewritten as (lastTimeEntry.rateTypeId == (timeEntry.rateTypeId)) |
EditWeekTimesheet.groovy | IfStatementBraces | 2 | 149 | [SRC]if ("d0".equals(dayNumber)) day0Total += hours [MSG]The if statement lacks braces |
EditWeekTimesheet.groovy | ExplicitCallToEqualsMethod | 2 | 149 | [SRC]if ("d0".equals(dayNumber)) day0Total += hours [MSG]Violation in class org.apache.ofbiz.projectmgr.None. Explicit call to d0.equals(dayNumber) method can be rewritten as (d0 == (dayNumber)) |
EditWeekTimesheet.groovy | IfStatementBraces | 2 | 150 | [SRC]if ("d1".equals(dayNumber)) day1Total += hours [MSG]The if statement lacks braces |
EditWeekTimesheet.groovy | ExplicitCallToEqualsMethod | 2 | 150 | [SRC]if ("d1".equals(dayNumber)) day1Total += hours [MSG]Violation in class org.apache.ofbiz.projectmgr.None. Explicit call to d1.equals(dayNumber) method can be rewritten as (d1 == (dayNumber)) |
EditWeekTimesheet.groovy | IfStatementBraces | 2 | 151 | [SRC]if ("d2".equals(dayNumber)) day2Total += hours [MSG]The if statement lacks braces |
EditWeekTimesheet.groovy | ExplicitCallToEqualsMethod | 2 | 151 | [SRC]if ("d2".equals(dayNumber)) day2Total += hours [MSG]Violation in class org.apache.ofbiz.projectmgr.None. Explicit call to d2.equals(dayNumber) method can be rewritten as (d2 == (dayNumber)) |
EditWeekTimesheet.groovy | IfStatementBraces | 2 | 152 | [SRC]if ("d3".equals(dayNumber)) day3Total += hours [MSG]The if statement lacks braces |
EditWeekTimesheet.groovy | ExplicitCallToEqualsMethod | 2 | 152 | [SRC]if ("d3".equals(dayNumber)) day3Total += hours [MSG]Violation in class org.apache.ofbiz.projectmgr.None. Explicit call to d3.equals(dayNumber) method can be rewritten as (d3 == (dayNumber)) |
EditWeekTimesheet.groovy | IfStatementBraces | 2 | 153 | [SRC]if ("d4".equals(dayNumber)) day4Total += hours [MSG]The if statement lacks braces |
EditWeekTimesheet.groovy | ExplicitCallToEqualsMethod | 2 | 153 | [SRC]if ("d4".equals(dayNumber)) day4Total += hours [MSG]Violation in class org.apache.ofbiz.projectmgr.None. Explicit call to d4.equals(dayNumber) method can be rewritten as (d4 == (dayNumber)) |
EditWeekTimesheet.groovy | IfStatementBraces | 2 | 154 | [SRC]if ("d5".equals(dayNumber)) day5Total += hours [MSG]The if statement lacks braces |
EditWeekTimesheet.groovy | ExplicitCallToEqualsMethod | 2 | 154 | [SRC]if ("d5".equals(dayNumber)) day5Total += hours [MSG]Violation in class org.apache.ofbiz.projectmgr.None. Explicit call to d5.equals(dayNumber) method can be rewritten as (d5 == (dayNumber)) |
EditWeekTimesheet.groovy | IfStatementBraces | 2 | 155 | [SRC]if ("d6".equals(dayNumber)) day6Total += hours [MSG]The if statement lacks braces |
EditWeekTimesheet.groovy | ExplicitCallToEqualsMethod | 2 | 155 | [SRC]if ("d6".equals(dayNumber)) day6Total += hours [MSG]Violation in class org.apache.ofbiz.projectmgr.None. Explicit call to d6.equals(dayNumber) method can be rewritten as (d6 == (dayNumber)) |
EditWeekTimesheet.groovy | ExplicitCallToEqualsMethod | 2 | 167 | [SRC]if (!"TIMESHEET_COMPLETED".equals(timesheet.statusId)) { [MSG]Violation in class org.apache.ofbiz.projectmgr.None. Explicit call to TIMESHEET_COMPLETED.equals(timesheet.statusId) method can be rewritten as (TIMESHEET_COMPLETED == (timesheet.statusId)) |
EditWeekTimesheet.groovy | ExplicitLinkedListInstantiation | 2 | 191 | [SRC]timesheets = new LinkedList() [MSG]LinkedList objects are better instantiated using the form "[] as Queue" |
FindBacklogItem.groovy | LineLength | 2 | 42 | [SRC]int countImplTask=0, countImplTaskComplete=0, countInsta..ntTestTask=0 [MSG]The line exceeds 150 characters. The line is 157 characters. |
FindProductBacklogItem.groovy | UnusedVariable | 2 | 27 | [SRC]def module = "FindProductBacklogItem.groovy" [MSG]The variable [module] in class org.apache.ofbiz.scrum.None is not used |
FindProductBacklogItem.groovy | ExplicitCallToEqualsMethod | 2 | 37 | [SRC]if ("Y".equals(parameters.noConditionFind)) { [MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to Y.equals(parameters.noConditionFind) method can be rewritten as (Y == (parameters.noConditionFind)) |
FindProductBacklogItem.groovy | LineLength | 2 | 99 | [SRC]backlogList = select("custRequestId","custRequestTypeId"..romPartyId") [MSG]The line exceeds 150 characters. The line is 231 characters. |
FindProductBacklogItem.groovy | ExplicitCallToEqualsMethod | 2 | 133 | [SRC]if ("N".equals(parameters.sequence)) { [MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to N.equals(parameters.sequence) method can be rewritten as (N == (parameters.sequence)) |
GetThirdPartyLogins.groovy | UnusedVariable | 2 | 24 | [SRC]final String module = "GetThirdPartyLogins.groovy" [MSG]The variable [module] in class org.apache.ofbiz.passport.login.None is not used |
GetThirdPartyLogins.groovy | LineLength | 2 | 45 | [SRC]storeLoginMethDetail = from(storeLoginMeth.loginMethType..ueryFirst(); [MSG]The line exceeds 150 characters. The line is 173 characters. |
HtmlAreaPrep.groovy | ExplicitCallToEqualsMethod | 2 | 39 | [SRC]if (!contentIdTo || !"TEMPLATE_MASTER".equals(contentIdTo)) { [MSG]Violation in class org.apache.ofbiz.ecommerce.forum.None. Explicit call to TEMPLATE_MASTER.equals(contentIdTo) method can be rewritten as (TEMPLATE_MASTER == (contentIdTo)) |
ImageManagementServicesScript.groovy | LineLength | 2 | 258 | [SRC]ScriptUtil.executeScript('component://product/src/main/g..ll, context) [MSG]The line exceeds 150 characters. The line is 158 characters. |
IndexProducts.groovy | AssignmentInConditional | 2 | 34 | [SRC]while (product = products.next()) { [MSG]Assignment used as conditional value, which always results in true. Use the == operator instead |
IndexProducts.groovy | EmptyCatchBlock | 2 | 45 | [SRC]} catch (Exception exc) {} [MSG]The catch block is empty |
LayeredNavigation.groovy | ExplicitCallToEqualsMethod | 2 | 47 | [SRC]if (!parameters.clearSearch || !"N".equals(parameters.clearSearch)) { [MSG]Violation in class org.apache.ofbiz.ecommerce.catalog.None. Explicit call to N.equals(parameters.clearSearch) method can be rewritten as (N == (parameters.clearSearch)) |
LayeredNavigation.groovy | LineLength | 2 | 81 | [SRC]thisSubCategoryList.add([productCategoryId: subCategory...entWrapper]) [MSG]The line exceeds 150 characters. The line is 200 characters. |
LayeredNavigation.groovy | LineLength | 2 | 111 | [SRC]availablePriceRangeList = [[low: "0", high: "10"], [low:..igh: "100"]] [MSG]The line exceeds 150 characters. The line is 276 characters. |
LayeredNavigation.groovy | LineLength | 2 | 115 | [SRC]priceRangeConstraint = new ProductSearch.ListPriceRangeC..om(request)) [MSG]The line exceeds 150 characters. The line is 168 characters. |
LayeredNavigation.groovy | LineLength | 2 | 119 | [SRC]priceRangeCount = ProductSearchSession.getCountForListPr.., delegator) [MSG]The line exceeds 150 characters. The line is 157 characters. |
ListCurrentProducts.groovy | ExplicitCallToEqualsMethod | 2 | 32 | [SRC]if ("Any".equals(statusId)) { [MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to Any.equals(statusId) method can be rewritten as (Any == (statusId)) |
ListCurrentProducts.groovy | ExplicitCallToEqualsMethod | 2 | 54 | [SRC]if ("PRODUCT_ACTIVE".equals(statusId)) { [MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to PRODUCT_ACTIVE.equals(statusId) method can be rewritten as (PRODUCT_ACTIVE == (statusId)) |
ListCurrentProducts.groovy | ExplicitCallToEqualsMethod | 2 | 88 | [SRC]if ("SCRUM_PRODUCT_OWNER".equals(groupId)) { [MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to SCRUM_PRODUCT_OWNER.equals(groupId) method can be rewritten as (SCRUM_PRODUCT_OWNER == (groupId)) |
ListCurrentProducts.groovy | LineLength | 2 | 89 | [SRC]productAndRoleList = from("ProductRole").where("productI...queryList() [MSG]The line exceeds 150 characters. The line is 158 characters. |
ListCurrentProducts.groovy | ExplicitCallToEqualsMethod | 2 | 93 | [SRC]if (productIdInner.equals(product.productId)) { [MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to productIdInner.equals(product.productId) method can be rewritten as (productIdInner == (product.productId)) |
ListCurrentProducts.groovy | ExplicitCallToEqualsMethod | 2 | 98 | [SRC]} else if ("SCRUM_STAKEHOLDER".equals(groupId)) { [MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to SCRUM_STAKEHOLDER.equals(groupId) method can be rewritten as (SCRUM_STAKEHOLDER == (groupId)) |
ListCurrentProducts.groovy | LineLength | 2 | 107 | [SRC]productRoleList = from("ProductRole").where("partyId", s...queryList() [MSG]The line exceeds 150 characters. The line is 187 characters. |
ListCurrentProducts.groovy | ExplicitCallToEqualsMethod | 2 | 111 | [SRC]if (stakeholderProduct.equals(product.productId)) { [MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to stakeholderProduct.equals(product.productId) method can be rewritten as (stakeholderProduct == (product.productId)) |
ListCurrentProducts.groovy | LineLength | 2 | 118 | [SRC]productAndRoleList = from("ProductAndRole").where("produ...queryList() [MSG]The line exceeds 150 characters. The line is 235 characters. |
ListCurrentProducts.groovy | ExplicitCallToEqualsMethod | 2 | 123 | [SRC]} else if ("SCRUM_MASTER".equals(groupId)) { [MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to SCRUM_MASTER.equals(groupId) method can be rewritten as (SCRUM_MASTER == (groupId)) |
ListCurrentProducts.groovy | LineLength | 2 | 126 | [SRC]productRoleList = from("ProductAndRole").where("productI...queryList() [MSG]The line exceeds 150 characters. The line is 229 characters. |
ListCurrentProducts.groovy | LineLength | 2 | 133 | [SRC]projects = from("WorkEffortAndProduct").where("productId...queryList() [MSG]The line exceeds 150 characters. The line is 183 characters. |
ListCurrentProducts.groovy | LineLength | 2 | 136 | [SRC]projectPartyAssignment = from("WorkEffortPartyAssignment...queryList() [MSG]The line exceeds 150 characters. The line is 176 characters. |
ListCurrentProducts.groovy | LineLength | 2 | 147 | [SRC]allSprintList = from("WorkEffort").where("workEffortPare...queryList() [MSG]The line exceeds 150 characters. The line is 160 characters. |
ListCurrentProducts.groovy | ParameterName | 2 | 148 | [SRC]allSprintList.each { SprintListMap -> [MSG]The parameter named SprintListMap in method <closure> of class org.apache.ofbiz.scrum.None does not match [a-z][a-zA-Z0-9]* |
ListCurrentProducts.groovy | LineLength | 2 | 150 | [SRC]workEffortPartyAssignment = from("WorkEffortPartyAssignm...queryList() [MSG]The line exceeds 150 characters. The line is 167 characters. |
ListCurrentProducts.groovy | LineLength | 2 | 159 | [SRC]projects = from("WorkEffortAndProduct").where("productId...queryList() [MSG]The line exceeds 150 characters. The line is 179 characters. |
ListCurrentProducts.groovy | LineLength | 2 | 163 | [SRC]allSprintList = from("WorkEffort").where("workEffortPare...queryList() [MSG]The line exceeds 150 characters. The line is 160 characters. |
ListCurrentProducts.groovy | ParameterName | 2 | 164 | [SRC]allSprintList.each { SprintListMap -> [MSG]The parameter named SprintListMap in method <closure> of class org.apache.ofbiz.scrum.None does not match [a-z][a-zA-Z0-9]* |
ListCurrentProducts.groovy | LineLength | 2 | 166 | [SRC]workEffortPartyAssignment = from("WorkEffortPartyAssignm...queryList() [MSG]The line exceeds 150 characters. The line is 167 characters. |
ListCurrentProducts.groovy | LineLength | 2 | 184 | [SRC]workEffortPartyAssignment = from("WorkEffortPartyAssignm...queryList() [MSG]The line exceeds 150 characters. The line is 171 characters. |
ListCurrentProducts.groovy | IfStatementBraces | 2 | 198 | [SRC]if(addAllProducts) [MSG]The if statement lacks braces |
ListCurrentProjects.groovy | LineLength | 2 | 36 | [SRC]resultAssign = from("WorkEffortPartyAssignment").where("...queryList() [MSG]The line exceeds 150 characters. The line is 153 characters. |
ListCurrentProjects.groovy | LineLength | 2 | 38 | [SRC]|| ((security.hasEntityPermission("PROJECTMGR", "_ROLE_A..ltAssign)) { [MSG]The line exceeds 150 characters. The line is 169 characters. |
ListCurrentSprints.groovy | LineLength | 2 | 38 | [SRC]partyAndSecurityGroupList = select("partyId", "groupId")...queryList() [MSG]The line exceeds 150 characters. The line is 157 characters. |
ListCurrentSprints.groovy | IfStatementBraces | 2 | 57 | [SRC]if (product != null) productName = product.internalName [MSG]The if statement lacks braces |
ListCurrentSprints.groovy | ExplicitCallToEqualsMethod | 2 | 66 | [SRC]if ("SCRUM_PRODUCT_OWNER".equals(groupId)) { [MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to SCRUM_PRODUCT_OWNER.equals(groupId) method can be rewritten as (SCRUM_PRODUCT_OWNER == (groupId)) |
ListCurrentSprints.groovy | LineLength | 2 | 67 | [SRC]productAndRoleList = from("ProductRole").where("productI...queryList() [MSG]The line exceeds 150 characters. The line is 177 characters. |
ListCurrentSprints.groovy | ExplicitCallToGetAtMethod | 2 | 67 | [SRC]productAndRoleList = from("ProductRole").where("productI...queryList() [MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to partyAndSecurityGroupList.getAt(0) method can be rewritten as partyAndSecurityGroupList[(0)] |
ListCurrentSprints.groovy | ExplicitCallToEqualsMethod | 2 | 71 | [SRC]}else if("SCRUM_STAKEHOLDER".equals(groupId)) { [MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to SCRUM_STAKEHOLDER.equals(groupId) method can be rewritten as (SCRUM_STAKEHOLDER == (groupId)) |
ListCurrentSprints.groovy | LineLength | 2 | 80 | [SRC]productRoleList = from("ProductRole").where("partyId", s...queryList() [MSG]The line exceeds 150 characters. The line is 182 characters. |
ListCurrentSprints.groovy | ExplicitCallToEqualsMethod | 2 | 84 | [SRC]if (stakeholderProduct.equals(sprint.productId)) { [MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to stakeholderProduct.equals(sprint.productId) method can be rewritten as (stakeholderProduct == (sprint.productId)) |
ListCurrentSprints.groovy | ExplicitCallToEqualsMethod | 2 | 99 | [SRC]} else if("SCRUM_MASTER".equals(groupId)) { [MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to SCRUM_MASTER.equals(groupId) method can be rewritten as (SCRUM_MASTER == (groupId)) |
ListCurrentSprints.groovy | LineLength | 2 | 112 | [SRC]projectPartyAssignment = from("WorkEffortPartyAssignment...queryList() [MSG]The line exceeds 150 characters. The line is 159 characters. |
ListCurrentSprints.groovy | ParameterName | 2 | 121 | [SRC]allSprintList.each { SprintListMap -> [MSG]The parameter named SprintListMap in method <closure> of class org.apache.ofbiz.scrum.None does not match [a-z][a-zA-Z0-9]* |
ListCurrentSprints.groovy | LineLength | 2 | 123 | [SRC]workEffortPartyAssignment = from("WorkEffortPartyAssignm...queryList() [MSG]The line exceeds 150 characters. The line is 158 characters. |
ListCurrentSprints.groovy | ParameterName | 2 | 132 | [SRC]allSprintList.each { SprintListMap -> [MSG]The parameter named SprintListMap in method <closure> of class org.apache.ofbiz.scrum.None does not match [a-z][a-zA-Z0-9]* |
ListCurrentSprints.groovy | LineLength | 2 | 134 | [SRC]workEffortPartyAssignment = from("WorkEffortPartyAssignm...queryList() [MSG]The line exceeds 150 characters. The line is 154 characters. |
ListCurrentSprints.groovy | LineLength | 2 | 143 | [SRC]|| security.hasEntityPermission("SCRUM_PROJECT", "_ROLE_..W", session) [MSG]The line exceeds 150 characters. The line is 153 characters. |
ListCurrentSprints.groovy | ExplicitCallToEqualsMethod | 2 | 153 | [SRC]if ("SCRUM_PRODUCT_OWNER".equals(groupId)) { [MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to SCRUM_PRODUCT_OWNER.equals(groupId) method can be rewritten as (SCRUM_PRODUCT_OWNER == (groupId)) |
ListCurrentSprints.groovy | LineLength | 2 | 154 | [SRC]productAndRoleList = from("ProductRole").where("productI...queryList() [MSG]The line exceeds 150 characters. The line is 181 characters. |
ListCurrentSprints.groovy | ExplicitCallToGetAtMethod | 2 | 154 | [SRC]productAndRoleList = from("ProductRole").where("productI...queryList() [MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to partyAndSecurityGroupList.getAt(0) method can be rewritten as partyAndSecurityGroupList[(0)] |
ListCurrentSprints.groovy | ExplicitCallToEqualsMethod | 2 | 158 | [SRC]}else if("SCRUM_STAKEHOLDER".equals(groupId)) { [MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to SCRUM_STAKEHOLDER.equals(groupId) method can be rewritten as (SCRUM_STAKEHOLDER == (groupId)) |
ListCurrentSprints.groovy | LineLength | 2 | 167 | [SRC]productRoleList = from("ProductRole").where("partyId", s...queryList() [MSG]The line exceeds 150 characters. The line is 190 characters. |
ListCurrentSprints.groovy | ExplicitCallToEqualsMethod | 2 | 171 | [SRC]if (stakeholderProduct.equals(sprint.productId)) { [MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to stakeholderProduct.equals(sprint.productId) method can be rewritten as (stakeholderProduct == (sprint.productId)) |
ListCurrentSprints.groovy | LineLength | 2 | 178 | [SRC]productAndRoleList = from("ProductAndRole").where("produ...queryList() [MSG]The line exceeds 150 characters. The line is 237 characters. |
ListCurrentSprints.groovy | ExplicitCallToEqualsMethod | 2 | 183 | [SRC]} else if("SCRUM_MASTER".equals(groupId)) { [MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to SCRUM_MASTER.equals(groupId) method can be rewritten as (SCRUM_MASTER == (groupId)) |
ListCurrentSprints.groovy | LineLength | 2 | 186 | [SRC]productRoleList = from("ProductAndRole").where("productI...queryList() [MSG]The line exceeds 150 characters. The line is 231 characters. |
ListCurrentSprints.groovy | LineLength | 2 | 192 | [SRC]projectPartyAssignment = from("WorkEffortPartyAssignment...queryList() [MSG]The line exceeds 150 characters. The line is 167 characters. |
ListCurrentSprints.groovy | ParameterName | 2 | 201 | [SRC]allSprintList.each { SprintListMap -> [MSG]The parameter named SprintListMap in method <closure> of class org.apache.ofbiz.scrum.None does not match [a-z][a-zA-Z0-9]* |
ListCurrentSprints.groovy | LineLength | 2 | 203 | [SRC]workEffortPartyAssignment = from("WorkEffortPartyAssignm...queryList() [MSG]The line exceeds 150 characters. The line is 166 characters. |
ListCurrentSprints.groovy | ParameterName | 2 | 212 | [SRC]allSprintList.each { SprintListMap -> [MSG]The parameter named SprintListMap in method <closure> of class org.apache.ofbiz.scrum.None does not match [a-z][a-zA-Z0-9]* |
ListCurrentSprints.groovy | LineLength | 2 | 214 | [SRC]workEffortPartyAssignment = from("WorkEffortPartyAssignm...queryList() [MSG]The line exceeds 150 characters. The line is 158 characters. |
ListCurrentSprints.groovy | LineLength | 2 | 223 | [SRC]|| security.hasEntityPermission("SCRUM_PROJECT", "_ROLE_..W", session) [MSG]The line exceeds 150 characters. The line is 157 characters. |
ListResourceBillingHours.groovy | LineLength | 2 | 21 | [SRC]allProjects = select("workEffortId").from("WorkEffortAnd...queryList() [MSG]The line exceeds 150 characters. The line is 187 characters. |
ListScrumResource.groovy | ExplicitCallToEqualsMethod | 2 | 52 | [SRC]if (!"N".equals(result.enabled)) { [MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to N.equals(result.enabled) method can be rewritten as (N == (result.enabled)) |
ListTimeSheets.groovy | AssignmentInConditional | 2 | 61 | [SRC]while ((emplLeaveMap = emplLeaveList.next())) { [MSG]Assignment used as conditional value, which always results in true. Use the == operator instead |
ListTimeSheets.groovy | LineLength | 2 | 64 | [SRC]["userLogin": parameters.userLogin, "partyId": emplLeave..y.fromDate]) [MSG]The line exceeds 150 characters. The line is 167 characters. |
ListUnplanBacklog.groovy | LineLength | 2 | 46 | [SRC]unplannedBacklogList = from("UnPlannedBacklogsAndTasks")...queryList() [MSG]The line exceeds 150 characters. The line is 159 characters. |
MiniProductSummary.groovy | IfStatementBraces | 2 | 54 | [SRC]if (userLogin) priceParams.partyId = userLogin.partyId [MSG]The if statement lacks braces |
MiniProductSummary.groovy | ExplicitCallToEqualsMethod | 2 | 59 | [SRC]if ("Y".equals(productStore.get("showPricesWithVatTax"))) { [MSG]Violation in class org.apache.ofbiz.ecommerce.catalog.None. Explicit call to Y.equals(productStore.get(showPricesWithVatTax)) method can be rewritten as (Y == (productStore.get(showPricesWithVatTax))) |
MiniProductSummary.groovy | LineLength | 2 | 60 | [SRC]Map priceMap = runService('calcTaxForDisplay', ["basePri..uctStoreId]) [MSG]The line exceeds 150 characters. The line is 174 characters. |
MiniProductSummary.groovy | ExplicitCallToEqualsMethod | 2 | 67 | [SRC]if ("AGGREGATED".equals(miniProduct.productTypeId) || "A..ctTypeId)) { [MSG]Violation in class org.apache.ofbiz.ecommerce.catalog.None. Explicit call to AGGREGATED.equals(miniProduct.productTypeId) method can be rewritten as (AGGREGATED == (miniProduct.productTypeId)) |
MiniProductSummary.groovy | ExplicitCallToEqualsMethod | 2 | 67 | [SRC]if ("AGGREGATED".equals(miniProduct.productTypeId) || "A..ctTypeId)) { [MSG]Violation in class org.apache.ofbiz.ecommerce.catalog.None. Explicit call to AGGREGATED_SERVICE.equals(miniProduct.productTypeId) method can be rewritten as (AGGREGATED_SERVICE == (miniProduct.productTypeId)) |
MiniProductSummary.groovy | ExplicitCallToEqualsMethod | 2 | 72 | [SRC]if ("Y".equals(productStore.get("showPricesWithVatTax"))) { [MSG]Violation in class org.apache.ofbiz.ecommerce.catalog.None. Explicit call to Y.equals(productStore.get(showPricesWithVatTax)) method can be rewritten as (Y == (productStore.get(showPricesWithVatTax))) |
MiniProductSummary.groovy | LineLength | 2 | 74 | [SRC]Map totalPriceMap = runService('calcTaxForDisplay', ["ba..uctStoreId]) [MSG]The line exceeds 150 characters. The line is 178 characters. |
Mrv.groovy | EmptyElseBlock | 2 | 65 | [SRC]} else { [MSG]The else block is empty |
NewCustomer.groovy | ExplicitCallToEqualsMethod | 2 | 31 | [SRC]context.createAllowPassword = "Y".equals(productStore.allowPassword) [MSG]Violation in class org.apache.ofbiz.ecommerce.customer.None. Explicit call to Y.equals(productStore.allowPassword) method can be rewritten as (Y == (productStore.allowPassword)) |
NewCustomer.groovy | ExplicitCallToEqualsMethod | 2 | 32 | [SRC]context.getUsername = !"Y".equals(productStore.usePrimar..ailUsername) [MSG]Violation in class org.apache.ofbiz.ecommerce.customer.None. Explicit call to Y.equals(productStore.usePrimaryEmailUsername) method can be rewritten as (Y == (productStore.usePrimaryEmailUsername)) |
OrderHistory.groovy | ExplicitCallToEqualsMethod | 2 | 28 | [SRC]if ("SUPPLIER".equals(partyRole.roleTypeId)) { [MSG]Violation in class org.apache.ofbiz.ecommerce.order.None. Explicit call to SUPPLIER.equals(partyRole.roleTypeId) method can be rewritten as (SUPPLIER == (partyRole.roleTypeId)) |
OrderHistory.groovy | LineLength | 2 | 43 | [SRC]downloadOrderRoleAndProductContentInfoList = from("Order...queryList() [MSG]The line exceeds 150 characters. The line is 239 characters. |
OrderStatus.groovy | LineLength | 2 | 34 | [SRC]// we have a special case here where for an anonymous or..y check here [MSG]The line exceeds 150 characters. The line is 178 characters. |
OrderStatus.groovy | LineLength | 2 | 37 | [SRC]// This is another special case, when Order is placed by..rder Manager [MSG]The line exceeds 150 characters. The line is 159 characters. |
OrderStatus.groovy | LineLength | 2 | 48 | [SRC]filteredOrderPaymentPreferences = EntityUtil.filterByCon.._OFFLINE"])) [MSG]The line exceeds 150 characters. The line is 189 characters. |
OrderStatus.groovy | LineLength | 2 | 53 | [SRC]filteredOrderStatusList = EntityUtil.filterByCondition(o.._CREATED"])) [MSG]The line exceeds 150 characters. The line is 203 characters. |
OrderStatus.groovy | LineLength | 2 | 55 | [SRC]filteredOrderStatusList = EntityUtil.filterByCondition(o..APPROVED"])) [MSG]The line exceeds 150 characters. The line is 186 characters. |
OrderStatus.groovy | ExplicitCallToEqualsMethod | 2 | 63 | [SRC]if ("ORDER_COMPLETED".equals(orderStatus.statusId)) { [MSG]Violation in class org.apache.ofbiz.ecommerce.order.None. Explicit call to ORDER_COMPLETED.equals(orderStatus.statusId) method can be rewritten as (ORDER_COMPLETED == (orderStatus.statusId)) |
OrderStatus.groovy | ExplicitCallToEqualsMethod | 2 | 91 | [SRC]if ("PURCHASE_ORDER".equals(orderHeader?.orderTypeId)) { [MSG]Violation in class org.apache.ofbiz.ecommerce.order.None. Explicit call to PURCHASE_ORDER.equals(orderHeader?.orderTypeId) method can be rewritten as (PURCHASE_ORDER == (orderHeader?.orderTypeId)) |
OrderStatus.groovy | LineLength | 2 | 101 | [SRC]if (orderHeader && (!"anonymous".equals(orderHeader.crea..usView)))) { [MSG]The line exceeds 150 characters. The line is 152 characters. |
OrderStatus.groovy | ExplicitCallToEqualsMethod | 2 | 101 | [SRC]if (orderHeader && (!"anonymous".equals(orderHeader.crea..usView)))) { [MSG]Violation in class org.apache.ofbiz.ecommerce.order.None. Explicit call to anonymous.equals(orderHeader.createdBy) method can be rewritten as (anonymous == (orderHeader.createdBy)) |
OrderStatus.groovy | ExplicitCallToEqualsMethod | 2 | 101 | [SRC]if (orderHeader && (!"anonymous".equals(orderHeader.crea..usView)))) { [MSG]Violation in class org.apache.ofbiz.ecommerce.order.None. Explicit call to anonymous.equals(orderHeader.createdBy) method can be rewritten as (anonymous == (orderHeader.createdBy)) |
OrderStatus.groovy | ExplicitCallToEqualsMethod | 2 | 101 | [SRC]if (orderHeader && (!"anonymous".equals(orderHeader.crea..usView)))) { [MSG]Violation in class org.apache.ofbiz.ecommerce.order.None. Explicit call to Y.equals(allowAnonymousView) method can be rewritten as (Y == (allowAnonymousView)) |
OrderStatus.groovy | LineLength | 2 | 107 | [SRC]logWarning("Warning: in OrderStatus.groovy before gettin..Id")) + "]") [MSG]The line exceeds 150 characters. The line is 237 characters. |
OrderStatus.groovy | IfStatementBraces | 2 | 114 | [SRC]if (productStore) isDemoStore = !"N".equals(productStore.isDemoStore) [MSG]The if statement lacks braces |
OrderStatus.groovy | ExplicitCallToEqualsMethod | 2 | 114 | [SRC]if (productStore) isDemoStore = !"N".equals(productStore.isDemoStore) [MSG]Violation in class org.apache.ofbiz.ecommerce.order.None. Explicit call to N.equals(productStore.isDemoStore) method can be rewritten as (N == (productStore.isDemoStore)) |
OrderStatus.groovy | LineLength | 2 | 135 | [SRC]orderPaymentPreferences = EntityUtil.filterByAnd(orderHe..ANCELLED")]) [MSG]The line exceeds 150 characters. The line is 213 characters. |
OrderStatus.groovy | IfStatementBraces | 2 | 151 | [SRC]if (paymentAddress) context.paymentAddress = paymentAddress [MSG]The if statement lacks braces |
OrderStatus.groovy | LineLength | 2 | 154 | [SRC]orderShipmentInfoSummaryList = select("shipmentId", "shi.."boxNumber") [MSG]The line exceeds 150 characters. The line is 173 characters. |
OrderStatus.groovy | ExplicitTreeSetInstantiation | 2 | 161 | [SRC]customerPoNumberSet = new TreeSet() [MSG]TreeSet objects are better instantiated using the form "[] as SortedSet" |
OrderStatus.groovy | ExplicitCallToEqualsMethod | 2 | 164 | [SRC]if (correspondingPoId && !"(none)".equals(correspondingPoId)) { [MSG]Violation in class org.apache.ofbiz.ecommerce.order.None. Explicit call to (none).equals(correspondingPoId) method can be rewritten as ((none) == (correspondingPoId)) |
OrderStatus.groovy | ExplicitCallToEqualsMethod | 2 | 177 | [SRC]if (!"RETURN_CANCELLED".equals(rh.statusId)) { [MSG]Violation in class org.apache.ofbiz.ecommerce.order.None. Explicit call to RETURN_CANCELLED.equals(rh.statusId) method can be rewritten as (RETURN_CANCELLED == (rh.statusId)) |
OwnerContentPrep.groovy | LineLength | 2 | 50 | [SRC]departmentPointList = ContentManagementWorker.getPermitt..ATE", null ) [MSG]The line exceeds 150 characters. The line is 172 characters. |
PaymentInformation.groovy | ExplicitCallToEqualsMethod | 2 | 39 | [SRC]if (partyId && !"_NA_".equals(partyId)) { [MSG]Violation in class org.apache.ofbiz.ecommerce.order.None. Explicit call to _NA_.equals(partyId) method can be rewritten as (_NA_ == (partyId)) |
PaymentInformation.groovy | LineLength | 2 | 56 | [SRC]partyContactMech = from("PartyContactMech").where("party..queryFirst() [MSG]The line exceeds 150 characters. The line is 172 characters. |
PaymentInformation.groovy | ExplicitCallToEqualsMethod | 2 | 68 | [SRC]if ("CREDIT_CARD".equals(paymentMethod?.paymentMethodTypeId)) { [MSG]Violation in class org.apache.ofbiz.ecommerce.order.None. Explicit call to CREDIT_CARD.equals(paymentMethod?.paymentMethodTypeId) method can be rewritten as (CREDIT_CARD == (paymentMethod?.paymentMethodTypeId)) |
PaymentInformation.groovy | ExplicitCallToEqualsMethod | 2 | 72 | [SRC]} else if ("EFT_ACCOUNT".equals(paymentMethod?.paymentMethodTypeId)) { [MSG]Violation in class org.apache.ofbiz.ecommerce.order.None. Explicit call to EFT_ACCOUNT.equals(paymentMethod?.paymentMethodTypeId) method can be rewritten as (EFT_ACCOUNT == (paymentMethod?.paymentMethodTypeId)) |
PaymentInformation.groovy | ExplicitCallToEqualsMethod | 2 | 76 | [SRC]} else if ("GIFT_CARD".equals(paymentMethod?.paymentMethodTypeId)) { [MSG]Violation in class org.apache.ofbiz.ecommerce.order.None. Explicit call to GIFT_CARD.equals(paymentMethod?.paymentMethodTypeId) method can be rewritten as (GIFT_CARD == (paymentMethod?.paymentMethodTypeId)) |
PaymentOptions.groovy | ExplicitCallToEqualsMethod | 2 | 28 | [SRC]if ("GIFT_CARD".equals(paymentMethodTypeId)) { [MSG]Violation in class org.apache.ofbiz.ecommerce.order.None. Explicit call to GIFT_CARD.equals(paymentMethodTypeId) method can be rewritten as (GIFT_CARD == (paymentMethodTypeId)) |
PermPrep.groovy | ExplicitCallToEqualsMethod | 2 | 60 | [SRC]if ("add".equals(mode)) { [MSG]Violation in class org.apache.ofbiz.ecommerce.forum.None. Explicit call to add.equals(mode) method can be rewritten as (add == (mode)) |
PermPrep.groovy | ExplicitCallToEqualsMethod | 2 | 73 | [SRC]if ("complex".equals(permissionType)) { [MSG]Violation in class org.apache.ofbiz.ecommerce.forum.None. Explicit call to complex.equals(permissionType) method can be rewritten as (complex == (permissionType)) |
PermPrep.groovy | ExplicitCallToEqualsMethod | 2 | 84 | [SRC]if (!currentValue || !"Content".equals(entityName)) { [MSG]Violation in class org.apache.ofbiz.ecommerce.forum.None. Explicit call to Content.equals(entityName) method can be rewritten as (Content == (entityName)) |
PermPrep.groovy | ExplicitCallToEqualsMethod | 2 | 102 | [SRC]if (!currentValue || !"Content".equals(entityName)) { [MSG]Violation in class org.apache.ofbiz.ecommerce.forum.None. Explicit call to Content.equals(entityName) method can be rewritten as (Content == (entityName)) |
PermPrep.groovy | ExplicitCallToEqualsMethod | 2 | 107 | [SRC]if ("add".equals(mode)) { [MSG]Violation in class org.apache.ofbiz.ecommerce.forum.None. Explicit call to add.equals(mode) method can be rewritten as (add == (mode)) |
PermPrep.groovy | ExplicitCallToEqualsMethod | 2 | 119 | [SRC]if ("Content".equals(currentValue?.getEntityName())) { [MSG]Violation in class org.apache.ofbiz.ecommerce.forum.None. Explicit call to Content.equals(currentValue?.getEntityName()) method can be rewritten as (Content == (currentValue?.getEntityName())) |
PermPrep.groovy | ExplicitCallToEqualsMethod | 2 | 133 | [SRC]if ("granted".equals(permissionStatus)) { [MSG]Violation in class org.apache.ofbiz.ecommerce.forum.None. Explicit call to granted.equals(permissionStatus) method can be rewritten as (granted == (permissionStatus)) |
PopularTags.groovy | LineLength | 2 | 49 | [SRC]productTags = from("ProductKeyword").where("keyword", pr...queryList() [MSG]The line exceeds 150 characters. The line is 152 characters. |
PopularTags.groovy | NoDouble | 2 | 68 | [SRC]double weight = 0 [MSG]The variable weight in class org.apache.ofbiz.ecommerce.catalog.None is of type double/Double. Prefer using BigDecimal. |
PopularTags.groovy | NoDouble | 2 | 72 | [SRC]double fontSize = minFontSize + ((maxFontSize - minFontSize) * weight) [MSG]The variable fontSize in class org.apache.ofbiz.ecommerce.catalog.None is of type double/Double. Prefer using BigDecimal. |
ProcessPaymentSettings.groovy | ExplicitCallToEqualsMethod | 2 | 49 | [SRC]if ("EXT_OFFLINE".equals(paymentMethodTypeId)) { [MSG]Violation in class org.apache.ofbiz.ecommerce.None. Explicit call to EXT_OFFLINE.equals(paymentMethodTypeId) method can be rewritten as (EXT_OFFLINE == (paymentMethodTypeId)) |
ProductBilling.groovy | AssignmentInConditional | 2 | 36 | [SRC]while (entryItem = entryIterator.next()) { [MSG]Assignment used as conditional value, which always results in true. Use the == operator instead |
ProductBilling.groovy | ExplicitCallToEqualsMethod | 2 | 38 | [SRC]if ("INVOICE_IN_PROCESS".equals(invoice.getString("statusId"))) { [MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to INVOICE_IN_PROCESS.equals(invoice.getString(statusId)) method can be rewritten as (INVOICE_IN_PROCESS == (invoice.getString(statusId))) |
ProductBilling.groovy | ExplicitCallToEqualsMethod | 2 | 71 | [SRC]if ("N".equals(includeMeeting)) { [MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to N.equals(includeMeeting) method can be rewritten as (N == (includeMeeting)) |
ProductCategories.groovy | ParameterName | 2 | 32 | [SRC]List fillTree(rootCat ,CatLvl, parentCategoryId) { [MSG]The parameter named CatLvl in method fillTree of class org.apache.ofbiz.ecommerce.catalog.None does not match [a-z][a-zA-Z0-9]* |
ProductCategories.groovy | IfStatementBraces | 2 | 43 | [SRC]if(CatLvl==2) [MSG]The if statement lacks braces |
ProductCategories.groovy | ElseBlockBraces | 2 | 46 | [SRC]else if(CatLvl==1) [MSG]The else block lacks braces |
ProductCategories.groovy | IfStatementBraces | 2 | 46 | [SRC]else if(CatLvl==1) [MSG]The if statement lacks braces |
ProductCategories.groovy | ElseBlockBraces | 2 | 62 | [SRC]if(categoryContentWrapper.get("CATEGORY_NAME", "html").toString()) [MSG]The else block lacks braces |
ProductCategories.groovy | IfStatementBraces | 2 | 62 | [SRC]if(categoryContentWrapper.get("CATEGORY_NAME", "html").toString()) [MSG]The if statement lacks braces |
ProductCategories.groovy | ElseBlockBraces | 2 | 67 | [SRC]if(categoryContentWrapper.get("DESCRIPTION", "html").toString()) [MSG]The else block lacks braces |
ProductCategories.groovy | IfStatementBraces | 2 | 67 | [SRC]if(categoryContentWrapper.get("DESCRIPTION", "html").toString()) [MSG]The if statement lacks braces |
ProductCategories.groovy | LineLength | 2 | 83 | [SRC]CategoryWorker.getRelatedCategories(request, "topLevelLi..est)), true) [MSG]The line exceeds 150 characters. The line is 158 characters. |
ProductEmail.groovy | LineLength | 2 | 58 | [SRC]resultsIdTo = runService('getPartyEmail', ["partyId" : d.. userLogin]) [MSG]The line exceeds 150 characters. The line is 154 characters. |
ProductEmail.groovy | LineLength | 2 | 72 | [SRC]resultsIdFrom = runService('getPartyEmail', ["partyId" :.. userLogin]) [MSG]The line exceeds 150 characters. The line is 158 characters. |
ProductsExportToEbayScript.groovy | ExplicitCallToEqualsMethod | 2 | 63 | [SRC]if (!"Y".equals(categoryCode.substring(0, 1)) && !"".equ..goryCode)) { [MSG]Violation in class org.apache.ofbiz.ebay.None. Explicit call to Y.equals(categoryCode.substring(0, 1)) method can be rewritten as (Y == (categoryCode.substring(0, 1))) |
ProductsExportToEbayScript.groovy | ExplicitCallToEqualsMethod | 2 | 63 | [SRC]if (!"Y".equals(categoryCode.substring(0, 1)) && !"".equ..goryCode)) { [MSG]Violation in class org.apache.ofbiz.ebay.None. Explicit call to .equals(categoryCode) method can be rewritten as ( == (categoryCode)) |
ProjectBilling.groovy | AssignmentInConditional | 2 | 42 | [SRC]while (entryItem = entryIterator.next()) { [MSG]Assignment used as conditional value, which always results in true. Use the == operator instead |
ProjectBilling.groovy | ExplicitCallToEqualsMethod | 2 | 44 | [SRC]if ("INVOICE_IN_PROCESS".equals(invoice.getString("statusId"))) { [MSG]Violation in class org.apache.ofbiz.projectmgr.None. Explicit call to INVOICE_IN_PROCESS.equals(invoice.getString(statusId)) method can be rewritten as (INVOICE_IN_PROCESS == (invoice.getString(statusId))) |
ProjectIsBillable.groovy | ExplicitCallToEqualsMethod | 2 | 26 | [SRC]if ("INTERNAL_ORGANIZATIO".equals(member.roleTypeId)) { [MSG]Violation in class org.apache.ofbiz.projectmgr.None. Explicit call to INTERNAL_ORGANIZATIO.equals(member.roleTypeId) method can be rewritten as (INTERNAL_ORGANIZATIO == (member.roleTypeId)) |
ProjectIsBillable.groovy | ExplicitCallToEqualsMethod | 2 | 29 | [SRC]if ("CLIENT_BILLING".equals(member.roleTypeId)) { [MSG]Violation in class org.apache.ofbiz.projectmgr.None. Explicit call to CLIENT_BILLING.equals(member.roleTypeId) method can be rewritten as (CLIENT_BILLING == (member.roleTypeId)) |
ProjectIsBillable.groovy | ExplicitCallToEqualsMethod | 2 | 32 | [SRC]if (fromPartyId && toPartyId && fromPartyId.equals(toPartyId)) { [MSG]Violation in class org.apache.ofbiz.projectmgr.None. Explicit call to fromPartyId.equals(toPartyId) method can be rewritten as (fromPartyId == (toPartyId)) |
QuickAnonCustSettings.groovy | LineLength | 2 | 43 | [SRC]// NOTE: if there was an error, then don't look up and f..tomagically) [MSG]The line exceeds 150 characters. The line is 182 characters. |
QuickAnonCustSettings.groovy | LineLength | 2 | 55 | [SRC]emailPartyContactDetail = from("PartyContactDetailByPurp..queryFirst() [MSG]The line exceeds 150 characters. The line is 168 characters. |
QuickAnonCustSettings.groovy | LineLength | 2 | 63 | [SRC]homePhonePartyContactDetail = from("PartyContactDetailBy..queryFirst() [MSG]The line exceeds 150 characters. The line is 169 characters. |
QuickAnonCustSettings.groovy | LineLength | 2 | 73 | [SRC]workPhonePartyContactDetail = from("PartyContactDetailBy..queryFirst() [MSG]The line exceeds 150 characters. The line is 167 characters. |
QuickAnonCustSettings.groovy | ExplicitCallToEqualsMethod | 2 | 92 | [SRC]if (cartPartyId && !"_NA_".equals(cartPartyId)) { [MSG]Violation in class org.apache.ofbiz.ecommerce.order.None. Explicit call to _NA_.equals(cartPartyId) method can be rewritten as (_NA_ == (cartPartyId)) |
QuickAnonCustSettings.groovy | LineLength | 2 | 103 | [SRC]shippingPartyContactDetail = from("PartyContactDetailByP..queryFirst() [MSG]The line exceeds 150 characters. The line is 166 characters. |
QuickAnonPaymentInformation.groovy | ExplicitCallToEqualsMethod | 2 | 39 | [SRC]if ("CREDIT_CARD".equals(paymentMethod?.paymentMethodTypeId)) { [MSG]Violation in class org.apache.ofbiz.ecommerce.order.None. Explicit call to CREDIT_CARD.equals(paymentMethod?.paymentMethodTypeId) method can be rewritten as (CREDIT_CARD == (paymentMethod?.paymentMethodTypeId)) |
QuickReturn.groovy | PackageName | 2 | [MSG]package=org.apache.ofbiz.order.orderReturn | |
RequestReturn.groovy | ExplicitHashMapInstantiation | 2 | 45 | [SRC]typeMap = new HashMap() [MSG]HashMap objects are normally instantiated using the form "[:]" |
RespondPermAndPrep.groovy | ExplicitCallToEqualsMethod | 2 | 84 | [SRC]if (!"granted".equals(permissionStatus)) { [MSG]Violation in class org.apache.ofbiz.ecommerce.forum.None. Explicit call to granted.equals(permissionStatus) method can be rewritten as (granted == (permissionStatus)) |
ReturnHeader.groovy | PackageName | 2 | [MSG]package=org.apache.ofbiz.order.orderReturn | |
ReturnHistory.groovy | PackageName | 2 | [MSG]package=org.apache.ofbiz.order.orderReturn | |
ReturnItems.groovy | PackageName | 2 | [MSG]package=org.apache.ofbiz.order.orderReturn | |
Search.groovy | ReturnNullFromCatchBlock | 2 | 56 | [SRC]return [MSG]Do not return null from a catch block |
Search.groovy | ExplicitCallToEqualsMethod | 2 | 74 | [SRC]if ("any".equals(paramMap.anyOrAll)) { [MSG]Violation in class org.apache.ofbiz.ecommerce.content.None. Explicit call to any.equals(paramMap.anyOrAll) method can be rewritten as (any == (paramMap.anyOrAll)) |
Search.groovy | UnnecessaryToString | 2 | 89 | [SRC]logInfo("in search searchFeature3, combQuery:" + combQuery.toString()) [MSG]Calling toString() on [combQuery] in class org.apache.ofbiz.ecommerce.content.None is unnecessary |
Search.groovy | ReturnNullFromCatchBlock | 2 | 51 | [SRC]return [MSG]Do not return null from a catch block |
Search.groovy | ExplicitCallToEqualsMethod | 2 | 70 | [SRC]if ("any".equals(parameters.any_or_all)) { [MSG]Violation in class org.apache.ofbiz.lucene.content.None. Explicit call to any.equals(parameters.any_or_all) method can be rewritten as (any == (parameters.any_or_all)) |
SearchProducts.groovy | ReturnNullFromCatchBlock | 2 | 47 | [SRC]return [MSG]Do not return null from a catch block |
SearchProducts.groovy | ReturnNullFromCatchBlock | 2 | 57 | [SRC]return [MSG]Do not return null from a catch block |
ShipSettings.groovy | ExplicitCallToEqualsMethod | 2 | 35 | [SRC]if (partyId && !"_NA_".equals(partyId)) { [MSG]Violation in class org.apache.ofbiz.ecommerce.order.None. Explicit call to _NA_.equals(partyId) method can be rewritten as (_NA_ == (partyId)) |
ShipSettings.groovy | LineLength | 2 | 44 | [SRC]shippingPartyContactDetail = from("PartyContactDetailByP..queryFirst() [MSG]The line exceeds 150 characters. The line is 162 characters. |
ShipSettings.groovy | LineLength | 2 | 60 | [SRC]// NOTE: these parameters are a special case because the..over them... [MSG]The line exceeds 150 characters. The line is 162 characters. |
ShowCart.groovy | ExplicitCallToEqualsMethod | 2 | 61 | [SRC]if ("CASH".equals(paymentInfo.paymentMethodTypeId)) { [MSG]Violation in class org.apache.ofbiz.webpos.cart.None. Explicit call to CASH.equals(paymentInfo.paymentMethodTypeId) method can be rewritten as (CASH == (paymentInfo.paymentMethodTypeId)) |
ShowCart.groovy | ExplicitCallToEqualsMethod | 2 | 64 | [SRC]else if ("PERSONAL_CHECK".equals(paymentInfo.paymentMethodTypeId)) { [MSG]Violation in class org.apache.ofbiz.webpos.cart.None. Explicit call to PERSONAL_CHECK.equals(paymentInfo.paymentMethodTypeId) method can be rewritten as (PERSONAL_CHECK == (paymentInfo.paymentMethodTypeId)) |
ShowCart.groovy | ExplicitCallToEqualsMethod | 2 | 67 | [SRC]else if ("GIFT_CARD".equals(paymentInfo.paymentMethodTypeId)) { [MSG]Violation in class org.apache.ofbiz.webpos.cart.None. Explicit call to GIFT_CARD.equals(paymentInfo.paymentMethodTypeId) method can be rewritten as (GIFT_CARD == (paymentInfo.paymentMethodTypeId)) |
ShowCart.groovy | ExplicitCallToEqualsMethod | 2 | 70 | [SRC]else if ("CREDIT_CARD".equals(paymentInfo.paymentMethodTypeId)) { [MSG]Violation in class org.apache.ofbiz.webpos.cart.None. Explicit call to CREDIT_CARD.equals(paymentInfo.paymentMethodTypeId) method can be rewritten as (CREDIT_CARD == (paymentInfo.paymentMethodTypeId)) |
ShowPromoText.groovy | ExplicitCallToEqualsMethod | 2 | 35 | [SRC]if (promoText && !"N".equals(productPromo.showToCustomer)) { [MSG]Violation in class org.apache.ofbiz.ecommerce.cart.None. Explicit call to N.equals(productPromo.showToCustomer) method can be rewritten as (N == (productPromo.showToCustomer)) |
ShowPromoText.groovy | InsecureRandom | 2 | 48 | [SRC]randomIndex = Math.round(java.lang.Math.random() * (prod..- 1)) as int [MSG]Using Math.random() is insecure. Use SecureRandom instead |
SideDeepCategory.groovy | LineLength | 2 | 24 | [SRC]CategoryWorker.getRelatedCategories(request, "topLevelLi..est)), true) [MSG]The line exceeds 150 characters. The line is 158 characters. |
SprintBacklogListItems.groovy | ExplicitCallToEqualsMethod | 2 | 30 | [SRC]if ("SPRINT_CLOSED".equals(currentStatus)) { [MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to SPRINT_CLOSED.equals(currentStatus) method can be rewritten as (SPRINT_CLOSED == (currentStatus)) |
SprintBacklogListItems.groovy | ExplicitCallToEqualsMethod | 2 | 86 | [SRC]if ("CRQ_REVIEWED".equals(custMap.statusId)){ [MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to CRQ_REVIEWED.equals(custMap.statusId) method can be rewritten as (CRQ_REVIEWED == (custMap.statusId)) |
SprintBacklogListItems.groovy | ExplicitCallToEqualsMethod | 2 | 105 | [SRC]if (!"SCRUM_SPRINT".equals(workEffMap.workEffortTypeId)) { [MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to SCRUM_SPRINT.equals(workEffMap.workEffortTypeId) method can be rewritten as (SCRUM_SPRINT == (workEffMap.workEffortTypeId)) |
SprintBacklogListItems.groovy | ExplicitCallToEqualsMethod | 2 | 107 | [SRC]if ("STS_CREATED".equals(workEffMap.currentStatusId)){ [MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to STS_CREATED.equals(workEffMap.currentStatusId) method can be rewritten as (STS_CREATED == (workEffMap.currentStatusId)) |
SprintBacklogOptions.groovy | ExplicitCallToEqualsMethod | 2 | 27 | [SRC]if ("SCRUM_SPRINT".equals(workEffortMap.workEffortTypeId..StatusId)) { [MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to SCRUM_SPRINT.equals(workEffortMap.workEffortTypeId) method can be rewritten as (SCRUM_SPRINT == (workEffortMap.workEffortTypeId)) |
SprintBacklogOptions.groovy | ExplicitCallToEqualsMethod | 2 | 27 | [SRC]if ("SCRUM_SPRINT".equals(workEffortMap.workEffortTypeId..StatusId)) { [MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to SPRINT_ACTIVE.equals(workEffortMap.currentStatusId) method can be rewritten as (SPRINT_ACTIVE == (workEffortMap.currentStatusId)) |
TaskList.groovy | LineLength | 2 | 28 | [SRC]//${projectId} - ${projectName} - ${sprintName} - ${groo..{taskId}]"/> [MSG]The line exceeds 150 characters. The line is 215 characters. |
TaskList.groovy | LineLength | 2 | 30 | [SRC]taskUnplanList = from("ProjectSprintBacklogTaskAndParty"...queryList() [MSG]The line exceeds 150 characters. The line is 194 characters. |
TaskList.groovy | ExplicitCallToEqualsMethod | 2 | 67 | [SRC]if ("RF_SCRUM_MEETINGS".equals(taskPlanMap.custRequestTypeId)) { [MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to RF_SCRUM_MEETINGS.equals(taskPlanMap.custRequestTypeId) method can be rewritten as (RF_SCRUM_MEETINGS == (taskPlanMap.custRequestTypeId)) |
TaskList.groovy | ExplicitCallToEqualsMethod | 2 | 70 | [SRC]if (!"SCAS_COMPLETED".equals(workEffPartyAssignedMap.statusId)) { [MSG]Violation in class org.apache.ofbiz.scrum.None. Explicit call to SCAS_COMPLETED.equals(workEffPartyAssignedMap.statusId) method can be rewritten as (SCAS_COMPLETED == (workEffPartyAssignedMap.statusId)) |
ViewProfile.groovy | ExplicitCallToEqualsMethod | 2 | 37 | [SRC]showOld = "true".equals(parameters.SHOW_OLD) [MSG]Violation in class org.apache.ofbiz.ecommerce.customer.None. Explicit call to true.equals(parameters.SHOW_OLD) method can be rewritten as (true == (parameters.SHOW_OLD)) |
ViewProfile.groovy | LineLength | 2 | 76 | [SRC]result = runService('getOrderedSummaryInformation', [par.. userLogin]) [MSG]The line exceeds 150 characters. The line is 226 characters. |
ViewProfile.groovy | IfStatementBraces | 2 | 97 | [SRC]if (countryGeo) it.countryGeoName = countryGeo.getString("geoName") [MSG]The if statement lacks braces |
ViewProfile.groovy | IfStatementBraces | 2 | 99 | [SRC]if (stateProvinceGeo) it.stateProvinceGeoName = statePro..g("geoName") [MSG]The if statement lacks braces |
AddProductBacklogItem.groovy | NoDef | 3 | 27 | [SRC]def inputFields = [:] [MSG]def for declaration should not be used |
AddProductBacklogItem.groovy | VariableTypeRequired | 3 | 27 | [SRC]def inputFields = [:] [MSG]The type is not specified for variable "inputFields" |
AddProductBacklogItem.groovy | NoDef | 3 | 28 | [SRC]def custRequestAndItems = [] [MSG]def for declaration should not be used |
AddProductBacklogItem.groovy | VariableTypeRequired | 3 | 28 | [SRC]def custRequestAndItems = [] [MSG]The type is not specified for variable "custRequestAndItems" |
AddProductBacklogItem.groovy | SpaceAfterClosingBrace | 3 | 30 | [SRC]if(parameters.statusId == null){ [MSG]The closing brace for the block in class org.apache.ofbiz.scrum.None is not followed by a space or whitespace |
AddProductBacklogItem.groovy | SpaceAfterIf | 3 | 30 | [SRC]if(parameters.statusId == null){ [MSG]The if keyword within class org.apache.ofbiz.scrum.None is not followed by a single space |
AddProductBacklogItem.groovy | SpaceBeforeOpeningBrace | 3 | 30 | [SRC]if(parameters.statusId == null){ [MSG]The opening brace for the block in class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
AddProductBacklogItem.groovy | UnnecessaryGString | 3 | 31 | [SRC]parameters.statusId = "" [MSG]The String '' can be wrapped in single quotes instead of double quotes |
AddProductBacklogItem.groovy | SpaceAfterIf | 3 | 32 | [SRC]}else if("Any".equals(parameters.statusId)){ [MSG]The if keyword within class org.apache.ofbiz.scrum.None is not followed by a single space |
AddProductBacklogItem.groovy | SpaceBeforeOpeningBrace | 3 | 32 | [SRC]}else if("Any".equals(parameters.statusId)){ [MSG]The opening brace for the block in class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
AddProductBacklogItem.groovy | UnnecessaryGString | 3 | 32 | [SRC]}else if("Any".equals(parameters.statusId)){ [MSG]The String 'Any' can be wrapped in single quotes instead of double quotes |
AddProductBacklogItem.groovy | UnnecessaryGString | 3 | 33 | [SRC]parameters.statusId = "" [MSG]The String '' can be wrapped in single quotes instead of double quotes |
AddProductBacklogItem.groovy | UnnecessaryGString | 3 | 36 | [SRC]inputFields.custRequestTypeId = "RF_PROD_BACKLOG" [MSG]The String 'RF_PROD_BACKLOG' can be wrapped in single quotes instead of double quotes |
AddProductBacklogItem.groovy | NoDef | 3 | 37 | [SRC]def performFindResults = runService('performFind', ["ent..quenceNum"]) [MSG]def for declaration should not be used |
AddProductBacklogItem.groovy | VariableTypeRequired | 3 | 37 | [SRC]def performFindResults = runService('performFind', ["ent..quenceNum"]) [MSG]The type is not specified for variable "performFindResults" |
AddProductBacklogItem.groovy | UnnecessaryGString | 3 | 37 | [SRC]def performFindResults = runService('performFind', ["ent..quenceNum"]) [MSG]The String 'entityName' can be wrapped in single quotes instead of double quotes |
AddProductBacklogItem.groovy | UnnecessaryGString | 3 | 37 | [SRC]def performFindResults = runService('performFind', ["ent..quenceNum"]) [MSG]The String 'CustRequestAndCustRequestItem' can be wrapped in single quotes instead of double quotes |
AddProductBacklogItem.groovy | UnnecessaryGString | 3 | 37 | [SRC]def performFindResults = runService('performFind', ["ent..quenceNum"]) [MSG]The String 'inputFields' can be wrapped in single quotes instead of double quotes |
AddProductBacklogItem.groovy | UnnecessaryGString | 3 | 37 | [SRC]def performFindResults = runService('performFind', ["ent..quenceNum"]) [MSG]The String 'orderBy' can be wrapped in single quotes instead of double quotes |
AddProductBacklogItem.groovy | UnnecessaryGString | 3 | 37 | [SRC]def performFindResults = runService('performFind', ["ent..quenceNum"]) [MSG]The String 'custSequenceNum' can be wrapped in single quotes instead of double quotes |
AddProductBacklogItem.groovy | UnnecessaryGString | 3 | 41 | [SRC]logError(e, "Failure in " + module) [MSG]The String 'Failure in ' can be wrapped in single quotes instead of double quotes |
AddProductBacklogItem.groovy | Indentation | 3 | 47 | [SRC]logError(e) [MSG]The statement on line 47 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 13 but was 17 |
AddProductBacklogItem.groovy | NoDef | 3 | 53 | [SRC]def countSequence = 1 [MSG]def for declaration should not be used |
AddProductBacklogItem.groovy | VariableTypeRequired | 3 | 53 | [SRC]def countSequence = 1 [MSG]The type is not specified for variable "countSequence" |
AddProductBacklogItem.groovy | NoDef | 3 | 54 | [SRC]def custRequestAndCustRequestItems = [] [MSG]def for declaration should not be used |
AddProductBacklogItem.groovy | VariableTypeRequired | 3 | 54 | [SRC]def custRequestAndCustRequestItems = [] [MSG]The type is not specified for variable "custRequestAndCustRequestItems" |
AddProductBacklogItem.groovy | UnnecessaryParenthesesForMethodCallWithClosure | 3 | 55 | [SRC]custRequestAndItems.each() { custRequestAndItem -> [MSG]Violation in class org.apache.ofbiz.scrum.None. Parentheses in the 'each' method call are unnecessary and can be removed. |
AddProductBacklogItem.groovy | NoDef | 3 | 56 | [SRC]def tempCustRequestAndItem = [:] [MSG]def for declaration should not be used |
AddProductBacklogItem.groovy | VariableTypeRequired | 3 | 56 | [SRC]def tempCustRequestAndItem = [:] [MSG]The type is not specified for variable "tempCustRequestAndItem" |
AddProductBacklogItem.groovy | UnnecessaryGString | 3 | 61 | [SRC]custWorkEffortList = from("CustRequestWorkEffort").where...queryList() [MSG]The String 'CustRequestWorkEffort' can be wrapped in single quotes instead of double quotes |
AddProductBacklogItem.groovy | UnnecessaryGString | 3 | 61 | [SRC]custWorkEffortList = from("CustRequestWorkEffort").where...queryList() [MSG]The String 'custRequestId' can be wrapped in single quotes instead of double quotes |
AddProductBacklogItem.groovy | UnnecessaryParenthesesForMethodCallWithClosure | 3 | 64 | [SRC]custWorkEffortList.each() { custWorkEffortMap -> [MSG]Violation in class org.apache.ofbiz.scrum.None. Parentheses in the 'each' method call are unnecessary and can be removed. |
AddProductBacklogItem.groovy | SpaceAfterComma | 3 | 65 | [SRC]result = runService('getScrumActualHour', ["taskId" : cu.. userLogin]) [MSG]The map entry partyId:null within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
AddProductBacklogItem.groovy | SpaceAroundMapEntryColon | 3 | 65 | [SRC]result = runService('getScrumActualHour', ["taskId" : cu.. userLogin]) [MSG]The colon for the literal Map entry for key [taskId] within class org.apache.ofbiz.scrum.None is not preceded by a match for regular expression [\S] |
AddProductBacklogItem.groovy | SpaceAroundMapEntryColon | 3 | 65 | [SRC]result = runService('getScrumActualHour', ["taskId" : cu.. userLogin]) [MSG]The colon for the literal Map entry for key [partyId] within class org.apache.ofbiz.scrum.None is not preceded by a match for regular expression [\S] |
AddProductBacklogItem.groovy | SpaceAroundMapEntryColon | 3 | 65 | [SRC]result = runService('getScrumActualHour', ["taskId" : cu.. userLogin]) [MSG]The colon for the literal Map entry for key [userLogin] within class org.apache.ofbiz.scrum.None is not preceded by a match for regular expression [\S] |
AddProductBacklogItem.groovy | UnnecessaryGString | 3 | 65 | [SRC]result = runService('getScrumActualHour', ["taskId" : cu.. userLogin]) [MSG]The String 'taskId' can be wrapped in single quotes instead of double quotes |
AddProductBacklogItem.groovy | UnnecessaryGString | 3 | 65 | [SRC]result = runService('getScrumActualHour', ["taskId" : cu.. userLogin]) [MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes |
AddProductBacklogItem.groovy | UnnecessaryGString | 3 | 65 | [SRC]result = runService('getScrumActualHour', ["taskId" : cu.. userLogin]) [MSG]The String 'userLogin' can be wrapped in single quotes instead of double quotes |
AddProductBacklogItem.groovy | SpaceAfterIf | 3 | 68 | [SRC]if(actualHours) { [MSG]The if keyword within class org.apache.ofbiz.scrum.None is not followed by a single space |
AddProductBacklogItem.groovy | UnnecessaryGString | 3 | 80 | [SRC]if ("N".equals(parameters.sequence)) { // re-order category list item [MSG]The String 'N' can be wrapped in single quotes instead of double quotes |
AddProductBacklogItem.groovy | UnnecessaryGString | 3 | 81 | [SRC]custRequestAndCustRequestItems = UtilMisc.sortMaps(custR..RequestId"]) [MSG]The String 'parentCustRequestId' can be wrapped in single quotes instead of double quotes |
AddProductBacklogItem.groovy | SpaceAfterIf | 3 | 84 | [SRC]if("".equals(parameters.statusId)){ [MSG]The if keyword within class org.apache.ofbiz.scrum.None is not followed by a single space |
AddProductBacklogItem.groovy | SpaceBeforeOpeningBrace | 3 | 84 | [SRC]if("".equals(parameters.statusId)){ [MSG]The opening brace for the block in class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
AddProductBacklogItem.groovy | UnnecessaryGString | 3 | 84 | [SRC]if("".equals(parameters.statusId)){ [MSG]The String '' can be wrapped in single quotes instead of double quotes |
AddProductBacklogItem.groovy | UnnecessaryGString | 3 | 85 | [SRC]parameters.statusId = "Any" [MSG]The String 'Any' can be wrapped in single quotes instead of double quotes |
AddProductBacklogItem.groovy | UnnecessaryGString | 3 | 97 | [SRC]conditionList.add(EntityCondition.makeCondition("custReq..N_BACKLOG")) [MSG]The String 'custRequestTypeId' can be wrapped in single quotes instead of double quotes |
AddProductBacklogItem.groovy | UnnecessaryGString | 3 | 97 | [SRC]conditionList.add(EntityCondition.makeCondition("custReq..N_BACKLOG")) [MSG]The String 'RF_UNPLAN_BACKLOG' can be wrapped in single quotes instead of double quotes |
AddProductBacklogItem.groovy | UnnecessaryGString | 3 | 98 | [SRC]conditionList.add(EntityCondition.makeCondition("product...productId)) [MSG]The String 'productId' can be wrapped in single quotes instead of double quotes |
AddProductBacklogItem.groovy | UnnecessaryGString | 3 | 100 | [SRC]orConditionList.add(EntityCondition.makeCondition("statu.._ACCEPTED")) [MSG]The String 'statusId' can be wrapped in single quotes instead of double quotes |
AddProductBacklogItem.groovy | UnnecessaryGString | 3 | 100 | [SRC]orConditionList.add(EntityCondition.makeCondition("statu.._ACCEPTED")) [MSG]The String 'CRQ_ACCEPTED' can be wrapped in single quotes instead of double quotes |
AddProductBacklogItem.groovy | UnnecessaryGString | 3 | 101 | [SRC]orConditionList.add(EntityCondition.makeCondition("statu.._REOPENED")) [MSG]The String 'statusId' can be wrapped in single quotes instead of double quotes |
AddProductBacklogItem.groovy | UnnecessaryGString | 3 | 101 | [SRC]orConditionList.add(EntityCondition.makeCondition("statu.._REOPENED")) [MSG]The String 'CRQ_REOPENED' can be wrapped in single quotes instead of double quotes |
AddProductBacklogItem.groovy | UnnecessaryGString | 3 | 109 | [SRC]unplannedList = select("custRequestId", "custSequenceNum...queryList() [MSG]The String 'custRequestId' can be wrapped in single quotes instead of double quotes |
AddProductBacklogItem.groovy | UnnecessaryGString | 3 | 109 | [SRC]unplannedList = select("custRequestId", "custSequenceNum...queryList() [MSG]The String 'custSequenceNum' can be wrapped in single quotes instead of double quotes |
AddProductBacklogItem.groovy | UnnecessaryGString | 3 | 109 | [SRC]unplannedList = select("custRequestId", "custSequenceNum...queryList() [MSG]The String 'statusId' can be wrapped in single quotes instead of double quotes |
AddProductBacklogItem.groovy | UnnecessaryGString | 3 | 109 | [SRC]unplannedList = select("custRequestId", "custSequenceNum...queryList() [MSG]The String 'description' can be wrapped in single quotes instead of double quotes |
AddProductBacklogItem.groovy | UnnecessaryGString | 3 | 109 | [SRC]unplannedList = select("custRequestId", "custSequenceNum...queryList() [MSG]The String 'custEstimatedMilliSeconds' can be wrapped in single quotes instead of double quotes |
AddProductBacklogItem.groovy | UnnecessaryGString | 3 | 109 | [SRC]unplannedList = select("custRequestId", "custSequenceNum...queryList() [MSG]The String 'custRequestName' can be wrapped in single quotes instead of double quotes |
AddProductBacklogItem.groovy | UnnecessaryGString | 3 | 109 | [SRC]unplannedList = select("custRequestId", "custSequenceNum...queryList() [MSG]The String 'parentCustRequestId' can be wrapped in single quotes instead of double quotes |
AddProductBacklogItem.groovy | UnnecessaryGString | 3 | 109 | [SRC]unplannedList = select("custRequestId", "custSequenceNum...queryList() [MSG]The String 'CustRequestAndCustRequestItem' can be wrapped in single quotes instead of double quotes |
AddProductBacklogItem.groovy | UnnecessaryGString | 3 | 109 | [SRC]unplannedList = select("custRequestId", "custSequenceNum...queryList() [MSG]The String 'custSequenceNum' can be wrapped in single quotes instead of double quotes |
AddProductBacklogItem.groovy | NoDef | 3 | 111 | [SRC]def countSequenceUnplanned = 1 [MSG]def for declaration should not be used |
AddProductBacklogItem.groovy | VariableTypeRequired | 3 | 111 | [SRC]def countSequenceUnplanned = 1 [MSG]The type is not specified for variable "countSequenceUnplanned" |
AddProductBacklogItem.groovy | NoDef | 3 | 112 | [SRC]def unplanBacklogItems = [] [MSG]def for declaration should not be used |
AddProductBacklogItem.groovy | VariableTypeRequired | 3 | 112 | [SRC]def unplanBacklogItems = [] [MSG]The type is not specified for variable "unplanBacklogItems" |
AddProductBacklogItem.groovy | UnnecessaryParenthesesForMethodCallWithClosure | 3 | 113 | [SRC]unplannedList.each() { unplannedItem -> [MSG]Violation in class org.apache.ofbiz.scrum.None. Parentheses in the 'each' method call are unnecessary and can be removed. |
AddProductBacklogItem.groovy | NoDef | 3 | 114 | [SRC]def tempUnplanned = [:] [MSG]def for declaration should not be used |
AddProductBacklogItem.groovy | VariableTypeRequired | 3 | 114 | [SRC]def tempUnplanned = [:] [MSG]The type is not specified for variable "tempUnplanned" |
AddProductBacklogItem.groovy | UnnecessaryGString | 3 | 119 | [SRC]unplanCustWorkEffortList = from("CustRequestWorkEffort")...queryList() [MSG]The String 'CustRequestWorkEffort' can be wrapped in single quotes instead of double quotes |
AddProductBacklogItem.groovy | UnnecessaryGString | 3 | 119 | [SRC]unplanCustWorkEffortList = from("CustRequestWorkEffort")...queryList() [MSG]The String 'custRequestId' can be wrapped in single quotes instead of double quotes |
AddProductBacklogItem.groovy | UnnecessaryParenthesesForMethodCallWithClosure | 3 | 122 | [SRC]unplanCustWorkEffortList.each() { custWorkEffortMap -> [MSG]Violation in class org.apache.ofbiz.scrum.None. Parentheses in the 'each' method call are unnecessary and can be removed. |
AddProductBacklogItem.groovy | SpaceAfterComma | 3 | 123 | [SRC]result = runService('getScrumActualHour', ["taskId" : cu.. userLogin]) [MSG]The map entry partyId:null within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
AddProductBacklogItem.groovy | SpaceAroundMapEntryColon | 3 | 123 | [SRC]result = runService('getScrumActualHour', ["taskId" : cu.. userLogin]) [MSG]The colon for the literal Map entry for key [taskId] within class org.apache.ofbiz.scrum.None is not preceded by a match for regular expression [\S] |
AddProductBacklogItem.groovy | SpaceAroundMapEntryColon | 3 | 123 | [SRC]result = runService('getScrumActualHour', ["taskId" : cu.. userLogin]) [MSG]The colon for the literal Map entry for key [partyId] within class org.apache.ofbiz.scrum.None is not preceded by a match for regular expression [\S] |
AddProductBacklogItem.groovy | SpaceAroundMapEntryColon | 3 | 123 | [SRC]result = runService('getScrumActualHour', ["taskId" : cu.. userLogin]) [MSG]The colon for the literal Map entry for key [userLogin] within class org.apache.ofbiz.scrum.None is not preceded by a match for regular expression [\S] |
AddProductBacklogItem.groovy | UnnecessaryGString | 3 | 123 | [SRC]result = runService('getScrumActualHour', ["taskId" : cu.. userLogin]) [MSG]The String 'taskId' can be wrapped in single quotes instead of double quotes |
AddProductBacklogItem.groovy | UnnecessaryGString | 3 | 123 | [SRC]result = runService('getScrumActualHour', ["taskId" : cu.. userLogin]) [MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes |
AddProductBacklogItem.groovy | UnnecessaryGString | 3 | 123 | [SRC]result = runService('getScrumActualHour', ["taskId" : cu.. userLogin]) [MSG]The String 'userLogin' can be wrapped in single quotes instead of double quotes |
AddProductBacklogItem.groovy | SpaceAfterIf | 3 | 126 | [SRC]if(actualHours) { [MSG]The if keyword within class org.apache.ofbiz.scrum.None is not followed by a single space |
AddProductBacklogItem.groovy | UnnecessaryGString | 3 | 137 | [SRC]if ("N".equals(parameters.UnplannedSequence)) { // re-or..ry list item [MSG]The String 'N' can be wrapped in single quotes instead of double quotes |
AddProductBacklogItem.groovy | UnnecessaryGString | 3 | 138 | [SRC]unplanBacklogItems = UtilMisc.sortMaps(unplanBacklogItem..RequestId"]) [MSG]The String 'parentCustRequestId' can be wrapped in single quotes instead of double quotes |
AddResourceTaskParty.groovy | SpaceAfterComma | 3 | 24 | [SRC]projectAndTaskList = from("ProjectSprintBacklogAndTask")...queryList() [MSG]The parameter taskCurrentStatusId in the call to method where within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
AddResourceTaskParty.groovy | UnnecessaryGString | 3 | 24 | [SRC]projectAndTaskList = from("ProjectSprintBacklogAndTask")...queryList() [MSG]The String 'ProjectSprintBacklogAndTask' can be wrapped in single quotes instead of double quotes |
AddResourceTaskParty.groovy | UnnecessaryGString | 3 | 24 | [SRC]projectAndTaskList = from("ProjectSprintBacklogAndTask")...queryList() [MSG]The String 'sprintTypeId' can be wrapped in single quotes instead of double quotes |
AddResourceTaskParty.groovy | UnnecessaryGString | 3 | 24 | [SRC]projectAndTaskList = from("ProjectSprintBacklogAndTask")...queryList() [MSG]The String 'SCRUM_SPRINT' can be wrapped in single quotes instead of double quotes |
AddResourceTaskParty.groovy | UnnecessaryGString | 3 | 24 | [SRC]projectAndTaskList = from("ProjectSprintBacklogAndTask")...queryList() [MSG]The String 'taskCurrentStatusId' can be wrapped in single quotes instead of double quotes |
AddResourceTaskParty.groovy | UnnecessaryGString | 3 | 24 | [SRC]projectAndTaskList = from("ProjectSprintBacklogAndTask")...queryList() [MSG]The String 'STS_CREATED' can be wrapped in single quotes instead of double quotes |
AddResourceTaskParty.groovy | UnnecessaryGString | 3 | 24 | [SRC]projectAndTaskList = from("ProjectSprintBacklogAndTask")...queryList() [MSG]The String 'taskId DESC' can be wrapped in single quotes instead of double quotes |
AddResourceTaskParty.groovy | Indentation | 3 | 26 | [SRC]userLoginId = userLogin.partyId [MSG]The statement on line 26 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Depending on your chaining style, expected one of [5, 9, 13] or one of [23, 27, 31] columns, but was 1 |
AddResourceTaskParty.groovy | UnnecessaryGString | 3 | 28 | [SRC]partyAssignmentProjectList = from("WorkEffortPartyAssign...queryList() [MSG]The String 'WorkEffortPartyAssignment' can be wrapped in single quotes instead of double quotes |
AddResourceTaskParty.groovy | UnnecessaryGString | 3 | 28 | [SRC]partyAssignmentProjectList = from("WorkEffortPartyAssign...queryList() [MSG]The String 'workEffortId' can be wrapped in single quotes instead of double quotes |
AddResourceTaskParty.groovy | UnnecessaryGString | 3 | 28 | [SRC]partyAssignmentProjectList = from("WorkEffortPartyAssign...queryList() [MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes |
AddResourceTaskParty.groovy | UnnecessaryGString | 3 | 33 | [SRC]partyAssignmentSprintList = from("WorkEffortPartyAssignm...queryList() [MSG]The String 'WorkEffortPartyAssignment' can be wrapped in single quotes instead of double quotes |
AddResourceTaskParty.groovy | UnnecessaryGString | 3 | 33 | [SRC]partyAssignmentSprintList = from("WorkEffortPartyAssignm...queryList() [MSG]The String 'workEffortId' can be wrapped in single quotes instead of double quotes |
AddResourceTaskParty.groovy | UnnecessaryGString | 3 | 33 | [SRC]partyAssignmentSprintList = from("WorkEffortPartyAssignm...queryList() [MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes |
AddResourceTaskParty.groovy | UnnecessaryGString | 3 | 38 | [SRC]partyAssignmentTaskList = from("WorkEffortPartyAssignmen...queryList() [MSG]The String 'WorkEffortPartyAssignment' can be wrapped in single quotes instead of double quotes |
AddResourceTaskParty.groovy | UnnecessaryGString | 3 | 38 | [SRC]partyAssignmentTaskList = from("WorkEffortPartyAssignmen...queryList() [MSG]The String 'workEffortId' can be wrapped in single quotes instead of double quotes |
AddResourceTaskParty.groovy | InvertedIfElse | 3 | 41 | [SRC]if (!partyAssignmentTaskMap) { [MSG]Testing the negative condition first can make an if statement confusing |
AddResourceTaskParty.groovy | UnnecessaryGString | 3 | 47 | [SRC]if ("RF_SCRUM_MEETINGS".equals(custRequestTypeId) && "CR..StatusId)) { [MSG]The String 'RF_SCRUM_MEETINGS' can be wrapped in single quotes instead of double quotes |
AddResourceTaskParty.groovy | UnnecessaryGString | 3 | 47 | [SRC]if ("RF_SCRUM_MEETINGS".equals(custRequestTypeId) && "CR..StatusId)) { [MSG]The String 'CRQ_REVIEWED' can be wrapped in single quotes instead of double quotes |
AdvancedSearchPrep.groovy | NoWildcardImports | 3 | 21 | [SRC]import org.apache.ofbiz.base.util.* [MSG]Wildcard (star) import |
AdvancedSearchPrep.groovy | NoWildcardImports | 3 | 22 | [SRC]import org.apache.ofbiz.product.catalog.* [MSG]Wildcard (star) import |
AdvancedSearchPrep.groovy | NoWildcardImports | 3 | 23 | [SRC]import org.apache.ofbiz.product.feature.* [MSG]Wildcard (star) import |
AdvancedSearchPrep.groovy | NoWildcardImports | 3 | 24 | [SRC]import org.apache.ofbiz.product.product.* [MSG]Wildcard (star) import |
AdvancedSearchPrep.groovy | UnnecessaryGString | 3 | 30 | [SRC]if (!"AND".equals(searchOperator) && !"OR".equals(searchOperator)) { [MSG]The String 'AND' can be wrapped in single quotes instead of double quotes |
AdvancedSearchPrep.groovy | UnnecessaryGString | 3 | 30 | [SRC]if (!"AND".equals(searchOperator) && !"OR".equals(searchOperator)) { [MSG]The String 'OR' can be wrapped in single quotes instead of double quotes |
AdvancedSearchPrep.groovy | Indentation | 3 | 31 | [SRC]searchOperator = "OR" [MSG]The statement on line 31 in class org.apache.ofbiz.ecommerce.content.None is at the incorrect indent level: Expected column 5 but was 3 |
AdvancedSearchPrep.groovy | UnnecessaryGString | 3 | 31 | [SRC]searchOperator = "OR" [MSG]The String 'OR' can be wrapped in single quotes instead of double quotes |
AdvancedSearchPrep.groovy | UnnecessaryGString | 3 | 27 | [SRC]searchOperator = request.getParameter("SEARCH_OPERATOR") [MSG]The String 'SEARCH_OPERATOR' can be wrapped in single quotes instead of double quotes |
AdvancedSearchPrep.groovy | UnnecessaryGString | 3 | 28 | [SRC]if (!"AND".equals(searchOperator) && !"OR".equals(searchOperator)) { [MSG]The String 'AND' can be wrapped in single quotes instead of double quotes |
AdvancedSearchPrep.groovy | UnnecessaryGString | 3 | 28 | [SRC]if (!"AND".equals(searchOperator) && !"OR".equals(searchOperator)) { [MSG]The String 'OR' can be wrapped in single quotes instead of double quotes |
AdvancedSearchPrep.groovy | Indentation | 3 | 29 | [SRC]searchOperator = "OR" [MSG]The statement on line 29 in class org.apache.ofbiz.lucene.content.None is at the incorrect indent level: Expected column 5 but was 3 |
AdvancedSearchPrep.groovy | UnnecessaryGString | 3 | 29 | [SRC]searchOperator = "OR" [MSG]The String 'OR' can be wrapped in single quotes instead of double quotes |
AjaxBreadcrumbs.groovy | NoWildcardImports | 3 | 21 | [SRC]import org.apache.ofbiz.product.category.* [MSG]Wildcard (star) import |
AjaxBreadcrumbs.groovy | SpaceAroundOperator | 3 | 24 | [SRC]productCategoryId=parameters.category_id [MSG]The operator "=" within class org.apache.ofbiz.ecommerce.catalog.None is not preceded by a space or whitespace |
AjaxBreadcrumbs.groovy | SpaceAroundOperator | 3 | 24 | [SRC]productCategoryId=parameters.category_id [MSG]The operator "=" within class org.apache.ofbiz.ecommerce.catalog.None is not followed by a space or whitespace |
AjaxBreadcrumbs.groovy | SpaceAfterIf | 3 | 25 | [SRC]if(parentCategoryStr) { [MSG]The if keyword within class org.apache.ofbiz.ecommerce.catalog.None is not followed by a single space |
AjaxBreadcrumbs.groovy | SpaceAfterFor | 3 | 29 | [SRC]for(path in pathList) { [MSG]The for keyword within class org.apache.ofbiz.ecommerce.catalog.None is not followed by a single space |
AjaxBreadcrumbs.groovy | UnnecessaryGString | 3 | 31 | [SRC]category = from("ProductCategory").where("productCategor..).queryOne() [MSG]The String 'ProductCategory' can be wrapped in single quotes instead of double quotes |
AjaxBreadcrumbs.groovy | UnnecessaryGString | 3 | 31 | [SRC]category = from("ProductCategory").where("productCategor..).queryOne() [MSG]The String 'productCategoryId' can be wrapped in single quotes instead of double quotes |
AjaxBreadcrumbs.groovy | UnnecessaryGString | 3 | 35 | [SRC]cateMap.title = categoryContentWrapper.get("DESCRIPTION", "html") [MSG]The String 'DESCRIPTION' can be wrapped in single quotes instead of double quotes |
AjaxBreadcrumbs.groovy | UnnecessaryGString | 3 | 35 | [SRC]cateMap.title = categoryContentWrapper.get("DESCRIPTION", "html") [MSG]The String 'html' can be wrapped in single quotes instead of double quotes |
AjaxBreadcrumbs.groovy | UnnecessaryGString | 3 | 47 | [SRC]currentCategory = from("ProductCategory").where("product..).queryOne() [MSG]The String 'ProductCategory' can be wrapped in single quotes instead of double quotes |
AjaxBreadcrumbs.groovy | UnnecessaryGString | 3 | 47 | [SRC]currentCategory = from("ProductCategory").where("product..).queryOne() [MSG]The String 'productCategoryId' can be wrapped in single quotes instead of double quotes |
AjaxBreadcrumbs.groovy | UnnecessaryGString | 3 | 49 | [SRC]context.currentCategoryName = currentCategoryContentWrap..ME", "html") [MSG]The String 'CATEGORY_NAME' can be wrapped in single quotes instead of double quotes |
AjaxBreadcrumbs.groovy | UnnecessaryGString | 3 | 49 | [SRC]context.currentCategoryName = currentCategoryContentWrap..ME", "html") [MSG]The String 'html' can be wrapped in single quotes instead of double quotes |
AjaxBreadcrumbs.groovy | UnnecessaryGString | 3 | 50 | [SRC]context.currentCategoryDescription = currentCategoryCont..ON", "html") [MSG]The String 'DESCRIPTION' can be wrapped in single quotes instead of double quotes |
AjaxBreadcrumbs.groovy | UnnecessaryGString | 3 | 50 | [SRC]context.currentCategoryDescription = currentCategoryCont..ON", "html") [MSG]The String 'html' can be wrapped in single quotes instead of double quotes |
AnonymousTrail.groovy | NoWildcardImports | 3 | 21 | [SRC]import org.apache.ofbiz.order.shoppingcart.* [MSG]Wildcard (star) import |
AnonymousTrail.groovy | UnnecessaryGString | 3 | 23 | [SRC]cart = session.getAttribute("shoppingCart") [MSG]The String 'shoppingCart' can be wrapped in single quotes instead of double quotes |
AnonymousTrail.groovy | UnnecessaryGString | 3 | 28 | [SRC]context.shipAddr = "Y" [MSG]The String 'Y' can be wrapped in single quotes instead of double quotes |
AnonymousTrail.groovy | UnnecessaryGString | 3 | 29 | [SRC]trailClassMap.shipAddr = "submenutextright" [MSG]The String 'submenutextright' can be wrapped in single quotes instead of double quotes |
AnonymousTrail.groovy | UnnecessaryGString | 3 | 33 | [SRC]context.shipOptions = "Y" [MSG]The String 'Y' can be wrapped in single quotes instead of double quotes |
AnonymousTrail.groovy | UnnecessaryGString | 3 | 34 | [SRC]trailClassMap.shipAddr = "submenutext" [MSG]The String 'submenutext' can be wrapped in single quotes instead of double quotes |
AnonymousTrail.groovy | UnnecessaryGString | 3 | 35 | [SRC]trailClassMap.shipOptions = "submenutextright" [MSG]The String 'submenutextright' can be wrapped in single quotes instead of double quotes |
AnonymousTrail.groovy | UnnecessaryGString | 3 | 39 | [SRC]context.billing = "Y" [MSG]The String 'Y' can be wrapped in single quotes instead of double quotes |
AnonymousTrail.groovy | UnnecessaryGString | 3 | 40 | [SRC]trailClassMap.shipOptions = "submenutext" [MSG]The String 'submenutext' can be wrapped in single quotes instead of double quotes |
AnonymousTrail.groovy | UnnecessaryGString | 3 | 41 | [SRC]trailClassMap.paymentType = "submenutextright" [MSG]The String 'submenutextright' can be wrapped in single quotes instead of double quotes |
ApiTokenGenerator.groovy | SpaceAroundMapEntryColon | 3 | 34 | [SRC]expires_in : expireTimeString, [MSG]The colon for the literal Map entry for key [expires_in] within class org.apache.ofbiz.example.None is not preceded by a match for regular expression [\S] |
ApiTokenGenerator.groovy | SpaceAroundMapEntryColon | 3 | 35 | [SRC]token_type : 'Bearer',] [MSG]The colon for the literal Map entry for key [token_type] within class org.apache.ofbiz.example.None is not preceded by a match for regular expression [\S] |
BacklogNotifications.groovy | ConsecutiveBlankLines | 3 | 20 | [MSG]File BacklogNotifications.groovy has consecutive blank lines |
BacklogNotifications.groovy | NoDef | 3 | 22 | [SRC]def module = "BacklogNotifications.groovy" [MSG]def for declaration should not be used |
BacklogNotifications.groovy | VariableTypeRequired | 3 | 22 | [SRC]def module = "BacklogNotifications.groovy" [MSG]The type is not specified for variable "module" |
BacklogNotifications.groovy | UnnecessaryGString | 3 | 22 | [SRC]def module = "BacklogNotifications.groovy" [MSG]The String 'BacklogNotifications.groovy' can be wrapped in single quotes instead of double quotes |
BacklogNotifications.groovy | UnnecessaryGString | 3 | 24 | [SRC]custRequest = from("CustRequest").where("custRequestId",..).queryOne() [MSG]The String 'CustRequest' can be wrapped in single quotes instead of double quotes |
BacklogNotifications.groovy | UnnecessaryGString | 3 | 24 | [SRC]custRequest = from("CustRequest").where("custRequestId",..).queryOne() [MSG]The String 'custRequestId' can be wrapped in single quotes instead of double quotes |
BacklogNotifications.groovy | UnnecessaryGString | 3 | 25 | [SRC]person = from("PartyNameView").where("partyId", partyIdTo).queryOne() [MSG]The String 'PartyNameView' can be wrapped in single quotes instead of double quotes |
BacklogNotifications.groovy | UnnecessaryGString | 3 | 25 | [SRC]person = from("PartyNameView").where("partyId", partyIdTo).queryOne() [MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes |
BacklogNotifications.groovy | UnnecessaryGString | 3 | 33 | [SRC]backlogList = select("productId", "workEffortId", "custR...queryList() [MSG]The String 'productId' can be wrapped in single quotes instead of double quotes |
BacklogNotifications.groovy | UnnecessaryGString | 3 | 33 | [SRC]backlogList = select("productId", "workEffortId", "custR...queryList() [MSG]The String 'workEffortId' can be wrapped in single quotes instead of double quotes |
BacklogNotifications.groovy | UnnecessaryGString | 3 | 33 | [SRC]backlogList = select("productId", "workEffortId", "custR...queryList() [MSG]The String 'custRequestId' can be wrapped in single quotes instead of double quotes |
BacklogNotifications.groovy | UnnecessaryGString | 3 | 33 | [SRC]backlogList = select("productId", "workEffortId", "custR...queryList() [MSG]The String 'ProductBacklog' can be wrapped in single quotes instead of double quotes |
BacklogNotifications.groovy | UnnecessaryGString | 3 | 33 | [SRC]backlogList = select("productId", "workEffortId", "custR...queryList() [MSG]The String 'workEffortTypeId' can be wrapped in single quotes instead of double quotes |
BacklogNotifications.groovy | UnnecessaryGString | 3 | 33 | [SRC]backlogList = select("productId", "workEffortId", "custR...queryList() [MSG]The String 'SCRUM_SPRINT' can be wrapped in single quotes instead of double quotes |
BacklogNotifications.groovy | UnnecessaryGString | 3 | 33 | [SRC]backlogList = select("productId", "workEffortId", "custR...queryList() [MSG]The String 'custRequestId' can be wrapped in single quotes instead of double quotes |
BacklogNotifications.groovy | UnnecessaryGString | 3 | 35 | [SRC]product = from("Product").where("productId", backlogList..).queryOne() [MSG]The String 'Product' can be wrapped in single quotes instead of double quotes |
BacklogNotifications.groovy | UnnecessaryGString | 3 | 35 | [SRC]product = from("Product").where("productId", backlogList..).queryOne() [MSG]The String 'productId' can be wrapped in single quotes instead of double quotes |
BacklogNotifications.groovy | UnnecessaryGString | 3 | 36 | [SRC]sprint = from("WorkEffort").where("workEffortId", backlo..).queryOne() [MSG]The String 'WorkEffort' can be wrapped in single quotes instead of double quotes |
BacklogNotifications.groovy | UnnecessaryGString | 3 | 36 | [SRC]sprint = from("WorkEffort").where("workEffortId", backlo..).queryOne() [MSG]The String 'workEffortId' can be wrapped in single quotes instead of double quotes |
BacklogNotifications.groovy | UnnecessaryGString | 3 | 42 | [SRC]backlogList = select("productId", "workEffortId", "custR...queryList() [MSG]The String 'productId' can be wrapped in single quotes instead of double quotes |
BacklogNotifications.groovy | UnnecessaryGString | 3 | 42 | [SRC]backlogList = select("productId", "workEffortId", "custR...queryList() [MSG]The String 'workEffortId' can be wrapped in single quotes instead of double quotes |
BacklogNotifications.groovy | UnnecessaryGString | 3 | 42 | [SRC]backlogList = select("productId", "workEffortId", "custR...queryList() [MSG]The String 'custRequestId' can be wrapped in single quotes instead of double quotes |
BacklogNotifications.groovy | UnnecessaryGString | 3 | 42 | [SRC]backlogList = select("productId", "workEffortId", "custR...queryList() [MSG]The String 'ProductBacklog' can be wrapped in single quotes instead of double quotes |
BacklogNotifications.groovy | UnnecessaryGString | 3 | 42 | [SRC]backlogList = select("productId", "workEffortId", "custR...queryList() [MSG]The String 'custRequestId' can be wrapped in single quotes instead of double quotes |
BacklogNotifications.groovy | UnnecessaryGString | 3 | 45 | [SRC]product = from("Product").where("productId", backlogList..).queryOne() [MSG]The String 'Product' can be wrapped in single quotes instead of double quotes |
BacklogNotifications.groovy | UnnecessaryGString | 3 | 45 | [SRC]product = from("Product").where("productId", backlogList..).queryOne() [MSG]The String 'productId' can be wrapped in single quotes instead of double quotes |
BacklogNotifications.groovy | UnnecessaryGString | 3 | 53 | [SRC]if ("CRQ_ACCEPTED".equals(custRequest.statusId)) { [MSG]The String 'CRQ_ACCEPTED' can be wrapped in single quotes instead of double quotes |
BacklogNotifications.groovy | UnnecessaryGString | 3 | 54 | [SRC]custStatusList = custRequest.getRelated("CustRequestStat..Id"], false) [MSG]The String 'CustRequestStatus' can be wrapped in single quotes instead of double quotes |
BacklogNotifications.groovy | UnnecessaryGString | 3 | 54 | [SRC]custStatusList = custRequest.getRelated("CustRequestStat..Id"], false) [MSG]The String '-custRequestStatusId' can be wrapped in single quotes instead of double quotes |
BacklogNotifications.groovy | UnnecessaryGString | 3 | 55 | [SRC]if (custStatusList.size() > 2 && "CRQ_REVIEWED".equals(c..statusId)) { [MSG]The String 'CRQ_REVIEWED' can be wrapped in single quotes instead of double quotes |
BestSellingCategory.groovy | UnusedImport | 3 | 21 | [SRC]import org.apache.ofbiz.base.util.UtilValidate [MSG]The [org.apache.ofbiz.base.util.UtilValidate] import is never referenced |
BestSellingCategory.groovy | UnusedImport | 3 | 22 | [SRC]import org.apache.ofbiz.base.util.UtilMisc [MSG]The [org.apache.ofbiz.base.util.UtilMisc] import is never referenced |
BestSellingCategory.groovy | NoWildcardImports | 3 | 23 | [SRC]import org.apache.ofbiz.product.catalog.* [MSG]Wildcard (star) import |
BestSellingCategory.groovy | NoWildcardImports | 3 | 24 | [SRC]import org.apache.ofbiz.product.category.* [MSG]Wildcard (star) import |
BestSellingCategory.groovy | UnnecessaryGString | 3 | 30 | [SRC]prodCatalogCategoryList = CatalogWorker.getProdCatalogCa.._BEST_SELL") [MSG]The String 'PCCT_BEST_SELL' can be wrapped in single quotes instead of double quotes |
BestSellingCategory.groovy | UnnecessaryGString | 3 | 34 | [SRC]productCategoryId = prodCatalogCategory.getString("productCategoryId") [MSG]The String 'productCategoryId' can be wrapped in single quotes instead of double quotes |
BestSellingCategory.groovy | UnnecessaryGString | 3 | 35 | [SRC]childCategoryList = CategoryWorker.getRelatedCategoriesR..oryId, true) [MSG]The String 'childCategoryList' can be wrapped in single quotes instead of double quotes |
BillSettings.groovy | NoWildcardImports | 3 | 21 | [SRC]import org.apache.ofbiz.entity.* [MSG]Wildcard (star) import |
BillSettings.groovy | NoWildcardImports | 3 | 22 | [SRC]import org.apache.ofbiz.entity.util.* [MSG]Wildcard (star) import |
BillSettings.groovy | NoWildcardImports | 3 | 23 | [SRC]import org.apache.ofbiz.base.util.* [MSG]Wildcard (star) import |
BillSettings.groovy | NoWildcardImports | 3 | 24 | [SRC]import org.apache.ofbiz.accounting.payment.* [MSG]Wildcard (star) import |
BillSettings.groovy | NoWildcardImports | 3 | 25 | [SRC]import org.apache.ofbiz.order.shoppingcart.* [MSG]Wildcard (star) import |
BillSettings.groovy | NoWildcardImports | 3 | 26 | [SRC]import org.apache.ofbiz.party.contact.* [MSG]Wildcard (star) import |
BillSettings.groovy | UnnecessaryGString | 3 | 28 | [SRC]cart = session.getAttribute("shoppingCart") [MSG]The String 'shoppingCart' can be wrapped in single quotes instead of double quotes |
BillSettings.groovy | UnnecessaryGString | 3 | 32 | [SRC]payType = "GC" [MSG]The String 'GC' can be wrapped in single quotes instead of double quotes |
BillSettings.groovy | UnnecessaryGString | 3 | 41 | [SRC]request.removeAttribute("_EVENT_MESSAGE_") [MSG]The String '_EVENT_MESSAGE_' can be wrapped in single quotes instead of double quotes |
BillSettings.groovy | UnnecessaryGString | 3 | 43 | [SRC]if (partyId && !"_NA_".equals(partyId)) { [MSG]The String '_NA_' can be wrapped in single quotes instead of double quotes |
BillSettings.groovy | UnnecessaryGString | 3 | 44 | [SRC]party = from("Party").where("partyId", partyId).queryOne() [MSG]The String 'Party' can be wrapped in single quotes instead of double quotes |
BillSettings.groovy | UnnecessaryGString | 3 | 44 | [SRC]party = from("Party").where("partyId", partyId).queryOne() [MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes |
BillSettings.groovy | UnnecessaryGString | 3 | 45 | [SRC]person = party.getRelatedOne("Person", false) [MSG]The String 'Person' can be wrapped in single quotes instead of double quotes |
BillSettings.groovy | UnnecessaryGString | 3 | 49 | [SRC]context.paymentMethodList = EntityUtil.filterByDate(part..ull, false)) [MSG]The String 'PaymentMethod' can be wrapped in single quotes instead of double quotes |
BillSettings.groovy | UnnecessaryGString | 3 | 61 | [SRC]postalAddress = from("PostalAddress").where("contactMech..).queryOne() [MSG]The String 'PostalAddress' can be wrapped in single quotes instead of double quotes |
BillSettings.groovy | UnnecessaryGString | 3 | 61 | [SRC]postalAddress = from("PostalAddress").where("contactMech..).queryOne() [MSG]The String 'contactMechId' can be wrapped in single quotes instead of double quotes |
BillSettings.groovy | UnnecessaryGString | 3 | 62 | [SRC]context.useEntityFields = "Y" [MSG]The String 'Y' can be wrapped in single quotes instead of double quotes |
BillSettings.groovy | UnnecessaryGString | 3 | 66 | [SRC]partyContactMech = from("PartyContactMech").where("party..queryFirst() [MSG]The String 'PartyContactMech' can be wrapped in single quotes instead of double quotes |
BillSettings.groovy | UnnecessaryGString | 3 | 66 | [SRC]partyContactMech = from("PartyContactMech").where("party..queryFirst() [MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes |
BillSettings.groovy | UnnecessaryGString | 3 | 66 | [SRC]partyContactMech = from("PartyContactMech").where("party..queryFirst() [MSG]The String 'contactMechId' can be wrapped in single quotes instead of double quotes |
BillSettings.groovy | UnnecessaryGString | 3 | 66 | [SRC]partyContactMech = from("PartyContactMech").where("party..queryFirst() [MSG]The String '-fromDate' can be wrapped in single quotes instead of double quotes |
BillSettings.groovy | UnnecessaryGString | 3 | 77 | [SRC]paymentMethod = from("PaymentMethod").where("paymentMeth..).queryOne() [MSG]The String 'PaymentMethod' can be wrapped in single quotes instead of double quotes |
BillSettings.groovy | UnnecessaryGString | 3 | 77 | [SRC]paymentMethod = from("PaymentMethod").where("paymentMeth..).queryOne() [MSG]The String 'paymentMethodId' can be wrapped in single quotes instead of double quotes |
BillSettings.groovy | UnnecessaryGString | 3 | 80 | [SRC]if ("CREDIT_CARD".equals(paymentMethod.paymentMethodTypeId)) { [MSG]The String 'CREDIT_CARD' can be wrapped in single quotes instead of double quotes |
BillSettings.groovy | UnnecessaryGString | 3 | 81 | [SRC]account = paymentMethod.getRelatedOne("CreditCard", false) [MSG]The String 'CreditCard' can be wrapped in single quotes instead of double quotes |
BillSettings.groovy | UnnecessaryGString | 3 | 83 | [SRC]context.paymentMethodType = "CC" [MSG]The String 'CC' can be wrapped in single quotes instead of double quotes |
BillSettings.groovy | UnnecessaryGString | 3 | 84 | [SRC]} else if ("EFT_ACCOUNT".equals(paymentMethod.paymentMethodTypeId)) { [MSG]The String 'EFT_ACCOUNT' can be wrapped in single quotes instead of double quotes |
BillSettings.groovy | UnnecessaryGString | 3 | 85 | [SRC]account = paymentMethod.getRelatedOne("EftAccount", false) [MSG]The String 'EftAccount' can be wrapped in single quotes instead of double quotes |
BillSettings.groovy | UnnecessaryGString | 3 | 87 | [SRC]context.paymentMethodType = "EFT" [MSG]The String 'EFT' can be wrapped in single quotes instead of double quotes |
BillSettings.groovy | UnnecessaryGString | 3 | 88 | [SRC]} else if ("GIFT_CARD".equals(paymentMethod.paymentMethodTypeId)) { [MSG]The String 'GIFT_CARD' can be wrapped in single quotes instead of double quotes |
BillSettings.groovy | UnnecessaryGString | 3 | 89 | [SRC]account = paymentMethod.getRelatedOne("GiftCard", false) [MSG]The String 'GiftCard' can be wrapped in single quotes instead of double quotes |
BillSettings.groovy | UnnecessaryGString | 3 | 91 | [SRC]context.paymentMethodType = "GC" [MSG]The String 'GC' can be wrapped in single quotes instead of double quotes |
BillSettings.groovy | UnnecessaryGString | 3 | 93 | [SRC]context.paymentMethodType = "offline" [MSG]The String 'offline' can be wrapped in single quotes instead of double quotes |
BillSettings.groovy | UnnecessaryGString | 3 | 96 | [SRC]address = account.getRelatedOne("PostalAddress", false) [MSG]The String 'PostalAddress' can be wrapped in single quotes instead of double quotes |
BomSimulation.groovy | ImportFromSamePackage | 3 | 21 | [SRC]import org.apache.ofbiz.manufacturing.bom.BOMNode |
Category.groovy | UnnecessaryGString | 3 | 29 | [SRC]detailScreen = "categorydetail" [MSG]The String 'categorydetail' can be wrapped in single quotes instead of double quotes |
Category.groovy | UnnecessaryGString | 3 | 33 | [SRC]if (!(productCategoryId) && request.getAttribute("topCategoryId")) { [MSG]The String 'topCategoryId' can be wrapped in single quotes instead of double quotes |
Category.groovy | UnnecessaryGString | 3 | 34 | [SRC]productCategoryId = request.getAttribute("topCategoryId") [MSG]The String 'topCategoryId' can be wrapped in single quotes instead of double quotes |
Category.groovy | UnnecessaryGString | 3 | 37 | [SRC]category = from("ProductCategory").where("productCategor..).queryOne() [MSG]The String 'ProductCategory' can be wrapped in single quotes instead of double quotes |
Category.groovy | UnnecessaryGString | 3 | 37 | [SRC]category = from("ProductCategory").where("productCategor..).queryOne() [MSG]The String 'productCategoryId' can be wrapped in single quotes instead of double quotes |
Category.groovy | UnnecessaryGString | 3 | 43 | [SRC]context.title = categoryContentWrapper.get("CATEGORY_NAME", "html") [MSG]The String 'CATEGORY_NAME' can be wrapped in single quotes instead of double quotes |
Category.groovy | UnnecessaryGString | 3 | 43 | [SRC]context.title = categoryContentWrapper.get("CATEGORY_NAME", "html") [MSG]The String 'html' can be wrapped in single quotes instead of double quotes |
Category.groovy | UnnecessaryGString | 3 | 44 | [SRC]categoryDescription = categoryContentWrapper.get("DESCRI..ON", "html") [MSG]The String 'DESCRIPTION' can be wrapped in single quotes instead of double quotes |
Category.groovy | UnnecessaryGString | 3 | 44 | [SRC]categoryDescription = categoryContentWrapper.get("DESCRI..ON", "html") [MSG]The String 'html' can be wrapped in single quotes instead of double quotes |
Category.groovy | UnnecessaryGString | 3 | 47 | [SRC]context.metaKeywords = categoryDescription + ", " + catalogName [MSG]The String ', ' can be wrapped in single quotes instead of double quotes |
Category.groovy | UnnecessaryGString | 3 | 61 | [SRC]request.setAttribute("productCategoryId", productCategoryId) [MSG]The String 'productCategoryId' can be wrapped in single quotes instead of double quotes |
Category.groovy | UnnecessaryGString | 3 | 62 | [SRC]request.setAttribute("defaultViewSize", 10) [MSG]The String 'defaultViewSize' can be wrapped in single quotes instead of double quotes |
Category.groovy | UnnecessaryGString | 3 | 63 | [SRC]request.setAttribute("limitView", true) [MSG]The String 'limitView' can be wrapped in single quotes instead of double quotes |
ChangePassword.groovy | UnnecessaryGroovyImport | 3 | 21 | [SRC]import java.util.HashMap |
ChangePassword.groovy | UnusedImport | 3 | 21 | [SRC]import java.util.HashMap [MSG]The [java.util.HashMap] import is never referenced |
ChangePassword.groovy | UnnecessaryGString | 3 | 30 | [SRC]donePage = parameters.DONE_PAGE ?: "viewprofile" [MSG]The String 'viewprofile' can be wrapped in single quotes instead of double quotes |
ChangePassword.groovy | CouldBeElvis | 3 | 34 | [SRC]if (!userLoginData) userLoginData = [:] [MSG]Code could use elvis operator: userLoginData = userLoginData ?: [:] |
CheckoutReview.groovy | NoWildcardImports | 3 | 21 | [SRC]import java.lang.* [MSG]Wildcard (star) import |
CheckoutReview.groovy | UnnecessaryGroovyImport | 3 | 21 | [SRC]import java.lang.* |
CheckoutReview.groovy | NoWildcardImports | 3 | 22 | [SRC]import org.apache.ofbiz.base.util.* [MSG]Wildcard (star) import |
CheckoutReview.groovy | NoWildcardImports | 3 | 23 | [SRC]import org.apache.ofbiz.entity.* [MSG]Wildcard (star) import |
CheckoutReview.groovy | NoWildcardImports | 3 | 24 | [SRC]import org.apache.ofbiz.accounting.payment.* [MSG]Wildcard (star) import |
CheckoutReview.groovy | NoWildcardImports | 3 | 25 | [SRC]import org.apache.ofbiz.order.order.* [MSG]Wildcard (star) import |
CheckoutReview.groovy | NoWildcardImports | 3 | 26 | [SRC]import org.apache.ofbiz.party.contact.* [MSG]Wildcard (star) import |
CheckoutReview.groovy | NoWildcardImports | 3 | 27 | [SRC]import org.apache.ofbiz.product.catalog.* [MSG]Wildcard (star) import |
CheckoutReview.groovy | NoWildcardImports | 3 | 28 | [SRC]import org.apache.ofbiz.product.store.* [MSG]Wildcard (star) import |
CheckoutReview.groovy | UnnecessaryGString | 3 | 31 | [SRC]cart = session.getAttribute("shoppingCart") [MSG]The String 'shoppingCart' can be wrapped in single quotes instead of double quotes |
CheckoutReview.groovy | UnnecessaryGString | 3 | 42 | [SRC]if ("OrderAdjustment".equals(valueObj.getEntityName())) { [MSG]The String 'OrderAdjustment' can be wrapped in single quotes instead of double quotes |
CheckoutReview.groovy | UnnecessaryGString | 3 | 60 | [SRC]context.placingCustomerPerson = userLogin?.getRelatedOne..son", false) [MSG]The String 'Person' can be wrapped in single quotes instead of double quotes |
CheckoutReview.groovy | UnnecessaryGString | 3 | 68 | [SRC]paymentMethodType = from("PaymentMethodType").where("pay..).queryOne() [MSG]The String 'PaymentMethodType' can be wrapped in single quotes instead of double quotes |
CheckoutReview.groovy | UnnecessaryGString | 3 | 68 | [SRC]paymentMethodType = from("PaymentMethodType").where("pay..).queryOne() [MSG]The String 'paymentMethodTypeId' can be wrapped in single quotes instead of double quotes |
CheckoutReview.groovy | UnnecessaryGString | 3 | 77 | [SRC]isDemoStore = !"N".equals(productStore.isDemoStore) [MSG]The String 'N' can be wrapped in single quotes instead of double quotes |
CheckoutReview.groovy | UnnecessaryGString | 3 | 100 | [SRC]shipmentMethodType = from("ShipmentMethodType").where("s..).queryOne() [MSG]The String 'ShipmentMethodType' can be wrapped in single quotes instead of double quotes |
CheckoutReview.groovy | UnnecessaryGString | 3 | 100 | [SRC]shipmentMethodType = from("ShipmentMethodType").where("s..).queryOne() [MSG]The String 'shipmentMethodTypeId' can be wrapped in single quotes instead of double quotes |
CheckoutReview.groovy | UnnecessaryGString | 3 | 110 | [SRC]request.removeAttribute("_EVENT_MESSAGE_") [MSG]The String '_EVENT_MESSAGE_' can be wrapped in single quotes instead of double quotes |
CheckoutShippingOptions.groovy | NoWildcardImports | 3 | 21 | [SRC]import org.apache.ofbiz.base.util.* [MSG]Wildcard (star) import |
CheckoutShippingOptions.groovy | NoWildcardImports | 3 | 22 | [SRC]import org.apache.ofbiz.entity.* [MSG]Wildcard (star) import |
CheckoutShippingOptions.groovy | NoWildcardImports | 3 | 23 | [SRC]import org.apache.ofbiz.entity.util.* [MSG]Wildcard (star) import |
CheckoutShippingOptions.groovy | NoWildcardImports | 3 | 24 | [SRC]import org.apache.ofbiz.party.contact.* [MSG]Wildcard (star) import |
CheckoutShippingOptions.groovy | NoWildcardImports | 3 | 25 | [SRC]import org.apache.ofbiz.product.store.* [MSG]Wildcard (star) import |
CheckoutShippingOptions.groovy | NoWildcardImports | 3 | 26 | [SRC]import org.apache.ofbiz.order.shoppingcart.shipping.* [MSG]Wildcard (star) import |
CheckoutShippingOptions.groovy | UnnecessaryGString | 3 | 28 | [SRC]cart = session.getAttribute("shoppingCart") [MSG]The String 'shoppingCart' can be wrapped in single quotes instead of double quotes |
CheckoutShippingOptions.groovy | UnnecessaryGString | 3 | 29 | [SRC]party = userLogin.getRelatedOne("Party", false) [MSG]The String 'Party' can be wrapped in single quotes instead of double quotes |
CheckoutShippingOptions.groovy | UnnecessaryGString | 3 | 42 | [SRC]context.emailList = ContactHelper.getContactMechByType(p..ESS", false) [MSG]The String 'EMAIL_ADDRESS' can be wrapped in single quotes instead of double quotes |
CommonServicesScript.groovy | ImportFromSamePackage | 3 | 27 | [SRC]import org.apache.ofbiz.common.CommonWorkers |
CompanyHeader.groovy | ImportFromSamePackage | 3 | 30 | [SRC]import org.apache.ofbiz.order.order.OrderReadHelper |
ContactList.groovy | NoWildcardImports | 3 | 21 | [SRC]import java.lang.* [MSG]Wildcard (star) import |
ContactList.groovy | UnnecessaryGroovyImport | 3 | 21 | [SRC]import java.lang.* |
ContactList.groovy | NoWildcardImports | 3 | 22 | [SRC]import java.util.* [MSG]Wildcard (star) import |
ContactList.groovy | UnnecessaryGroovyImport | 3 | 22 | [SRC]import java.util.* |
ContactList.groovy | NoWildcardImports | 3 | 23 | [SRC]import org.apache.ofbiz.base.util.* [MSG]Wildcard (star) import |
ContactList.groovy | NoWildcardImports | 3 | 24 | [SRC]import org.apache.ofbiz.entity.* [MSG]Wildcard (star) import |
ContactList.groovy | NoWildcardImports | 3 | 25 | [SRC]import org.apache.ofbiz.entity.util.* [MSG]Wildcard (star) import |
ContactList.groovy | NoWildcardImports | 3 | 26 | [SRC]import org.apache.ofbiz.entity.condition.* [MSG]Wildcard (star) import |
ContactList.groovy | UnusedImport | 3 | 27 | [SRC]import org.apache.ofbiz.party.contact.ContactMechWorker [MSG]The [org.apache.ofbiz.party.contact.ContactMechWorker] import is never referenced |
ContactList.groovy | UnusedImport | 3 | 28 | [SRC]import org.apache.ofbiz.product.store.ProductStoreWorker [MSG]The [org.apache.ofbiz.product.store.ProductStoreWorker] import is never referenced |
ContactList.groovy | UnusedImport | 3 | 30 | [SRC]import org.apache.ofbiz.accounting.payment.PaymentWorker [MSG]The [org.apache.ofbiz.accounting.payment.PaymentWorker] import is never referenced |
ContactList.groovy | UnnecessaryGString | 3 | 38 | [SRC]exprList.add(EntityCondition.makeCondition("webSiteId", .. webSiteId)) [MSG]The String 'webSiteId' can be wrapped in single quotes instead of double quotes |
ContactList.groovy | UnnecessaryGString | 3 | 39 | [SRC]exprListThruDate.add(EntityCondition.makeCondition("thru..UALS, null)) [MSG]The String 'thruDate' can be wrapped in single quotes instead of double quotes |
ContactList.groovy | UnnecessaryGString | 3 | 40 | [SRC]exprListThruDate.add(EntityCondition.makeCondition("thru..imestamp())) [MSG]The String 'thruDate' can be wrapped in single quotes instead of double quotes |
ContactList.groovy | UnnecessaryGString | 3 | 43 | [SRC]webSiteContactList = from("WebSiteContactList").where(ex...queryList() [MSG]The String 'WebSiteContactList' can be wrapped in single quotes instead of double quotes |
ContactList.groovy | UnnecessaryGString | 3 | 47 | [SRC]contactList = webSiteContactList.getRelatedOne("ContactList", false) [MSG]The String 'ContactList' can be wrapped in single quotes instead of double quotes |
ContactList.groovy | UnnecessaryGString | 3 | 48 | [SRC]contactListType = contactList.getRelatedOne("ContactListType", false) [MSG]The String 'ContactListType' can be wrapped in single quotes instead of double quotes |
ContactList.groovy | UnnecessaryGString | 3 | 57 | [SRC]partyAndContactMechList = from("PartyAndContactMech").wh...queryList() [MSG]The String 'PartyAndContactMech' can be wrapped in single quotes instead of double quotes |
ContactList.groovy | UnnecessaryGString | 3 | 57 | [SRC]partyAndContactMechList = from("PartyAndContactMech").wh...queryList() [MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes |
ContactList.groovy | UnnecessaryGString | 3 | 57 | [SRC]partyAndContactMechList = from("PartyAndContactMech").wh...queryList() [MSG]The String 'contactMechTypeId' can be wrapped in single quotes instead of double quotes |
ContactList.groovy | UnnecessaryGString | 3 | 57 | [SRC]partyAndContactMechList = from("PartyAndContactMech").wh...queryList() [MSG]The String 'EMAIL_ADDRESS' can be wrapped in single quotes instead of double quotes |
ContactList.groovy | UnnecessaryGString | 3 | 57 | [SRC]partyAndContactMechList = from("PartyAndContactMech").wh...queryList() [MSG]The String '-fromDate' can be wrapped in single quotes instead of double quotes |
ContentAddPrep.groovy | UnnecessaryGroovyImport | 3 | 21 | [SRC]import java.util.ArrayList |
ContentAddPrep.groovy | UnusedImport | 3 | 21 | [SRC]import java.util.ArrayList [MSG]The [java.util.ArrayList] import is never referenced |
ContentAddPrep.groovy | UnnecessaryGroovyImport | 3 | 22 | [SRC]import java.util.Collection |
ContentAddPrep.groovy | UnusedImport | 3 | 22 | [SRC]import java.util.Collection [MSG]The [java.util.Collection] import is never referenced |
ContentAddPrep.groovy | UnnecessaryGroovyImport | 3 | 23 | [SRC]import java.util.HashMap |
ContentAddPrep.groovy | UnusedImport | 3 | 23 | [SRC]import java.util.HashMap [MSG]The [java.util.HashMap] import is never referenced |
ContentAddPrep.groovy | UnnecessaryGroovyImport | 3 | 24 | [SRC]import java.util.Iterator |
ContentAddPrep.groovy | UnusedImport | 3 | 24 | [SRC]import java.util.Iterator [MSG]The [java.util.Iterator] import is never referenced |
ContentAddPrep.groovy | UnnecessaryGroovyImport | 3 | 25 | [SRC]import java.util.LinkedList |
ContentAddPrep.groovy | UnusedImport | 3 | 25 | [SRC]import java.util.LinkedList [MSG]The [java.util.LinkedList] import is never referenced |
ContentAddPrep.groovy | UnnecessaryGroovyImport | 3 | 26 | [SRC]import java.util.List |
ContentAddPrep.groovy | UnusedImport | 3 | 26 | [SRC]import java.util.List [MSG]The [java.util.List] import is never referenced |
ContentAddPrep.groovy | UnnecessaryGroovyImport | 3 | 27 | [SRC]import java.util.Map |
ContentAddPrep.groovy | UnusedImport | 3 | 27 | [SRC]import java.util.Map [MSG]The [java.util.Map] import is never referenced |
ContentAddPrep.groovy | UnnecessaryGroovyImport | 3 | 28 | [SRC]import java.util.Set |
ContentAddPrep.groovy | UnusedImport | 3 | 28 | [SRC]import java.util.Set [MSG]The [java.util.Set] import is never referenced |
ContentAddPrep.groovy | UnnecessaryGroovyImport | 3 | 29 | [SRC]import java.util.TreeSet |
ContentAddPrep.groovy | UnusedImport | 3 | 29 | [SRC]import java.util.TreeSet [MSG]The [java.util.TreeSet] import is never referenced |
ContentAddPrep.groovy | NoWildcardImports | 3 | 30 | [SRC]import org.apache.ofbiz.base.util.* [MSG]Wildcard (star) import |
ContentAddPrep.groovy | NoWildcardImports | 3 | 31 | [SRC]import org.apache.ofbiz.entity.* [MSG]Wildcard (star) import |
ContentAddPrep.groovy | NoWildcardImports | 3 | 32 | [SRC]import org.apache.ofbiz.security.* [MSG]Wildcard (star) import |
ContentAddPrep.groovy | NoWildcardImports | 3 | 33 | [SRC]import org.apache.ofbiz.service.* [MSG]Wildcard (star) import |
ContentAddPrep.groovy | NoWildcardImports | 3 | 34 | [SRC]import org.apache.ofbiz.entity.model.* [MSG]Wildcard (star) import |
ContentAddPrep.groovy | NoWildcardImports | 3 | 34 | [SRC]import org.apache.ofbiz.entity.model.* [MSG]Wildcard (star) import |
ContentAddPrep.groovy | NoWildcardImports | 3 | 35 | [SRC]import org.apache.ofbiz.securityext.login.* [MSG]Wildcard (star) import |
ContentAddPrep.groovy | NoWildcardImports | 3 | 36 | [SRC]import org.apache.ofbiz.common.* [MSG]Wildcard (star) import |
ContentAddPrep.groovy | DuplicateImport | 3 | 37 | [SRC]import org.apache.ofbiz.entity.model.* |
ContentAddPrep.groovy | UnusedImport | 3 | 39 | [SRC]import org.apache.ofbiz.content.content.ContentWorker [MSG]The [org.apache.ofbiz.content.content.ContentWorker] import is never referenced |
ContentAddPrep.groovy | UnusedImport | 3 | 41 | [SRC]import freemarker.template.SimpleHash [MSG]The [freemarker.template.SimpleHash] import is never referenced |
ContentAddPrep.groovy | UnusedImport | 3 | 42 | [SRC]import freemarker.template.SimpleSequence [MSG]The [freemarker.template.SimpleSequence] import is never referenced |
ContentAddPrep.groovy | NoWildcardImports | 3 | 44 | [SRC]import javax.servlet.* [MSG]Wildcard (star) import |
ContentAddPrep.groovy | NoWildcardImports | 3 | 45 | [SRC]import javax.servlet.http.* [MSG]Wildcard (star) import |
ContentAddPrep.groovy | UnnecessaryGString | 3 | 48 | [SRC]singleWrapper.putInContext("contentPurposeTypeId", page...rposeTypeId) [MSG]The String 'contentPurposeTypeId' can be wrapped in single quotes instead of double quotes |
ContentAddPrep.groovy | UnnecessaryGString | 3 | 49 | [SRC]singleWrapper.putInContext("contentAssocTypeId", page.co..AssocTypeId) [MSG]The String 'contentAssocTypeId' can be wrapped in single quotes instead of double quotes |
ContentAddPrep.groovy | UnnecessaryGString | 3 | 52 | [SRC]contentIdTo = ContentManagementWorker.getFromSomewhere("..st, context) [MSG]The String 'forumId' can be wrapped in single quotes instead of double quotes |
ContentAddPrep.groovy | UnnecessaryGString | 3 | 56 | [SRC]attrList = from("ContentAttribute").where("contentId", c...queryList() [MSG]The String 'ContentAttribute' can be wrapped in single quotes instead of double quotes |
ContentAddPrep.groovy | UnnecessaryGString | 3 | 56 | [SRC]attrList = from("ContentAttribute").where("contentId", c...queryList() [MSG]The String 'contentId' can be wrapped in single quotes instead of double quotes |
ContentAddPrep.groovy | UnnecessaryGString | 3 | 56 | [SRC]attrList = from("ContentAttribute").where("contentId", c...queryList() [MSG]The String 'attrName' can be wrapped in single quotes instead of double quotes |
ContentAddPrep.groovy | UnnecessaryGString | 3 | 56 | [SRC]attrList = from("ContentAttribute").where("contentId", c...queryList() [MSG]The String 'publishOperation' can be wrapped in single quotes instead of double quotes |
ContentAddPrep.groovy | UnnecessaryGString | 3 | 64 | [SRC]singleWrapper.putInContext("publishOperation", publishOperation) [MSG]The String 'publishOperation' can be wrapped in single quotes instead of double quotes |
ContentAddPrep.groovy | UnnecessaryGString | 3 | 65 | [SRC]singleWrapper.putInContext("contentIdTo", contentIdTo) [MSG]The String 'contentIdTo' can be wrapped in single quotes instead of double quotes |
ContentAddPrep.groovy | UnnecessaryGString | 3 | 68 | [SRC]singleWrapper.putInContext("summaryDataResourceTypeId", ..ourceTypeId) [MSG]The String 'summaryDataResourceTypeId' can be wrapped in single quotes instead of double quotes |
ContentAddPrep.groovy | UnnecessaryGString | 3 | 69 | [SRC]targetOperation = page.targetOperation ?: "CONTENT_CREATE" [MSG]The String 'CONTENT_CREATE' can be wrapped in single quotes instead of double quotes |
ContentAddPrep.groovy | UnnecessaryGString | 3 | 71 | [SRC]singleWrapper.putInContext("targetOperation", targetOperation) [MSG]The String 'targetOperation' can be wrapped in single quotes instead of double quotes |
ContentAddPrep.groovy | UnnecessaryGString | 3 | 72 | [SRC]singleWrapper.putInContext("contentTypeId", "DOCUMENT") [MSG]The String 'contentTypeId' can be wrapped in single quotes instead of double quotes |
ContentAddPrep.groovy | UnnecessaryGString | 3 | 72 | [SRC]singleWrapper.putInContext("contentTypeId", "DOCUMENT") [MSG]The String 'DOCUMENT' can be wrapped in single quotes instead of double quotes |
ContentAddPrep.groovy | UnnecessaryGString | 3 | 73 | [SRC]contentPurpose = page.contentPurpose ?: "ARTICLE" [MSG]The String 'ARTICLE' can be wrapped in single quotes instead of double quotes |
ContentAddPrep.groovy | UnnecessaryGString | 3 | 75 | [SRC]singleWrapper.putInContext("contentPurpose", contentPurpose) [MSG]The String 'contentPurpose' can be wrapped in single quotes instead of double quotes |
ContentAddPrep.groovy | UnnecessaryGString | 3 | 76 | [SRC]singleWrapper.putInContext("forumId", contentIdTo) [MSG]The String 'forumId' can be wrapped in single quotes instead of double quotes |
ContentAddPrep.groovy | UnnecessaryGString | 3 | 78 | [SRC]forumContent = from("Content").where("contentId", conten..).queryOne() [MSG]The String 'Content' can be wrapped in single quotes instead of double quotes |
ContentAddPrep.groovy | UnnecessaryGString | 3 | 78 | [SRC]forumContent = from("Content").where("contentId", conten..).queryOne() [MSG]The String 'contentId' can be wrapped in single quotes instead of double quotes |
ContentAddPrep.groovy | UnnecessaryGString | 3 | 79 | [SRC]statusId = "CTNT_PUBLISHED" [MSG]The String 'CTNT_PUBLISHED' can be wrapped in single quotes instead of double quotes |
ContentAddPrep.groovy | CouldBeElvis | 3 | 82 | [SRC]if (!statusId) { [MSG]Code could use elvis operator: statusId = statusId ?: page.statusId |
ContentAddPrep.groovy | CouldBeElvis | 3 | 85 | [SRC]if (!statusId) { [MSG]Code could use elvis operator: statusId = statusId ?: 'CTNT_PUBLISHED' |
ContentAddPrep.groovy | UnnecessaryGString | 3 | 86 | [SRC]statusId = "CTNT_PUBLISHED" [MSG]The String 'CTNT_PUBLISHED' can be wrapped in single quotes instead of double quotes |
ContentAddPrep.groovy | UnnecessaryGString | 3 | 89 | [SRC]singleWrapper.putInContext("statusId", statusId) [MSG]The String 'statusId' can be wrapped in single quotes instead of double quotes |
ContentPrep.groovy | NoWildcardImports | 3 | 21 | [SRC]import org.apache.ofbiz.base.util.* [MSG]Wildcard (star) import |
ContentPrep.groovy | NoWildcardImports | 3 | 23 | [SRC]import org.apache.ofbiz.entity.* [MSG]Wildcard (star) import |
ContentPrep.groovy | NoWildcardImports | 3 | 24 | [SRC]import org.apache.ofbiz.security.* [MSG]Wildcard (star) import |
ContentPrep.groovy | NoWildcardImports | 3 | 25 | [SRC]import org.apache.ofbiz.service.* [MSG]Wildcard (star) import |
ContentPrep.groovy | NoWildcardImports | 3 | 26 | [SRC]import org.apache.ofbiz.entity.model.* [MSG]Wildcard (star) import |
ContentPrep.groovy | UnnecessaryGroovyImport | 3 | 31 | [SRC]import java.io.StringWriter |
ContentPrep.groovy | NoWildcardImports | 3 | 35 | [SRC]import javax.servlet.* [MSG]Wildcard (star) import |
ContentPrep.groovy | NoWildcardImports | 3 | 36 | [SRC]import javax.servlet.http.* [MSG]Wildcard (star) import |
ContentPrep.groovy | UnnecessaryGString | 3 | 46 | [SRC]contentId = "" [MSG]The String '' can be wrapped in single quotes instead of double quotes |
ContentPrep.groovy | UnnecessaryGString | 3 | 47 | [SRC]contentId = ContentManagementWorker.getFromSomewhere("ma..st, context) [MSG]The String 'masterContentId' can be wrapped in single quotes instead of double quotes |
ContentPrep.groovy | CouldBeElvis | 3 | 48 | [SRC]if (!contentId) [MSG]Code could use elvis operator: contentId = contentId ?: ContentManagementWorker.getFromSomewhere(contentIdTo, paramMap, request, context) |
ContentPrep.groovy | UnnecessaryGString | 3 | 49 | [SRC]contentId = ContentManagementWorker.getFromSomewhere("co..st, context) [MSG]The String 'contentIdTo' can be wrapped in single quotes instead of double quotes |
ContentPrep.groovy | CouldBeElvis | 3 | 50 | [SRC]if (!contentId) [MSG]Code could use elvis operator: contentId = contentId ?: ContentManagementWorker.getFromSomewhere(contentId, paramMap, request, context) |
ContentPrep.groovy | UnnecessaryGString | 3 | 51 | [SRC]contentId = ContentManagementWorker.getFromSomewhere("co..st, context) [MSG]The String 'contentId' can be wrapped in single quotes instead of double quotes |
ContentPrep.groovy | UnnecessaryGString | 3 | 61 | [SRC]currentValue = from("Content").where("contentId", conten..).queryOne() [MSG]The String 'Content' can be wrapped in single quotes instead of double quotes |
ContentPrep.groovy | UnnecessaryGString | 3 | 61 | [SRC]currentValue = from("Content").where("contentId", conten..).queryOne() [MSG]The String 'contentId' can be wrapped in single quotes instead of double quotes |
ContentPrep.groovy | UnnecessaryGString | 3 | 74 | [SRC]rootDir = request.getSession().getServletContext().getRealPath("/") [MSG]The String '/' can be wrapped in single quotes instead of double quotes |
ContentPrep.groovy | UnnecessaryGString | 3 | 88 | [SRC]subContentDataResourceView = ContentWorker.getSubContent..s, fromDate) [MSG]The String 'ARTICLE' can be wrapped in single quotes instead of double quotes |
ContentPrep.groovy | Indentation | 3 | 100 | [SRC]singleWrapper.putInContext("textData", textData) [MSG]The statement on line 100 in class org.apache.ofbiz.ecommerce.forum.None is at the incorrect indent level: Expected column 13 but was 12 |
ContentPrep.groovy | UnnecessaryGString | 3 | 100 | [SRC]singleWrapper.putInContext("textData", textData) [MSG]The String 'textData' can be wrapped in single quotes instead of double quotes |
ContentPrep.groovy | UnnecessaryGString | 3 | 104 | [SRC]subContentDataResourceView = ContentWorker.getSubContent..mDate, true) [MSG]The String 'SUMMARY' can be wrapped in single quotes instead of double quotes |
ContentPrep.groovy | UnnecessaryGString | 3 | 116 | [SRC]singleWrapper.putInContext("summaryData", summaryData) [MSG]The String 'summaryData' can be wrapped in single quotes instead of double quotes |
ContentPrep.groovy | UnnecessaryGString | 3 | 120 | [SRC]subContentDataResourceView = ContentWorker.getSubContent..mDate, true) [MSG]The String 'IMAGE' can be wrapped in single quotes instead of double quotes |
ContentSearchOptions.groovy | ImportFromSamePackage | 3 | 22 | [SRC]import org.apache.ofbiz.content.content.ContentSearchSession |
ContentSearchResults.groovy | ImportFromSamePackage | 3 | 21 | [SRC]import org.apache.ofbiz.content.content.ContentSearchSession |
ContentSearchResults.groovy | ImportFromSamePackage | 3 | 22 | [SRC]import org.apache.ofbiz.content.content.ContentSearchEvents |
ContentServicesScript.groovy | ImportFromSamePackage | 3 | 23 | [SRC]import org.apache.ofbiz.content.content.ContentKeywordIndex |
ContentServicesScript.groovy | SpaceAfterOpeningBrace | 3 | 601 | [SRC]long contentsUpdated = contentCreatedList.stream().filte..'Y'}.count() [MSG]The opening brace for the closure in class org.apache.ofbiz.content.content.None is not followed by a space or whitespace |
ContentServicesScript.groovy | SpaceBeforeClosingBrace | 3 | 601 | [SRC]long contentsUpdated = contentCreatedList.stream().filte..'Y'}.count() [MSG]The closing brace for the closure in class org.apache.ofbiz.content.content.None is not preceded by a space or whitespace |
ContentServicesScript.groovy | JavadocMissingParamDescription | 3 | 607 | [SRC]* @param parentProductCategoryId [MSG]The description for the javadoc @param tag is missing |
ContentServicesScript.groovy | JavadocEmptyReturnTag | 3 | 608 | [SRC]* @return [MSG]The javadoc @return tag is empty |
ContentServicesScript.groovy | JavadocMissingParamDescription | 3 | 625 | [SRC]* @param contentId [MSG]The description for the javadoc @param tag is missing |
ContentServicesScript.groovy | JavadocEmptyReturnTag | 3 | 626 | [SRC]* @return [MSG]The javadoc @return tag is empty |
ContentServicesScript.groovy | BlockStartsWithBlankLine | 3 | 650 | [MSG]Code block starts with a blank line. |
ContentServicesScript.groovy | JavadocEmptyReturnTag | 3 | 674 | [SRC]* @return [MSG]The javadoc @return tag is empty |
ContentServicesScript.groovy | UnnecessaryGString | 3 | 687 | [SRC]dataResource.removeRelated("ElectronicText") [MSG]The String 'ElectronicText' can be wrapped in single quotes instead of double quotes |
ContentServicesScript.groovy | UnnecessaryGString | 3 | 688 | [SRC]dataResource.removeRelated("ImageDataResource") [MSG]The String 'ImageDataResource' can be wrapped in single quotes instead of double quotes |
ContentServicesScript.groovy | UnnecessaryGString | 3 | 689 | [SRC]dataResource.removeRelated("OtherDataResource") [MSG]The String 'OtherDataResource' can be wrapped in single quotes instead of double quotes |
ContentServicesScript.groovy | UnnecessaryGString | 3 | 690 | [SRC]dataResource.removeRelated("VideoDataResource") [MSG]The String 'VideoDataResource' can be wrapped in single quotes instead of double quotes |
ContentServicesScript.groovy | UnnecessaryGString | 3 | 691 | [SRC]dataResource.removeRelated("DataResourceRole") [MSG]The String 'DataResourceRole' can be wrapped in single quotes instead of double quotes |
ContentServicesScript.groovy | JavadocEmptyReturnTag | 3 | 700 | [SRC]* @return [MSG]The javadoc @return tag is empty |
ContentServicesScript.groovy | SpaceAroundMapEntryColon | 3 | 709 | [SRC]textData : getElectronicTextResult.textData] [MSG]The colon for the literal Map entry for key [textData] within class org.apache.ofbiz.content.content.None is not preceded by a match for regular expression [\S] |
ContentServicesScript.groovy | JavadocEmptyReturnTag | 3 | 735 | [SRC]* @return [MSG]The javadoc @return tag is empty |
CurrentValPrep.groovy | UnnecessaryGroovyImport | 3 | 21 | [SRC]import java.util.ArrayList |
CurrentValPrep.groovy | UnusedImport | 3 | 21 | [SRC]import java.util.ArrayList [MSG]The [java.util.ArrayList] import is never referenced |
CurrentValPrep.groovy | UnnecessaryGroovyImport | 3 | 22 | [SRC]import java.util.Collection |
CurrentValPrep.groovy | UnusedImport | 3 | 22 | [SRC]import java.util.Collection [MSG]The [java.util.Collection] import is never referenced |
CurrentValPrep.groovy | UnnecessaryGroovyImport | 3 | 23 | [SRC]import java.util.HashMap |
CurrentValPrep.groovy | UnusedImport | 3 | 23 | [SRC]import java.util.HashMap [MSG]The [java.util.HashMap] import is never referenced |
CurrentValPrep.groovy | UnnecessaryGroovyImport | 3 | 24 | [SRC]import java.util.Iterator |
CurrentValPrep.groovy | UnusedImport | 3 | 24 | [SRC]import java.util.Iterator [MSG]The [java.util.Iterator] import is never referenced |
CurrentValPrep.groovy | UnnecessaryGroovyImport | 3 | 25 | [SRC]import java.util.LinkedList |
CurrentValPrep.groovy | UnusedImport | 3 | 25 | [SRC]import java.util.LinkedList [MSG]The [java.util.LinkedList] import is never referenced |
CurrentValPrep.groovy | UnnecessaryGroovyImport | 3 | 26 | [SRC]import java.util.List |
CurrentValPrep.groovy | UnusedImport | 3 | 26 | [SRC]import java.util.List [MSG]The [java.util.List] import is never referenced |
CurrentValPrep.groovy | UnnecessaryGroovyImport | 3 | 27 | [SRC]import java.util.Map |
CurrentValPrep.groovy | UnusedImport | 3 | 27 | [SRC]import java.util.Map [MSG]The [java.util.Map] import is never referenced |
CurrentValPrep.groovy | UnnecessaryGroovyImport | 3 | 28 | [SRC]import java.util.Set |
CurrentValPrep.groovy | UnusedImport | 3 | 28 | [SRC]import java.util.Set [MSG]The [java.util.Set] import is never referenced |
CurrentValPrep.groovy | UnnecessaryGroovyImport | 3 | 29 | [SRC]import java.util.TreeSet |
CurrentValPrep.groovy | UnusedImport | 3 | 29 | [SRC]import java.util.TreeSet [MSG]The [java.util.TreeSet] import is never referenced |
CurrentValPrep.groovy | NoWildcardImports | 3 | 30 | [SRC]import org.apache.ofbiz.base.util.* [MSG]Wildcard (star) import |
CurrentValPrep.groovy | NoWildcardImports | 3 | 31 | [SRC]import org.apache.ofbiz.entity.* [MSG]Wildcard (star) import |
CurrentValPrep.groovy | NoWildcardImports | 3 | 32 | [SRC]import org.apache.ofbiz.security.* [MSG]Wildcard (star) import |
CurrentValPrep.groovy | NoWildcardImports | 3 | 33 | [SRC]import org.apache.ofbiz.service.* [MSG]Wildcard (star) import |
CurrentValPrep.groovy | NoWildcardImports | 3 | 34 | [SRC]import org.apache.ofbiz.entity.model.* [MSG]Wildcard (star) import |
CurrentValPrep.groovy | NoWildcardImports | 3 | 37 | [SRC]import javax.servlet.* [MSG]Wildcard (star) import |
CurrentValPrep.groovy | NoWildcardImports | 3 | 38 | [SRC]import javax.servlet.http.* [MSG]Wildcard (star) import |
CurrentValPrep.groovy | UnnecessaryGString | 3 | 40 | [SRC]currentEntityMap = session.getAttribute("currentEntityMap") [MSG]The String 'currentEntityMap' can be wrapped in single quotes instead of double quotes |
CurrentValPrep.groovy | UnnecessaryGString | 3 | 43 | [SRC]session.setAttribute("currentEntityMap", currentEntityMap) [MSG]The String 'currentEntityMap' can be wrapped in single quotes instead of double quotes |
CurrentValPrep.groovy | InvertedIfElse | 3 | 48 | [SRC]if (!currentEntityPropertyName) { [MSG]Testing the negative condition first can make an if statement confusing |
CurrentValPrep.groovy | InvertedIfElse | 3 | 91 | [SRC]if (!sPassed) { [MSG]Testing the negative condition first can make an if statement confusing |
CurrentValPrep.groovy | InvertedIfElse | 3 | 97 | [SRC]if (!sPassed) { [MSG]Testing the negative condition first can make an if statement confusing |
CurrentValPrep.groovy | UnnecessaryGString | 3 | 120 | [SRC]request.setAttribute("currentPK", currentPK) [MSG]The String 'currentPK' can be wrapped in single quotes instead of double quotes |
CurrentValPrep.groovy | UnnecessaryGString | 3 | 124 | [SRC]request.setAttribute("currentValue", currentValue) [MSG]The String 'currentValue' can be wrapped in single quotes instead of double quotes |
CurrentValPrep.groovy | UnnecessaryGString | 3 | 128 | [SRC]if (currentEntityName.indexOf("DataResource") >= 0) { [MSG]The String 'DataResource' can be wrapped in single quotes instead of double quotes |
CurrentValPrep.groovy | UnnecessaryGString | 3 | 129 | [SRC]suffix = "" [MSG]The String '' can be wrapped in single quotes instead of double quotes |
CurrentValPrep.groovy | UnnecessaryGString | 3 | 131 | [SRC]if (s) suffix = "_" + s [MSG]The String '_' can be wrapped in single quotes instead of double quotes |
CurrentValPrep.groovy | UnnecessaryGString | 3 | 133 | [SRC]if ("_ELECTRONIC_TEXT".equals(suffix)) { [MSG]The String '_ELECTRONIC_TEXT' can be wrapped in single quotes instead of double quotes |
CurrentValPrep.groovy | UnnecessaryGString | 3 | 135 | [SRC]if (s) suffix += "_" + s [MSG]The String '_' can be wrapped in single quotes instead of double quotes |
CustSettings.groovy | NoWildcardImports | 3 | 21 | [SRC]import org.apache.ofbiz.base.util.* [MSG]Wildcard (star) import |
CustSettings.groovy | UnusedImport | 3 | 22 | [SRC]import org.apache.ofbiz.entity.util.EntityUtil [MSG]The [org.apache.ofbiz.entity.util.EntityUtil] import is never referenced |
CustSettings.groovy | UnnecessaryGString | 3 | 38 | [SRC]if (!request.getAttribute("_ERROR_MESSAGE_") && !request..E_LIST_")) { [MSG]The String '_ERROR_MESSAGE_' can be wrapped in single quotes instead of double quotes |
CustSettings.groovy | UnnecessaryGString | 3 | 38 | [SRC]if (!request.getAttribute("_ERROR_MESSAGE_") && !request..E_LIST_")) { [MSG]The String '_ERROR_MESSAGE_LIST_' can be wrapped in single quotes instead of double quotes |
CustSettings.groovy | UnnecessaryGString | 3 | 39 | [SRC]person = from("Person").where("partyId", partyId).queryOne() [MSG]The String 'Person' can be wrapped in single quotes instead of double quotes |
CustSettings.groovy | UnnecessaryGString | 3 | 39 | [SRC]person = from("Person").where("partyId", partyId).queryOne() [MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes |
CustSettings.groovy | UnnecessaryObjectReferences | 3 | 53 | [SRC]parameters.occupation = person.occupation [MSG]The code could be more concise by using a with() or identity() block |
CustSettings.groovy | UnnecessaryObjectReferences | 3 | 54 | [SRC]parameters.yearsWithEmployer = person.yearsWithEmployer [MSG]The code could be more concise by using a with() or identity() block |
CustSettings.groovy | UnnecessaryObjectReferences | 3 | 55 | [SRC]parameters.monthsWithEmployer = person.monthsWithEmployer [MSG]The code could be more concise by using a with() or identity() block |
CustSettings.groovy | UnnecessaryObjectReferences | 3 | 56 | [SRC]parameters.existingCustomer = person.existingCustomer [MSG]The code could be more concise by using a with() or identity() block |
CustSettings.groovy | UnnecessaryGString | 3 | 72 | [SRC]emailPartyContactDetail = from("PartyContactDetailByPurp..queryFirst() [MSG]The String 'PartyContactDetailByPurpose' can be wrapped in single quotes instead of double quotes |
CustSettings.groovy | UnnecessaryGString | 3 | 72 | [SRC]emailPartyContactDetail = from("PartyContactDetailByPurp..queryFirst() [MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes |
CustSettings.groovy | UnnecessaryGString | 3 | 72 | [SRC]emailPartyContactDetail = from("PartyContactDetailByPurp..queryFirst() [MSG]The String 'contactMechPurposeTypeId' can be wrapped in single quotes instead of double quotes |
CustSettings.groovy | UnnecessaryGString | 3 | 72 | [SRC]emailPartyContactDetail = from("PartyContactDetailByPurp..queryFirst() [MSG]The String 'PRIMARY_EMAIL' can be wrapped in single quotes instead of double quotes |
CustSettings.groovy | UnnecessaryGString | 3 | 80 | [SRC]homePhonePartyContactDetail = from("PartyContactDetailBy..queryFirst() [MSG]The String 'PartyContactDetailByPurpose' can be wrapped in single quotes instead of double quotes |
CustSettings.groovy | UnnecessaryGString | 3 | 80 | [SRC]homePhonePartyContactDetail = from("PartyContactDetailBy..queryFirst() [MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes |
CustSettings.groovy | UnnecessaryGString | 3 | 80 | [SRC]homePhonePartyContactDetail = from("PartyContactDetailBy..queryFirst() [MSG]The String 'contactMechPurposeTypeId' can be wrapped in single quotes instead of double quotes |
CustSettings.groovy | UnnecessaryGString | 3 | 80 | [SRC]homePhonePartyContactDetail = from("PartyContactDetailBy..queryFirst() [MSG]The String 'PHONE_HOME' can be wrapped in single quotes instead of double quotes |
CustSettings.groovy | UnnecessaryGString | 3 | 90 | [SRC]workPhonePartyContactDetail = from("PartyContactDetailBy..queryFirst() [MSG]The String 'PartyContactDetailByPurpose' can be wrapped in single quotes instead of double quotes |
CustSettings.groovy | UnnecessaryGString | 3 | 90 | [SRC]workPhonePartyContactDetail = from("PartyContactDetailBy..queryFirst() [MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes |
CustSettings.groovy | UnnecessaryGString | 3 | 90 | [SRC]workPhonePartyContactDetail = from("PartyContactDetailBy..queryFirst() [MSG]The String 'contactMechPurposeTypeId' can be wrapped in single quotes instead of double quotes |
CustSettings.groovy | UnnecessaryGString | 3 | 90 | [SRC]workPhonePartyContactDetail = from("PartyContactDetailBy..queryFirst() [MSG]The String 'PHONE_WORK' can be wrapped in single quotes instead of double quotes |
CustomerAddress.groovy | UnusedImport | 3 | 21 | [SRC]import org.apache.ofbiz.base.util.UtilValidate [MSG]The [org.apache.ofbiz.base.util.UtilValidate] import is never referenced |
CustomerAddress.groovy | UnnecessaryGString | 3 | 29 | [SRC]context.personShipTo = from("Person").where("partyId", s..).queryOne() [MSG]The String 'Person' can be wrapped in single quotes instead of double quotes |
CustomerAddress.groovy | UnnecessaryGString | 3 | 29 | [SRC]context.personShipTo = from("Person").where("partyId", s..).queryOne() [MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes |
CustomerAddress.groovy | UnnecessaryGString | 3 | 31 | [SRC]shippingContactMechId = shoppingCart.getContactMech("SHI..G_LOCATION") [MSG]The String 'SHIPPING_LOCATION' can be wrapped in single quotes instead of double quotes |
CustomerAddress.groovy | UnnecessaryGString | 3 | 33 | [SRC]contactMech = from("ContactMech").where("contactMechId",..).queryOne() [MSG]The String 'ContactMech' can be wrapped in single quotes instead of double quotes |
CustomerAddress.groovy | UnnecessaryGString | 3 | 33 | [SRC]contactMech = from("ContactMech").where("contactMechId",..).queryOne() [MSG]The String 'contactMechId' can be wrapped in single quotes instead of double quotes |
CustomerAddress.groovy | UnnecessaryGString | 3 | 34 | [SRC]if (contactMech && "POSTAL_ADDRESS".equals(contactMech.c..chTypeId)) { [MSG]The String 'POSTAL_ADDRESS' can be wrapped in single quotes instead of double quotes |
CustomerAddress.groovy | UnnecessaryGString | 3 | 35 | [SRC]context.shippingPostalAddress = contactMech.getRelatedOn..ess", false) [MSG]The String 'PostalAddress' can be wrapped in single quotes instead of double quotes |
CustomerAddress.groovy | UnnecessaryGString | 3 | 40 | [SRC]context.personBillTo = from("Person").where("partyId", b..).queryOne() [MSG]The String 'Person' can be wrapped in single quotes instead of double quotes |
CustomerAddress.groovy | UnnecessaryGString | 3 | 40 | [SRC]context.personBillTo = from("Person").where("partyId", b..).queryOne() [MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes |
CustomerAddress.groovy | UnnecessaryGString | 3 | 42 | [SRC]billingContactMechId = shoppingCart.getContactMech("BILLING_LOCATION") [MSG]The String 'BILLING_LOCATION' can be wrapped in single quotes instead of double quotes |
CustomerAddress.groovy | UnnecessaryGString | 3 | 44 | [SRC]contactMech = from("ContactMech").where("contactMechId",..).queryOne() [MSG]The String 'ContactMech' can be wrapped in single quotes instead of double quotes |
CustomerAddress.groovy | UnnecessaryGString | 3 | 44 | [SRC]contactMech = from("ContactMech").where("contactMechId",..).queryOne() [MSG]The String 'contactMechId' can be wrapped in single quotes instead of double quotes |
CustomerAddress.groovy | UnnecessaryGString | 3 | 45 | [SRC]if (contactMech && "POSTAL_ADDRESS".equals(contactMech.c..chTypeId)) { [MSG]The String 'POSTAL_ADDRESS' can be wrapped in single quotes instead of double quotes |
CustomerAddress.groovy | UnnecessaryGString | 3 | 46 | [SRC]context.billingPostalAddress = contactMech.getRelatedOne..ess", false) [MSG]The String 'PostalAddress' can be wrapped in single quotes instead of double quotes |
CustomerReviews.groovy | UnusedImport | 3 | 21 | [SRC]import org.apache.ofbiz.entity.condition.EntityOperator [MSG]The [org.apache.ofbiz.entity.condition.EntityOperator] import is never referenced |
CustomerReviews.groovy | UnusedImport | 3 | 22 | [SRC]import org.apache.ofbiz.entity.condition.EntityCondition [MSG]The [org.apache.ofbiz.entity.condition.EntityCondition] import is never referenced |
CustomerReviews.groovy | Indentation | 3 | 26 | [SRC]reviews = from("ProductReview").where("userLoginId", use...queryList() [MSG]The statement on line 26 in class org.apache.ofbiz.ecommerce.customer.None is at the incorrect indent level: Expected column 5 but was 3 |
CustomerReviews.groovy | UnnecessaryGString | 3 | 26 | [SRC]reviews = from("ProductReview").where("userLoginId", use...queryList() [MSG]The String 'ProductReview' can be wrapped in single quotes instead of double quotes |
CustomerReviews.groovy | UnnecessaryGString | 3 | 26 | [SRC]reviews = from("ProductReview").where("userLoginId", use...queryList() [MSG]The String 'userLoginId' can be wrapped in single quotes instead of double quotes |
CustomerReviews.groovy | Indentation | 3 | 28 | [SRC]context.reviews = reviews [MSG]The statement on line 28 in class org.apache.ofbiz.ecommerce.customer.None is at the incorrect indent level: Expected column 5 but was 3 |
CustomerSurvey.groovy | NoWildcardImports | 3 | 21 | [SRC]import org.apache.ofbiz.base.util.* [MSG]Wildcard (star) import |
CustomerSurvey.groovy | UnusedImport | 3 | 22 | [SRC]import org.apache.ofbiz.entity.Delegator [MSG]The [org.apache.ofbiz.entity.Delegator] import is never referenced |
CustomerSurvey.groovy | UnusedImport | 3 | 23 | [SRC]import org.apache.ofbiz.entity.GenericValue [MSG]The [org.apache.ofbiz.entity.GenericValue] import is never referenced |
CustomerSurvey.groovy | UnnecessaryGString | 3 | 31 | [SRC]surveyAppl = from("ProductStoreSurveyAppl").where("produ..).queryOne() [MSG]The String 'ProductStoreSurveyAppl' can be wrapped in single quotes instead of double quotes |
CustomerSurvey.groovy | UnnecessaryGString | 3 | 31 | [SRC]surveyAppl = from("ProductStoreSurveyAppl").where("produ..).queryOne() [MSG]The String 'productStoreSurveyId' can be wrapped in single quotes instead of double quotes |
CustomerSurvey.groovy | UnnecessaryGString | 3 | 33 | [SRC]survey = surveyAppl.getRelatedOne("Survey", false) [MSG]The String 'Survey' can be wrapped in single quotes instead of double quotes |
CustomerSurvey.groovy | SpaceAroundMapEntryColon | 3 | 37 | [SRC]paramMap = [productStoreSurveyId : productStoreSurveyId] [MSG]The colon for the literal Map entry for key [productStoreSurveyId] within class org.apache.ofbiz.ecommerce.customer.None is not preceded by a match for regular expression [\S] |
DataServicesScript.groovy | ImportFromSamePackage | 3 | 23 | [SRC]import org.apache.ofbiz.content.data.DataResourceWorker |
EbayAdvancedSearch.groovy | UnnecessaryGString | 3 | 35 | [SRC]ebayConfigList = from("EbayConfig").queryList() [MSG]The String 'EbayConfig' can be wrapped in single quotes instead of double quotes |
EbayAdvancedSearch.groovy | UnnecessaryGString | 3 | 40 | [SRC]prodCatalog = from("ProdCatalog").where("prodCatalogId",..).queryOne() [MSG]The String 'ProdCatalog' can be wrapped in single quotes instead of double quotes |
EbayAdvancedSearch.groovy | UnnecessaryGString | 3 | 40 | [SRC]prodCatalog = from("ProdCatalog").where("prodCatalogId",..).queryOne() [MSG]The String 'prodCatalogId' can be wrapped in single quotes instead of double quotes |
EbayAdvancedSearch.groovy | CouldBeElvis | 3 | 53 | [SRC]if (!topCategory) { [MSG]Code could use elvis operator: topCategory = topCategory ?: CatalogWorker.getCatalogTopCategoryId(request, currentCatalogId) |
EbayAdvancedSearch.groovy | UnnecessaryGString | 3 | 57 | [SRC]CategoryWorker.getRelatedCategories(request, "topLevelLi..egory, true) [MSG]The String 'topLevelList' can be wrapped in single quotes instead of double quotes |
EbayAdvancedSearch.groovy | UnnecessaryGString | 3 | 58 | [SRC]if (request.getAttribute("topLevelList")) { [MSG]The String 'topLevelList' can be wrapped in single quotes instead of double quotes |
EbayAdvancedSearch.groovy | UnnecessaryGString | 3 | 59 | [SRC]categoryList = request.getAttribute("topLevelList") [MSG]The String 'topLevelList' can be wrapped in single quotes instead of double quotes |
EbayAdvancedSearch.groovy | UnnecessaryGString | 3 | 65 | [SRC]categoryIds = EntityUtil.getFieldListFromEntityList(cate..ryId", true) [MSG]The String 'productCategoryId' can be wrapped in single quotes instead of double quotes |
EbayOrders.groovy | UnnecessaryGString | 3 | 22 | [SRC]session.setAttribute("orderList", parameters.orderList) [MSG]The String 'orderList' can be wrapped in single quotes instead of double quotes |
EcommerceSetup.groovy | NoWildcardImports | 3 | 21 | [SRC]import java.util.* [MSG]Wildcard (star) import |
EcommerceSetup.groovy | UnnecessaryGroovyImport | 3 | 21 | [SRC]import java.util.* |
EcommerceSetup.groovy | NoWildcardImports | 3 | 22 | [SRC]import org.apache.ofbiz.base.util.* [MSG]Wildcard (star) import |
EcommerceSetup.groovy | NoWildcardImports | 3 | 23 | [SRC]import org.apache.ofbiz.entity.* [MSG]Wildcard (star) import |
EcommerceSetup.groovy | UnusedImport | 3 | 26 | [SRC]import org.apache.ofbiz.common.CommonWorkers [MSG]The [org.apache.ofbiz.common.CommonWorkers] import is never referenced |
EcommerceSetup.groovy | NoWildcardImports | 3 | 27 | [SRC]import org.apache.ofbiz.order.shoppingcart.* [MSG]Wildcard (star) import |
EcommerceSetup.groovy | NoWildcardImports | 3 | 28 | [SRC]import org.apache.ofbiz.webapp.control.* [MSG]Wildcard (star) import |
EcommerceSetup.groovy | UnnecessaryGString | 3 | 41 | [SRC]globalContext.checkLoginUrl = LoginWorker.makeLoginUrl(r..checkLogin") [MSG]The String 'checkLogin' can be wrapped in single quotes instead of double quotes |
EditAddPrep.groovy | UnnecessaryGroovyImport | 3 | 21 | [SRC]import java.util.ArrayList |
EditAddPrep.groovy | UnusedImport | 3 | 21 | [SRC]import java.util.ArrayList [MSG]The [java.util.ArrayList] import is never referenced |
EditAddPrep.groovy | UnnecessaryGroovyImport | 3 | 22 | [SRC]import java.util.Collection |
EditAddPrep.groovy | UnusedImport | 3 | 22 | [SRC]import java.util.Collection [MSG]The [java.util.Collection] import is never referenced |
EditAddPrep.groovy | UnnecessaryGroovyImport | 3 | 23 | [SRC]import java.util.HashMap |
EditAddPrep.groovy | UnusedImport | 3 | 23 | [SRC]import java.util.HashMap [MSG]The [java.util.HashMap] import is never referenced |
EditAddPrep.groovy | UnnecessaryGroovyImport | 3 | 24 | [SRC]import java.util.Iterator |
EditAddPrep.groovy | UnusedImport | 3 | 24 | [SRC]import java.util.Iterator [MSG]The [java.util.Iterator] import is never referenced |
EditAddPrep.groovy | UnnecessaryGroovyImport | 3 | 25 | [SRC]import java.util.LinkedList |
EditAddPrep.groovy | UnusedImport | 3 | 25 | [SRC]import java.util.LinkedList [MSG]The [java.util.LinkedList] import is never referenced |
EditAddPrep.groovy | UnnecessaryGroovyImport | 3 | 26 | [SRC]import java.util.List |
EditAddPrep.groovy | UnusedImport | 3 | 26 | [SRC]import java.util.List [MSG]The [java.util.List] import is never referenced |
EditAddPrep.groovy | UnnecessaryGroovyImport | 3 | 27 | [SRC]import java.util.Map |
EditAddPrep.groovy | UnusedImport | 3 | 27 | [SRC]import java.util.Map [MSG]The [java.util.Map] import is never referenced |
EditAddPrep.groovy | UnnecessaryGroovyImport | 3 | 28 | [SRC]import java.util.Set |
EditAddPrep.groovy | UnusedImport | 3 | 28 | [SRC]import java.util.Set [MSG]The [java.util.Set] import is never referenced |
EditAddPrep.groovy | UnnecessaryGroovyImport | 3 | 29 | [SRC]import java.util.TreeSet |
EditAddPrep.groovy | UnusedImport | 3 | 29 | [SRC]import java.util.TreeSet [MSG]The [java.util.TreeSet] import is never referenced |
EditAddPrep.groovy | NoWildcardImports | 3 | 30 | [SRC]import org.apache.ofbiz.base.util.* [MSG]Wildcard (star) import |
EditAddPrep.groovy | NoWildcardImports | 3 | 31 | [SRC]import org.apache.ofbiz.entity.* [MSG]Wildcard (star) import |
EditAddPrep.groovy | NoWildcardImports | 3 | 32 | [SRC]import org.apache.ofbiz.security.* [MSG]Wildcard (star) import |
EditAddPrep.groovy | NoWildcardImports | 3 | 33 | [SRC]import org.apache.ofbiz.service.* [MSG]Wildcard (star) import |
EditAddPrep.groovy | NoWildcardImports | 3 | 34 | [SRC]import org.apache.ofbiz.entity.model.* [MSG]Wildcard (star) import |
EditAddPrep.groovy | NoWildcardImports | 3 | 34 | [SRC]import org.apache.ofbiz.entity.model.* [MSG]Wildcard (star) import |
EditAddPrep.groovy | NoWildcardImports | 3 | 35 | [SRC]import org.apache.ofbiz.securityext.login.* [MSG]Wildcard (star) import |
EditAddPrep.groovy | NoWildcardImports | 3 | 36 | [SRC]import org.apache.ofbiz.common.* [MSG]Wildcard (star) import |
EditAddPrep.groovy | DuplicateImport | 3 | 37 | [SRC]import org.apache.ofbiz.entity.model.* |
EditAddPrep.groovy | UnusedImport | 3 | 38 | [SRC]import org.apache.ofbiz.content.ContentManagementWorker [MSG]The [org.apache.ofbiz.content.ContentManagementWorker] import is never referenced |
EditAddPrep.groovy | UnusedImport | 3 | 41 | [SRC]import freemarker.template.SimpleHash [MSG]The [freemarker.template.SimpleHash] import is never referenced |
EditAddPrep.groovy | UnusedImport | 3 | 42 | [SRC]import freemarker.template.SimpleSequence [MSG]The [freemarker.template.SimpleSequence] import is never referenced |
EditAddPrep.groovy | NoWildcardImports | 3 | 44 | [SRC]import javax.servlet.* [MSG]Wildcard (star) import |
EditAddPrep.groovy | NoWildcardImports | 3 | 45 | [SRC]import javax.servlet.http.* [MSG]Wildcard (star) import |
EditAddPrep.groovy | UnnecessaryGString | 3 | 49 | [SRC]singleWrapper.putInContext("contentIdTo", contentIdTo) [MSG]The String 'contentIdTo' can be wrapped in single quotes instead of double quotes |
EditAddPrep.groovy | UnnecessaryGString | 3 | 51 | [SRC]singleWrapper.putInContext("mapKey", mapKey) [MSG]The String 'mapKey' can be wrapped in single quotes instead of double quotes |
EditAddPrep.groovy | UnnecessaryGString | 3 | 53 | [SRC]if ("SUMMARY".equals(mapKey)) { [MSG]The String 'SUMMARY' can be wrapped in single quotes instead of double quotes |
EditAddPrep.groovy | UnnecessaryGString | 3 | 54 | [SRC]singleWrapper.putInContext("textSource", "summaryData") [MSG]The String 'textSource' can be wrapped in single quotes instead of double quotes |
EditAddPrep.groovy | UnnecessaryGString | 3 | 54 | [SRC]singleWrapper.putInContext("textSource", "summaryData") [MSG]The String 'summaryData' can be wrapped in single quotes instead of double quotes |
EditAddPrep.groovy | UnnecessaryGString | 3 | 56 | [SRC]singleWrapper.putInContext("textSource", "textData") [MSG]The String 'textSource' can be wrapped in single quotes instead of double quotes |
EditAddPrep.groovy | UnnecessaryGString | 3 | 56 | [SRC]singleWrapper.putInContext("textSource", "textData") [MSG]The String 'textData' can be wrapped in single quotes instead of double quotes |
EditAddPrep.groovy | UnnecessaryGString | 3 | 59 | [SRC]singleWrapper.putInContext("dataResourceTypeId", "ELECTRONIC_TEXT") [MSG]The String 'dataResourceTypeId' can be wrapped in single quotes instead of double quotes |
EditAddPrep.groovy | UnnecessaryGString | 3 | 59 | [SRC]singleWrapper.putInContext("dataResourceTypeId", "ELECTRONIC_TEXT") [MSG]The String 'ELECTRONIC_TEXT' can be wrapped in single quotes instead of double quotes |
EditAddPrep.groovy | UnnecessaryGString | 3 | 60 | [SRC]singleWrapper.putInContext("contentAssocTypeId", "SUB_CONTENT") [MSG]The String 'contentAssocTypeId' can be wrapped in single quotes instead of double quotes |
EditAddPrep.groovy | UnnecessaryGString | 3 | 60 | [SRC]singleWrapper.putInContext("contentAssocTypeId", "SUB_CONTENT") [MSG]The String 'SUB_CONTENT' can be wrapped in single quotes instead of double quotes |
EditAddPrep.groovy | InvertedIfElse | 3 | 69 | [SRC]if (!currentValue) { [MSG]Testing the negative condition first can make an if statement confusing |
EditAddPrep.groovy | UnnecessaryGString | 3 | 70 | [SRC]parentValue = from("Content").where("contentId", content..).queryOne() [MSG]The String 'Content' can be wrapped in single quotes instead of double quotes |
EditAddPrep.groovy | UnnecessaryGString | 3 | 70 | [SRC]parentValue = from("Content").where("contentId", content..).queryOne() [MSG]The String 'contentId' can be wrapped in single quotes instead of double quotes |
EditAddPrep.groovy | UnnecessaryGString | 3 | 71 | [SRC]currentValue = makeValue("Content") [MSG]The String 'Content' can be wrapped in single quotes instead of double quotes |
EditAddPrep.groovy | UnnecessaryGString | 3 | 73 | [SRC]if ("SUMMARY".equals(mapKey)) { [MSG]The String 'SUMMARY' can be wrapped in single quotes instead of double quotes |
EditAddPrep.groovy | UnnecessaryGString | 3 | 74 | [SRC]subject = "Short " + subject [MSG]The String 'Short ' can be wrapped in single quotes instead of double quotes |
EditAddPrep.groovy | UnnecessaryGString | 3 | 78 | [SRC]singleWrapper.putInContext("contentTypeId", "DOCUMENT") [MSG]The String 'contentTypeId' can be wrapped in single quotes instead of double quotes |
EditAddPrep.groovy | UnnecessaryGString | 3 | 78 | [SRC]singleWrapper.putInContext("contentTypeId", "DOCUMENT") [MSG]The String 'DOCUMENT' can be wrapped in single quotes instead of double quotes |
EditAddPrep.groovy | UnnecessaryGString | 3 | 80 | [SRC]singleWrapper.putInContext("contentTypeId", null) [MSG]The String 'contentTypeId' can be wrapped in single quotes instead of double quotes |
EditAddPrep.groovy | UnnecessaryGString | 3 | 83 | [SRC]singleWrapper.putInContext("currentValue", currentValue) [MSG]The String 'currentValue' can be wrapped in single quotes instead of double quotes |
EditAddPrep.groovy | UnnecessaryGString | 3 | 85 | [SRC]request.setAttribute("currentValue", currentValue) [MSG]The String 'currentValue' can be wrapped in single quotes instead of double quotes |
EditAddPrep.groovy | UnnecessaryGString | 3 | 86 | [SRC]persistAction = parameters.persistAction ?: "persistContent" [MSG]The String 'persistContent' can be wrapped in single quotes instead of double quotes |
EditAddPrep.groovy | UnnecessaryGString | 3 | 88 | [SRC]singleWrapper.putInContext("persistAction", persistAction) [MSG]The String 'persistAction' can be wrapped in single quotes instead of double quotes |
EditAddress.groovy | UnnecessaryGString | 3 | 21 | [SRC]person = from("Person").where("partyId", parameters.part..).queryOne() [MSG]The String 'Person' can be wrapped in single quotes instead of double quotes |
EditAddress.groovy | UnnecessaryGString | 3 | 21 | [SRC]person = from("Person").where("partyId", parameters.part..).queryOne() [MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes |
EditAddress.groovy | UnnecessaryGString | 3 | 23 | [SRC]request.setAttribute("lastName", person.lastName) [MSG]The String 'lastName' can be wrapped in single quotes instead of double quotes |
EditAddress.groovy | UnnecessaryGString | 3 | 24 | [SRC]request.setAttribute("firstName", person.firstName) [MSG]The String 'firstName' can be wrapped in single quotes instead of double quotes |
EditAddress.groovy | UnnecessaryGString | 3 | 25 | [SRC]request.setAttribute("partyId", parameters.partyId) [MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes |
EditAddress.groovy | UnnecessaryGString | 3 | 28 | [SRC]contactMech = from("ContactMech").where("contactMechId",..).queryOne() [MSG]The String 'ContactMech' can be wrapped in single quotes instead of double quotes |
EditAddress.groovy | UnnecessaryGString | 3 | 28 | [SRC]contactMech = from("ContactMech").where("contactMechId",..).queryOne() [MSG]The String 'contactMechId' can be wrapped in single quotes instead of double quotes |
EditAddress.groovy | UnnecessaryGString | 3 | 30 | [SRC]postalAddress = contactMech.getRelatedOne("PostalAddress", false) [MSG]The String 'PostalAddress' can be wrapped in single quotes instead of double quotes |
EditAddress.groovy | UnnecessaryGString | 3 | 32 | [SRC]request.setAttribute("contactMechId", postalAddress.contactMechId) [MSG]The String 'contactMechId' can be wrapped in single quotes instead of double quotes |
EditAddress.groovy | UnnecessaryGString | 3 | 33 | [SRC]request.setAttribute("toName", postalAddress.toName) [MSG]The String 'toName' can be wrapped in single quotes instead of double quotes |
EditAddress.groovy | UnnecessaryGString | 3 | 34 | [SRC]request.setAttribute("attnName", postalAddress.attnName) [MSG]The String 'attnName' can be wrapped in single quotes instead of double quotes |
EditAddress.groovy | UnnecessaryGString | 3 | 35 | [SRC]request.setAttribute("address1", postalAddress.address1) [MSG]The String 'address1' can be wrapped in single quotes instead of double quotes |
EditAddress.groovy | UnnecessaryGString | 3 | 36 | [SRC]request.setAttribute("address2", postalAddress.address2) [MSG]The String 'address2' can be wrapped in single quotes instead of double quotes |
EditAddress.groovy | UnnecessaryGString | 3 | 37 | [SRC]request.setAttribute("city", postalAddress.city) [MSG]The String 'city' can be wrapped in single quotes instead of double quotes |
EditAddress.groovy | UnnecessaryGString | 3 | 38 | [SRC]request.setAttribute("postalCode", postalAddress.postalCode) [MSG]The String 'postalCode' can be wrapped in single quotes instead of double quotes |
EditAddress.groovy | UnnecessaryGString | 3 | 39 | [SRC]request.setAttribute("stateProvinceGeoId", postalAddress..ovinceGeoId) [MSG]The String 'stateProvinceGeoId' can be wrapped in single quotes instead of double quotes |
EditAddress.groovy | UnnecessaryGString | 3 | 40 | [SRC]request.setAttribute("countryGeoId", postalAddress.countryGeoId) [MSG]The String 'countryGeoId' can be wrapped in single quotes instead of double quotes |
EditAddress.groovy | UnnecessaryObjectReferences | 3 | 40 | [SRC]request.setAttribute("countryGeoId", postalAddress.countryGeoId) [MSG]The code could be more concise by using a with() or identity() block |
EditAddress.groovy | UnnecessaryGString | 3 | 41 | [SRC]stateProvinceGeo = from("Geo").where("geoId", postalAddr..).queryOne() [MSG]The String 'Geo' can be wrapped in single quotes instead of double quotes |
EditAddress.groovy | UnnecessaryGString | 3 | 41 | [SRC]stateProvinceGeo = from("Geo").where("geoId", postalAddr..).queryOne() [MSG]The String 'geoId' can be wrapped in single quotes instead of double quotes |
EditAddress.groovy | UnnecessaryGString | 3 | 43 | [SRC]request.setAttribute("stateProvinceGeo", stateProvinceGe..e", locale)) [MSG]The String 'stateProvinceGeo' can be wrapped in single quotes instead of double quotes |
EditAddress.groovy | UnnecessaryGString | 3 | 43 | [SRC]request.setAttribute("stateProvinceGeo", stateProvinceGe..e", locale)) [MSG]The String 'geoName' can be wrapped in single quotes instead of double quotes |
EditAddress.groovy | UnnecessaryGString | 3 | 45 | [SRC]countryProvinceGeo = from("Geo").where("geoId", postalAd..).queryOne() [MSG]The String 'Geo' can be wrapped in single quotes instead of double quotes |
EditAddress.groovy | UnnecessaryGString | 3 | 45 | [SRC]countryProvinceGeo = from("Geo").where("geoId", postalAd..).queryOne() [MSG]The String 'geoId' can be wrapped in single quotes instead of double quotes |
EditAddress.groovy | UnnecessaryGString | 3 | 47 | [SRC]request.setAttribute("countryProvinceGeo", countryProvin..e", locale)) [MSG]The String 'countryProvinceGeo' can be wrapped in single quotes instead of double quotes |
EditAddress.groovy | UnnecessaryGString | 3 | 47 | [SRC]request.setAttribute("countryProvinceGeo", countryProvin..e", locale)) [MSG]The String 'geoName' can be wrapped in single quotes instead of double quotes |
EditAddress.groovy | UnnecessaryGString | 3 | 51 | [SRC]request.setAttribute("contactMechPurposeTypeId", paramet..rposeTypeId) [MSG]The String 'contactMechPurposeTypeId' can be wrapped in single quotes instead of double quotes |
EditBillingAddress.groovy | UnusedImport | 3 | 23 | [SRC]import org.apache.ofbiz.entity.condition.EntityCondition [MSG]The [org.apache.ofbiz.entity.condition.EntityCondition] import is never referenced |
EditBillingAddress.groovy | UnnecessaryGString | 3 | 26 | [SRC]party = userLogin.getRelatedOne("Party", false) [MSG]The String 'Party' can be wrapped in single quotes instead of double quotes |
EditBillingAddress.groovy | UnnecessaryGString | 3 | 27 | [SRC]contactMech = EntityUtil.getFirst(ContactHelper.getConta..SS", false)) [MSG]The String 'BILLING_LOCATION' can be wrapped in single quotes instead of double quotes |
EditBillingAddress.groovy | UnnecessaryGString | 3 | 27 | [SRC]contactMech = EntityUtil.getFirst(ContactHelper.getConta..SS", false)) [MSG]The String 'POSTAL_ADDRESS' can be wrapped in single quotes instead of double quotes |
EditBillingAddress.groovy | UnnecessaryGString | 3 | 29 | [SRC]postalAddress = contactMech.getRelatedOne("PostalAddress", false) [MSG]The String 'PostalAddress' can be wrapped in single quotes instead of double quotes |
EditBillingAddress.groovy | UnnecessaryObjectReferences | 3 | 39 | [SRC]context.billToCountryGeoId = postalAddress.countryGeoId [MSG]The code could be more concise by using a with() or identity() block |
EditBillingAddress.groovy | UnnecessaryGString | 3 | 40 | [SRC]billToStateProvinceGeo = from("Geo").where("geoId", post..).queryOne() [MSG]The String 'Geo' can be wrapped in single quotes instead of double quotes |
EditBillingAddress.groovy | UnnecessaryGString | 3 | 40 | [SRC]billToStateProvinceGeo = from("Geo").where("geoId", post..).queryOne() [MSG]The String 'geoId' can be wrapped in single quotes instead of double quotes |
EditBillingAddress.groovy | UnnecessaryGString | 3 | 44 | [SRC]billToCountryProvinceGeo = from("Geo").where("geoId", po..).queryOne() [MSG]The String 'Geo' can be wrapped in single quotes instead of double quotes |
EditBillingAddress.groovy | UnnecessaryGString | 3 | 44 | [SRC]billToCountryProvinceGeo = from("Geo").where("geoId", po..).queryOne() [MSG]The String 'geoId' can be wrapped in single quotes instead of double quotes |
EditBillingAddress.groovy | UnnecessaryGString | 3 | 50 | [SRC]paymentMethod = from("PaymentMethod").where("partyId", p..queryFirst() [MSG]The String 'PaymentMethod' can be wrapped in single quotes instead of double quotes |
EditBillingAddress.groovy | UnnecessaryGString | 3 | 50 | [SRC]paymentMethod = from("PaymentMethod").where("partyId", p..queryFirst() [MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes |
EditBillingAddress.groovy | UnnecessaryGString | 3 | 50 | [SRC]paymentMethod = from("PaymentMethod").where("partyId", p..queryFirst() [MSG]The String 'paymentMethodTypeId' can be wrapped in single quotes instead of double quotes |
EditBillingAddress.groovy | UnnecessaryGString | 3 | 50 | [SRC]paymentMethod = from("PaymentMethod").where("partyId", p..queryFirst() [MSG]The String 'CREDIT_CARD' can be wrapped in single quotes instead of double quotes |
EditBillingAddress.groovy | UnnecessaryGString | 3 | 50 | [SRC]paymentMethod = from("PaymentMethod").where("partyId", p..queryFirst() [MSG]The String 'fromDate' can be wrapped in single quotes instead of double quotes |
EditBillingAddress.groovy | UnnecessaryGString | 3 | 52 | [SRC]creditCard = paymentMethod.getRelatedOne("CreditCard", false) [MSG]The String 'CreditCard' can be wrapped in single quotes instead of double quotes |
EditBillingAddress.groovy | UnnecessaryGString | 3 | 53 | [SRC]context.paymentMethodTypeId = "CREDIT_CARD" [MSG]The String 'CREDIT_CARD' can be wrapped in single quotes instead of double quotes |
EditBillingAddress.groovy | UnnecessaryGString | 3 | 64 | [SRC]context.useShippingAddressForBilling = "Y" [MSG]The String 'Y' can be wrapped in single quotes instead of double quotes |
EditBillingAddress.groovy | UnnecessaryGString | 3 | 69 | [SRC]billToContactMechList = ContactHelper.getContactMech(par..BER", false) [MSG]The String 'PHONE_BILLING' can be wrapped in single quotes instead of double quotes |
EditBillingAddress.groovy | UnnecessaryGString | 3 | 69 | [SRC]billToContactMechList = ContactHelper.getContactMech(par..BER", false) [MSG]The String 'TELECOM_NUMBER' can be wrapped in single quotes instead of double quotes |
EditBillingAddress.groovy | UnnecessaryGString | 3 | 71 | [SRC]billToTelecomNumber = (EntityUtil.getFirst(billToContact..ber", false) [MSG]The String 'TelecomNumber' can be wrapped in single quotes instead of double quotes |
EditBillingAddress.groovy | UnnecessaryGString | 3 | 72 | [SRC]pcm = EntityUtil.getFirst(billToTelecomNumber.getRelated..ull, false)) [MSG]The String 'PartyContactMech' can be wrapped in single quotes instead of double quotes |
EditBillingAddress.groovy | UnnecessaryGString | 3 | 77 | [SRC]billToFaxNumberList = ContactHelper.getContactMech(party..BER", false) [MSG]The String 'FAX_BILLING' can be wrapped in single quotes instead of double quotes |
EditBillingAddress.groovy | UnnecessaryGString | 3 | 77 | [SRC]billToFaxNumberList = ContactHelper.getContactMech(party..BER", false) [MSG]The String 'TELECOM_NUMBER' can be wrapped in single quotes instead of double quotes |
EditBillingAddress.groovy | UnnecessaryGString | 3 | 79 | [SRC]billToFaxNumber = (EntityUtil.getFirst(billToFaxNumberLi..ber", false) [MSG]The String 'TelecomNumber' can be wrapped in single quotes instead of double quotes |
EditBillingAddress.groovy | UnnecessaryGString | 3 | 80 | [SRC]faxPartyContactMech = EntityUtil.getFirst(billToFaxNumbe..ull, false)) [MSG]The String 'PartyContactMech' can be wrapped in single quotes instead of double quotes |
EditContactMech.groovy | UnnecessaryGroovyImport | 3 | 21 | [SRC]import java.util.HashMap |
EditContactMech.groovy | UnusedImport | 3 | 21 | [SRC]import java.util.HashMap [MSG]The [java.util.HashMap] import is never referenced |
EditContactMech.groovy | UnusedImport | 3 | 23 | [SRC]import org.apache.ofbiz.base.util.UtilHttp [MSG]The [org.apache.ofbiz.base.util.UtilHttp] import is never referenced |
EditContactMech.groovy | UnusedImport | 3 | 24 | [SRC]import org.apache.ofbiz.base.util.UtilMisc [MSG]The [org.apache.ofbiz.base.util.UtilMisc] import is never referenced |
EditContactMech.groovy | UnnecessaryGString | 3 | 35 | [SRC]if (!security.hasEntityPermission("PARTYMGR", "_VIEW", s..ntactMech) { [MSG]The String 'PARTYMGR' can be wrapped in single quotes instead of double quotes |
EditContactMech.groovy | UnnecessaryGString | 3 | 35 | [SRC]if (!security.hasEntityPermission("PARTYMGR", "_VIEW", s..ntactMech) { [MSG]The String '_VIEW' can be wrapped in single quotes instead of double quotes |
EditContactMech.groovy | UnnecessaryGString | 3 | 49 | [SRC]contactMechPurposeType = from("ContactMechPurposeType")...).queryOne() [MSG]The String 'ContactMechPurposeType' can be wrapped in single quotes instead of double quotes |
EditContactMech.groovy | UnnecessaryGString | 3 | 49 | [SRC]contactMechPurposeType = from("ContactMechPurposeType")...).queryOne() [MSG]The String 'contactMechPurposeTypeId' can be wrapped in single quotes instead of double quotes |
EditContactMech.groovy | CouldBeElvis | 3 | 62 | [SRC]if (!contactMechData) contactMechData = [:] [MSG]Code could use elvis operator: contactMechData = contactMechData ?: [:] |
EditContactMech.groovy | CouldBeElvis | 3 | 67 | [SRC]if (!partyContactMechData) partyContactMechData = [:] [MSG]Code could use elvis operator: partyContactMechData = partyContactMechData ?: [:] |
EditContactMech.groovy | CouldBeElvis | 3 | 72 | [SRC]if (!postalAddressData) postalAddressData = [:] [MSG]Code could use elvis operator: postalAddressData = postalAddressData ?: [:] |
EditContactMech.groovy | CouldBeElvis | 3 | 77 | [SRC]if (!telecomNumberData) telecomNumberData = [:] [MSG]Code could use elvis operator: telecomNumberData = telecomNumberData ?: [:] |
EditContactMech.groovy | UnnecessaryGString | 3 | 82 | [SRC]geoValue = from("Geo").where("geoId", parameters.country..).queryOne() [MSG]The String 'Geo' can be wrapped in single quotes instead of double quotes |
EditContactMech.groovy | UnnecessaryGString | 3 | 82 | [SRC]geoValue = from("Geo").where("geoId", parameters.country..).queryOne() [MSG]The String 'geoId' can be wrapped in single quotes instead of double quotes |
EditContactMech.groovy | UnnecessaryGString | 3 | 87 | [SRC]geoValue = from("Geo").where("geoId", postalAddressData...).queryOne() [MSG]The String 'Geo' can be wrapped in single quotes instead of double quotes |
EditContactMech.groovy | UnnecessaryGString | 3 | 87 | [SRC]geoValue = from("Geo").where("geoId", postalAddressData...).queryOne() [MSG]The String 'geoId' can be wrapped in single quotes instead of double quotes |
EditContactMech.groovy | UnnecessaryGString | 3 | 94 | [SRC]geoValue = from("Geo").where("geoId", parameters.statePr..).queryOne() [MSG]The String 'Geo' can be wrapped in single quotes instead of double quotes |
EditContactMech.groovy | UnnecessaryGString | 3 | 94 | [SRC]geoValue = from("Geo").where("geoId", parameters.statePr..).queryOne() [MSG]The String 'geoId' can be wrapped in single quotes instead of double quotes |
EditContactMech.groovy | UnnecessaryGString | 3 | 99 | [SRC]geoValue = from("Geo").where("geoId", postalAddressData...).queryOne() [MSG]The String 'Geo' can be wrapped in single quotes instead of double quotes |
EditContactMech.groovy | UnnecessaryGString | 3 | 99 | [SRC]geoValue = from("Geo").where("geoId", postalAddressData...).queryOne() [MSG]The String 'geoId' can be wrapped in single quotes instead of double quotes |
EditDailyHourReport.groovy | NoWildcardImports | 3 | 21 | [SRC]import java.util.* [MSG]Wildcard (star) import |
EditDailyHourReport.groovy | UnnecessaryGroovyImport | 3 | 21 | [SRC]import java.util.* |
EditDailyHourReport.groovy | NoWildcardImports | 3 | 22 | [SRC]import java.lang.* [MSG]Wildcard (star) import |
EditDailyHourReport.groovy | UnnecessaryGroovyImport | 3 | 22 | [SRC]import java.lang.* |
EditDailyHourReport.groovy | UnnecessaryGString | 3 | 33 | [SRC]uiLabelMap = UtilProperties.getResourceBundleMap("scrumU..ls", locale) [MSG]The String 'scrumUiLabels' can be wrapped in single quotes instead of double quotes |
EditDailyHourReport.groovy | CouldBeElvis | 3 | 35 | [SRC]if (!partyId) { [MSG]Code could use elvis operator: partyId = partyId ?: parameters.userLogin.partyId |
EditDailyHourReport.groovy | UnnecessaryGString | 3 | 43 | [SRC]timesheet = from("Timesheet").where("timesheetId", times..).queryOne() [MSG]The String 'Timesheet' can be wrapped in single quotes instead of double quotes |
EditDailyHourReport.groovy | UnnecessaryGString | 3 | 43 | [SRC]timesheet = from("Timesheet").where("timesheetId", times..).queryOne() [MSG]The String 'timesheetId' can be wrapped in single quotes instead of double quotes |
EditDailyHourReport.groovy | SpaceAfterComma | 3 | 47 | [SRC]midweek = UtilDateTime.addDaysToTimestamp(UtilDateTime.g..estamp()),3) [MSG]The parameter 3 in the call to method addDaysToTimestamp within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
EditDailyHourReport.groovy | UnnecessaryGString | 3 | 49 | [SRC]EntityCondition.makeCondition("fromDate", EntityComparis..N, midweek), [MSG]The String 'fromDate' can be wrapped in single quotes instead of double quotes |
EditDailyHourReport.groovy | UnnecessaryGString | 3 | 50 | [SRC]EntityCondition.makeCondition("thruDate", EntityComparis..N, midweek), [MSG]The String 'thruDate' can be wrapped in single quotes instead of double quotes |
EditDailyHourReport.groovy | UnnecessaryGString | 3 | 51 | [SRC]EntityCondition.makeCondition("partyId", EntityCompariso..LS, partyId) [MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes |
EditDailyHourReport.groovy | UnnecessaryGString | 3 | 53 | [SRC]entryIterator = from("Timesheet").where(entryExprs).queryIterator() [MSG]The String 'Timesheet' can be wrapped in single quotes instead of double quotes |
EditDailyHourReport.groovy | SpaceAroundMapEntryColon | 3 | 57 | [SRC]result = runService('createProjectTimesheet', ["userLogi.. : partyId]) [MSG]The colon for the literal Map entry for key [userLogin] within class org.apache.ofbiz.scrum.None is not preceded by a match for regular expression [\S] |
EditDailyHourReport.groovy | SpaceAroundMapEntryColon | 3 | 57 | [SRC]result = runService('createProjectTimesheet', ["userLogi.. : partyId]) [MSG]The colon for the literal Map entry for key [partyId] within class org.apache.ofbiz.scrum.None is not preceded by a match for regular expression [\S] |
EditDailyHourReport.groovy | UnnecessaryGString | 3 | 57 | [SRC]result = runService('createProjectTimesheet', ["userLogi.. : partyId]) [MSG]The String 'userLogin' can be wrapped in single quotes instead of double quotes |
EditDailyHourReport.groovy | UnnecessaryGString | 3 | 57 | [SRC]result = runService('createProjectTimesheet', ["userLogi.. : partyId]) [MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes |
EditDailyHourReport.groovy | UnnecessaryGString | 3 | 59 | [SRC]timesheet = from("Timesheet").where("timesheetId", resul..).queryOne() [MSG]The String 'Timesheet' can be wrapped in single quotes instead of double quotes |
EditDailyHourReport.groovy | UnnecessaryGString | 3 | 59 | [SRC]timesheet = from("Timesheet").where("timesheetId", resul..).queryOne() [MSG]The String 'timesheetId' can be wrapped in single quotes instead of double quotes |
EditDailyHourReport.groovy | UnnecessaryGString | 3 | 68 | [SRC]context.partyNameView = from("PartyNameView").where("par..).queryOne() [MSG]The String 'PartyNameView' can be wrapped in single quotes instead of double quotes |
EditDailyHourReport.groovy | UnnecessaryGString | 3 | 68 | [SRC]context.partyNameView = from("PartyNameView").where("par..).queryOne() [MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes |
EditDailyHourReport.groovy | UnnecessaryGString | 3 | 70 | [SRC]rateTypes = from("PartyRate").where("partyId", partyId, ...queryList() [MSG]The String 'PartyRate' can be wrapped in single quotes instead of double quotes |
EditDailyHourReport.groovy | UnnecessaryGString | 3 | 70 | [SRC]rateTypes = from("PartyRate").where("partyId", partyId, ...queryList() [MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes |
EditDailyHourReport.groovy | UnnecessaryGString | 3 | 70 | [SRC]rateTypes = from("PartyRate").where("partyId", partyId, ...queryList() [MSG]The String 'defaultRate' can be wrapped in single quotes instead of double quotes |
EditDailyHourReport.groovy | UnnecessaryGString | 3 | 70 | [SRC]rateTypes = from("PartyRate").where("partyId", partyId, ...queryList() [MSG]The String 'Y' can be wrapped in single quotes instead of double quotes |
EditDailyHourReport.groovy | SpaceAroundMapEntryColon | 3 | 76 | [SRC]entry = ["timesheetId" : timesheet.timesheetId] [MSG]The colon for the literal Map entry for key [timesheetId] within class org.apache.ofbiz.scrum.None is not preceded by a match for regular expression [\S] |
EditDailyHourReport.groovy | UnnecessaryGString | 3 | 76 | [SRC]entry = ["timesheetId" : timesheet.timesheetId] [MSG]The String 'timesheetId' can be wrapped in single quotes instead of double quotes |
EditDailyHourReport.groovy | SpaceAroundMapEntryColon | 3 | 77 | [SRC]leaveEntry = ["timesheetId" : timesheet.timesheetId] [MSG]The colon for the literal Map entry for key [timesheetId] within class org.apache.ofbiz.scrum.None is not preceded by a match for regular expression [\S] |
EditDailyHourReport.groovy | UnnecessaryGString | 3 | 77 | [SRC]leaveEntry = ["timesheetId" : timesheet.timesheetId] [MSG]The String 'timesheetId' can be wrapped in single quotes instead of double quotes |
EditDailyHourReport.groovy | SpaceAroundOperator | 3 | 82 | [SRC]day0Total = 0.00; day1Total=0.00; day2Total=0.00; day3To..y6Total=0.00 [MSG]The operator "=" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
EditDailyHourReport.groovy | SpaceAroundOperator | 3 | 82 | [SRC]day0Total = 0.00; day1Total=0.00; day2Total=0.00; day3To..y6Total=0.00 [MSG]The operator "=" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace |
EditDailyHourReport.groovy | SpaceAroundOperator | 3 | 82 | [SRC]day0Total = 0.00; day1Total=0.00; day2Total=0.00; day3To..y6Total=0.00 [MSG]The operator "=" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
EditDailyHourReport.groovy | SpaceAroundOperator | 3 | 82 | [SRC]day0Total = 0.00; day1Total=0.00; day2Total=0.00; day3To..y6Total=0.00 [MSG]The operator "=" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace |
EditDailyHourReport.groovy | SpaceAroundOperator | 3 | 82 | [SRC]day0Total = 0.00; day1Total=0.00; day2Total=0.00; day3To..y6Total=0.00 [MSG]The operator "=" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
EditDailyHourReport.groovy | SpaceAroundOperator | 3 | 82 | [SRC]day0Total = 0.00; day1Total=0.00; day2Total=0.00; day3To..y6Total=0.00 [MSG]The operator "=" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace |
EditDailyHourReport.groovy | SpaceAroundOperator | 3 | 82 | [SRC]day0Total = 0.00; day1Total=0.00; day2Total=0.00; day3To..y6Total=0.00 [MSG]The operator "=" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
EditDailyHourReport.groovy | SpaceAroundOperator | 3 | 82 | [SRC]day0Total = 0.00; day1Total=0.00; day2Total=0.00; day3To..y6Total=0.00 [MSG]The operator "=" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace |
EditDailyHourReport.groovy | SpaceAroundOperator | 3 | 82 | [SRC]day0Total = 0.00; day1Total=0.00; day2Total=0.00; day3To..y6Total=0.00 [MSG]The operator "=" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
EditDailyHourReport.groovy | SpaceAroundOperator | 3 | 82 | [SRC]day0Total = 0.00; day1Total=0.00; day2Total=0.00; day3To..y6Total=0.00 [MSG]The operator "=" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace |
EditDailyHourReport.groovy | SpaceAroundOperator | 3 | 82 | [SRC]day0Total = 0.00; day1Total=0.00; day2Total=0.00; day3To..y6Total=0.00 [MSG]The operator "=" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
EditDailyHourReport.groovy | SpaceAroundOperator | 3 | 82 | [SRC]day0Total = 0.00; day1Total=0.00; day2Total=0.00; day3To..y6Total=0.00 [MSG]The operator "=" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace |
EditDailyHourReport.groovy | SpaceAroundOperator | 3 | 83 | [SRC]pDay0Total = 0.00; pDay1Total=0.00; pDay2Total=0.00; pDa..y6Total=0.00 [MSG]The operator "=" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
EditDailyHourReport.groovy | SpaceAroundOperator | 3 | 83 | [SRC]pDay0Total = 0.00; pDay1Total=0.00; pDay2Total=0.00; pDa..y6Total=0.00 [MSG]The operator "=" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace |
EditDailyHourReport.groovy | SpaceAroundOperator | 3 | 83 | [SRC]pDay0Total = 0.00; pDay1Total=0.00; pDay2Total=0.00; pDa..y6Total=0.00 [MSG]The operator "=" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
EditDailyHourReport.groovy | SpaceAroundOperator | 3 | 83 | [SRC]pDay0Total = 0.00; pDay1Total=0.00; pDay2Total=0.00; pDa..y6Total=0.00 [MSG]The operator "=" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace |
EditDailyHourReport.groovy | SpaceAroundOperator | 3 | 83 | [SRC]pDay0Total = 0.00; pDay1Total=0.00; pDay2Total=0.00; pDa..y6Total=0.00 [MSG]The operator "=" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
EditDailyHourReport.groovy | SpaceAroundOperator | 3 | 83 | [SRC]pDay0Total = 0.00; pDay1Total=0.00; pDay2Total=0.00; pDa..y6Total=0.00 [MSG]The operator "=" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace |
EditDailyHourReport.groovy | SpaceAroundOperator | 3 | 83 | [SRC]pDay0Total = 0.00; pDay1Total=0.00; pDay2Total=0.00; pDa..y6Total=0.00 [MSG]The operator "=" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
EditDailyHourReport.groovy | SpaceAroundOperator | 3 | 83 | [SRC]pDay0Total = 0.00; pDay1Total=0.00; pDay2Total=0.00; pDa..y6Total=0.00 [MSG]The operator "=" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace |
EditDailyHourReport.groovy | SpaceAroundOperator | 3 | 83 | [SRC]pDay0Total = 0.00; pDay1Total=0.00; pDay2Total=0.00; pDa..y6Total=0.00 [MSG]The operator "=" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
EditDailyHourReport.groovy | SpaceAroundOperator | 3 | 83 | [SRC]pDay0Total = 0.00; pDay1Total=0.00; pDay2Total=0.00; pDa..y6Total=0.00 [MSG]The operator "=" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace |
EditDailyHourReport.groovy | SpaceAroundOperator | 3 | 83 | [SRC]pDay0Total = 0.00; pDay1Total=0.00; pDay2Total=0.00; pDa..y6Total=0.00 [MSG]The operator "=" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
EditDailyHourReport.groovy | SpaceAroundOperator | 3 | 83 | [SRC]pDay0Total = 0.00; pDay1Total=0.00; pDay2Total=0.00; pDa..y6Total=0.00 [MSG]The operator "=" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace |
EditDailyHourReport.groovy | Indentation | 3 | 93 | [SRC]entryWorkEffort = lastTimeEntry.getRelatedOne("WorkEffort", false) [MSG]The statement on line 93 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 5 but was 9 |
EditDailyHourReport.groovy | UnnecessaryGString | 3 | 93 | [SRC]entryWorkEffort = lastTimeEntry.getRelatedOne("WorkEffort", false) [MSG]The String 'WorkEffort' can be wrapped in single quotes instead of double quotes |
EditDailyHourReport.groovy | Indentation | 3 | 94 | [SRC]if (entryWorkEffort) { [MSG]The statement on line 94 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 5 but was 9 |
EditDailyHourReport.groovy | Indentation | 3 | 95 | [SRC]plannedHours = entryWorkEffort.getRelated("WorkEffortSki..null, false) [MSG]The statement on line 95 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 9 but was 13 |
EditDailyHourReport.groovy | UnnecessaryGString | 3 | 95 | [SRC]plannedHours = entryWorkEffort.getRelated("WorkEffortSki..null, false) [MSG]The String 'WorkEffortSkillStandard' can be wrapped in single quotes instead of double quotes |
EditDailyHourReport.groovy | Indentation | 3 | 96 | [SRC]pHours = 0.00 [MSG]The statement on line 96 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 9 but was 13 |
EditDailyHourReport.groovy | Indentation | 3 | 97 | [SRC]plannedHours.each { plannedHour -> [MSG]The statement on line 97 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 9 but was 13 |
EditDailyHourReport.groovy | Indentation | 3 | 102 | [SRC]estimatedHour = 0.00 [MSG]The statement on line 102 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 9 but was 13 |
EditDailyHourReport.groovy | TrailingWhitespace | 3 | 103 | [SRC] [MSG]Line ends with whitespace characters |
EditDailyHourReport.groovy | Indentation | 3 | 104 | [SRC]estimatedMilliSeconds = entryWorkEffort.estimatedMilliSeconds [MSG]The statement on line 104 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 9 but was 13 |
EditDailyHourReport.groovy | Indentation | 3 | 105 | [SRC]if (estimatedMilliSeconds > 0) [MSG]The statement on line 105 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 9 but was 13 |
EditDailyHourReport.groovy | TrailingWhitespace | 3 | 105 | [SRC]if (estimatedMilliSeconds > 0) [MSG]Line ends with whitespace characters |
EditDailyHourReport.groovy | SpaceAroundOperator | 3 | 106 | [SRC]estimatedHour = estimatedMilliSeconds/3600000 [MSG]The operator "/" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
EditDailyHourReport.groovy | SpaceAroundOperator | 3 | 106 | [SRC]estimatedHour = estimatedMilliSeconds/3600000 [MSG]The operator "/" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace |
EditDailyHourReport.groovy | Indentation | 3 | 107 | [SRC]entry.plannedHours = estimatedHour [MSG]The statement on line 107 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 9 but was 13 |
EditDailyHourReport.groovy | Indentation | 3 | 109 | [SRC]planHours = 0.0 [MSG]The statement on line 109 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 9 but was 13 |
EditDailyHourReport.groovy | Indentation | 3 | 110 | [SRC]planHours = lastTimeEntry.planHours [MSG]The statement on line 110 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 9 but was 13 |
EditDailyHourReport.groovy | Indentation | 3 | 111 | [SRC]lastTimeEntryOfTasks = from("TimeEntry").where("workEffo...queryList() [MSG]The statement on line 111 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 9 but was 13 |
EditDailyHourReport.groovy | UnnecessaryGString | 3 | 111 | [SRC]lastTimeEntryOfTasks = from("TimeEntry").where("workEffo...queryList() [MSG]The String 'TimeEntry' can be wrapped in single quotes instead of double quotes |
EditDailyHourReport.groovy | UnnecessaryGString | 3 | 111 | [SRC]lastTimeEntryOfTasks = from("TimeEntry").where("workEffo...queryList() [MSG]The String 'workEffortId' can be wrapped in single quotes instead of double quotes |
EditDailyHourReport.groovy | UnnecessaryGString | 3 | 111 | [SRC]lastTimeEntryOfTasks = from("TimeEntry").where("workEffo...queryList() [MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes |
EditDailyHourReport.groovy | UnnecessaryGString | 3 | 111 | [SRC]lastTimeEntryOfTasks = from("TimeEntry").where("workEffo...queryList() [MSG]The String '-fromDate' can be wrapped in single quotes instead of double quotes |
EditDailyHourReport.groovy | Indentation | 3 | 112 | [SRC]if (lastTimeEntryOfTasks.size() != 0) lastTimeEntry = la..ryOfTasks[0] [MSG]The statement on line 112 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 9 but was 13 |
EditDailyHourReport.groovy | Indentation | 3 | 113 | [SRC]if (planHours < 1) { [MSG]The statement on line 113 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 9 but was 13 |
EditDailyHourReport.groovy | Indentation | 3 | 114 | [SRC]planHours = estimatedHour [MSG]The statement on line 114 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 13 but was 17 |
EditDailyHourReport.groovy | Indentation | 3 | 116 | [SRC]entry.planHours = lastTimeEntry.planHours [MSG]The statement on line 116 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 9 but was 13 |
EditDailyHourReport.groovy | Indentation | 3 | 117 | [SRC]actualHours = entryWorkEffort.getRelated("TimeEntry", nu..null, false) [MSG]The statement on line 117 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 9 but was 13 |
EditDailyHourReport.groovy | UnnecessaryGString | 3 | 117 | [SRC]actualHours = entryWorkEffort.getRelated("TimeEntry", nu..null, false) [MSG]The String 'TimeEntry' can be wrapped in single quotes instead of double quotes |
EditDailyHourReport.groovy | Indentation | 3 | 118 | [SRC]aHours = 0.00 [MSG]The statement on line 118 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 9 but was 13 |
EditDailyHourReport.groovy | Indentation | 3 | 119 | [SRC]actualHours.each { actualHour -> [MSG]The statement on line 119 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 9 but was 13 |
EditDailyHourReport.groovy | Indentation | 3 | 124 | [SRC]entry.actualHours = aHours [MSG]The statement on line 124 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 9 but was 13 |
EditDailyHourReport.groovy | Indentation | 3 | 126 | [SRC]workEffortPartyAssigns = EntityUtil.filterByDate(entryWo..ull, false)) [MSG]The statement on line 126 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 9 but was 13 |
EditDailyHourReport.groovy | SpaceAroundMapEntryColon | 3 | 126 | [SRC]workEffortPartyAssigns = EntityUtil.filterByDate(entryWo..ull, false)) [MSG]The colon for the literal Map entry for key [partyId] within class org.apache.ofbiz.scrum.None is not preceded by a match for regular expression [\S] |
EditDailyHourReport.groovy | UnnecessaryGString | 3 | 126 | [SRC]workEffortPartyAssigns = EntityUtil.filterByDate(entryWo..ull, false)) [MSG]The String 'WorkEffortPartyAssignment' can be wrapped in single quotes instead of double quotes |
EditDailyHourReport.groovy | UnnecessaryGString | 3 | 126 | [SRC]workEffortPartyAssigns = EntityUtil.filterByDate(entryWo..ull, false)) [MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes |
EditDailyHourReport.groovy | Indentation | 3 | 127 | [SRC]if (workEffortPartyAssigns) { [MSG]The statement on line 127 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 9 but was 13 |
EditDailyHourReport.groovy | Indentation | 3 | 128 | [SRC]workEffortPartyAssign = workEffortPartyAssigns[0] [MSG]The statement on line 128 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 13 but was 17 |
EditDailyHourReport.groovy | Indentation | 3 | 129 | [SRC]entry.fromDate = workEffortPartyAssign.getTimestamp("fromDate") [MSG]The statement on line 129 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 13 but was 17 |
EditDailyHourReport.groovy | UnnecessaryGString | 3 | 129 | [SRC]entry.fromDate = workEffortPartyAssign.getTimestamp("fromDate") [MSG]The String 'fromDate' can be wrapped in single quotes instead of double quotes |
EditDailyHourReport.groovy | Indentation | 3 | 130 | [SRC]entry.roleTypeId = workEffortPartyAssign.roleTypeId [MSG]The statement on line 130 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 13 but was 17 |
EditDailyHourReport.groovy | Indentation | 3 | 131 | [SRC]if ("SCAS_COMPLETED".equals(workEffortPartyAssign.statusId)) { [MSG]The statement on line 131 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 13 but was 17 |
EditDailyHourReport.groovy | UnnecessaryGString | 3 | 131 | [SRC]if ("SCAS_COMPLETED".equals(workEffortPartyAssign.statusId)) { [MSG]The String 'SCAS_COMPLETED' can be wrapped in single quotes instead of double quotes |
EditDailyHourReport.groovy | Indentation | 3 | 132 | [SRC]entry.checkComplete = "Y" [MSG]The statement on line 132 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 17 but was 21 |
EditDailyHourReport.groovy | UnnecessaryGString | 3 | 132 | [SRC]entry.checkComplete = "Y" [MSG]The String 'Y' can be wrapped in single quotes instead of double quotes |
EditDailyHourReport.groovy | BlockEndsWithBlankLine | 3 | 133 | [MSG]Code block ends with a blank line. |
EditDailyHourReport.groovy | TrailingWhitespace | 3 | 133 | [SRC] [MSG]Line ends with whitespace characters |
EditDailyHourReport.groovy | Indentation | 3 | 136 | [SRC]if ("STS_COMPLETED".equals(entryWorkEffort.currentStatusId)) { [MSG]The statement on line 136 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 13 but was 17 |
EditDailyHourReport.groovy | UnnecessaryGString | 3 | 136 | [SRC]if ("STS_COMPLETED".equals(entryWorkEffort.currentStatusId)) { [MSG]The String 'STS_COMPLETED' can be wrapped in single quotes instead of double quotes |
EditDailyHourReport.groovy | Indentation | 3 | 137 | [SRC]entry.checkComplete = "Y" [MSG]The statement on line 137 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 17 but was 21 |
EditDailyHourReport.groovy | UnnecessaryGString | 3 | 137 | [SRC]entry.checkComplete = "Y" [MSG]The String 'Y' can be wrapped in single quotes instead of double quotes |
EditDailyHourReport.groovy | Indentation | 3 | 142 | [SRC]entry.workEffortId = entryWorkEffort.workEffortId [MSG]The statement on line 142 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 9 but was 13 |
EditDailyHourReport.groovy | Indentation | 3 | 143 | [SRC]entry.workEffortName = entryWorkEffort.workEffortName [MSG]The statement on line 143 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 9 but was 13 |
EditDailyHourReport.groovy | Indentation | 3 | 144 | [SRC]result = runService('getProjectInfoFromTask', ["userLogi..rkEffortId]) [MSG]The statement on line 144 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 9 but was 13 |
EditDailyHourReport.groovy | SpaceAfterComma | 3 | 144 | [SRC]result = runService('getProjectInfoFromTask', ["userLogi..rkEffortId]) [MSG]The map entry taskId:entryWorkEffort.workEffortId within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
EditDailyHourReport.groovy | SpaceAroundMapEntryColon | 3 | 144 | [SRC]result = runService('getProjectInfoFromTask', ["userLogi..rkEffortId]) [MSG]The colon for the literal Map entry for key [userLogin] within class org.apache.ofbiz.scrum.None is not preceded by a match for regular expression [\S] |
EditDailyHourReport.groovy | SpaceAroundMapEntryColon | 3 | 144 | [SRC]result = runService('getProjectInfoFromTask', ["userLogi..rkEffortId]) [MSG]The colon for the literal Map entry for key [taskId] within class org.apache.ofbiz.scrum.None is not preceded by a match for regular expression [\S] |
EditDailyHourReport.groovy | UnnecessaryGString | 3 | 144 | [SRC]result = runService('getProjectInfoFromTask', ["userLogi..rkEffortId]) [MSG]The String 'userLogin' can be wrapped in single quotes instead of double quotes |
EditDailyHourReport.groovy | UnnecessaryGString | 3 | 144 | [SRC]result = runService('getProjectInfoFromTask', ["userLogi..rkEffortId]) [MSG]The String 'taskId' can be wrapped in single quotes instead of double quotes |
EditDailyHourReport.groovy | Indentation | 3 | 145 | [SRC]entry.phaseId = result.phaseId [MSG]The statement on line 145 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 9 but was 17 |
EditDailyHourReport.groovy | Indentation | 3 | 146 | [SRC]entry.phaseName = result.phaseName [MSG]The statement on line 146 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 9 but was 17 |
EditDailyHourReport.groovy | Indentation | 3 | 147 | [SRC]entry.projectId = result.projectId [MSG]The statement on line 147 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 9 but was 17 |
EditDailyHourReport.groovy | Indentation | 3 | 148 | [SRC]entry.projectName = result.projectName [MSG]The statement on line 148 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 9 but was 17 |
EditDailyHourReport.groovy | Indentation | 3 | 149 | [SRC]entry.taskWbsId = result.taskWbsId [MSG]The statement on line 149 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 9 but was 17 |
EditDailyHourReport.groovy | BlockEndsWithBlankLine | 3 | 150 | [MSG]Code block ends with a blank line. |
EditDailyHourReport.groovy | Indentation | 3 | 152 | [SRC]entry.acualTotal = taskTotal [MSG]The statement on line 152 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 5 but was 9 |
EditDailyHourReport.groovy | Indentation | 3 | 153 | [SRC]entry.planTotal = planTotal [MSG]The statement on line 153 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 5 but was 9 |
EditDailyHourReport.groovy | Indentation | 3 | 155 | [SRC]if ("Y" != entry.checkComplete) { [MSG]The statement on line 155 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 5 but was 9 |
EditDailyHourReport.groovy | UnnecessaryGString | 3 | 155 | [SRC]if ("Y" != entry.checkComplete) { [MSG]The String 'Y' can be wrapped in single quotes instead of double quotes |
EditDailyHourReport.groovy | Indentation | 3 | 156 | [SRC]if (aHours > 0.00) [MSG]The statement on line 156 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 9 but was 13 |
EditDailyHourReport.groovy | Indentation | 3 | 159 | [SRC]entries.add(entry) [MSG]The statement on line 159 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 9 but was 17 |
EditDailyHourReport.groovy | Indentation | 3 | 162 | [SRC]taskTotal = 0.00 [MSG]The statement on line 162 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 5 but was 9 |
EditDailyHourReport.groovy | Indentation | 3 | 163 | [SRC]planTotal = 0.00 [MSG]The statement on line 163 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 5 but was 9 |
EditDailyHourReport.groovy | Indentation | 3 | 164 | [SRC]entry = ["timesheetId" : timesheet.timesheetId] [MSG]The statement on line 164 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 5 but was 9 |
EditDailyHourReport.groovy | SpaceAroundMapEntryColon | 3 | 164 | [SRC]entry = ["timesheetId" : timesheet.timesheetId] [MSG]The colon for the literal Map entry for key [timesheetId] within class org.apache.ofbiz.scrum.None is not preceded by a match for regular expression [\S] |
EditDailyHourReport.groovy | UnnecessaryGString | 3 | 164 | [SRC]entry = ["timesheetId" : timesheet.timesheetId] [MSG]The String 'timesheetId' can be wrapped in single quotes instead of double quotes |
EditDailyHourReport.groovy | UnnecessaryGString | 3 | 167 | [SRC]timeEntries = timesheet.getRelated("TimeEntry", null, ["..te"], false) [MSG]The String 'TimeEntry' can be wrapped in single quotes instead of double quotes |
EditDailyHourReport.groovy | UnnecessaryGString | 3 | 167 | [SRC]timeEntries = timesheet.getRelated("TimeEntry", null, ["..te"], false) [MSG]The String 'workEffortId' can be wrapped in single quotes instead of double quotes |
EditDailyHourReport.groovy | UnnecessaryGString | 3 | 167 | [SRC]timeEntries = timesheet.getRelated("TimeEntry", null, ["..te"], false) [MSG]The String 'rateTypeId' can be wrapped in single quotes instead of double quotes |
EditDailyHourReport.groovy | UnnecessaryGString | 3 | 167 | [SRC]timeEntries = timesheet.getRelated("TimeEntry", null, ["..te"], false) [MSG]The String 'fromDate' can be wrapped in single quotes instead of double quotes |
EditDailyHourReport.groovy | SpaceAroundOperator | 3 | 171 | [SRC]if (timeEntry!=void) { [MSG]The operator "!=" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
EditDailyHourReport.groovy | SpaceAroundOperator | 3 | 171 | [SRC]if (timeEntry!=void) { [MSG]The operator "!=" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace |
EditDailyHourReport.groovy | Indentation | 3 | 179 | [SRC]retrieveWorkEffortData() [MSG]The statement on line 179 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 9 but was 13 |
EditDailyHourReport.groovy | SpaceAroundOperator | 3 | 182 | [SRC]dayNumber = "d" + (timeEntry.fromDate.getTime() - timesh..*60*60*1000) [MSG]The operator "*" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
EditDailyHourReport.groovy | SpaceAroundOperator | 3 | 182 | [SRC]dayNumber = "d" + (timeEntry.fromDate.getTime() - timesh..*60*60*1000) [MSG]The operator "*" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace |
EditDailyHourReport.groovy | SpaceAroundOperator | 3 | 182 | [SRC]dayNumber = "d" + (timeEntry.fromDate.getTime() - timesh..*60*60*1000) [MSG]The operator "*" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
EditDailyHourReport.groovy | SpaceAroundOperator | 3 | 182 | [SRC]dayNumber = "d" + (timeEntry.fromDate.getTime() - timesh..*60*60*1000) [MSG]The operator "*" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace |
EditDailyHourReport.groovy | SpaceAroundOperator | 3 | 182 | [SRC]dayNumber = "d" + (timeEntry.fromDate.getTime() - timesh..*60*60*1000) [MSG]The operator "*" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
EditDailyHourReport.groovy | SpaceAroundOperator | 3 | 182 | [SRC]dayNumber = "d" + (timeEntry.fromDate.getTime() - timesh..*60*60*1000) [MSG]The operator "*" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace |
EditDailyHourReport.groovy | UnnecessaryGString | 3 | 182 | [SRC]dayNumber = "d" + (timeEntry.fromDate.getTime() - timesh..*60*60*1000) [MSG]The String 'd' can be wrapped in single quotes instead of double quotes |
EditDailyHourReport.groovy | UnnecessaryGString | 3 | 185 | [SRC]if ("d0".equals(dayNumber)) day0Total += hours [MSG]The String 'd0' can be wrapped in single quotes instead of double quotes |
EditDailyHourReport.groovy | UnnecessaryGString | 3 | 186 | [SRC]if ("d1".equals(dayNumber)) day1Total += hours [MSG]The String 'd1' can be wrapped in single quotes instead of double quotes |
EditDailyHourReport.groovy | UnnecessaryGString | 3 | 187 | [SRC]if ("d2".equals(dayNumber)) day2Total += hours [MSG]The String 'd2' can be wrapped in single quotes instead of double quotes |
EditDailyHourReport.groovy | UnnecessaryGString | 3 | 188 | [SRC]if ("d3".equals(dayNumber)) day3Total += hours [MSG]The String 'd3' can be wrapped in single quotes instead of double quotes |
EditDailyHourReport.groovy | UnnecessaryGString | 3 | 189 | [SRC]if ("d4".equals(dayNumber)) day4Total += hours [MSG]The String 'd4' can be wrapped in single quotes instead of double quotes |
EditDailyHourReport.groovy | UnnecessaryGString | 3 | 190 | [SRC]if ("d5".equals(dayNumber)) day5Total += hours [MSG]The String 'd5' can be wrapped in single quotes instead of double quotes |
EditDailyHourReport.groovy | UnnecessaryGString | 3 | 191 | [SRC]if ("d6".equals(dayNumber)) day6Total += hours [MSG]The String 'd6' can be wrapped in single quotes instead of double quotes |
EditDailyHourReport.groovy | SpaceAroundOperator | 3 | 195 | [SRC]dayNumber = "pd" + (timeEntry.fromDate.getTime() - times..*60*60*1000) [MSG]The operator "*" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
EditDailyHourReport.groovy | SpaceAroundOperator | 3 | 195 | [SRC]dayNumber = "pd" + (timeEntry.fromDate.getTime() - times..*60*60*1000) [MSG]The operator "*" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace |
EditDailyHourReport.groovy | SpaceAroundOperator | 3 | 195 | [SRC]dayNumber = "pd" + (timeEntry.fromDate.getTime() - times..*60*60*1000) [MSG]The operator "*" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
EditDailyHourReport.groovy | SpaceAroundOperator | 3 | 195 | [SRC]dayNumber = "pd" + (timeEntry.fromDate.getTime() - times..*60*60*1000) [MSG]The operator "*" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace |
EditDailyHourReport.groovy | SpaceAroundOperator | 3 | 195 | [SRC]dayNumber = "pd" + (timeEntry.fromDate.getTime() - times..*60*60*1000) [MSG]The operator "*" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
EditDailyHourReport.groovy | SpaceAroundOperator | 3 | 195 | [SRC]dayNumber = "pd" + (timeEntry.fromDate.getTime() - times..*60*60*1000) [MSG]The operator "*" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace |
EditDailyHourReport.groovy | UnnecessaryGString | 3 | 195 | [SRC]dayNumber = "pd" + (timeEntry.fromDate.getTime() - times..*60*60*1000) [MSG]The String 'pd' can be wrapped in single quotes instead of double quotes |
EditDailyHourReport.groovy | UnnecessaryGString | 3 | 198 | [SRC]if ("pd0".equals(dayNumber)) pDay0Total += planHours [MSG]The String 'pd0' can be wrapped in single quotes instead of double quotes |
EditDailyHourReport.groovy | UnnecessaryGString | 3 | 199 | [SRC]if ("pd1".equals(dayNumber)) pDay1Total += planHours [MSG]The String 'pd1' can be wrapped in single quotes instead of double quotes |
EditDailyHourReport.groovy | UnnecessaryGString | 3 | 200 | [SRC]if ("pd2".equals(dayNumber)) pDay2Total += planHours [MSG]The String 'pd2' can be wrapped in single quotes instead of double quotes |
EditDailyHourReport.groovy | UnnecessaryGString | 3 | 201 | [SRC]if ("pd3".equals(dayNumber)) pDay3Total += planHours [MSG]The String 'pd3' can be wrapped in single quotes instead of double quotes |
EditDailyHourReport.groovy | UnnecessaryGString | 3 | 202 | [SRC]if ("pd4".equals(dayNumber)) pDay4Total += planHours [MSG]The String 'pd4' can be wrapped in single quotes instead of double quotes |
EditDailyHourReport.groovy | UnnecessaryGString | 3 | 203 | [SRC]if ("pd5".equals(dayNumber)) pDay5Total += planHours [MSG]The String 'pd5' can be wrapped in single quotes instead of double quotes |
EditDailyHourReport.groovy | UnnecessaryGString | 3 | 204 | [SRC]if ("pd6".equals(dayNumber)) pDay6Total += planHours [MSG]The String 'pd6' can be wrapped in single quotes instead of double quotes |
EditDailyHourReport.groovy | BlockEndsWithBlankLine | 3 | 206 | [MSG]Code block ends with a blank line. |
EditDailyHourReport.groovy | Indentation | 3 | 212 | [SRC]if (lastEmplLeaveEntry) { [MSG]The statement on line 212 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 5 but was 9 |
EditDailyHourReport.groovy | Indentation | 3 | 214 | [SRC]result = runService('getPartyLeaveHoursForDate', [MSG]The statement on line 214 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 9 but was 13 |
EditDailyHourReport.groovy | TrailingWhitespace | 3 | 214 | [SRC]result = runService('getPartyLeaveHoursForDate', [MSG]Line ends with whitespace characters |
EditDailyHourReport.groovy | UnnecessaryGString | 3 | 215 | [SRC]["userLogin": parameters.userLogin, "partyId": lastEmplL..y.fromDate]) [MSG]The String 'userLogin' can be wrapped in single quotes instead of double quotes |
EditDailyHourReport.groovy | UnnecessaryGString | 3 | 215 | [SRC]["userLogin": parameters.userLogin, "partyId": lastEmplL..y.fromDate]) [MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes |
EditDailyHourReport.groovy | UnnecessaryGString | 3 | 215 | [SRC]["userLogin": parameters.userLogin, "partyId": lastEmplL..y.fromDate]) [MSG]The String 'leaveTypeId' can be wrapped in single quotes instead of double quotes |
EditDailyHourReport.groovy | UnnecessaryGString | 3 | 215 | [SRC]["userLogin": parameters.userLogin, "partyId": lastEmplL..y.fromDate]) [MSG]The String 'fromDate' can be wrapped in single quotes instead of double quotes |
EditDailyHourReport.groovy | Indentation | 3 | 216 | [SRC]if (result.hours) { [MSG]The statement on line 216 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 9 but was 13 |
EditDailyHourReport.groovy | Indentation | 3 | 217 | [SRC]leaveEntry.plannedHours = result.hours [MSG]The statement on line 217 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 13 but was 17 |
EditDailyHourReport.groovy | Indentation | 3 | 218 | [SRC]leaveEntry.planHours = result.hours [MSG]The statement on line 218 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 13 but was 17 |
EditDailyHourReport.groovy | InvertedCondition | 3 | 220 | [SRC]if ("LEAVE_APPROVED" == lastEmplLeaveEntry.leaveStatus) { [MSG]LEAVE_APPROVED is a constant expression on the left side of a compare equals operation |
EditDailyHourReport.groovy | Indentation | 3 | 220 | [SRC]if ("LEAVE_APPROVED" == lastEmplLeaveEntry.leaveStatus) { [MSG]The statement on line 220 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 9 but was 13 |
EditDailyHourReport.groovy | UnnecessaryGString | 3 | 220 | [SRC]if ("LEAVE_APPROVED" == lastEmplLeaveEntry.leaveStatus) { [MSG]The String 'LEAVE_APPROVED' can be wrapped in single quotes instead of double quotes |
EditDailyHourReport.groovy | Indentation | 3 | 221 | [SRC]leaveEntry.checkComplete = "Y" [MSG]The statement on line 221 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 13 but was 17 |
EditDailyHourReport.groovy | UnnecessaryGString | 3 | 221 | [SRC]leaveEntry.checkComplete = "Y" [MSG]The String 'Y' can be wrapped in single quotes instead of double quotes |
EditDailyHourReport.groovy | Indentation | 3 | 223 | [SRC]leaveEntry.partyId = lastEmplLeaveEntry.partyId [MSG]The statement on line 223 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 9 but was 13 |
EditDailyHourReport.groovy | Indentation | 3 | 224 | [SRC]leaveEntry.leaveTypeId = lastEmplLeaveEntry.leaveTypeId [MSG]The statement on line 224 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 9 but was 13 |
EditDailyHourReport.groovy | Indentation | 3 | 225 | [SRC]leaveEntry.leavefromDate = lastEmplLeaveEntry.fromDate [MSG]The statement on line 225 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 9 but was 13 |
EditDailyHourReport.groovy | Indentation | 3 | 226 | [SRC]leaveEntry.leavethruDate = lastEmplLeaveEntry.thruDate [MSG]The statement on line 226 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 9 but was 13 |
EditDailyHourReport.groovy | Indentation | 3 | 227 | [SRC]leaveEntry.description = lastEmplLeaveEntry.description [MSG]The statement on line 227 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 9 but was 13 |
EditDailyHourReport.groovy | Indentation | 3 | 229 | [SRC]leaveEntry.acualTotal = leaveTaskTotal [MSG]The statement on line 229 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 5 but was 9 |
EditDailyHourReport.groovy | Indentation | 3 | 230 | [SRC]leaveEntry.planHours = leavePlanTotal [MSG]The statement on line 230 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 5 but was 9 |
EditDailyHourReport.groovy | Indentation | 3 | 231 | [SRC]leaveEntry.actualHours = leaveTaskTotal [MSG]The statement on line 231 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 5 but was 9 |
EditDailyHourReport.groovy | Indentation | 3 | 233 | [SRC]entries.add(leaveEntry) [MSG]The statement on line 233 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 5 but was 9 |
EditDailyHourReport.groovy | Indentation | 3 | 235 | [SRC]leaveTaskTotal = 0.00 [MSG]The statement on line 235 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 5 but was 9 |
EditDailyHourReport.groovy | Indentation | 3 | 236 | [SRC]leavePlanTotal = 0.00 [MSG]The statement on line 236 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 5 but was 9 |
EditDailyHourReport.groovy | Indentation | 3 | 237 | [SRC]leaveEntry = ["timesheetId" : timesheet.timesheetId] [MSG]The statement on line 237 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 5 but was 9 |
EditDailyHourReport.groovy | SpaceAroundMapEntryColon | 3 | 237 | [SRC]leaveEntry = ["timesheetId" : timesheet.timesheetId] [MSG]The colon for the literal Map entry for key [timesheetId] within class org.apache.ofbiz.scrum.None is not preceded by a match for regular expression [\S] |
EditDailyHourReport.groovy | UnnecessaryGString | 3 | 237 | [SRC]leaveEntry = ["timesheetId" : timesheet.timesheetId] [MSG]The String 'timesheetId' can be wrapped in single quotes instead of double quotes |
EditDailyHourReport.groovy | UnnecessaryGString | 3 | 242 | [SRC]leaveExprs.add(EntityCondition.makeCondition("fromDate",..t.fromDate)) [MSG]The String 'fromDate' can be wrapped in single quotes instead of double quotes |
EditDailyHourReport.groovy | UnnecessaryGString | 3 | 243 | [SRC]leaveExprs.add(EntityCondition.makeCondition("fromDate",..t.thruDate)) [MSG]The String 'fromDate' can be wrapped in single quotes instead of double quotes |
EditDailyHourReport.groovy | UnnecessaryGString | 3 | 244 | [SRC]leaveExprs.add(EntityCondition.makeCondition("partyId", ..S, partyId)) [MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes |
EditDailyHourReport.groovy | UnnecessaryGString | 3 | 245 | [SRC]emplLeave = from("EmplLeave").where(leaveExprs).cursorSc..ryIterator() [MSG]The String 'EmplLeave' can be wrapped in single quotes instead of double quotes |
EditDailyHourReport.groovy | SpaceAroundOperator | 3 | 248 | [SRC]if (emplLeaveEntry!=void) { [MSG]The operator "!=" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
EditDailyHourReport.groovy | SpaceAroundOperator | 3 | 248 | [SRC]if (emplLeaveEntry!=void) { [MSG]The operator "!=" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace |
EditDailyHourReport.groovy | TrailingWhitespace | 3 | 251 | [SRC] [MSG]Line ends with whitespace characters |
EditDailyHourReport.groovy | TrailingWhitespace | 3 | 253 | [SRC] [MSG]Line ends with whitespace characters |
EditDailyHourReport.groovy | Indentation | 3 | 257 | [SRC]retrieveEmplLeaveData() [MSG]The statement on line 257 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 9 but was 13 |
EditDailyHourReport.groovy | TrailingWhitespace | 3 | 259 | [SRC]resultHours = runService('getPartyLeaveHoursForDate', [MSG]Line ends with whitespace characters |
EditDailyHourReport.groovy | UnnecessaryGString | 3 | 260 | [SRC]["userLogin": parameters.userLogin, "partyId": emplLeave..y.fromDate]) [MSG]The String 'userLogin' can be wrapped in single quotes instead of double quotes |
EditDailyHourReport.groovy | UnnecessaryGString | 3 | 260 | [SRC]["userLogin": parameters.userLogin, "partyId": emplLeave..y.fromDate]) [MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes |
EditDailyHourReport.groovy | UnnecessaryGString | 3 | 260 | [SRC]["userLogin": parameters.userLogin, "partyId": emplLeave..y.fromDate]) [MSG]The String 'leaveTypeId' can be wrapped in single quotes instead of double quotes |
EditDailyHourReport.groovy | UnnecessaryGString | 3 | 260 | [SRC]["userLogin": parameters.userLogin, "partyId": emplLeave..y.fromDate]) [MSG]The String 'fromDate' can be wrapped in single quotes instead of double quotes |
EditDailyHourReport.groovy | TrailingWhitespace | 3 | 261 | [SRC] [MSG]Line ends with whitespace characters |
EditDailyHourReport.groovy | SpaceAroundOperator | 3 | 263 | [SRC]leaveDayNumber = "d" + (emplLeaveEntry.fromDate.getTime(..*60*60*1000) [MSG]The operator "*" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
EditDailyHourReport.groovy | SpaceAroundOperator | 3 | 263 | [SRC]leaveDayNumber = "d" + (emplLeaveEntry.fromDate.getTime(..*60*60*1000) [MSG]The operator "*" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace |
EditDailyHourReport.groovy | SpaceAroundOperator | 3 | 263 | [SRC]leaveDayNumber = "d" + (emplLeaveEntry.fromDate.getTime(..*60*60*1000) [MSG]The operator "*" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
EditDailyHourReport.groovy | SpaceAroundOperator | 3 | 263 | [SRC]leaveDayNumber = "d" + (emplLeaveEntry.fromDate.getTime(..*60*60*1000) [MSG]The operator "*" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace |
EditDailyHourReport.groovy | SpaceAroundOperator | 3 | 263 | [SRC]leaveDayNumber = "d" + (emplLeaveEntry.fromDate.getTime(..*60*60*1000) [MSG]The operator "*" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
EditDailyHourReport.groovy | SpaceAroundOperator | 3 | 263 | [SRC]leaveDayNumber = "d" + (emplLeaveEntry.fromDate.getTime(..*60*60*1000) [MSG]The operator "*" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace |
EditDailyHourReport.groovy | UnnecessaryGString | 3 | 263 | [SRC]leaveDayNumber = "d" + (emplLeaveEntry.fromDate.getTime(..*60*60*1000) [MSG]The String 'd' can be wrapped in single quotes instead of double quotes |
EditDailyHourReport.groovy | TrailingWhitespace | 3 | 264 | [SRC]resultHours = runService('getPartyLeaveHoursForDate', [MSG]Line ends with whitespace characters |
EditDailyHourReport.groovy | UnnecessaryGString | 3 | 265 | [SRC]["userLogin": parameters.userLogin, "partyId": emplLeave..y.fromDate]) [MSG]The String 'userLogin' can be wrapped in single quotes instead of double quotes |
EditDailyHourReport.groovy | UnnecessaryGString | 3 | 265 | [SRC]["userLogin": parameters.userLogin, "partyId": emplLeave..y.fromDate]) [MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes |
EditDailyHourReport.groovy | UnnecessaryGString | 3 | 265 | [SRC]["userLogin": parameters.userLogin, "partyId": emplLeave..y.fromDate]) [MSG]The String 'leaveTypeId' can be wrapped in single quotes instead of double quotes |
EditDailyHourReport.groovy | UnnecessaryGString | 3 | 265 | [SRC]["userLogin": parameters.userLogin, "partyId": emplLeave..y.fromDate]) [MSG]The String 'fromDate' can be wrapped in single quotes instead of double quotes |
EditDailyHourReport.groovy | UnnecessaryGString | 3 | 268 | [SRC]if ("d0".equals(leaveDayNumber)) day0Total += leaveHours [MSG]The String 'd0' can be wrapped in single quotes instead of double quotes |
EditDailyHourReport.groovy | UnnecessaryGString | 3 | 269 | [SRC]if ("d1".equals(leaveDayNumber)) day1Total += leaveHours [MSG]The String 'd1' can be wrapped in single quotes instead of double quotes |
EditDailyHourReport.groovy | UnnecessaryGString | 3 | 270 | [SRC]if ("d2".equals(leaveDayNumber)) day2Total += leaveHours [MSG]The String 'd2' can be wrapped in single quotes instead of double quotes |
EditDailyHourReport.groovy | UnnecessaryGString | 3 | 271 | [SRC]if ("d3".equals(leaveDayNumber)) day3Total += leaveHours [MSG]The String 'd3' can be wrapped in single quotes instead of double quotes |
EditDailyHourReport.groovy | UnnecessaryGString | 3 | 272 | [SRC]if ("d4".equals(leaveDayNumber)) day4Total += leaveHours [MSG]The String 'd4' can be wrapped in single quotes instead of double quotes |
EditDailyHourReport.groovy | UnnecessaryGString | 3 | 273 | [SRC]if ("d5".equals(leaveDayNumber)) day5Total += leaveHours [MSG]The String 'd5' can be wrapped in single quotes instead of double quotes |
EditDailyHourReport.groovy | UnnecessaryGString | 3 | 274 | [SRC]if ("d6".equals(leaveDayNumber)) day6Total += leaveHours [MSG]The String 'd6' can be wrapped in single quotes instead of double quotes |
EditDailyHourReport.groovy | SpaceAroundOperator | 3 | 278 | [SRC]leavePlanDay = "pd" + (emplLeaveEntry.fromDate.getTime()..*60*60*1000) [MSG]The operator "*" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
EditDailyHourReport.groovy | SpaceAroundOperator | 3 | 278 | [SRC]leavePlanDay = "pd" + (emplLeaveEntry.fromDate.getTime()..*60*60*1000) [MSG]The operator "*" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace |
EditDailyHourReport.groovy | SpaceAroundOperator | 3 | 278 | [SRC]leavePlanDay = "pd" + (emplLeaveEntry.fromDate.getTime()..*60*60*1000) [MSG]The operator "*" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
EditDailyHourReport.groovy | SpaceAroundOperator | 3 | 278 | [SRC]leavePlanDay = "pd" + (emplLeaveEntry.fromDate.getTime()..*60*60*1000) [MSG]The operator "*" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace |
EditDailyHourReport.groovy | SpaceAroundOperator | 3 | 278 | [SRC]leavePlanDay = "pd" + (emplLeaveEntry.fromDate.getTime()..*60*60*1000) [MSG]The operator "*" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
EditDailyHourReport.groovy | SpaceAroundOperator | 3 | 278 | [SRC]leavePlanDay = "pd" + (emplLeaveEntry.fromDate.getTime()..*60*60*1000) [MSG]The operator "*" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace |
EditDailyHourReport.groovy | UnnecessaryGString | 3 | 278 | [SRC]leavePlanDay = "pd" + (emplLeaveEntry.fromDate.getTime()..*60*60*1000) [MSG]The String 'pd' can be wrapped in single quotes instead of double quotes |
EditDailyHourReport.groovy | TrailingWhitespace | 3 | 279 | [SRC]resultPlanHours = runService('getPartyLeaveHoursForDate', [MSG]Line ends with whitespace characters |
EditDailyHourReport.groovy | UnnecessaryGString | 3 | 280 | [SRC]["userLogin": parameters.userLogin, "partyId": emplLeave..y.fromDate]) [MSG]The String 'userLogin' can be wrapped in single quotes instead of double quotes |
EditDailyHourReport.groovy | UnnecessaryGString | 3 | 280 | [SRC]["userLogin": parameters.userLogin, "partyId": emplLeave..y.fromDate]) [MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes |
EditDailyHourReport.groovy | UnnecessaryGString | 3 | 280 | [SRC]["userLogin": parameters.userLogin, "partyId": emplLeave..y.fromDate]) [MSG]The String 'leaveTypeId' can be wrapped in single quotes instead of double quotes |
EditDailyHourReport.groovy | UnnecessaryGString | 3 | 280 | [SRC]["userLogin": parameters.userLogin, "partyId": emplLeave..y.fromDate]) [MSG]The String 'fromDate' can be wrapped in single quotes instead of double quotes |
EditDailyHourReport.groovy | UnnecessaryGString | 3 | 283 | [SRC]if ("pd0".equals(leavePlanDay)) pDay0Total += leavePlanHours [MSG]The String 'pd0' can be wrapped in single quotes instead of double quotes |
EditDailyHourReport.groovy | UnnecessaryGString | 3 | 284 | [SRC]if ("pd1".equals(leavePlanDay)) pDay1Total += leavePlanHours [MSG]The String 'pd1' can be wrapped in single quotes instead of double quotes |
EditDailyHourReport.groovy | UnnecessaryGString | 3 | 285 | [SRC]if ("pd2".equals(leavePlanDay)) pDay2Total += leavePlanHours [MSG]The String 'pd2' can be wrapped in single quotes instead of double quotes |
EditDailyHourReport.groovy | UnnecessaryGString | 3 | 286 | [SRC]if ("pd3".equals(leavePlanDay)) pDay3Total += leavePlanHours [MSG]The String 'pd3' can be wrapped in single quotes instead of double quotes |
EditDailyHourReport.groovy | UnnecessaryGString | 3 | 287 | [SRC]if ("pd4".equals(leavePlanDay)) pDay4Total += leavePlanHours [MSG]The String 'pd4' can be wrapped in single quotes instead of double quotes |
EditDailyHourReport.groovy | UnnecessaryGString | 3 | 288 | [SRC]if ("pd5".equals(leavePlanDay)) pDay5Total += leavePlanHours [MSG]The String 'pd5' can be wrapped in single quotes instead of double quotes |
EditDailyHourReport.groovy | UnnecessaryGString | 3 | 289 | [SRC]if ("pd6".equals(leavePlanDay)) pDay6Total += leavePlanHours [MSG]The String 'pd6' can be wrapped in single quotes instead of double quotes |
EditDailyHourReport.groovy | UnnecessaryGString | 3 | 292 | [SRC]leaveEntry.rateTypeId = "STANDARD" [MSG]The String 'STANDARD' can be wrapped in single quotes instead of double quotes |
EditDailyHourReport.groovy | UnnecessaryGString | 3 | 306 | [SRC]if (!"TIMESHEET_COMPLETED".equals(timesheet.statusId)) { [MSG]The String 'TIMESHEET_COMPLETED' can be wrapped in single quotes instead of double quotes |
EditDailyHourReport.groovy | SpaceAroundOperator | 3 | 307 | [SRC]for (c=0; c < 3; c++) { // add empty lines [MSG]The operator "=" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
EditDailyHourReport.groovy | SpaceAroundOperator | 3 | 307 | [SRC]for (c=0; c < 3; c++) { // add empty lines [MSG]The operator "=" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace |
EditDailyHourReport.groovy | SpaceAroundMapEntryColon | 3 | 308 | [SRC]entries.add(["timesheetId" : timesheet.timesheetId]) [MSG]The colon for the literal Map entry for key [timesheetId] within class org.apache.ofbiz.scrum.None is not preceded by a match for regular expression [\S] |
EditDailyHourReport.groovy | UnnecessaryGString | 3 | 308 | [SRC]entries.add(["timesheetId" : timesheet.timesheetId]) [MSG]The String 'timesheetId' can be wrapped in single quotes instead of double quotes |
EditDailyHourReport.groovy | SpaceAroundMapEntryColon | 3 | 314 | [SRC]entry = ["timesheetId" : timesheet.timesheetId] [MSG]The colon for the literal Map entry for key [timesheetId] within class org.apache.ofbiz.scrum.None is not preceded by a match for regular expression [\S] |
EditDailyHourReport.groovy | UnnecessaryGString | 3 | 314 | [SRC]entry = ["timesheetId" : timesheet.timesheetId] [MSG]The String 'timesheetId' can be wrapped in single quotes instead of double quotes |
EditDailyHourReport.groovy | UnnecessaryObjectReferences | 3 | 323 | [SRC]entry.pd1 = pDay1Total [MSG]The code could be more concise by using a with() or identity() block |
EditDailyHourReport.groovy | UnnecessaryObjectReferences | 3 | 324 | [SRC]entry.pd2 = pDay2Total [MSG]The code could be more concise by using a with() or identity() block |
EditDailyHourReport.groovy | UnnecessaryObjectReferences | 3 | 325 | [SRC]entry.pd3 = pDay3Total [MSG]The code could be more concise by using a with() or identity() block |
EditDailyHourReport.groovy | UnnecessaryObjectReferences | 3 | 326 | [SRC]entry.pd4 = pDay4Total [MSG]The code could be more concise by using a with() or identity() block |
EditDailyHourReport.groovy | UnnecessaryObjectReferences | 3 | 327 | [SRC]entry.pd5 = pDay5Total [MSG]The code could be more concise by using a with() or identity() block |
EditDailyHourReport.groovy | UnnecessaryObjectReferences | 3 | 328 | [SRC]entry.pd6 = pDay6Total [MSG]The code could be more concise by using a with() or identity() block |
EditDailyHourReport.groovy | UnnecessaryObjectReferences | 3 | 329 | [SRC]entry.phaseName = uiLabelMap.ScrumTotals [MSG]The code could be more concise by using a with() or identity() block |
EditDailyHourReport.groovy | UnnecessaryGString | 3 | 330 | [SRC]entry.workEffortId = "Totals" [MSG]The String 'Totals' can be wrapped in single quotes instead of double quotes |
EditDailyHourReport.groovy | UnnecessaryObjectReferences | 3 | 330 | [SRC]entry.workEffortId = "Totals" [MSG]The code could be more concise by using a with() or identity() block |
EditDailyHourReport.groovy | UnnecessaryObjectReferences | 3 | 331 | [SRC]entry.total = day0Total + day1Total + day2Total + day3To.. + day6Total [MSG]The code could be more concise by using a with() or identity() block |
EditDailyHourReport.groovy | UnnecessaryGString | 3 | 336 | [SRC]timesheetsDb = from("Timesheet").where("partyId", partyI...queryList() [MSG]The String 'Timesheet' can be wrapped in single quotes instead of double quotes |
EditDailyHourReport.groovy | UnnecessaryGString | 3 | 336 | [SRC]timesheetsDb = from("Timesheet").where("partyId", partyI...queryList() [MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes |
EditDailyHourReport.groovy | UnnecessaryGString | 3 | 336 | [SRC]timesheetsDb = from("Timesheet").where("partyId", partyI...queryList() [MSG]The String 'fromDate DESC' can be wrapped in single quotes instead of double quotes |
EditDailyHourReport.groovy | UnnecessaryGString | 3 | 342 | [SRC]leaveExprsList.add(EntityCondition.makeCondition("fromDa..b.fromDate)) [MSG]The String 'fromDate' can be wrapped in single quotes instead of double quotes |
EditDailyHourReport.groovy | UnnecessaryGString | 3 | 343 | [SRC]leaveExprsList.add(EntityCondition.makeCondition("fromDa..b.thruDate)) [MSG]The String 'fromDate' can be wrapped in single quotes instead of double quotes |
EditDailyHourReport.groovy | UnnecessaryGString | 3 | 344 | [SRC]leaveExprsList.add(EntityCondition.makeCondition("partyI..S, partyId)) [MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes |
EditDailyHourReport.groovy | UnnecessaryGString | 3 | 345 | [SRC]emplLeaveList = from("EmplLeave").where(leaveExprsList)...ryIterator() [MSG]The String 'EmplLeave' can be wrapped in single quotes instead of double quotes |
EditDailyHourReport.groovy | TrailingWhitespace | 3 | 347 | [SRC] [MSG]Line ends with whitespace characters |
EditDailyHourReport.groovy | TrailingWhitespace | 3 | 350 | [SRC]resultHour = runService('getPartyLeaveHoursForDate', [MSG]Line ends with whitespace characters |
EditDailyHourReport.groovy | UnnecessaryGString | 3 | 351 | [SRC]["userLogin": parameters.userLogin, "partyId": emplLeave..y.fromDate]) [MSG]The String 'userLogin' can be wrapped in single quotes instead of double quotes |
EditDailyHourReport.groovy | UnnecessaryGString | 3 | 351 | [SRC]["userLogin": parameters.userLogin, "partyId": emplLeave..y.fromDate]) [MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes |
EditDailyHourReport.groovy | UnnecessaryGString | 3 | 351 | [SRC]["userLogin": parameters.userLogin, "partyId": emplLeave..y.fromDate]) [MSG]The String 'leaveTypeId' can be wrapped in single quotes instead of double quotes |
EditDailyHourReport.groovy | UnnecessaryGString | 3 | 351 | [SRC]["userLogin": parameters.userLogin, "partyId": emplLeave..y.fromDate]) [MSG]The String 'fromDate' can be wrapped in single quotes instead of double quotes |
EditDailyHourReport.groovy | UnnecessaryGString | 3 | 360 | [SRC]entries = timesheetDb.getRelated("TimeEntry", null, null, false) [MSG]The String 'TimeEntry' can be wrapped in single quotes instead of double quotes |
EditDailyHourReport.groovy | SpaceAroundOperator | 3 | 375 | [SRC]taskList=[] [MSG]The operator "=" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
EditDailyHourReport.groovy | SpaceAroundOperator | 3 | 375 | [SRC]taskList=[] [MSG]The operator "=" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace |
EditDailyHourReport.groovy | SpaceAfterComma | 3 | 378 | [SRC]projectAndTaskList = from("ProjectSprintBacklogAndTask")...queryList() [MSG]The parameter taskActualStartDate DESC in the call to method orderBy within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
EditDailyHourReport.groovy | SpaceAfterComma | 3 | 378 | [SRC]projectAndTaskList = from("ProjectSprintBacklogAndTask")...queryList() [MSG]The map entry taskCurrentStatusId:STS_CREATED within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
EditDailyHourReport.groovy | SpaceAroundMapEntryColon | 3 | 378 | [SRC]projectAndTaskList = from("ProjectSprintBacklogAndTask")...queryList() [MSG]The colon for the literal Map entry for key [sprintTypeId] within class org.apache.ofbiz.scrum.None is not preceded by a match for regular expression [\S] |
EditDailyHourReport.groovy | SpaceAroundMapEntryColon | 3 | 378 | [SRC]projectAndTaskList = from("ProjectSprintBacklogAndTask")...queryList() [MSG]The colon for the literal Map entry for key [taskCurrentStatusId] within class org.apache.ofbiz.scrum.None is not preceded by a match for regular expression [\S] |
EditDailyHourReport.groovy | UnnecessaryGString | 3 | 378 | [SRC]projectAndTaskList = from("ProjectSprintBacklogAndTask")...queryList() [MSG]The String 'ProjectSprintBacklogAndTask' can be wrapped in single quotes instead of double quotes |
EditDailyHourReport.groovy | UnnecessaryGString | 3 | 378 | [SRC]projectAndTaskList = from("ProjectSprintBacklogAndTask")...queryList() [MSG]The String 'sprintTypeId' can be wrapped in single quotes instead of double quotes |
EditDailyHourReport.groovy | UnnecessaryGString | 3 | 378 | [SRC]projectAndTaskList = from("ProjectSprintBacklogAndTask")...queryList() [MSG]The String 'SCRUM_SPRINT' can be wrapped in single quotes instead of double quotes |
EditDailyHourReport.groovy | UnnecessaryGString | 3 | 378 | [SRC]projectAndTaskList = from("ProjectSprintBacklogAndTask")...queryList() [MSG]The String 'taskCurrentStatusId' can be wrapped in single quotes instead of double quotes |
EditDailyHourReport.groovy | UnnecessaryGString | 3 | 378 | [SRC]projectAndTaskList = from("ProjectSprintBacklogAndTask")...queryList() [MSG]The String 'STS_CREATED' can be wrapped in single quotes instead of double quotes |
EditDailyHourReport.groovy | UnnecessaryGString | 3 | 378 | [SRC]projectAndTaskList = from("ProjectSprintBacklogAndTask")...queryList() [MSG]The String 'projectName ASC' can be wrapped in single quotes instead of double quotes |
EditDailyHourReport.groovy | UnnecessaryGString | 3 | 378 | [SRC]projectAndTaskList = from("ProjectSprintBacklogAndTask")...queryList() [MSG]The String 'taskActualStartDate DESC' can be wrapped in single quotes instead of double quotes |
EditDailyHourReport.groovy | Indentation | 3 | 380 | [SRC]userLoginId = userLogin.partyId [MSG]The statement on line 380 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Depending on your chaining style, expected one of [5, 9, 13] or one of [23, 27, 31] columns, but was 1 |
EditDailyHourReport.groovy | UnnecessaryGString | 3 | 382 | [SRC]workEffortList = from("WorkEffortAndProduct").where("wor...queryList() [MSG]The String 'WorkEffortAndProduct' can be wrapped in single quotes instead of double quotes |
EditDailyHourReport.groovy | UnnecessaryGString | 3 | 382 | [SRC]workEffortList = from("WorkEffortAndProduct").where("wor...queryList() [MSG]The String 'workEffortId' can be wrapped in single quotes instead of double quotes |
EditDailyHourReport.groovy | NoTabCharacter | 3 | 384 | [MSG]The tab character is not allowed in source files |
EditDailyHourReport.groovy | TrailingWhitespace | 3 | 384 | [SRC] [MSG]Line ends with whitespace characters |
EditDailyHourReport.groovy | UnnecessaryGString | 3 | 385 | [SRC]partyAssignmentSprintList = from("WorkEffortPartyAssignm...queryList() [MSG]The String 'WorkEffortPartyAssignment' can be wrapped in single quotes instead of double quotes |
EditDailyHourReport.groovy | UnnecessaryGString | 3 | 385 | [SRC]partyAssignmentSprintList = from("WorkEffortPartyAssignm...queryList() [MSG]The String 'workEffortId' can be wrapped in single quotes instead of double quotes |
EditDailyHourReport.groovy | UnnecessaryGString | 3 | 385 | [SRC]partyAssignmentSprintList = from("WorkEffortPartyAssignm...queryList() [MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes |
EditDailyHourReport.groovy | UnnecessaryGString | 3 | 390 | [SRC]partyAssignmentTaskList = from("WorkEffortPartyAssignmen...queryList() [MSG]The String 'WorkEffortPartyAssignment' can be wrapped in single quotes instead of double quotes |
EditDailyHourReport.groovy | UnnecessaryGString | 3 | 390 | [SRC]partyAssignmentTaskList = from("WorkEffortPartyAssignmen...queryList() [MSG]The String 'workEffortId' can be wrapped in single quotes instead of double quotes |
EditDailyHourReport.groovy | Indentation | 3 | 395 | [SRC]backlogStatusId = projectAndTaskMap.backlogStatusId [MSG]The statement on line 395 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [13, 17, 21] but was 4 |
EditDailyHourReport.groovy | Indentation | 3 | 396 | [SRC]if ("RF_SCRUM_MEETINGS".equals(custRequestTypeId) && "CR..StatusId)) { [MSG]The statement on line 396 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [13, 17, 21] but was 4 |
EditDailyHourReport.groovy | UnnecessaryGString | 3 | 396 | [SRC]if ("RF_SCRUM_MEETINGS".equals(custRequestTypeId) && "CR..StatusId)) { [MSG]The String 'RF_SCRUM_MEETINGS' can be wrapped in single quotes instead of double quotes |
EditDailyHourReport.groovy | UnnecessaryGString | 3 | 396 | [SRC]if ("RF_SCRUM_MEETINGS".equals(custRequestTypeId) && "CR..StatusId)) { [MSG]The String 'CRQ_REVIEWED' can be wrapped in single quotes instead of double quotes |
EditDailyHourReport.groovy | Indentation | 3 | 397 | [SRC]projectSprintBacklogAndTaskList.add(projectAndTaskMap) [MSG]The statement on line 397 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [17, 21, 25] but was 5 |
EditDailyHourReport.groovy | Indentation | 3 | 400 | [SRC]projectSprintBacklogAndTaskList.add(0,projectAndTaskMap) [MSG]The statement on line 400 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [13, 17, 21] but was 6 |
EditDailyHourReport.groovy | SpaceAfterComma | 3 | 400 | [SRC]projectSprintBacklogAndTaskList.add(0,projectAndTaskMap) [MSG]The parameter projectAndTaskMap in the call to method add within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
EditDailyHourReport.groovy | SpaceAroundOperator | 3 | 406 | [SRC]unplanList=[] [MSG]The operator "=" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
EditDailyHourReport.groovy | SpaceAroundOperator | 3 | 406 | [SRC]unplanList=[] [MSG]The operator "=" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace |
EditDailyHourReport.groovy | SpaceAfterComma | 3 | 409 | [SRC]custRequestList = from("CustRequest").where("custRequest...queryList() [MSG]The parameter statusId in the call to method where within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
EditDailyHourReport.groovy | UnnecessaryGString | 3 | 409 | [SRC]custRequestList = from("CustRequest").where("custRequest...queryList() [MSG]The String 'CustRequest' can be wrapped in single quotes instead of double quotes |
EditDailyHourReport.groovy | UnnecessaryGString | 3 | 409 | [SRC]custRequestList = from("CustRequest").where("custRequest...queryList() [MSG]The String 'custRequestTypeId' can be wrapped in single quotes instead of double quotes |
EditDailyHourReport.groovy | UnnecessaryGString | 3 | 409 | [SRC]custRequestList = from("CustRequest").where("custRequest...queryList() [MSG]The String 'RF_UNPLAN_BACKLOG' can be wrapped in single quotes instead of double quotes |
EditDailyHourReport.groovy | UnnecessaryGString | 3 | 409 | [SRC]custRequestList = from("CustRequest").where("custRequest...queryList() [MSG]The String 'statusId' can be wrapped in single quotes instead of double quotes |
EditDailyHourReport.groovy | UnnecessaryGString | 3 | 409 | [SRC]custRequestList = from("CustRequest").where("custRequest...queryList() [MSG]The String 'CRQ_REVIEWED' can be wrapped in single quotes instead of double quotes |
EditDailyHourReport.groovy | UnnecessaryGString | 3 | 409 | [SRC]custRequestList = from("CustRequest").where("custRequest...queryList() [MSG]The String 'custRequestDate DESC' can be wrapped in single quotes instead of double quotes |
EditDailyHourReport.groovy | UnnecessaryGString | 3 | 412 | [SRC]custRequestItemList = custRequestMap.getRelated("CustReq..null, false) [MSG]The String 'CustRequestItem' can be wrapped in single quotes instead of double quotes |
EditDailyHourReport.groovy | Indentation | 3 | 413 | [SRC]custRequestItem = [MSG]The statement on line 413 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Depending on your chaining style, expected one of [13, 17, 21] or one of [28, 32, 36] columns, but was 4 |
EditDailyHourReport.groovy | TrailingWhitespace | 3 | 413 | [SRC]custRequestItem = [MSG]Line ends with whitespace characters |
EditDailyHourReport.groovy | Indentation | 3 | 415 | [SRC]product = from("Product").where("productId", productOut).queryOne() [MSG]The statement on line 415 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Depending on your chaining style, expected one of [13, 17, 21] or one of [28, 32, 36] columns, but was 4 |
EditDailyHourReport.groovy | UnnecessaryGString | 3 | 415 | [SRC]product = from("Product").where("productId", productOut).queryOne() [MSG]The String 'Product' can be wrapped in single quotes instead of double quotes |
EditDailyHourReport.groovy | UnnecessaryGString | 3 | 415 | [SRC]product = from("Product").where("productId", productOut).queryOne() [MSG]The String 'productId' can be wrapped in single quotes instead of double quotes |
EditDailyHourReport.groovy | UnnecessaryGString | 3 | 419 | [SRC]custRequestWorkEffortList = from("CustRequestWorkEffort"...queryList() [MSG]The String 'CustRequestWorkEffort' can be wrapped in single quotes instead of double quotes |
EditDailyHourReport.groovy | UnnecessaryGString | 3 | 419 | [SRC]custRequestWorkEffortList = from("CustRequestWorkEffort"...queryList() [MSG]The String 'custRequestId' can be wrapped in single quotes instead of double quotes |
EditDailyHourReport.groovy | UnnecessaryGString | 3 | 421 | [SRC]partyAssignmentTaskList = from("WorkEffortPartyAssignmen...queryList() [MSG]The String 'WorkEffortPartyAssignment' can be wrapped in single quotes instead of double quotes |
EditDailyHourReport.groovy | UnnecessaryGString | 3 | 421 | [SRC]partyAssignmentTaskList = from("WorkEffortPartyAssignmen...queryList() [MSG]The String 'workEffortId' can be wrapped in single quotes instead of double quotes |
EditDailyHourReport.groovy | UnnecessaryGString | 3 | 426 | [SRC]workEffortMap = from("WorkEffort").where("workEffortId",..).queryOne() [MSG]The String 'WorkEffort' can be wrapped in single quotes instead of double quotes |
EditDailyHourReport.groovy | UnnecessaryGString | 3 | 426 | [SRC]workEffortMap = from("WorkEffort").where("workEffortId",..).queryOne() [MSG]The String 'workEffortId' can be wrapped in single quotes instead of double quotes |
EditDailyHourReport.groovy | Indentation | 3 | 431 | [SRC]result.custRequestTypeId = custRequestMap.custRequestTypeId [MSG]The statement on line 431 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [29, 33, 37] but was 8 |
EditDailyHourReport.groovy | Indentation | 3 | 432 | [SRC]result.taskTypeId = workEffortMap.workEffortTypeId [MSG]The statement on line 432 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [29, 33, 37] but was 8 |
EditDailyHourReport.groovy | SpaceAfterComma | 3 | 441 | [SRC]projectSprintBacklogAndTaskList = UtilMisc.sortMaps(proj..RequestId"]) [MSG]The list element sprintName within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
EditDailyHourReport.groovy | SpaceAfterComma | 3 | 441 | [SRC]projectSprintBacklogAndTaskList = UtilMisc.sortMaps(proj..RequestId"]) [MSG]The list element -taskTypeId within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
EditDailyHourReport.groovy | SpaceAfterComma | 3 | 441 | [SRC]projectSprintBacklogAndTaskList = UtilMisc.sortMaps(proj..RequestId"]) [MSG]The list element custRequestId within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
EditDailyHourReport.groovy | UnnecessaryGString | 3 | 441 | [SRC]projectSprintBacklogAndTaskList = UtilMisc.sortMaps(proj..RequestId"]) [MSG]The String 'projectName' can be wrapped in single quotes instead of double quotes |
EditDailyHourReport.groovy | UnnecessaryGString | 3 | 441 | [SRC]projectSprintBacklogAndTaskList = UtilMisc.sortMaps(proj..RequestId"]) [MSG]The String 'sprintName' can be wrapped in single quotes instead of double quotes |
EditDailyHourReport.groovy | UnnecessaryGString | 3 | 441 | [SRC]projectSprintBacklogAndTaskList = UtilMisc.sortMaps(proj..RequestId"]) [MSG]The String '-taskTypeId' can be wrapped in single quotes instead of double quotes |
EditDailyHourReport.groovy | UnnecessaryGString | 3 | 441 | [SRC]projectSprintBacklogAndTaskList = UtilMisc.sortMaps(proj..RequestId"]) [MSG]The String 'custRequestId' can be wrapped in single quotes instead of double quotes |
EditDailyHourReport.groovy | Indentation | 3 | 443 | [SRC]blTypeId = projectSprintBacklogAndTaskMap.custRequestTypeId [MSG]The statement on line 443 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Depending on your chaining style, expected one of [5, 9, 13] or one of [36, 40, 44] columns, but was 2 |
EditDailyHourReport.groovy | Indentation | 3 | 444 | [SRC]if (blTypeId == "RF_SCRUM_MEETINGS"){ [MSG]The statement on line 444 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Depending on your chaining style, expected one of [5, 9, 13] or one of [36, 40, 44] columns, but was 2 |
EditDailyHourReport.groovy | SpaceBeforeOpeningBrace | 3 | 444 | [SRC]if (blTypeId == "RF_SCRUM_MEETINGS"){ [MSG]The opening brace for the block in class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
EditDailyHourReport.groovy | UnnecessaryGString | 3 | 444 | [SRC]if (blTypeId == "RF_SCRUM_MEETINGS"){ [MSG]The String 'RF_SCRUM_MEETINGS' can be wrapped in single quotes instead of double quotes |
EditDailyHourReport.groovy | Indentation | 3 | 445 | [SRC]taskList.add(projectSprintBacklogAndTaskMap) [MSG]The statement on line 445 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [9, 13, 17] but was 3 |
EditDailyHourReport.groovy | SpaceAfterComma | 3 | 448 | [SRC]projectSprintBacklogAndTaskList = UtilMisc.sortMaps(proj..RequestId"]) [MSG]The list element sprintName within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
EditDailyHourReport.groovy | SpaceAfterComma | 3 | 448 | [SRC]projectSprintBacklogAndTaskList = UtilMisc.sortMaps(proj..RequestId"]) [MSG]The list element -taskTypeId within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
EditDailyHourReport.groovy | SpaceAfterComma | 3 | 448 | [SRC]projectSprintBacklogAndTaskList = UtilMisc.sortMaps(proj..RequestId"]) [MSG]The list element custRequestId within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
EditDailyHourReport.groovy | UnnecessaryGString | 3 | 448 | [SRC]projectSprintBacklogAndTaskList = UtilMisc.sortMaps(proj..RequestId"]) [MSG]The String '-projectName' can be wrapped in single quotes instead of double quotes |
EditDailyHourReport.groovy | UnnecessaryGString | 3 | 448 | [SRC]projectSprintBacklogAndTaskList = UtilMisc.sortMaps(proj..RequestId"]) [MSG]The String 'sprintName' can be wrapped in single quotes instead of double quotes |
EditDailyHourReport.groovy | UnnecessaryGString | 3 | 448 | [SRC]projectSprintBacklogAndTaskList = UtilMisc.sortMaps(proj..RequestId"]) [MSG]The String '-taskTypeId' can be wrapped in single quotes instead of double quotes |
EditDailyHourReport.groovy | UnnecessaryGString | 3 | 448 | [SRC]projectSprintBacklogAndTaskList = UtilMisc.sortMaps(proj..RequestId"]) [MSG]The String 'custRequestId' can be wrapped in single quotes instead of double quotes |
EditDailyHourReport.groovy | Indentation | 3 | 450 | [SRC]blTypeId = projectSprintBacklogAndTaskMap.custRequestTypeId [MSG]The statement on line 450 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Depending on your chaining style, expected one of [5, 9, 13] or one of [36, 40, 44] columns, but was 2 |
EditDailyHourReport.groovy | InvertedCondition | 3 | 451 | [SRC]if ("RF_PROD_BACKLOG" == blTypeId){ [MSG]RF_PROD_BACKLOG is a constant expression on the left side of a compare equals operation |
EditDailyHourReport.groovy | Indentation | 3 | 451 | [SRC]if ("RF_PROD_BACKLOG" == blTypeId){ [MSG]The statement on line 451 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Depending on your chaining style, expected one of [5, 9, 13] or one of [36, 40, 44] columns, but was 2 |
EditDailyHourReport.groovy | SpaceBeforeOpeningBrace | 3 | 451 | [SRC]if ("RF_PROD_BACKLOG" == blTypeId){ [MSG]The opening brace for the block in class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
EditDailyHourReport.groovy | UnnecessaryGString | 3 | 451 | [SRC]if ("RF_PROD_BACKLOG" == blTypeId){ [MSG]The String 'RF_PROD_BACKLOG' can be wrapped in single quotes instead of double quotes |
EditDailyHourReport.groovy | Indentation | 3 | 452 | [SRC]taskList.add(0,projectSprintBacklogAndTaskMap) [MSG]The statement on line 452 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [9, 13, 17] but was 3 |
EditDailyHourReport.groovy | SpaceAfterComma | 3 | 452 | [SRC]taskList.add(0,projectSprintBacklogAndTaskMap) [MSG]The parameter projectSprintBacklogAndTaskMap in the call to method add within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
EditDailyHourReport.groovy | SpaceAfterComma | 3 | 455 | [SRC]unplanList = UtilMisc.sortMaps(unplanList,["-productName..RequestId"]) [MSG]The parameter [-productName, -taskTypeId, custRequestId] in the call to method sortMaps within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
EditDailyHourReport.groovy | SpaceAfterComma | 3 | 455 | [SRC]unplanList = UtilMisc.sortMaps(unplanList,["-productName..RequestId"]) [MSG]The list element -taskTypeId within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
EditDailyHourReport.groovy | SpaceAfterComma | 3 | 455 | [SRC]unplanList = UtilMisc.sortMaps(unplanList,["-productName..RequestId"]) [MSG]The list element custRequestId within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
EditDailyHourReport.groovy | UnnecessaryGString | 3 | 455 | [SRC]unplanList = UtilMisc.sortMaps(unplanList,["-productName..RequestId"]) [MSG]The String '-productName' can be wrapped in single quotes instead of double quotes |
EditDailyHourReport.groovy | UnnecessaryGString | 3 | 455 | [SRC]unplanList = UtilMisc.sortMaps(unplanList,["-productName..RequestId"]) [MSG]The String '-taskTypeId' can be wrapped in single quotes instead of double quotes |
EditDailyHourReport.groovy | UnnecessaryGString | 3 | 455 | [SRC]unplanList = UtilMisc.sortMaps(unplanList,["-productName..RequestId"]) [MSG]The String 'custRequestId' can be wrapped in single quotes instead of double quotes |
EditDailyHourReport.groovy | SpaceAroundClosureArrow | 3 | 456 | [SRC]unplanList.each { unplanMap-> [MSG]The closure arrow (->) within class org.apache.ofbiz.scrum.None is not surrounded by a space or whitespace |
EditDailyHourReport.groovy | Indentation | 3 | 457 | [SRC]taskList.add(0,unplanMap) [MSG]The statement on line 457 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Depending on your chaining style, expected one of [5, 9, 13] or one of [15, 19, 23] columns, but was 3 |
EditDailyHourReport.groovy | SpaceAfterComma | 3 | 457 | [SRC]taskList.add(0,unplanMap) [MSG]The parameter unplanMap in the call to method add within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
EditEmailAndTelecomNumber.groovy | UnnecessaryGString | 3 | 25 | [SRC]party = userLogin.getRelatedOne("Party", false) [MSG]The String 'Party' can be wrapped in single quotes instead of double quotes |
EditEmailAndTelecomNumber.groovy | UnnecessaryGString | 3 | 27 | [SRC]contactMech = EntityUtil.getFirst(ContactHelper.getConta..SS", false)) [MSG]The String 'PRIMARY_EMAIL' can be wrapped in single quotes instead of double quotes |
EditEmailAndTelecomNumber.groovy | UnnecessaryGString | 3 | 27 | [SRC]contactMech = EntityUtil.getFirst(ContactHelper.getConta..SS", false)) [MSG]The String 'EMAIL_ADDRESS' can be wrapped in single quotes instead of double quotes |
EditEmailAndTelecomNumber.groovy | UnnecessaryGString | 3 | 33 | [SRC]contactMech = EntityUtil.getFirst(ContactHelper.getConta..ER", false)) [MSG]The String 'PRIMARY_PHONE' can be wrapped in single quotes instead of double quotes |
EditEmailAndTelecomNumber.groovy | UnnecessaryGString | 3 | 33 | [SRC]contactMech = EntityUtil.getFirst(ContactHelper.getConta..ER", false)) [MSG]The String 'TELECOM_NUMBER' can be wrapped in single quotes instead of double quotes |
EditEmailAndTelecomNumber.groovy | UnnecessaryGString | 3 | 35 | [SRC]partyContactMech = from("PartyContactMech").where("party..queryFirst() [MSG]The String 'PartyContactMech' can be wrapped in single quotes instead of double quotes |
EditEmailAndTelecomNumber.groovy | UnnecessaryGString | 3 | 35 | [SRC]partyContactMech = from("PartyContactMech").where("party..queryFirst() [MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes |
EditEmailAndTelecomNumber.groovy | UnnecessaryGString | 3 | 35 | [SRC]partyContactMech = from("PartyContactMech").where("party..queryFirst() [MSG]The String 'contactMechId' can be wrapped in single quotes instead of double quotes |
EditEmailAndTelecomNumber.groovy | UnnecessaryGString | 3 | 37 | [SRC]telecomNumber = partyContactMech.getRelatedOne("TelecomNumber", false) [MSG]The String 'TelecomNumber' can be wrapped in single quotes instead of double quotes |
EditMaint.groovy | UnnecessaryGString | 3 | 29 | [SRC]fixedAssetMaint = from("FixedAssetMaint").where("schedul..queryFirst() [MSG]The String 'FixedAssetMaint' can be wrapped in single quotes instead of double quotes |
EditMaint.groovy | UnnecessaryGString | 3 | 29 | [SRC]fixedAssetMaint = from("FixedAssetMaint").where("schedul..queryFirst() [MSG]The String 'scheduleWorkEffortId' can be wrapped in single quotes instead of double quotes |
EditPaymentMethod.groovy | UnnecessaryGroovyImport | 3 | 21 | [SRC]import java.util.HashMap |
EditPaymentMethod.groovy | UnusedImport | 3 | 21 | [SRC]import java.util.HashMap [MSG]The [java.util.HashMap] import is never referenced |
EditPaymentMethod.groovy | UnusedImport | 3 | 22 | [SRC]import org.apache.ofbiz.base.util.UtilHttp [MSG]The [org.apache.ofbiz.base.util.UtilHttp] import is never referenced |
EditPaymentMethod.groovy | UnnecessaryGString | 3 | 35 | [SRC]context.put("postalAddressInfos", postalAddressInfos) [MSG]The String 'postalAddressInfos' can be wrapped in single quotes instead of double quotes |
EditPaymentMethod.groovy | CouldBeElvis | 3 | 42 | [SRC]if (!creditCardData) creditCardData = [:] [MSG]Code could use elvis operator: creditCardData = creditCardData ?: [:] |
EditPaymentMethod.groovy | CouldBeElvis | 3 | 47 | [SRC]if (!giftCardData) giftCardData = [:] [MSG]Code could use elvis operator: giftCardData = giftCardData ?: [:] |
EditPaymentMethod.groovy | CouldBeElvis | 3 | 52 | [SRC]if (!eftAccountData) eftAccountData = [:] [MSG]Code could use elvis operator: eftAccountData = eftAccountData ?: [:] |
EditPaymentMethod.groovy | CouldBeElvis | 3 | 57 | [SRC]if (!paymentMethodData) paymentMethodData = [:] [MSG]Code could use elvis operator: paymentMethodData = paymentMethodData ?: [:] |
EditPaymentMethod.groovy | UnnecessaryGString | 3 | 61 | [SRC]if (!security.hasEntityPermission("PARTYMGR", "_VIEW", s...partyId)) { [MSG]The String 'PARTYMGR' can be wrapped in single quotes instead of double quotes |
EditPaymentMethod.groovy | UnnecessaryGString | 3 | 61 | [SRC]if (!security.hasEntityPermission("PARTYMGR", "_VIEW", s...partyId)) { [MSG]The String '_VIEW' can be wrapped in single quotes instead of double quotes |
EditPerson.groovy | UnnecessaryGroovyImport | 3 | 21 | [SRC]import java.util.HashMap |
EditPerson.groovy | UnusedImport | 3 | 21 | [SRC]import java.util.HashMap [MSG]The [java.util.HashMap] import is never referenced |
EditPerson.groovy | CouldBeElvis | 3 | 31 | [SRC]if (!personData) personData = [:] [MSG]Code could use elvis operator: personData = personData ?: [:] |
EditShippingAddress.groovy | UnnecessaryGString | 3 | 25 | [SRC]party = userLogin.getRelatedOne("Party", false) [MSG]The String 'Party' can be wrapped in single quotes instead of double quotes |
EditShippingAddress.groovy | UnnecessaryGString | 3 | 27 | [SRC]if ("PERSON".equals(party.partyTypeId)) { [MSG]The String 'PERSON' can be wrapped in single quotes instead of double quotes |
EditShippingAddress.groovy | UnnecessaryGString | 3 | 28 | [SRC]person = from("Person").where("partyId", party.partyId).queryOne() [MSG]The String 'Person' can be wrapped in single quotes instead of double quotes |
EditShippingAddress.groovy | UnnecessaryGString | 3 | 28 | [SRC]person = from("Person").where("partyId", party.partyId).queryOne() [MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes |
EditShippingAddress.groovy | UnnecessaryGString | 3 | 32 | [SRC]group = from("PartyGroup").where("partyId", party.partyId).queryOne() [MSG]The String 'PartyGroup' can be wrapped in single quotes instead of double quotes |
EditShippingAddress.groovy | UnnecessaryGString | 3 | 32 | [SRC]group = from("PartyGroup").where("partyId", party.partyId).queryOne() [MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes |
EditShippingAddress.groovy | UnnecessaryGString | 3 | 34 | [SRC]context.lastName = "" [MSG]The String '' can be wrapped in single quotes instead of double quotes |
EditShippingAddress.groovy | UnnecessaryGString | 3 | 37 | [SRC]contactMech = EntityUtil.getFirst(ContactHelper.getConta..SS", false)) [MSG]The String 'SHIPPING_LOCATION' can be wrapped in single quotes instead of double quotes |
EditShippingAddress.groovy | UnnecessaryGString | 3 | 37 | [SRC]contactMech = EntityUtil.getFirst(ContactHelper.getConta..SS", false)) [MSG]The String 'POSTAL_ADDRESS' can be wrapped in single quotes instead of double quotes |
EditShippingAddress.groovy | UnnecessaryGString | 3 | 39 | [SRC]postalAddress = contactMech.getRelatedOne("PostalAddress", false) [MSG]The String 'PostalAddress' can be wrapped in single quotes instead of double quotes |
EditShippingAddress.groovy | UnnecessaryObjectReferences | 3 | 49 | [SRC]context.shipToCountryGeoId = postalAddress.countryGeoId [MSG]The code could be more concise by using a with() or identity() block |
EditShippingAddress.groovy | UnnecessaryGString | 3 | 50 | [SRC]shipToStateProvinceGeo = from("Geo").where("geoId", post..).queryOne() [MSG]The String 'Geo' can be wrapped in single quotes instead of double quotes |
EditShippingAddress.groovy | UnnecessaryGString | 3 | 50 | [SRC]shipToStateProvinceGeo = from("Geo").where("geoId", post..).queryOne() [MSG]The String 'geoId' can be wrapped in single quotes instead of double quotes |
EditShippingAddress.groovy | UnnecessaryGString | 3 | 54 | [SRC]shipToCountryProvinceGeo = from("Geo").where("geoId", po..).queryOne() [MSG]The String 'Geo' can be wrapped in single quotes instead of double quotes |
EditShippingAddress.groovy | UnnecessaryGString | 3 | 54 | [SRC]shipToCountryProvinceGeo = from("Geo").where("geoId", po..).queryOne() [MSG]The String 'geoId' can be wrapped in single quotes instead of double quotes |
EditShippingAddress.groovy | UnnecessaryGString | 3 | 62 | [SRC]shipToContactMechList = ContactHelper.getContactMech(par..BER", false) [MSG]The String 'PHONE_SHIPPING' can be wrapped in single quotes instead of double quotes |
EditShippingAddress.groovy | UnnecessaryGString | 3 | 62 | [SRC]shipToContactMechList = ContactHelper.getContactMech(par..BER", false) [MSG]The String 'TELECOM_NUMBER' can be wrapped in single quotes instead of double quotes |
EditShippingAddress.groovy | UnnecessaryGString | 3 | 64 | [SRC]shipToTelecomNumber = (EntityUtil.getFirst(shipToContact..ber", false) [MSG]The String 'TelecomNumber' can be wrapped in single quotes instead of double quotes |
EditShippingAddress.groovy | UnnecessaryGString | 3 | 65 | [SRC]pcm = EntityUtil.getFirst(shipToTelecomNumber.getRelated..ull, false)) [MSG]The String 'PartyContactMech' can be wrapped in single quotes instead of double quotes |
EditShippingAddress.groovy | UnnecessaryGString | 3 | 70 | [SRC]shipToFaxNumberList = ContactHelper.getContactMech(party..BER", false) [MSG]The String 'FAX_SHIPPING' can be wrapped in single quotes instead of double quotes |
EditShippingAddress.groovy | UnnecessaryGString | 3 | 70 | [SRC]shipToFaxNumberList = ContactHelper.getContactMech(party..BER", false) [MSG]The String 'TELECOM_NUMBER' can be wrapped in single quotes instead of double quotes |
EditShippingAddress.groovy | UnnecessaryGString | 3 | 72 | [SRC]shipToFaxNumber = (EntityUtil.getFirst(shipToFaxNumberLi..ber", false) [MSG]The String 'TelecomNumber' can be wrapped in single quotes instead of double quotes |
EditShippingAddress.groovy | UnnecessaryGString | 3 | 73 | [SRC]faxPartyContactMech = EntityUtil.getFirst(shipToFaxNumbe..ull, false)) [MSG]The String 'PartyContactMech' can be wrapped in single quotes instead of double quotes |
EditShoppingList.groovy | NoWildcardImports | 3 | 21 | [SRC]import java.util.* [MSG]Wildcard (star) import |
EditShoppingList.groovy | UnnecessaryGroovyImport | 3 | 21 | [SRC]import java.util.* |
EditShoppingList.groovy | NoWildcardImports | 3 | 22 | [SRC]import org.apache.ofbiz.base.util.* [MSG]Wildcard (star) import |
EditShoppingList.groovy | NoWildcardImports | 3 | 23 | [SRC]import org.apache.ofbiz.entity.* [MSG]Wildcard (star) import |
EditShoppingList.groovy | NoWildcardImports | 3 | 24 | [SRC]import org.apache.ofbiz.entity.util.* [MSG]Wildcard (star) import |
EditShoppingList.groovy | NoWildcardImports | 3 | 25 | [SRC]import org.apache.ofbiz.entity.condition.* [MSG]Wildcard (star) import |
EditShoppingList.groovy | NoWildcardImports | 3 | 27 | [SRC]import org.apache.ofbiz.order.shoppingcart.shipping.* [MSG]Wildcard (star) import |
EditShoppingList.groovy | NoWildcardImports | 3 | 28 | [SRC]import org.apache.ofbiz.order.shoppinglist.* [MSG]Wildcard (star) import |
EditShoppingList.groovy | NoWildcardImports | 3 | 29 | [SRC]import org.apache.ofbiz.party.contact.* [MSG]Wildcard (star) import |
EditShoppingList.groovy | NoWildcardImports | 3 | 30 | [SRC]import org.apache.ofbiz.product.catalog.* [MSG]Wildcard (star) import |
EditShoppingList.groovy | NoWildcardImports | 3 | 31 | [SRC]import org.apache.ofbiz.product.store.* [MSG]Wildcard (star) import |
EditShoppingList.groovy | NoWildcardImports | 3 | 32 | [SRC]import org.apache.ofbiz.service.calendar.* [MSG]Wildcard (star) import |
EditShoppingList.groovy | UnusedImport | 3 | 34 | [SRC]import org.apache.ofbiz.widget.renderer.VisualTheme [MSG]The [org.apache.ofbiz.widget.renderer.VisualTheme] import is never referenced |
EditShoppingList.groovy | TrailingWhitespace | 3 | 36 | [SRC]if (userLogin) [MSG]Line ends with whitespace characters |
EditShoppingList.groovy | UnnecessaryGString | 3 | 38 | [SRC]party = userLogin.getRelatedOne("Party", false) [MSG]The String 'Party' can be wrapped in single quotes instead of double quotes |
EditShoppingList.groovy | UnnecessaryGString | 3 | 54 | [SRC]exprList = [EntityCondition.makeCondition("partyId", Ent..in.partyId), [MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes |
EditShoppingList.groovy | UnnecessaryGString | 3 | 55 | [SRC]EntityCondition.makeCondition("listName", EntityOperator..auto-save")] [MSG]The String 'listName' can be wrapped in single quotes instead of double quotes |
EditShoppingList.groovy | UnnecessaryGString | 3 | 55 | [SRC]EntityCondition.makeCondition("listName", EntityOperator..auto-save")] [MSG]The String 'auto-save' can be wrapped in single quotes instead of double quotes |
EditShoppingList.groovy | UnnecessaryGString | 3 | 57 | [SRC]allShoppingLists = from("ShoppingList").where(exprList)....queryList() [MSG]The String 'ShoppingList' can be wrapped in single quotes instead of double quotes |
EditShoppingList.groovy | UnnecessaryGString | 3 | 57 | [SRC]allShoppingLists = from("ShoppingList").where(exprList)....queryList() [MSG]The String 'listName' can be wrapped in single quotes instead of double quotes |
EditShoppingList.groovy | SpaceAroundMapEntryColon | 3 | 58 | [SRC]shoppingLists = EntityUtil.filterByAnd(allShoppingLists,..tId : null]) [MSG]The colon for the literal Map entry for key [parentShoppingListId] within class org.apache.ofbiz.ecommerce.shoppinglist.None is not preceded by a match for regular expression [\S] |
EditShoppingList.groovy | UnnecessaryGString | 3 | 63 | [SRC]shoppingListTypes = from("ShoppingListType").orderBy("de...queryList() [MSG]The String 'ShoppingListType' can be wrapped in single quotes instead of double quotes |
EditShoppingList.groovy | UnnecessaryGString | 3 | 63 | [SRC]shoppingListTypes = from("ShoppingListType").orderBy("de...queryList() [MSG]The String 'description' can be wrapped in single quotes instead of double quotes |
EditShoppingList.groovy | UnnecessaryGString | 3 | 68 | [SRC]shoppingListId = parameterMap.shoppingListId ?: request...pingListId") [MSG]The String 'shoppingListId' can be wrapped in single quotes instead of double quotes |
EditShoppingList.groovy | UnnecessaryGString | 3 | 68 | [SRC]shoppingListId = parameterMap.shoppingListId ?: request...pingListId") [MSG]The String 'currentShoppingListId' can be wrapped in single quotes instead of double quotes |
EditShoppingList.groovy | UnnecessaryGString | 3 | 78 | [SRC]session.setAttribute("currentShoppingListId", shoppingListId) [MSG]The String 'currentShoppingListId' can be wrapped in single quotes instead of double quotes |
EditShoppingList.groovy | UnnecessaryGString | 3 | 82 | [SRC]shoppingList = from("ShoppingList").where("shoppingListI..).queryOne() [MSG]The String 'ShoppingList' can be wrapped in single quotes instead of double quotes |
EditShoppingList.groovy | UnnecessaryGString | 3 | 82 | [SRC]shoppingList = from("ShoppingList").where("shoppingListI..).queryOne() [MSG]The String 'shoppingListId' can be wrapped in single quotes instead of double quotes |
EditShoppingList.groovy | UnnecessaryGString | 3 | 89 | [SRC]shoppingListItems = shoppingList.getRelated("ShoppingLis.. null, true) [MSG]The String 'ShoppingListItem' can be wrapped in single quotes instead of double quotes |
EditShoppingList.groovy | UnnecessaryGString | 3 | 95 | [SRC]product = shoppingListItem.getRelatedOne("Product", true) [MSG]The String 'Product' can be wrapped in single quotes instead of double quotes |
EditShoppingList.groovy | SpaceAroundMapEntryColon | 3 | 97 | [SRC]calcPriceOutMap = runService('calculateProductPrice', [p..: userLogin, [MSG]The colon for the literal Map entry for key [product] within class org.apache.ofbiz.ecommerce.shoppinglist.None is not preceded by a match for regular expression [\S] |
EditShoppingList.groovy | SpaceAroundMapEntryColon | 3 | 97 | [SRC]calcPriceOutMap = runService('calculateProductPrice', [p..: userLogin, [MSG]The colon for the literal Map entry for key [quantity] within class org.apache.ofbiz.ecommerce.shoppinglist.None is not preceded by a match for regular expression [\S] |
EditShoppingList.groovy | SpaceAroundMapEntryColon | 3 | 97 | [SRC]calcPriceOutMap = runService('calculateProductPrice', [p..: userLogin, [MSG]The colon for the literal Map entry for key [currencyUomId] within class org.apache.ofbiz.ecommerce.shoppinglist.None is not preceded by a match for regular expression [\S] |
EditShoppingList.groovy | SpaceAroundMapEntryColon | 3 | 97 | [SRC]calcPriceOutMap = runService('calculateProductPrice', [p..: userLogin, [MSG]The colon for the literal Map entry for key [userLogin] within class org.apache.ofbiz.ecommerce.shoppinglist.None is not preceded by a match for regular expression [\S] |
EditShoppingList.groovy | UnnecessaryGString | 3 | 102 | [SRC]if ("ASSET_USAGE".equals(product.productTypeId) || "ASSE..ctTypeId)) { [MSG]The String 'ASSET_USAGE' can be wrapped in single quotes instead of double quotes |
EditShoppingList.groovy | UnnecessaryGString | 3 | 102 | [SRC]if ("ASSET_USAGE".equals(product.productTypeId) || "ASSE..ctTypeId)) { [MSG]The String 'ASSET_USAGE_OUT_IN' can be wrapped in single quotes instead of double quotes |
EditShoppingList.groovy | SpaceAroundOperator | 3 | 127 | [SRC]totalPrice *= (rentalValue/100 * reservLength) [MSG]The operator "/" within class org.apache.ofbiz.ecommerce.shoppinglist.None is not preceded by a space or whitespace |
EditShoppingList.groovy | SpaceAroundOperator | 3 | 127 | [SRC]totalPrice *= (rentalValue/100 * reservLength) [MSG]The operator "/" within class org.apache.ofbiz.ecommerce.shoppinglist.None is not followed by a space or whitespace |
EditShoppingList.groovy | UnnecessaryGString | 3 | 132 | [SRC]if ("Y".equals(product.isVirtual)) { [MSG]The String 'Y' can be wrapped in single quotes instead of double quotes |
EditShoppingList.groovy | SpaceAroundMapEntryColon | 3 | 133 | [SRC]productVariantAssocs = product.getRelated("MainProductAs..Num"], true) [MSG]The colon for the literal Map entry for key [productAssocTypeId] within class org.apache.ofbiz.ecommerce.shoppinglist.None is not preceded by a match for regular expression [\S] |
EditShoppingList.groovy | UnnecessaryGString | 3 | 133 | [SRC]productVariantAssocs = product.getRelated("MainProductAs..Num"], true) [MSG]The String 'MainProductAssoc' can be wrapped in single quotes instead of double quotes |
EditShoppingList.groovy | UnnecessaryGString | 3 | 133 | [SRC]productVariantAssocs = product.getRelated("MainProductAs..Num"], true) [MSG]The String 'PRODUCT_VARIANT' can be wrapped in single quotes instead of double quotes |
EditShoppingList.groovy | UnnecessaryGString | 3 | 133 | [SRC]productVariantAssocs = product.getRelated("MainProductAs..Num"], true) [MSG]The String 'sequenceNum' can be wrapped in single quotes instead of double quotes |
EditShoppingList.groovy | SpaceAroundOperator | 3 | 146 | [SRC]viewSize = parameters.VIEW_SIZE ? Integer.valueOf(parame..ewSize()?:20 [MSG]The operator "?:" within class org.apache.ofbiz.ecommerce.shoppinglist.None is not preceded by a space or whitespace |
EditShoppingList.groovy | SpaceAroundOperator | 3 | 146 | [SRC]viewSize = parameters.VIEW_SIZE ? Integer.valueOf(parame..ewSize()?:20 [MSG]The operator "?:" within class org.apache.ofbiz.ecommerce.shoppinglist.None is not followed by a space or whitespace |
EditShoppingList.groovy | UnnecessaryGString | 3 | 161 | [SRC]shoppingListType = shoppingList.getRelatedOne("ShoppingL..ype", false) [MSG]The String 'ShoppingListType' can be wrapped in single quotes instead of double quotes |
EditShoppingList.groovy | UnnecessaryGString | 3 | 165 | [SRC]childShoppingLists = from("ShoppingList").where("partyId...queryList() [MSG]The String 'ShoppingList' can be wrapped in single quotes instead of double quotes |
EditShoppingList.groovy | UnnecessaryGString | 3 | 165 | [SRC]childShoppingLists = from("ShoppingList").where("partyId...queryList() [MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes |
EditShoppingList.groovy | UnnecessaryGString | 3 | 165 | [SRC]childShoppingLists = from("ShoppingList").where("partyId...queryList() [MSG]The String 'parentShoppingListId' can be wrapped in single quotes instead of double quotes |
EditShoppingList.groovy | UnnecessaryGString | 3 | 165 | [SRC]childShoppingLists = from("ShoppingList").where("partyId...queryList() [MSG]The String 'listName' can be wrapped in single quotes instead of double quotes |
EditShoppingList.groovy | SpaceAroundMapEntryColon | 3 | 172 | [SRC]childShoppingListPriceMap = runService('calculateShoppin..rencyUomId]) [MSG]The colon for the literal Map entry for key [shoppingListId] within class org.apache.ofbiz.ecommerce.shoppinglist.None is not preceded by a match for regular expression [\S] |
EditShoppingList.groovy | SpaceAroundMapEntryColon | 3 | 172 | [SRC]childShoppingListPriceMap = runService('calculateShoppin..rencyUomId]) [MSG]The colon for the literal Map entry for key [prodCatalogId] within class org.apache.ofbiz.ecommerce.shoppinglist.None is not preceded by a match for regular expression [\S] |
EditShoppingList.groovy | SpaceAroundMapEntryColon | 3 | 172 | [SRC]childShoppingListPriceMap = runService('calculateShoppin..rencyUomId]) [MSG]The colon for the literal Map entry for key [webSiteId] within class org.apache.ofbiz.ecommerce.shoppinglist.None is not preceded by a match for regular expression [\S] |
EditShoppingList.groovy | SpaceAroundMapEntryColon | 3 | 172 | [SRC]childShoppingListPriceMap = runService('calculateShoppin..rencyUomId]) [MSG]The colon for the literal Map entry for key [userLogin] within class org.apache.ofbiz.ecommerce.shoppinglist.None is not preceded by a match for regular expression [\S] |
EditShoppingList.groovy | SpaceAroundMapEntryColon | 3 | 172 | [SRC]childShoppingListPriceMap = runService('calculateShoppin..rencyUomId]) [MSG]The colon for the literal Map entry for key [currencyUomId] within class org.apache.ofbiz.ecommerce.shoppinglist.None is not preceded by a match for regular expression [\S] |
EditShoppingList.groovy | UnnecessaryGString | 3 | 187 | [SRC]parentShoppingList = shoppingList.getRelatedOne("ParentS..ist", false) [MSG]The String 'ParentShoppingList' can be wrapped in single quotes instead of double quotes |
EditShoppingList.groovy | UnnecessaryGString | 3 | 193 | [SRC]if ("SLT_AUTO_REODR".equals(shoppingListType?.shoppingListTypeId)) { [MSG]The String 'SLT_AUTO_REODR' can be wrapped in single quotes instead of double quotes |
EditShoppingList.groovy | UnnecessaryGString | 3 | 194 | [SRC]recurrenceVo = shoppingList.getRelatedOne("RecurrenceInfo", false) [MSG]The String 'RecurrenceInfo' can be wrapped in single quotes instead of double quotes |
EditShoppingList.groovy | UnnecessaryGString | 3 | 201 | [SRC]context.chosenShippingMethod = shoppingList.shipmentMeth..rrierPartyId [MSG]The String '@' can be wrapped in single quotes instead of double quotes |
EditShoppingList.groovy | UnnecessaryGString | 3 | 202 | [SRC]context.shippingContactMechList = ContactHelper.getConta..ESS", false) [MSG]The String 'SHIPPING_LOCATION' can be wrapped in single quotes instead of double quotes |
EditShoppingList.groovy | UnnecessaryGString | 3 | 202 | [SRC]context.shippingContactMechList = ContactHelper.getConta..ESS", false) [MSG]The String 'POSTAL_ADDRESS' can be wrapped in single quotes instead of double quotes |
EditShoppingList.groovy | UnnecessaryGString | 3 | 203 | [SRC]context.paymentMethodList = EntityUtil.filterByDate(part..d"], false)) [MSG]The String 'PaymentMethod' can be wrapped in single quotes instead of double quotes |
EditShoppingList.groovy | UnnecessaryGString | 3 | 203 | [SRC]context.paymentMethodList = EntityUtil.filterByDate(part..d"], false)) [MSG]The String 'paymentMethodTypeId' can be wrapped in single quotes instead of double quotes |
EditShoppingList.groovy | UnnecessaryGString | 3 | 205 | [SRC]shipAddress = from("PostalAddress").where("contactMechId..).queryOne() [MSG]The String 'PostalAddress' can be wrapped in single quotes instead of double quotes |
EditShoppingList.groovy | UnnecessaryGString | 3 | 205 | [SRC]shipAddress = from("PostalAddress").where("contactMechId..).queryOne() [MSG]The String 'contactMechId' can be wrapped in single quotes instead of double quotes |
EditShoppingList.groovy | UnnecessaryGString | 3 | 206 | [SRC]Debug.log("SL - address : " + shipAddress) [MSG]The String 'SL - address : ' can be wrapped in single quotes instead of double quotes |
EditShoppingList.groovy | CouldBeElvis | 3 | 223 | [SRC]if (!lastSlOrderDate) { [MSG]Code could use elvis operator: lastSlOrderDate = lastSlOrderDate ?: recurrenceVo.startDateTime |
EditSurveyResponse.groovy | ImportFromSamePackage | 3 | 21 | [SRC]import org.apache.ofbiz.content.survey.SurveyWrapper |
EditWeekTimesheet.groovy | NoWildcardImports | 3 | 21 | [SRC]import java.util.* [MSG]Wildcard (star) import |
EditWeekTimesheet.groovy | UnnecessaryGroovyImport | 3 | 21 | [SRC]import java.util.* |
EditWeekTimesheet.groovy | NoWildcardImports | 3 | 22 | [SRC]import java.lang.* [MSG]Wildcard (star) import |
EditWeekTimesheet.groovy | UnnecessaryGroovyImport | 3 | 22 | [SRC]import java.lang.* |
EditWeekTimesheet.groovy | UnnecessaryGString | 3 | 30 | [SRC]uiLabelMap = UtilProperties.getResourceBundleMap("scrumU..ls", locale) [MSG]The String 'scrumUiLabels' can be wrapped in single quotes instead of double quotes |
EditWeekTimesheet.groovy | CouldBeElvis | 3 | 33 | [SRC]if (!partyId) { [MSG]Code could use elvis operator: partyId = partyId ?: parameters.userLogin.partyId |
EditWeekTimesheet.groovy | UnnecessaryGString | 3 | 41 | [SRC]timesheet = from("Timesheet").where("timesheetId", times..).queryOne() [MSG]The String 'Timesheet' can be wrapped in single quotes instead of double quotes |
EditWeekTimesheet.groovy | UnnecessaryGString | 3 | 41 | [SRC]timesheet = from("Timesheet").where("timesheetId", times..).queryOne() [MSG]The String 'timesheetId' can be wrapped in single quotes instead of double quotes |
EditWeekTimesheet.groovy | SpaceAfterComma | 3 | 45 | [SRC]midweek = UtilDateTime.addDaysToTimestamp(UtilDateTime.g..estamp()),3) [MSG]The parameter 3 in the call to method addDaysToTimestamp within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
EditWeekTimesheet.groovy | UnnecessaryGString | 3 | 47 | [SRC]EntityCondition.makeCondition("fromDate", EntityComparis..N, midweek), [MSG]The String 'fromDate' can be wrapped in single quotes instead of double quotes |
EditWeekTimesheet.groovy | UnnecessaryGString | 3 | 48 | [SRC]EntityCondition.makeCondition("thruDate", EntityComparis..N, midweek), [MSG]The String 'thruDate' can be wrapped in single quotes instead of double quotes |
EditWeekTimesheet.groovy | UnnecessaryGString | 3 | 49 | [SRC]EntityCondition.makeCondition("partyId", EntityCompariso..LS, partyId) [MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes |
EditWeekTimesheet.groovy | UnnecessaryGString | 3 | 51 | [SRC]entryIterator = from("Timesheet").where(entryExprs).queryIterator() [MSG]The String 'Timesheet' can be wrapped in single quotes instead of double quotes |
EditWeekTimesheet.groovy | SpaceAroundMapEntryColon | 3 | 55 | [SRC]result = runService('createProjectTimesheet', ["userLogi.. : partyId]) [MSG]The colon for the literal Map entry for key [userLogin] within class org.apache.ofbiz.scrum.None is not preceded by a match for regular expression [\S] |
EditWeekTimesheet.groovy | SpaceAroundMapEntryColon | 3 | 55 | [SRC]result = runService('createProjectTimesheet', ["userLogi.. : partyId]) [MSG]The colon for the literal Map entry for key [partyId] within class org.apache.ofbiz.scrum.None is not preceded by a match for regular expression [\S] |
EditWeekTimesheet.groovy | UnnecessaryGString | 3 | 55 | [SRC]result = runService('createProjectTimesheet', ["userLogi.. : partyId]) [MSG]The String 'userLogin' can be wrapped in single quotes instead of double quotes |
EditWeekTimesheet.groovy | UnnecessaryGString | 3 | 55 | [SRC]result = runService('createProjectTimesheet', ["userLogi.. : partyId]) [MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes |
EditWeekTimesheet.groovy | UnnecessaryGString | 3 | 57 | [SRC]timesheet = from("Timesheet").where("timesheetId", resul..).queryOne() [MSG]The String 'Timesheet' can be wrapped in single quotes instead of double quotes |
EditWeekTimesheet.groovy | UnnecessaryGString | 3 | 57 | [SRC]timesheet = from("Timesheet").where("timesheetId", resul..).queryOne() [MSG]The String 'timesheetId' can be wrapped in single quotes instead of double quotes |
EditWeekTimesheet.groovy | UnnecessaryGString | 3 | 66 | [SRC]context.partyNameView = from("PartyNameView").where("par..).queryOne() [MSG]The String 'PartyNameView' can be wrapped in single quotes instead of double quotes |
EditWeekTimesheet.groovy | UnnecessaryGString | 3 | 66 | [SRC]context.partyNameView = from("PartyNameView").where("par..).queryOne() [MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes |
EditWeekTimesheet.groovy | UnnecessaryGString | 3 | 68 | [SRC]rateTypes = from("PartyRate").where("partyId", partyId, ...queryList() [MSG]The String 'PartyRate' can be wrapped in single quotes instead of double quotes |
EditWeekTimesheet.groovy | UnnecessaryGString | 3 | 68 | [SRC]rateTypes = from("PartyRate").where("partyId", partyId, ...queryList() [MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes |
EditWeekTimesheet.groovy | UnnecessaryGString | 3 | 68 | [SRC]rateTypes = from("PartyRate").where("partyId", partyId, ...queryList() [MSG]The String 'defaultRate' can be wrapped in single quotes instead of double quotes |
EditWeekTimesheet.groovy | UnnecessaryGString | 3 | 68 | [SRC]rateTypes = from("PartyRate").where("partyId", partyId, ...queryList() [MSG]The String 'Y' can be wrapped in single quotes instead of double quotes |
EditWeekTimesheet.groovy | SpaceAroundMapEntryColon | 3 | 74 | [SRC]entry = ["timesheetId" : timesheet.timesheetId] [MSG]The colon for the literal Map entry for key [timesheetId] within class org.apache.ofbiz.scrum.None is not preceded by a match for regular expression [\S] |
EditWeekTimesheet.groovy | UnnecessaryGString | 3 | 74 | [SRC]entry = ["timesheetId" : timesheet.timesheetId] [MSG]The String 'timesheetId' can be wrapped in single quotes instead of double quotes |
EditWeekTimesheet.groovy | SpaceAroundOperator | 3 | 76 | [SRC]day0Total = 0.00; day1Total=0.00; day2Total=0.00; day3To..y6Total=0.00 [MSG]The operator "=" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
EditWeekTimesheet.groovy | SpaceAroundOperator | 3 | 76 | [SRC]day0Total = 0.00; day1Total=0.00; day2Total=0.00; day3To..y6Total=0.00 [MSG]The operator "=" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace |
EditWeekTimesheet.groovy | SpaceAroundOperator | 3 | 76 | [SRC]day0Total = 0.00; day1Total=0.00; day2Total=0.00; day3To..y6Total=0.00 [MSG]The operator "=" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
EditWeekTimesheet.groovy | SpaceAroundOperator | 3 | 76 | [SRC]day0Total = 0.00; day1Total=0.00; day2Total=0.00; day3To..y6Total=0.00 [MSG]The operator "=" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace |
EditWeekTimesheet.groovy | SpaceAroundOperator | 3 | 76 | [SRC]day0Total = 0.00; day1Total=0.00; day2Total=0.00; day3To..y6Total=0.00 [MSG]The operator "=" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
EditWeekTimesheet.groovy | SpaceAroundOperator | 3 | 76 | [SRC]day0Total = 0.00; day1Total=0.00; day2Total=0.00; day3To..y6Total=0.00 [MSG]The operator "=" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace |
EditWeekTimesheet.groovy | SpaceAroundOperator | 3 | 76 | [SRC]day0Total = 0.00; day1Total=0.00; day2Total=0.00; day3To..y6Total=0.00 [MSG]The operator "=" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
EditWeekTimesheet.groovy | SpaceAroundOperator | 3 | 76 | [SRC]day0Total = 0.00; day1Total=0.00; day2Total=0.00; day3To..y6Total=0.00 [MSG]The operator "=" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace |
EditWeekTimesheet.groovy | SpaceAroundOperator | 3 | 76 | [SRC]day0Total = 0.00; day1Total=0.00; day2Total=0.00; day3To..y6Total=0.00 [MSG]The operator "=" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
EditWeekTimesheet.groovy | SpaceAroundOperator | 3 | 76 | [SRC]day0Total = 0.00; day1Total=0.00; day2Total=0.00; day3To..y6Total=0.00 [MSG]The operator "=" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace |
EditWeekTimesheet.groovy | SpaceAroundOperator | 3 | 76 | [SRC]day0Total = 0.00; day1Total=0.00; day2Total=0.00; day3To..y6Total=0.00 [MSG]The operator "=" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
EditWeekTimesheet.groovy | SpaceAroundOperator | 3 | 76 | [SRC]day0Total = 0.00; day1Total=0.00; day2Total=0.00; day3To..y6Total=0.00 [MSG]The operator "=" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace |
EditWeekTimesheet.groovy | Indentation | 3 | 84 | [SRC]entryWorkEffort = lastTimeEntry.getRelatedOne("WorkEffort", false) [MSG]The statement on line 84 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 5 but was 9 |
EditWeekTimesheet.groovy | UnnecessaryGString | 3 | 84 | [SRC]entryWorkEffort = lastTimeEntry.getRelatedOne("WorkEffort", false) [MSG]The String 'WorkEffort' can be wrapped in single quotes instead of double quotes |
EditWeekTimesheet.groovy | Indentation | 3 | 85 | [SRC]if (entryWorkEffort) { [MSG]The statement on line 85 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 5 but was 9 |
EditWeekTimesheet.groovy | Indentation | 3 | 86 | [SRC]plannedHours = entryWorkEffort.getRelated("WorkEffortSki..null, false) [MSG]The statement on line 86 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 9 but was 13 |
EditWeekTimesheet.groovy | UnnecessaryGString | 3 | 86 | [SRC]plannedHours = entryWorkEffort.getRelated("WorkEffortSki..null, false) [MSG]The String 'WorkEffortSkillStandard' can be wrapped in single quotes instead of double quotes |
EditWeekTimesheet.groovy | Indentation | 3 | 87 | [SRC]pHours = 0.00 [MSG]The statement on line 87 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 9 but was 13 |
EditWeekTimesheet.groovy | Indentation | 3 | 88 | [SRC]plannedHours.each { plannedHour -> [MSG]The statement on line 88 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 9 but was 13 |
EditWeekTimesheet.groovy | Indentation | 3 | 93 | [SRC]entry.plannedHours = pHours [MSG]The statement on line 93 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 9 but was 13 |
EditWeekTimesheet.groovy | Indentation | 3 | 94 | [SRC]actualHours = entryWorkEffort.getRelated("TimeEntry", nu..null, false) [MSG]The statement on line 94 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 9 but was 13 |
EditWeekTimesheet.groovy | UnnecessaryGString | 3 | 94 | [SRC]actualHours = entryWorkEffort.getRelated("TimeEntry", nu..null, false) [MSG]The String 'TimeEntry' can be wrapped in single quotes instead of double quotes |
EditWeekTimesheet.groovy | Indentation | 3 | 95 | [SRC]aHours = 0.00 [MSG]The statement on line 95 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 9 but was 13 |
EditWeekTimesheet.groovy | Indentation | 3 | 96 | [SRC]actualHours.each { actualHour -> [MSG]The statement on line 96 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 9 but was 13 |
EditWeekTimesheet.groovy | Indentation | 3 | 101 | [SRC]entry.actualHours = aHours [MSG]The statement on line 101 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 9 but was 13 |
EditWeekTimesheet.groovy | Indentation | 3 | 103 | [SRC]workEffortPartyAssigns = EntityUtil.filterByDate(entryWo..ull, false)) [MSG]The statement on line 103 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 9 but was 13 |
EditWeekTimesheet.groovy | SpaceAroundMapEntryColon | 3 | 103 | [SRC]workEffortPartyAssigns = EntityUtil.filterByDate(entryWo..ull, false)) [MSG]The colon for the literal Map entry for key [partyId] within class org.apache.ofbiz.scrum.None is not preceded by a match for regular expression [\S] |
EditWeekTimesheet.groovy | UnnecessaryGString | 3 | 103 | [SRC]workEffortPartyAssigns = EntityUtil.filterByDate(entryWo..ull, false)) [MSG]The String 'WorkEffortPartyAssignment' can be wrapped in single quotes instead of double quotes |
EditWeekTimesheet.groovy | UnnecessaryGString | 3 | 103 | [SRC]workEffortPartyAssigns = EntityUtil.filterByDate(entryWo..ull, false)) [MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes |
EditWeekTimesheet.groovy | Indentation | 3 | 104 | [SRC]if (workEffortPartyAssigns) { [MSG]The statement on line 104 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 9 but was 13 |
EditWeekTimesheet.groovy | Indentation | 3 | 105 | [SRC]workEffortPartyAssign = workEffortPartyAssigns[0] [MSG]The statement on line 105 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 13 but was 17 |
EditWeekTimesheet.groovy | Indentation | 3 | 106 | [SRC]entry.fromDate = workEffortPartyAssign.getTimestamp("fromDate") [MSG]The statement on line 106 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 13 but was 17 |
EditWeekTimesheet.groovy | UnnecessaryGString | 3 | 106 | [SRC]entry.fromDate = workEffortPartyAssign.getTimestamp("fromDate") [MSG]The String 'fromDate' can be wrapped in single quotes instead of double quotes |
EditWeekTimesheet.groovy | Indentation | 3 | 107 | [SRC]entry.roleTypeId = workEffortPartyAssign.roleTypeId [MSG]The statement on line 107 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 13 but was 17 |
EditWeekTimesheet.groovy | Indentation | 3 | 108 | [SRC]if ("PAS_COMPLETED".equals(workEffortPartyAssign.statusId)) { [MSG]The statement on line 108 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 13 but was 17 |
EditWeekTimesheet.groovy | UnnecessaryGString | 3 | 108 | [SRC]if ("PAS_COMPLETED".equals(workEffortPartyAssign.statusId)) { [MSG]The String 'PAS_COMPLETED' can be wrapped in single quotes instead of double quotes |
EditWeekTimesheet.groovy | Indentation | 3 | 109 | [SRC]entry.checkComplete = "Y" [MSG]The statement on line 109 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 17 but was 21 |
EditWeekTimesheet.groovy | UnnecessaryGString | 3 | 109 | [SRC]entry.checkComplete = "Y" [MSG]The String 'Y' can be wrapped in single quotes instead of double quotes |
EditWeekTimesheet.groovy | Indentation | 3 | 114 | [SRC]entry.workEffortId = entryWorkEffort.workEffortId [MSG]The statement on line 114 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 9 but was 13 |
EditWeekTimesheet.groovy | Indentation | 3 | 115 | [SRC]entry.workEffortName = entryWorkEffort.workEffortName [MSG]The statement on line 115 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 9 but was 13 |
EditWeekTimesheet.groovy | Indentation | 3 | 116 | [SRC]result = runService('getProjectIdAndNameFromTask', ["use..rkEffortId]) [MSG]The statement on line 116 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 9 but was 13 |
EditWeekTimesheet.groovy | SpaceAfterComma | 3 | 116 | [SRC]result = runService('getProjectIdAndNameFromTask', ["use..rkEffortId]) [MSG]The map entry taskId:entryWorkEffort.workEffortId within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
EditWeekTimesheet.groovy | SpaceAroundMapEntryColon | 3 | 116 | [SRC]result = runService('getProjectIdAndNameFromTask', ["use..rkEffortId]) [MSG]The colon for the literal Map entry for key [userLogin] within class org.apache.ofbiz.scrum.None is not preceded by a match for regular expression [\S] |
EditWeekTimesheet.groovy | SpaceAroundMapEntryColon | 3 | 116 | [SRC]result = runService('getProjectIdAndNameFromTask', ["use..rkEffortId]) [MSG]The colon for the literal Map entry for key [taskId] within class org.apache.ofbiz.scrum.None is not preceded by a match for regular expression [\S] |
EditWeekTimesheet.groovy | UnnecessaryGString | 3 | 116 | [SRC]result = runService('getProjectIdAndNameFromTask', ["use..rkEffortId]) [MSG]The String 'userLogin' can be wrapped in single quotes instead of double quotes |
EditWeekTimesheet.groovy | UnnecessaryGString | 3 | 116 | [SRC]result = runService('getProjectIdAndNameFromTask', ["use..rkEffortId]) [MSG]The String 'taskId' can be wrapped in single quotes instead of double quotes |
EditWeekTimesheet.groovy | Indentation | 3 | 117 | [SRC]entry.sprintId = result.phaseId [MSG]The statement on line 117 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 9 but was 17 |
EditWeekTimesheet.groovy | Indentation | 3 | 118 | [SRC]entry.sprintName = result.phaseName [MSG]The statement on line 118 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 9 but was 17 |
EditWeekTimesheet.groovy | Indentation | 3 | 119 | [SRC]entry.projectId = result.projectId [MSG]The statement on line 119 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 9 but was 17 |
EditWeekTimesheet.groovy | Indentation | 3 | 120 | [SRC]entry.projectName = result.projectName [MSG]The statement on line 120 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 9 but was 17 |
EditWeekTimesheet.groovy | Indentation | 3 | 121 | [SRC]entry.taskWbsId = result.taskWbsId [MSG]The statement on line 121 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 9 but was 17 |
EditWeekTimesheet.groovy | BlockEndsWithBlankLine | 3 | 122 | [MSG]Code block ends with a blank line. |
EditWeekTimesheet.groovy | Indentation | 3 | 124 | [SRC]entry.total = taskTotal [MSG]The statement on line 124 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 5 but was 9 |
EditWeekTimesheet.groovy | Indentation | 3 | 126 | [SRC]entries.add(entry) [MSG]The statement on line 126 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 5 but was 9 |
EditWeekTimesheet.groovy | Indentation | 3 | 128 | [SRC]taskTotal = 0.00 [MSG]The statement on line 128 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 5 but was 9 |
EditWeekTimesheet.groovy | Indentation | 3 | 129 | [SRC]entry = ["timesheetId" : timesheet.timesheetId] [MSG]The statement on line 129 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 5 but was 9 |
EditWeekTimesheet.groovy | SpaceAroundMapEntryColon | 3 | 129 | [SRC]entry = ["timesheetId" : timesheet.timesheetId] [MSG]The colon for the literal Map entry for key [timesheetId] within class org.apache.ofbiz.scrum.None is not preceded by a match for regular expression [\S] |
EditWeekTimesheet.groovy | UnnecessaryGString | 3 | 129 | [SRC]entry = ["timesheetId" : timesheet.timesheetId] [MSG]The String 'timesheetId' can be wrapped in single quotes instead of double quotes |
EditWeekTimesheet.groovy | UnnecessaryGString | 3 | 132 | [SRC]timeEntries = timesheet.getRelated("TimeEntry", null, ["..te"], false) [MSG]The String 'TimeEntry' can be wrapped in single quotes instead of double quotes |
EditWeekTimesheet.groovy | UnnecessaryGString | 3 | 132 | [SRC]timeEntries = timesheet.getRelated("TimeEntry", null, ["..te"], false) [MSG]The String 'workEffortId' can be wrapped in single quotes instead of double quotes |
EditWeekTimesheet.groovy | UnnecessaryGString | 3 | 132 | [SRC]timeEntries = timesheet.getRelated("TimeEntry", null, ["..te"], false) [MSG]The String 'rateTypeId' can be wrapped in single quotes instead of double quotes |
EditWeekTimesheet.groovy | UnnecessaryGString | 3 | 132 | [SRC]timeEntries = timesheet.getRelated("TimeEntry", null, ["..te"], false) [MSG]The String 'fromDate' can be wrapped in single quotes instead of double quotes |
EditWeekTimesheet.groovy | SpaceAroundOperator | 3 | 136 | [SRC]if (timeEntry!=void) { [MSG]The operator "!=" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
EditWeekTimesheet.groovy | SpaceAroundOperator | 3 | 136 | [SRC]if (timeEntry!=void) { [MSG]The operator "!=" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace |
EditWeekTimesheet.groovy | Indentation | 3 | 144 | [SRC]retrieveWorkEffortData() [MSG]The statement on line 144 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 9 but was 13 |
EditWeekTimesheet.groovy | SpaceAroundOperator | 3 | 147 | [SRC]dayNumber = "d" + (timeEntry.fromDate.getTime() - timesh..*60*60*1000) [MSG]The operator "*" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
EditWeekTimesheet.groovy | SpaceAroundOperator | 3 | 147 | [SRC]dayNumber = "d" + (timeEntry.fromDate.getTime() - timesh..*60*60*1000) [MSG]The operator "*" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace |
EditWeekTimesheet.groovy | SpaceAroundOperator | 3 | 147 | [SRC]dayNumber = "d" + (timeEntry.fromDate.getTime() - timesh..*60*60*1000) [MSG]The operator "*" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
EditWeekTimesheet.groovy | SpaceAroundOperator | 3 | 147 | [SRC]dayNumber = "d" + (timeEntry.fromDate.getTime() - timesh..*60*60*1000) [MSG]The operator "*" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace |
EditWeekTimesheet.groovy | SpaceAroundOperator | 3 | 147 | [SRC]dayNumber = "d" + (timeEntry.fromDate.getTime() - timesh..*60*60*1000) [MSG]The operator "*" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
EditWeekTimesheet.groovy | SpaceAroundOperator | 3 | 147 | [SRC]dayNumber = "d" + (timeEntry.fromDate.getTime() - timesh..*60*60*1000) [MSG]The operator "*" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace |
EditWeekTimesheet.groovy | UnnecessaryGString | 3 | 147 | [SRC]dayNumber = "d" + (timeEntry.fromDate.getTime() - timesh..*60*60*1000) [MSG]The String 'd' can be wrapped in single quotes instead of double quotes |
EditWeekTimesheet.groovy | UnnecessaryGString | 3 | 150 | [SRC]if ("d0".equals(dayNumber)) day0Total += hours [MSG]The String 'd0' can be wrapped in single quotes instead of double quotes |
EditWeekTimesheet.groovy | UnnecessaryGString | 3 | 151 | [SRC]if ("d1".equals(dayNumber)) day1Total += hours [MSG]The String 'd1' can be wrapped in single quotes instead of double quotes |
EditWeekTimesheet.groovy | UnnecessaryGString | 3 | 152 | [SRC]if ("d2".equals(dayNumber)) day2Total += hours [MSG]The String 'd2' can be wrapped in single quotes instead of double quotes |
EditWeekTimesheet.groovy | UnnecessaryGString | 3 | 153 | [SRC]if ("d3".equals(dayNumber)) day3Total += hours [MSG]The String 'd3' can be wrapped in single quotes instead of double quotes |
EditWeekTimesheet.groovy | UnnecessaryGString | 3 | 154 | [SRC]if ("d4".equals(dayNumber)) day4Total += hours [MSG]The String 'd4' can be wrapped in single quotes instead of double quotes |
EditWeekTimesheet.groovy | UnnecessaryGString | 3 | 155 | [SRC]if ("d5".equals(dayNumber)) day5Total += hours [MSG]The String 'd5' can be wrapped in single quotes instead of double quotes |
EditWeekTimesheet.groovy | UnnecessaryGString | 3 | 156 | [SRC]if ("d6".equals(dayNumber)) day6Total += hours [MSG]The String 'd6' can be wrapped in single quotes instead of double quotes |
EditWeekTimesheet.groovy | UnnecessaryGString | 3 | 168 | [SRC]if (!"TIMESHEET_COMPLETED".equals(timesheet.statusId)) { [MSG]The String 'TIMESHEET_COMPLETED' can be wrapped in single quotes instead of double quotes |
EditWeekTimesheet.groovy | SpaceAroundOperator | 3 | 169 | [SRC]for (c=0; c < 3; c++) { // add empty lines [MSG]The operator "=" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
EditWeekTimesheet.groovy | SpaceAroundOperator | 3 | 169 | [SRC]for (c=0; c < 3; c++) { // add empty lines [MSG]The operator "=" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace |
EditWeekTimesheet.groovy | SpaceAroundMapEntryColon | 3 | 170 | [SRC]entries.add(["timesheetId" : timesheet.timesheetId]) [MSG]The colon for the literal Map entry for key [timesheetId] within class org.apache.ofbiz.scrum.None is not preceded by a match for regular expression [\S] |
EditWeekTimesheet.groovy | UnnecessaryGString | 3 | 170 | [SRC]entries.add(["timesheetId" : timesheet.timesheetId]) [MSG]The String 'timesheetId' can be wrapped in single quotes instead of double quotes |
EditWeekTimesheet.groovy | SpaceAroundMapEntryColon | 3 | 176 | [SRC]entry = ["timesheetId" : timesheet.timesheetId] [MSG]The colon for the literal Map entry for key [timesheetId] within class org.apache.ofbiz.scrum.None is not preceded by a match for regular expression [\S] |
EditWeekTimesheet.groovy | UnnecessaryGString | 3 | 176 | [SRC]entry = ["timesheetId" : timesheet.timesheetId] [MSG]The String 'timesheetId' can be wrapped in single quotes instead of double quotes |
EditWeekTimesheet.groovy | UnnecessaryGString | 3 | 185 | [SRC]entry.workEffortId = "Totals" [MSG]The String 'Totals' can be wrapped in single quotes instead of double quotes |
EditWeekTimesheet.groovy | UnnecessaryObjectReferences | 3 | 185 | [SRC]entry.workEffortId = "Totals" [MSG]The code could be more concise by using a with() or identity() block |
EditWeekTimesheet.groovy | UnnecessaryObjectReferences | 3 | 186 | [SRC]entry.total = day0Total + day1Total + day2Total + day3To.. + day6Total [MSG]The code could be more concise by using a with() or identity() block |
EditWeekTimesheet.groovy | UnnecessaryGString | 3 | 191 | [SRC]timesheetsDb = from("Timesheet").where("partyId", partyI...queryList() [MSG]The String 'Timesheet' can be wrapped in single quotes instead of double quotes |
EditWeekTimesheet.groovy | UnnecessaryGString | 3 | 191 | [SRC]timesheetsDb = from("Timesheet").where("partyId", partyI...queryList() [MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes |
EditWeekTimesheet.groovy | UnnecessaryGString | 3 | 191 | [SRC]timesheetsDb = from("Timesheet").where("partyId", partyI...queryList() [MSG]The String 'fromDate DESC' can be wrapped in single quotes instead of double quotes |
EditWeekTimesheet.groovy | UnnecessaryGString | 3 | 196 | [SRC]entries = timesheetDb.getRelated("TimeEntry", null, null, false) [MSG]The String 'TimeEntry' can be wrapped in single quotes instead of double quotes |
EditWeekTimesheet.groovy | ConsecutiveBlankLines | 3 | 20 | [MSG]File EditWeekTimesheet.groovy has consecutive blank lines |
EditWeekTimesheet.groovy | UnnecessaryGString | 3 | 29 | [SRC]uiLabelMap = UtilProperties.getResourceBundleMap("Projec..ls", locale) [MSG]The String 'ProjectMgrUiLabels' can be wrapped in single quotes instead of double quotes |
EditWeekTimesheet.groovy | CouldBeElvis | 3 | 32 | [SRC]if (!partyId) { [MSG]Code could use elvis operator: partyId = partyId ?: parameters.userLogin.partyId |
EditWeekTimesheet.groovy | UnnecessaryGString | 3 | 40 | [SRC]timesheet = from("Timesheet").where("timesheetId", times..).queryOne() [MSG]The String 'Timesheet' can be wrapped in single quotes instead of double quotes |
EditWeekTimesheet.groovy | UnnecessaryGString | 3 | 40 | [SRC]timesheet = from("Timesheet").where("timesheetId", times..).queryOne() [MSG]The String 'timesheetId' can be wrapped in single quotes instead of double quotes |
EditWeekTimesheet.groovy | SpaceAfterComma | 3 | 44 | [SRC]midweek = UtilDateTime.addDaysToTimestamp(UtilDateTime.g..estamp()),3) [MSG]The parameter 3 in the call to method addDaysToTimestamp within class org.apache.ofbiz.projectmgr.None is not preceded by a space or whitespace |
EditWeekTimesheet.groovy | UnnecessaryGString | 3 | 46 | [SRC]EntityCondition.makeCondition("fromDate", EntityComparis..N, midweek), [MSG]The String 'fromDate' can be wrapped in single quotes instead of double quotes |
EditWeekTimesheet.groovy | UnnecessaryGString | 3 | 47 | [SRC]EntityCondition.makeCondition("thruDate", EntityComparis..N, midweek), [MSG]The String 'thruDate' can be wrapped in single quotes instead of double quotes |
EditWeekTimesheet.groovy | UnnecessaryGString | 3 | 48 | [SRC]EntityCondition.makeCondition("partyId", EntityCompariso..LS, partyId) [MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes |
EditWeekTimesheet.groovy | UnnecessaryGString | 3 | 50 | [SRC]entryIterator = from("Timesheet").where(entryExprs).queryIterator() [MSG]The String 'Timesheet' can be wrapped in single quotes instead of double quotes |
EditWeekTimesheet.groovy | SpaceAroundMapEntryColon | 3 | 54 | [SRC]result = runService('createProjectTimesheet', ["userLogi.. : partyId]) [MSG]The colon for the literal Map entry for key [userLogin] within class org.apache.ofbiz.projectmgr.None is not preceded by a match for regular expression [\S] |
EditWeekTimesheet.groovy | SpaceAroundMapEntryColon | 3 | 54 | [SRC]result = runService('createProjectTimesheet', ["userLogi.. : partyId]) [MSG]The colon for the literal Map entry for key [partyId] within class org.apache.ofbiz.projectmgr.None is not preceded by a match for regular expression [\S] |
EditWeekTimesheet.groovy | UnnecessaryGString | 3 | 54 | [SRC]result = runService('createProjectTimesheet', ["userLogi.. : partyId]) [MSG]The String 'userLogin' can be wrapped in single quotes instead of double quotes |
EditWeekTimesheet.groovy | UnnecessaryGString | 3 | 54 | [SRC]result = runService('createProjectTimesheet', ["userLogi.. : partyId]) [MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes |
EditWeekTimesheet.groovy | UnnecessaryGString | 3 | 56 | [SRC]timesheet = from("Timesheet").where("timesheetId", resul..).queryOne() [MSG]The String 'Timesheet' can be wrapped in single quotes instead of double quotes |
EditWeekTimesheet.groovy | UnnecessaryGString | 3 | 56 | [SRC]timesheet = from("Timesheet").where("timesheetId", resul..).queryOne() [MSG]The String 'timesheetId' can be wrapped in single quotes instead of double quotes |
EditWeekTimesheet.groovy | UnnecessaryGString | 3 | 65 | [SRC]context.partyNameView = from("PartyNameView").where("par..).queryOne() [MSG]The String 'PartyNameView' can be wrapped in single quotes instead of double quotes |
EditWeekTimesheet.groovy | UnnecessaryGString | 3 | 65 | [SRC]context.partyNameView = from("PartyNameView").where("par..).queryOne() [MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes |
EditWeekTimesheet.groovy | UnnecessaryGString | 3 | 67 | [SRC]rateTypes = from("PartyRate").where("partyId", partyId, ...queryList() [MSG]The String 'PartyRate' can be wrapped in single quotes instead of double quotes |
EditWeekTimesheet.groovy | UnnecessaryGString | 3 | 67 | [SRC]rateTypes = from("PartyRate").where("partyId", partyId, ...queryList() [MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes |
EditWeekTimesheet.groovy | UnnecessaryGString | 3 | 67 | [SRC]rateTypes = from("PartyRate").where("partyId", partyId, ...queryList() [MSG]The String 'defaultRate' can be wrapped in single quotes instead of double quotes |
EditWeekTimesheet.groovy | UnnecessaryGString | 3 | 67 | [SRC]rateTypes = from("PartyRate").where("partyId", partyId, ...queryList() [MSG]The String 'Y' can be wrapped in single quotes instead of double quotes |
EditWeekTimesheet.groovy | SpaceAroundMapEntryColon | 3 | 73 | [SRC]entry = ["timesheetId" : timesheet.timesheetId] [MSG]The colon for the literal Map entry for key [timesheetId] within class org.apache.ofbiz.projectmgr.None is not preceded by a match for regular expression [\S] |
EditWeekTimesheet.groovy | UnnecessaryGString | 3 | 73 | [SRC]entry = ["timesheetId" : timesheet.timesheetId] [MSG]The String 'timesheetId' can be wrapped in single quotes instead of double quotes |
EditWeekTimesheet.groovy | SpaceAroundOperator | 3 | 75 | [SRC]day0Total = 0.00; day1Total=0.00; day2Total=0.00; day3To..y6Total=0.00 [MSG]The operator "=" within class org.apache.ofbiz.projectmgr.None is not preceded by a space or whitespace |
EditWeekTimesheet.groovy | SpaceAroundOperator | 3 | 75 | [SRC]day0Total = 0.00; day1Total=0.00; day2Total=0.00; day3To..y6Total=0.00 [MSG]The operator "=" within class org.apache.ofbiz.projectmgr.None is not followed by a space or whitespace |
EditWeekTimesheet.groovy | SpaceAroundOperator | 3 | 75 | [SRC]day0Total = 0.00; day1Total=0.00; day2Total=0.00; day3To..y6Total=0.00 [MSG]The operator "=" within class org.apache.ofbiz.projectmgr.None is not preceded by a space or whitespace |
EditWeekTimesheet.groovy | SpaceAroundOperator | 3 | 75 | [SRC]day0Total = 0.00; day1Total=0.00; day2Total=0.00; day3To..y6Total=0.00 [MSG]The operator "=" within class org.apache.ofbiz.projectmgr.None is not followed by a space or whitespace |
EditWeekTimesheet.groovy | SpaceAroundOperator | 3 | 75 | [SRC]day0Total = 0.00; day1Total=0.00; day2Total=0.00; day3To..y6Total=0.00 [MSG]The operator "=" within class org.apache.ofbiz.projectmgr.None is not preceded by a space or whitespace |
EditWeekTimesheet.groovy | SpaceAroundOperator | 3 | 75 | [SRC]day0Total = 0.00; day1Total=0.00; day2Total=0.00; day3To..y6Total=0.00 [MSG]The operator "=" within class org.apache.ofbiz.projectmgr.None is not followed by a space or whitespace |
EditWeekTimesheet.groovy | SpaceAroundOperator | 3 | 75 | [SRC]day0Total = 0.00; day1Total=0.00; day2Total=0.00; day3To..y6Total=0.00 [MSG]The operator "=" within class org.apache.ofbiz.projectmgr.None is not preceded by a space or whitespace |
EditWeekTimesheet.groovy | SpaceAroundOperator | 3 | 75 | [SRC]day0Total = 0.00; day1Total=0.00; day2Total=0.00; day3To..y6Total=0.00 [MSG]The operator "=" within class org.apache.ofbiz.projectmgr.None is not followed by a space or whitespace |
EditWeekTimesheet.groovy | SpaceAroundOperator | 3 | 75 | [SRC]day0Total = 0.00; day1Total=0.00; day2Total=0.00; day3To..y6Total=0.00 [MSG]The operator "=" within class org.apache.ofbiz.projectmgr.None is not preceded by a space or whitespace |
EditWeekTimesheet.groovy | SpaceAroundOperator | 3 | 75 | [SRC]day0Total = 0.00; day1Total=0.00; day2Total=0.00; day3To..y6Total=0.00 [MSG]The operator "=" within class org.apache.ofbiz.projectmgr.None is not followed by a space or whitespace |
EditWeekTimesheet.groovy | SpaceAroundOperator | 3 | 75 | [SRC]day0Total = 0.00; day1Total=0.00; day2Total=0.00; day3To..y6Total=0.00 [MSG]The operator "=" within class org.apache.ofbiz.projectmgr.None is not preceded by a space or whitespace |
EditWeekTimesheet.groovy | SpaceAroundOperator | 3 | 75 | [SRC]day0Total = 0.00; day1Total=0.00; day2Total=0.00; day3To..y6Total=0.00 [MSG]The operator "=" within class org.apache.ofbiz.projectmgr.None is not followed by a space or whitespace |
EditWeekTimesheet.groovy | Indentation | 3 | 83 | [SRC]entryWorkEffort = lastTimeEntry.getRelatedOne("WorkEffort", false) [MSG]The statement on line 83 in class org.apache.ofbiz.projectmgr.None is at the incorrect indent level: Expected column 5 but was 9 |
EditWeekTimesheet.groovy | UnnecessaryGString | 3 | 83 | [SRC]entryWorkEffort = lastTimeEntry.getRelatedOne("WorkEffort", false) [MSG]The String 'WorkEffort' can be wrapped in single quotes instead of double quotes |
EditWeekTimesheet.groovy | Indentation | 3 | 84 | [SRC]if (entryWorkEffort) { [MSG]The statement on line 84 in class org.apache.ofbiz.projectmgr.None is at the incorrect indent level: Expected column 5 but was 9 |
EditWeekTimesheet.groovy | Indentation | 3 | 85 | [SRC]plannedHours = entryWorkEffort.getRelated("WorkEffortSki..null, false) [MSG]The statement on line 85 in class org.apache.ofbiz.projectmgr.None is at the incorrect indent level: Expected column 9 but was 13 |
EditWeekTimesheet.groovy | UnnecessaryGString | 3 | 85 | [SRC]plannedHours = entryWorkEffort.getRelated("WorkEffortSki..null, false) [MSG]The String 'WorkEffortSkillStandard' can be wrapped in single quotes instead of double quotes |
EditWeekTimesheet.groovy | Indentation | 3 | 86 | [SRC]pHours = 0.00 [MSG]The statement on line 86 in class org.apache.ofbiz.projectmgr.None is at the incorrect indent level: Expected column 9 but was 13 |
EditWeekTimesheet.groovy | Indentation | 3 | 87 | [SRC]plannedHours.each { plannedHour -> [MSG]The statement on line 87 in class org.apache.ofbiz.projectmgr.None is at the incorrect indent level: Expected column 9 but was 13 |
EditWeekTimesheet.groovy | Indentation | 3 | 92 | [SRC]entry.plannedHours = pHours [MSG]The statement on line 92 in class org.apache.ofbiz.projectmgr.None is at the incorrect indent level: Expected column 9 but was 13 |
EditWeekTimesheet.groovy | Indentation | 3 | 93 | [SRC]actualHours = entryWorkEffort.getRelated("TimeEntry", nu..null, false) [MSG]The statement on line 93 in class org.apache.ofbiz.projectmgr.None is at the incorrect indent level: Expected column 9 but was 13 |
EditWeekTimesheet.groovy | UnnecessaryGString | 3 | 93 | [SRC]actualHours = entryWorkEffort.getRelated("TimeEntry", nu..null, false) [MSG]The String 'TimeEntry' can be wrapped in single quotes instead of double quotes |
EditWeekTimesheet.groovy | Indentation | 3 | 94 | [SRC]aHours = 0.00 [MSG]The statement on line 94 in class org.apache.ofbiz.projectmgr.None is at the incorrect indent level: Expected column 9 but was 13 |
EditWeekTimesheet.groovy | Indentation | 3 | 95 | [SRC]actualHours.each { actualHour -> [MSG]The statement on line 95 in class org.apache.ofbiz.projectmgr.None is at the incorrect indent level: Expected column 9 but was 13 |
EditWeekTimesheet.groovy | Indentation | 3 | 100 | [SRC]entry.actualHours = aHours [MSG]The statement on line 100 in class org.apache.ofbiz.projectmgr.None is at the incorrect indent level: Expected column 9 but was 13 |
EditWeekTimesheet.groovy | Indentation | 3 | 102 | [SRC]workEffortPartyAssigns = EntityUtil.filterByDate(entryWo..ull, false)) [MSG]The statement on line 102 in class org.apache.ofbiz.projectmgr.None is at the incorrect indent level: Expected column 9 but was 13 |
EditWeekTimesheet.groovy | SpaceAroundMapEntryColon | 3 | 102 | [SRC]workEffortPartyAssigns = EntityUtil.filterByDate(entryWo..ull, false)) [MSG]The colon for the literal Map entry for key [partyId] within class org.apache.ofbiz.projectmgr.None is not preceded by a match for regular expression [\S] |
EditWeekTimesheet.groovy | UnnecessaryGString | 3 | 102 | [SRC]workEffortPartyAssigns = EntityUtil.filterByDate(entryWo..ull, false)) [MSG]The String 'WorkEffortPartyAssignment' can be wrapped in single quotes instead of double quotes |
EditWeekTimesheet.groovy | UnnecessaryGString | 3 | 102 | [SRC]workEffortPartyAssigns = EntityUtil.filterByDate(entryWo..ull, false)) [MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes |
EditWeekTimesheet.groovy | Indentation | 3 | 103 | [SRC]if (workEffortPartyAssigns) { [MSG]The statement on line 103 in class org.apache.ofbiz.projectmgr.None is at the incorrect indent level: Expected column 9 but was 13 |
EditWeekTimesheet.groovy | Indentation | 3 | 104 | [SRC]workEffortPartyAssign = workEffortPartyAssigns[0] [MSG]The statement on line 104 in class org.apache.ofbiz.projectmgr.None is at the incorrect indent level: Expected column 13 but was 17 |
EditWeekTimesheet.groovy | Indentation | 3 | 105 | [SRC]entry.fromDate = workEffortPartyAssign.getTimestamp("fromDate") [MSG]The statement on line 105 in class org.apache.ofbiz.projectmgr.None is at the incorrect indent level: Expected column 13 but was 17 |
EditWeekTimesheet.groovy | UnnecessaryGString | 3 | 105 | [SRC]entry.fromDate = workEffortPartyAssign.getTimestamp("fromDate") [MSG]The String 'fromDate' can be wrapped in single quotes instead of double quotes |
EditWeekTimesheet.groovy | Indentation | 3 | 106 | [SRC]entry.roleTypeId = workEffortPartyAssign.roleTypeId [MSG]The statement on line 106 in class org.apache.ofbiz.projectmgr.None is at the incorrect indent level: Expected column 13 but was 17 |
EditWeekTimesheet.groovy | Indentation | 3 | 107 | [SRC]if ("PAS_COMPLETED".equals(workEffortPartyAssign.statusId)) { [MSG]The statement on line 107 in class org.apache.ofbiz.projectmgr.None is at the incorrect indent level: Expected column 13 but was 17 |
EditWeekTimesheet.groovy | UnnecessaryGString | 3 | 107 | [SRC]if ("PAS_COMPLETED".equals(workEffortPartyAssign.statusId)) { [MSG]The String 'PAS_COMPLETED' can be wrapped in single quotes instead of double quotes |
EditWeekTimesheet.groovy | Indentation | 3 | 108 | [SRC]entry.checkComplete = "Y" [MSG]The statement on line 108 in class org.apache.ofbiz.projectmgr.None is at the incorrect indent level: Expected column 17 but was 21 |
EditWeekTimesheet.groovy | UnnecessaryGString | 3 | 108 | [SRC]entry.checkComplete = "Y" [MSG]The String 'Y' can be wrapped in single quotes instead of double quotes |
EditWeekTimesheet.groovy | Indentation | 3 | 113 | [SRC]entry.workEffortId = entryWorkEffort.workEffortId [MSG]The statement on line 113 in class org.apache.ofbiz.projectmgr.None is at the incorrect indent level: Expected column 9 but was 13 |
EditWeekTimesheet.groovy | Indentation | 3 | 114 | [SRC]entry.workEffortName = entryWorkEffort.workEffortName [MSG]The statement on line 114 in class org.apache.ofbiz.projectmgr.None is at the incorrect indent level: Expected column 9 but was 13 |
EditWeekTimesheet.groovy | Indentation | 3 | 115 | [SRC]result = runService('getProjectIdAndNameFromTask', ["use..rkEffortId]) [MSG]The statement on line 115 in class org.apache.ofbiz.projectmgr.None is at the incorrect indent level: Expected column 9 but was 13 |
EditWeekTimesheet.groovy | SpaceAfterComma | 3 | 115 | [SRC]result = runService('getProjectIdAndNameFromTask', ["use..rkEffortId]) [MSG]The map entry taskId:entryWorkEffort.workEffortId within class org.apache.ofbiz.projectmgr.None is not preceded by a space or whitespace |
EditWeekTimesheet.groovy | SpaceAroundMapEntryColon | 3 | 115 | [SRC]result = runService('getProjectIdAndNameFromTask', ["use..rkEffortId]) [MSG]The colon for the literal Map entry for key [userLogin] within class org.apache.ofbiz.projectmgr.None is not preceded by a match for regular expression [\S] |
EditWeekTimesheet.groovy | SpaceAroundMapEntryColon | 3 | 115 | [SRC]result = runService('getProjectIdAndNameFromTask', ["use..rkEffortId]) [MSG]The colon for the literal Map entry for key [taskId] within class org.apache.ofbiz.projectmgr.None is not preceded by a match for regular expression [\S] |
EditWeekTimesheet.groovy | UnnecessaryGString | 3 | 115 | [SRC]result = runService('getProjectIdAndNameFromTask', ["use..rkEffortId]) [MSG]The String 'userLogin' can be wrapped in single quotes instead of double quotes |
EditWeekTimesheet.groovy | UnnecessaryGString | 3 | 115 | [SRC]result = runService('getProjectIdAndNameFromTask', ["use..rkEffortId]) [MSG]The String 'taskId' can be wrapped in single quotes instead of double quotes |
EditWeekTimesheet.groovy | Indentation | 3 | 116 | [SRC]entry.phaseId = result.phaseId [MSG]The statement on line 116 in class org.apache.ofbiz.projectmgr.None is at the incorrect indent level: Expected column 9 but was 17 |
EditWeekTimesheet.groovy | Indentation | 3 | 117 | [SRC]entry.phaseName = result.phaseName [MSG]The statement on line 117 in class org.apache.ofbiz.projectmgr.None is at the incorrect indent level: Expected column 9 but was 17 |
EditWeekTimesheet.groovy | Indentation | 3 | 118 | [SRC]entry.projectId = result.projectId [MSG]The statement on line 118 in class org.apache.ofbiz.projectmgr.None is at the incorrect indent level: Expected column 9 but was 17 |
EditWeekTimesheet.groovy | Indentation | 3 | 119 | [SRC]entry.projectName = result.projectName [MSG]The statement on line 119 in class org.apache.ofbiz.projectmgr.None is at the incorrect indent level: Expected column 9 but was 17 |
EditWeekTimesheet.groovy | Indentation | 3 | 120 | [SRC]entry.taskWbsId = result.taskWbsId [MSG]The statement on line 120 in class org.apache.ofbiz.projectmgr.None is at the incorrect indent level: Expected column 9 but was 17 |
EditWeekTimesheet.groovy | BlockEndsWithBlankLine | 3 | 121 | [MSG]Code block ends with a blank line. |
EditWeekTimesheet.groovy | Indentation | 3 | 123 | [SRC]entry.total = taskTotal [MSG]The statement on line 123 in class org.apache.ofbiz.projectmgr.None is at the incorrect indent level: Expected column 5 but was 9 |
EditWeekTimesheet.groovy | Indentation | 3 | 125 | [SRC]entries.add(entry) [MSG]The statement on line 125 in class org.apache.ofbiz.projectmgr.None is at the incorrect indent level: Expected column 5 but was 9 |
EditWeekTimesheet.groovy | Indentation | 3 | 127 | [SRC]taskTotal = 0.00 [MSG]The statement on line 127 in class org.apache.ofbiz.projectmgr.None is at the incorrect indent level: Expected column 5 but was 9 |
EditWeekTimesheet.groovy | Indentation | 3 | 128 | [SRC]entry = ["timesheetId" : timesheet.timesheetId] [MSG]The statement on line 128 in class org.apache.ofbiz.projectmgr.None is at the incorrect indent level: Expected column 5 but was 9 |
EditWeekTimesheet.groovy | SpaceAroundMapEntryColon | 3 | 128 | [SRC]entry = ["timesheetId" : timesheet.timesheetId] [MSG]The colon for the literal Map entry for key [timesheetId] within class org.apache.ofbiz.projectmgr.None is not preceded by a match for regular expression [\S] |
EditWeekTimesheet.groovy | UnnecessaryGString | 3 | 128 | [SRC]entry = ["timesheetId" : timesheet.timesheetId] [MSG]The String 'timesheetId' can be wrapped in single quotes instead of double quotes |
EditWeekTimesheet.groovy | UnnecessaryGString | 3 | 131 | [SRC]timeEntries = timesheet.getRelated("TimeEntry", null, ["..te"], false) [MSG]The String 'TimeEntry' can be wrapped in single quotes instead of double quotes |
EditWeekTimesheet.groovy | UnnecessaryGString | 3 | 131 | [SRC]timeEntries = timesheet.getRelated("TimeEntry", null, ["..te"], false) [MSG]The String 'workEffortId' can be wrapped in single quotes instead of double quotes |
EditWeekTimesheet.groovy | UnnecessaryGString | 3 | 131 | [SRC]timeEntries = timesheet.getRelated("TimeEntry", null, ["..te"], false) [MSG]The String 'rateTypeId' can be wrapped in single quotes instead of double quotes |
EditWeekTimesheet.groovy | UnnecessaryGString | 3 | 131 | [SRC]timeEntries = timesheet.getRelated("TimeEntry", null, ["..te"], false) [MSG]The String 'fromDate' can be wrapped in single quotes instead of double quotes |
EditWeekTimesheet.groovy | SpaceAroundOperator | 3 | 135 | [SRC]if (timeEntry!=void) { [MSG]The operator "!=" within class org.apache.ofbiz.projectmgr.None is not preceded by a space or whitespace |
EditWeekTimesheet.groovy | SpaceAroundOperator | 3 | 135 | [SRC]if (timeEntry!=void) { [MSG]The operator "!=" within class org.apache.ofbiz.projectmgr.None is not followed by a space or whitespace |
EditWeekTimesheet.groovy | Indentation | 3 | 143 | [SRC]retrieveWorkEffortData() [MSG]The statement on line 143 in class org.apache.ofbiz.projectmgr.None is at the incorrect indent level: Expected column 9 but was 13 |
EditWeekTimesheet.groovy | SpaceAroundOperator | 3 | 146 | [SRC]dayNumber = "d" + (timeEntry.fromDate.getTime() - timesh..*60*60*1000) [MSG]The operator "*" within class org.apache.ofbiz.projectmgr.None is not preceded by a space or whitespace |
EditWeekTimesheet.groovy | SpaceAroundOperator | 3 | 146 | [SRC]dayNumber = "d" + (timeEntry.fromDate.getTime() - timesh..*60*60*1000) [MSG]The operator "*" within class org.apache.ofbiz.projectmgr.None is not followed by a space or whitespace |
EditWeekTimesheet.groovy | SpaceAroundOperator | 3 | 146 | [SRC]dayNumber = "d" + (timeEntry.fromDate.getTime() - timesh..*60*60*1000) [MSG]The operator "*" within class org.apache.ofbiz.projectmgr.None is not preceded by a space or whitespace |
EditWeekTimesheet.groovy | SpaceAroundOperator | 3 | 146 | [SRC]dayNumber = "d" + (timeEntry.fromDate.getTime() - timesh..*60*60*1000) [MSG]The operator "*" within class org.apache.ofbiz.projectmgr.None is not followed by a space or whitespace |
EditWeekTimesheet.groovy | SpaceAroundOperator | 3 | 146 | [SRC]dayNumber = "d" + (timeEntry.fromDate.getTime() - timesh..*60*60*1000) [MSG]The operator "*" within class org.apache.ofbiz.projectmgr.None is not preceded by a space or whitespace |
EditWeekTimesheet.groovy | SpaceAroundOperator | 3 | 146 | [SRC]dayNumber = "d" + (timeEntry.fromDate.getTime() - timesh..*60*60*1000) [MSG]The operator "*" within class org.apache.ofbiz.projectmgr.None is not followed by a space or whitespace |
EditWeekTimesheet.groovy | UnnecessaryGString | 3 | 146 | [SRC]dayNumber = "d" + (timeEntry.fromDate.getTime() - timesh..*60*60*1000) [MSG]The String 'd' can be wrapped in single quotes instead of double quotes |
EditWeekTimesheet.groovy | UnnecessaryGString | 3 | 149 | [SRC]if ("d0".equals(dayNumber)) day0Total += hours [MSG]The String 'd0' can be wrapped in single quotes instead of double quotes |
EditWeekTimesheet.groovy | UnnecessaryGString | 3 | 150 | [SRC]if ("d1".equals(dayNumber)) day1Total += hours [MSG]The String 'd1' can be wrapped in single quotes instead of double quotes |
EditWeekTimesheet.groovy | UnnecessaryGString | 3 | 151 | [SRC]if ("d2".equals(dayNumber)) day2Total += hours [MSG]The String 'd2' can be wrapped in single quotes instead of double quotes |
EditWeekTimesheet.groovy | UnnecessaryGString | 3 | 152 | [SRC]if ("d3".equals(dayNumber)) day3Total += hours [MSG]The String 'd3' can be wrapped in single quotes instead of double quotes |
EditWeekTimesheet.groovy | UnnecessaryGString | 3 | 153 | [SRC]if ("d4".equals(dayNumber)) day4Total += hours [MSG]The String 'd4' can be wrapped in single quotes instead of double quotes |
EditWeekTimesheet.groovy | UnnecessaryGString | 3 | 154 | [SRC]if ("d5".equals(dayNumber)) day5Total += hours [MSG]The String 'd5' can be wrapped in single quotes instead of double quotes |
EditWeekTimesheet.groovy | UnnecessaryGString | 3 | 155 | [SRC]if ("d6".equals(dayNumber)) day6Total += hours [MSG]The String 'd6' can be wrapped in single quotes instead of double quotes |
EditWeekTimesheet.groovy | UnnecessaryGString | 3 | 167 | [SRC]if (!"TIMESHEET_COMPLETED".equals(timesheet.statusId)) { [MSG]The String 'TIMESHEET_COMPLETED' can be wrapped in single quotes instead of double quotes |
EditWeekTimesheet.groovy | SpaceAroundOperator | 3 | 168 | [SRC]for (c=0; c < 3; c++) { // add empty lines [MSG]The operator "=" within class org.apache.ofbiz.projectmgr.None is not preceded by a space or whitespace |
EditWeekTimesheet.groovy | SpaceAroundOperator | 3 | 168 | [SRC]for (c=0; c < 3; c++) { // add empty lines [MSG]The operator "=" within class org.apache.ofbiz.projectmgr.None is not followed by a space or whitespace |
EditWeekTimesheet.groovy | SpaceAroundMapEntryColon | 3 | 169 | [SRC]entries.add(["timesheetId" : timesheet.timesheetId]) [MSG]The colon for the literal Map entry for key [timesheetId] within class org.apache.ofbiz.projectmgr.None is not preceded by a match for regular expression [\S] |
EditWeekTimesheet.groovy | UnnecessaryGString | 3 | 169 | [SRC]entries.add(["timesheetId" : timesheet.timesheetId]) [MSG]The String 'timesheetId' can be wrapped in single quotes instead of double quotes |
EditWeekTimesheet.groovy | SpaceAroundMapEntryColon | 3 | 175 | [SRC]entry = ["timesheetId" : timesheet.timesheetId] [MSG]The colon for the literal Map entry for key [timesheetId] within class org.apache.ofbiz.projectmgr.None is not preceded by a match for regular expression [\S] |
EditWeekTimesheet.groovy | UnnecessaryGString | 3 | 175 | [SRC]entry = ["timesheetId" : timesheet.timesheetId] [MSG]The String 'timesheetId' can be wrapped in single quotes instead of double quotes |
EditWeekTimesheet.groovy | UnnecessaryGString | 3 | 184 | [SRC]entry.workEffortId = "Totals" [MSG]The String 'Totals' can be wrapped in single quotes instead of double quotes |
EditWeekTimesheet.groovy | UnnecessaryObjectReferences | 3 | 184 | [SRC]entry.workEffortId = "Totals" [MSG]The code could be more concise by using a with() or identity() block |
EditWeekTimesheet.groovy | UnnecessaryObjectReferences | 3 | 185 | [SRC]entry.total = day0Total + day1Total + day2Total + day3To.. + day6Total [MSG]The code could be more concise by using a with() or identity() block |
EditWeekTimesheet.groovy | UnnecessaryGString | 3 | 190 | [SRC]timesheetsDb = from("Timesheet").where("partyId", partyI...queryList() [MSG]The String 'Timesheet' can be wrapped in single quotes instead of double quotes |
EditWeekTimesheet.groovy | UnnecessaryGString | 3 | 190 | [SRC]timesheetsDb = from("Timesheet").where("partyId", partyI...queryList() [MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes |
EditWeekTimesheet.groovy | UnnecessaryGString | 3 | 190 | [SRC]timesheetsDb = from("Timesheet").where("partyId", partyI...queryList() [MSG]The String 'fromDate DESC' can be wrapped in single quotes instead of double quotes |
EditWeekTimesheet.groovy | UnnecessaryGString | 3 | 195 | [SRC]entries = timesheetDb.getRelated("TimeEntry", null, null, false) [MSG]The String 'TimeEntry' can be wrapped in single quotes instead of double quotes |
EditWorkEfforts.groovy | CouldBeElvis | 3 | 25 | [SRC]if (!maintHistSeqId) { [MSG]Code could use elvis operator: maintHistSeqId = maintHistSeqId ?: parameters.maintHistSeqId |
EditWorkEfforts.groovy | CouldBeElvis | 3 | 28 | [SRC]if (!fixedAssetId) { [MSG]Code could use elvis operator: fixedAssetId = fixedAssetId ?: parameters.fixedAssetId |
EditWorkEfforts.groovy | CouldBeElvis | 3 | 31 | [SRC]if (!workEffortId) { [MSG]Code could use elvis operator: workEffortId = workEffortId ?: parameters.workEffortId |
EditWorkEfforts.groovy | UnnecessaryGString | 3 | 41 | [SRC]workEffort = from("WorkEffort").where("workEffortId", wo..).queryOne() [MSG]The String 'WorkEffort' can be wrapped in single quotes instead of double quotes |
EditWorkEfforts.groovy | UnnecessaryGString | 3 | 41 | [SRC]workEffort = from("WorkEffort").where("workEffortId", wo..).queryOne() [MSG]The String 'workEffortId' can be wrapped in single quotes instead of double quotes |
EditWorkEfforts.groovy | CouldBeElvis | 3 | 43 | [SRC]if (!fixedAssetId) { [MSG]Code could use elvis operator: fixedAssetId = fixedAssetId ?: workEffort.fixedAssetId |
EditWorkEfforts.groovy | UnnecessaryGString | 3 | 47 | [SRC]parentWorkEffort = from("WorkEffortAssoc").where("workEf..queryFirst() [MSG]The String 'WorkEffortAssoc' can be wrapped in single quotes instead of double quotes |
EditWorkEfforts.groovy | UnnecessaryGString | 3 | 47 | [SRC]parentWorkEffort = from("WorkEffortAssoc").where("workEf..queryFirst() [MSG]The String 'workEffortIdTo' can be wrapped in single quotes instead of double quotes |
EditWorkEfforts.groovy | UnnecessaryGString | 3 | 50 | [SRC]parentWorkEffort = from("WorkEffortAssoc").where("workEf..queryFirst() [MSG]The String 'WorkEffortAssoc' can be wrapped in single quotes instead of double quotes |
EditWorkEfforts.groovy | UnnecessaryGString | 3 | 50 | [SRC]parentWorkEffort = from("WorkEffortAssoc").where("workEf..queryFirst() [MSG]The String 'workEffortIdTo' can be wrapped in single quotes instead of double quotes |
EditWorkEfforts.groovy | CouldBeElvis | 3 | 55 | [SRC]if (!rootWorkEffortId) { [MSG]Code could use elvis operator: rootWorkEffortId = rootWorkEffortId ?: workEffortId |
EditWorkEfforts.groovy | UnnecessaryGString | 3 | 60 | [SRC]fixedAssetMaint = from("FixedAssetMaint").where("schedul..queryFirst() [MSG]The String 'FixedAssetMaint' can be wrapped in single quotes instead of double quotes |
EditWorkEfforts.groovy | UnnecessaryGString | 3 | 60 | [SRC]fixedAssetMaint = from("FixedAssetMaint").where("schedul..queryFirst() [MSG]The String 'scheduleWorkEffortId' can be wrapped in single quotes instead of double quotes |
EditWorkEfforts.groovy | CouldBeElvis | 3 | 63 | [SRC]if (!fixedAssetId) { [MSG]Code could use elvis operator: fixedAssetId = fixedAssetId ?: fixedAssetMaint.fixedAssetId |
EditWorkEfforts.groovy | UnnecessaryGString | 3 | 70 | [SRC]fixedAsset = from("FixedAsset").where("fixedAssetId", fi..).queryOne() [MSG]The String 'FixedAsset' can be wrapped in single quotes instead of double quotes |
EditWorkEfforts.groovy | UnnecessaryGString | 3 | 70 | [SRC]fixedAsset = from("FixedAsset").where("fixedAssetId", fi..).queryOne() [MSG]The String 'fixedAssetId' can be wrapped in single quotes instead of double quotes |
FilterOrderList.groovy | ImportFromSamePackage | 3 | 21 | [SRC]import org.apache.ofbiz.order.order.OrderReadHelper |
FilterOrderList.groovy | ImportFromSamePackage | 3 | 23 | [SRC]import org.apache.ofbiz.order.order.OrderListState |
FindBacklogItem.groovy | SpaceAroundOperator | 3 | 25 | [SRC]productId =parameters.productId [MSG]The operator "=" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace |
FindBacklogItem.groovy | SpaceAroundOperator | 3 | 26 | [SRC]backlogList=[] [MSG]The operator "=" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
FindBacklogItem.groovy | SpaceAroundOperator | 3 | 26 | [SRC]backlogList=[] [MSG]The operator "=" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace |
FindBacklogItem.groovy | UnnecessaryGString | 3 | 27 | [SRC]custRequestList = from("CustRequestItem").where("product...queryList() [MSG]The String 'CustRequestItem' can be wrapped in single quotes instead of double quotes |
FindBacklogItem.groovy | UnnecessaryGString | 3 | 27 | [SRC]custRequestList = from("CustRequestItem").where("product...queryList() [MSG]The String 'productId' can be wrapped in single quotes instead of double quotes |
FindBacklogItem.groovy | SpaceAroundOperator | 3 | 29 | [SRC]custRequestId=custRequestListMap.custRequestId [MSG]The operator "=" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
FindBacklogItem.groovy | SpaceAroundOperator | 3 | 29 | [SRC]custRequestId=custRequestListMap.custRequestId [MSG]The operator "=" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace |
FindBacklogItem.groovy | UnnecessaryGString | 3 | 31 | [SRC]exprBldr.add(EntityCondition.makeCondition("statusId", E.._REOPENED")) [MSG]The String 'statusId' can be wrapped in single quotes instead of double quotes |
FindBacklogItem.groovy | UnnecessaryGString | 3 | 31 | [SRC]exprBldr.add(EntityCondition.makeCondition("statusId", E.._REOPENED")) [MSG]The String 'CRQ_REOPENED' can be wrapped in single quotes instead of double quotes |
FindBacklogItem.groovy | UnnecessaryGString | 3 | 32 | [SRC]exprBldr.add(EntityCondition.makeCondition("statusId", E.._REVIEWED")) [MSG]The String 'statusId' can be wrapped in single quotes instead of double quotes |
FindBacklogItem.groovy | UnnecessaryGString | 3 | 32 | [SRC]exprBldr.add(EntityCondition.makeCondition("statusId", E.._REVIEWED")) [MSG]The String 'CRQ_REVIEWED' can be wrapped in single quotes instead of double quotes |
FindBacklogItem.groovy | UnnecessaryGString | 3 | 34 | [SRC]andExprs.add(EntityCondition.makeCondition("custRequestI..tRequestId)) [MSG]The String 'custRequestId' can be wrapped in single quotes instead of double quotes |
FindBacklogItem.groovy | UnnecessaryGString | 3 | 37 | [SRC]orderBy = ["custRequestTypeId"] [MSG]The String 'custRequestTypeId' can be wrapped in single quotes instead of double quotes |
FindBacklogItem.groovy | UnnecessaryGString | 3 | 38 | [SRC]productBacklogList = from("CustRequest").where(andExprs)...queryList() [MSG]The String 'CustRequest' can be wrapped in single quotes instead of double quotes |
FindBacklogItem.groovy | UnnecessaryGString | 3 | 38 | [SRC]productBacklogList = from("CustRequest").where(andExprs)...queryList() [MSG]The String 'custRequestTypeId' can be wrapped in single quotes instead of double quotes |
FindBacklogItem.groovy | UnnecessaryGString | 3 | 41 | [SRC]taskBacklogList = from("CustRequestWorkEffort").where("c...queryList() [MSG]The String 'CustRequestWorkEffort' can be wrapped in single quotes instead of double quotes |
FindBacklogItem.groovy | UnnecessaryGString | 3 | 41 | [SRC]taskBacklogList = from("CustRequestWorkEffort").where("c...queryList() [MSG]The String 'custRequestId' can be wrapped in single quotes instead of double quotes |
FindBacklogItem.groovy | SpaceAroundOperator | 3 | 42 | [SRC]int countImplTask=0, countImplTaskComplete=0, countInsta..ntTestTask=0 [MSG]The operator "=" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
FindBacklogItem.groovy | SpaceAroundOperator | 3 | 42 | [SRC]int countImplTask=0, countImplTaskComplete=0, countInsta..ntTestTask=0 [MSG]The operator "=" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace |
FindBacklogItem.groovy | SpaceAroundOperator | 3 | 42 | [SRC]int countImplTask=0, countImplTaskComplete=0, countInsta..ntTestTask=0 [MSG]The operator "=" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
FindBacklogItem.groovy | SpaceAroundOperator | 3 | 42 | [SRC]int countImplTask=0, countImplTaskComplete=0, countInsta..ntTestTask=0 [MSG]The operator "=" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace |
FindBacklogItem.groovy | SpaceAroundOperator | 3 | 42 | [SRC]int countImplTask=0, countImplTaskComplete=0, countInsta..ntTestTask=0 [MSG]The operator "=" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
FindBacklogItem.groovy | SpaceAroundOperator | 3 | 42 | [SRC]int countImplTask=0, countImplTaskComplete=0, countInsta..ntTestTask=0 [MSG]The operator "=" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace |
FindBacklogItem.groovy | SpaceAroundOperator | 3 | 42 | [SRC]int countImplTask=0, countImplTaskComplete=0, countInsta..ntTestTask=0 [MSG]The operator "=" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
FindBacklogItem.groovy | SpaceAroundOperator | 3 | 42 | [SRC]int countImplTask=0, countImplTaskComplete=0, countInsta..ntTestTask=0 [MSG]The operator "=" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace |
FindBacklogItem.groovy | SpaceAroundOperator | 3 | 42 | [SRC]int countImplTask=0, countImplTaskComplete=0, countInsta..ntTestTask=0 [MSG]The operator "=" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
FindBacklogItem.groovy | SpaceAroundOperator | 3 | 42 | [SRC]int countImplTask=0, countImplTaskComplete=0, countInsta..ntTestTask=0 [MSG]The operator "=" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace |
FindBacklogItem.groovy | SpaceAroundOperator | 3 | 42 | [SRC]int countImplTask=0, countImplTaskComplete=0, countInsta..ntTestTask=0 [MSG]The operator "=" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
FindBacklogItem.groovy | SpaceAroundOperator | 3 | 42 | [SRC]int countImplTask=0, countImplTaskComplete=0, countInsta..ntTestTask=0 [MSG]The operator "=" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace |
FindBacklogItem.groovy | SpaceAroundOperator | 3 | 42 | [SRC]int countImplTask=0, countImplTaskComplete=0, countInsta..ntTestTask=0 [MSG]The operator "=" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
FindBacklogItem.groovy | SpaceAroundOperator | 3 | 42 | [SRC]int countImplTask=0, countImplTaskComplete=0, countInsta..ntTestTask=0 [MSG]The operator "=" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace |
FindBacklogItem.groovy | TrailingWhitespace | 3 | 45 | [SRC] [MSG]Line ends with whitespace characters |
FindBacklogItem.groovy | UnnecessaryGString | 3 | 46 | [SRC]task = from("WorkEffort").where("workEffortId", taskId).queryOne() [MSG]The String 'WorkEffort' can be wrapped in single quotes instead of double quotes |
FindBacklogItem.groovy | UnnecessaryGString | 3 | 46 | [SRC]task = from("WorkEffort").where("workEffortId", taskId).queryOne() [MSG]The String 'workEffortId' can be wrapped in single quotes instead of double quotes |
FindBacklogItem.groovy | InvertedCondition | 3 | 47 | [SRC]if ("SCRUM_TASK_IMPL" == task.workEffortTypeId) { [MSG]SCRUM_TASK_IMPL is a constant expression on the left side of a compare equals operation |
FindBacklogItem.groovy | UnnecessaryGString | 3 | 47 | [SRC]if ("SCRUM_TASK_IMPL" == task.workEffortTypeId) { [MSG]The String 'SCRUM_TASK_IMPL' can be wrapped in single quotes instead of double quotes |
FindBacklogItem.groovy | SpaceAroundOperator | 3 | 48 | [SRC]countImplTask+=1 [MSG]The operator "+=" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
FindBacklogItem.groovy | SpaceAroundOperator | 3 | 48 | [SRC]countImplTask+=1 [MSG]The operator "+=" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace |
FindBacklogItem.groovy | InvertedCondition | 3 | 49 | [SRC]if ( "STS_COMPLETED" == task.currentStatusId || "STS_CAN..tStatusId) { [MSG]STS_COMPLETED is a constant expression on the left side of a compare equals operation |
FindBacklogItem.groovy | InvertedCondition | 3 | 49 | [SRC]if ( "STS_COMPLETED" == task.currentStatusId || "STS_CAN..tStatusId) { [MSG]STS_CANCELLED is a constant expression on the left side of a compare equals operation |
FindBacklogItem.groovy | UnnecessaryGString | 3 | 49 | [SRC]if ( "STS_COMPLETED" == task.currentStatusId || "STS_CAN..tStatusId) { [MSG]The String 'STS_COMPLETED' can be wrapped in single quotes instead of double quotes |
FindBacklogItem.groovy | UnnecessaryGString | 3 | 49 | [SRC]if ( "STS_COMPLETED" == task.currentStatusId || "STS_CAN..tStatusId) { [MSG]The String 'STS_CANCELLED' can be wrapped in single quotes instead of double quotes |
FindBacklogItem.groovy | SpaceAroundOperator | 3 | 50 | [SRC]countImplTaskComplete+=1 [MSG]The operator "+=" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
FindBacklogItem.groovy | SpaceAroundOperator | 3 | 50 | [SRC]countImplTaskComplete+=1 [MSG]The operator "+=" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace |
FindBacklogItem.groovy | InvertedCondition | 3 | 53 | [SRC]else if ("SCRUM_TASK_INST" == task.workEffortTypeId) { [MSG]SCRUM_TASK_INST is a constant expression on the left side of a compare equals operation |
FindBacklogItem.groovy | UnnecessaryGString | 3 | 53 | [SRC]else if ("SCRUM_TASK_INST" == task.workEffortTypeId) { [MSG]The String 'SCRUM_TASK_INST' can be wrapped in single quotes instead of double quotes |
FindBacklogItem.groovy | SpaceAroundOperator | 3 | 54 | [SRC]countInstallTask+=1 [MSG]The operator "+=" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
FindBacklogItem.groovy | SpaceAroundOperator | 3 | 54 | [SRC]countInstallTask+=1 [MSG]The operator "+=" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace |
FindBacklogItem.groovy | InvertedCondition | 3 | 55 | [SRC]if ( "STS_COMPLETED" == task.currentStatusId || "STS_CAN..tStatusId) { [MSG]STS_COMPLETED is a constant expression on the left side of a compare equals operation |
FindBacklogItem.groovy | InvertedCondition | 3 | 55 | [SRC]if ( "STS_COMPLETED" == task.currentStatusId || "STS_CAN..tStatusId) { [MSG]STS_CANCELLED is a constant expression on the left side of a compare equals operation |
FindBacklogItem.groovy | UnnecessaryGString | 3 | 55 | [SRC]if ( "STS_COMPLETED" == task.currentStatusId || "STS_CAN..tStatusId) { [MSG]The String 'STS_COMPLETED' can be wrapped in single quotes instead of double quotes |
FindBacklogItem.groovy | UnnecessaryGString | 3 | 55 | [SRC]if ( "STS_COMPLETED" == task.currentStatusId || "STS_CAN..tStatusId) { [MSG]The String 'STS_CANCELLED' can be wrapped in single quotes instead of double quotes |
FindBacklogItem.groovy | SpaceAroundOperator | 3 | 56 | [SRC]countInstallTaskComplete+=1 [MSG]The operator "+=" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
FindBacklogItem.groovy | SpaceAroundOperator | 3 | 56 | [SRC]countInstallTaskComplete+=1 [MSG]The operator "+=" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace |
FindBacklogItem.groovy | InvertedCondition | 3 | 59 | [SRC]else if ("SCRUM_TASK_ERROR" == task.workEffortTypeId) { [MSG]SCRUM_TASK_ERROR is a constant expression on the left side of a compare equals operation |
FindBacklogItem.groovy | UnnecessaryGString | 3 | 59 | [SRC]else if ("SCRUM_TASK_ERROR" == task.workEffortTypeId) { [MSG]The String 'SCRUM_TASK_ERROR' can be wrapped in single quotes instead of double quotes |
FindBacklogItem.groovy | SpaceAroundOperator | 3 | 60 | [SRC]countErrTask+=1 [MSG]The operator "+=" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
FindBacklogItem.groovy | SpaceAroundOperator | 3 | 60 | [SRC]countErrTask+=1 [MSG]The operator "+=" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace |
FindBacklogItem.groovy | InvertedCondition | 3 | 61 | [SRC]if ( "STS_COMPLETED" == task.currentStatusId || "STS_CAN..tStatusId) { [MSG]STS_COMPLETED is a constant expression on the left side of a compare equals operation |
FindBacklogItem.groovy | InvertedCondition | 3 | 61 | [SRC]if ( "STS_COMPLETED" == task.currentStatusId || "STS_CAN..tStatusId) { [MSG]STS_CANCELLED is a constant expression on the left side of a compare equals operation |
FindBacklogItem.groovy | UnnecessaryGString | 3 | 61 | [SRC]if ( "STS_COMPLETED" == task.currentStatusId || "STS_CAN..tStatusId) { [MSG]The String 'STS_COMPLETED' can be wrapped in single quotes instead of double quotes |
FindBacklogItem.groovy | UnnecessaryGString | 3 | 61 | [SRC]if ( "STS_COMPLETED" == task.currentStatusId || "STS_CAN..tStatusId) { [MSG]The String 'STS_CANCELLED' can be wrapped in single quotes instead of double quotes |
FindBacklogItem.groovy | SpaceAroundOperator | 3 | 62 | [SRC]countErrTaskComplete+=1 [MSG]The operator "+=" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
FindBacklogItem.groovy | SpaceAroundOperator | 3 | 62 | [SRC]countErrTaskComplete+=1 [MSG]The operator "+=" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace |
FindBacklogItem.groovy | InvertedCondition | 3 | 65 | [SRC]else if ("SCRUM_TASK_TEST" == task.workEffortTypeId || "..tStatusId) { [MSG]SCRUM_TASK_TEST is a constant expression on the left side of a compare equals operation |
FindBacklogItem.groovy | InvertedCondition | 3 | 65 | [SRC]else if ("SCRUM_TASK_TEST" == task.workEffortTypeId || "..tStatusId) { [MSG]STS_CANCELLED is a constant expression on the left side of a compare equals operation |
FindBacklogItem.groovy | UnnecessaryGString | 3 | 65 | [SRC]else if ("SCRUM_TASK_TEST" == task.workEffortTypeId || "..tStatusId) { [MSG]The String 'SCRUM_TASK_TEST' can be wrapped in single quotes instead of double quotes |
FindBacklogItem.groovy | UnnecessaryGString | 3 | 65 | [SRC]else if ("SCRUM_TASK_TEST" == task.workEffortTypeId || "..tStatusId) { [MSG]The String 'STS_CANCELLED' can be wrapped in single quotes instead of double quotes |
FindBacklogItem.groovy | SpaceAroundOperator | 3 | 66 | [SRC]countTestTask+=1 [MSG]The operator "+=" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
FindBacklogItem.groovy | SpaceAroundOperator | 3 | 66 | [SRC]countTestTask+=1 [MSG]The operator "+=" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace |
FindBacklogItem.groovy | TrailingWhitespace | 3 | 69 | [SRC]if ((countImplTask > 0 || countErrTask > 0 || countInsta..TaskComplete [MSG]Line ends with whitespace characters |
FindBacklogItem.groovy | UnnecessaryGString | 3 | 77 | [SRC]backlogList = UtilMisc.sortMaps(backlogList, ["-custRequestName"]) [MSG]The String '-custRequestName' can be wrapped in single quotes instead of double quotes |
FindExampleFeatures.groovy | UnnecessaryGString | 3 | 26 | [SRC]delegator = request.getAttribute("delegator") [MSG]The String 'delegator' can be wrapped in single quotes instead of double quotes |
FindExampleFeatures.groovy | UnnecessaryGString | 3 | 29 | [SRC]fieldValue = request.getParameter("exampleFeatureId") [MSG]The String 'exampleFeatureId' can be wrapped in single quotes instead of double quotes |
FindExampleFeatures.groovy | UnnecessaryGString | 3 | 31 | [SRC]andExprs.add(EntityCondition.makeCondition(EntityFunctio..eatureId")), [MSG]The String 'exampleFeatureId' can be wrapped in single quotes instead of double quotes |
FindExampleFeatures.groovy | UnnecessaryGString | 3 | 32 | [SRC]EntityOperator.LIKE, "%" + fieldValue.toUpperCase() + "%")) [MSG]The String '%' can be wrapped in single quotes instead of double quotes |
FindExampleFeatures.groovy | UnnecessaryGString | 3 | 32 | [SRC]EntityOperator.LIKE, "%" + fieldValue.toUpperCase() + "%")) [MSG]The String '%' can be wrapped in single quotes instead of double quotes |
FindExampleFeatures.groovy | UnnecessaryGString | 3 | 37 | [SRC]autocompleteOptions = select("exampleFeatureId", "descri...queryList() [MSG]The String 'exampleFeatureId' can be wrapped in single quotes instead of double quotes |
FindExampleFeatures.groovy | UnnecessaryGString | 3 | 37 | [SRC]autocompleteOptions = select("exampleFeatureId", "descri...queryList() [MSG]The String 'description' can be wrapped in single quotes instead of double quotes |
FindExampleFeatures.groovy | UnnecessaryGString | 3 | 37 | [SRC]autocompleteOptions = select("exampleFeatureId", "descri...queryList() [MSG]The String 'ExampleFeature' can be wrapped in single quotes instead of double quotes |
FindExampleFeatures.groovy | UnnecessaryGString | 3 | 37 | [SRC]autocompleteOptions = select("exampleFeatureId", "descri...queryList() [MSG]The String '-exampleFeatureId' can be wrapped in single quotes instead of double quotes |
FindExampleFeatures.groovy | UnnecessaryGString | 3 | 39 | [SRC]request.setAttribute("autocompleteOptions", autocompleteOptions) [MSG]The String 'autocompleteOptions' can be wrapped in single quotes instead of double quotes |
FindExampleFeatures.groovy | UnnecessaryGString | 3 | 41 | [SRC]return "success" [MSG]The String 'success' can be wrapped in single quotes instead of double quotes |
FindGeneric.groovy | UnnecessaryGString | 3 | 38 | [SRC]context.escapeUrlEncode = "true" [MSG]The String 'true' can be wrapped in single quotes instead of double quotes |
FindMatches.groovy | ImportFromSamePackage | 3 | 21 | [SRC]import org.apache.ofbiz.party.party.PartyWorker |
FindMyExcelImport.groovy | NoWildcardImports | 3 | 21 | [SRC]import org.apache.ofbiz.base.util.*; [MSG]Wildcard (star) import |
FindMyExcelImport.groovy | UnnecessarySemicolon | 3 | 21 | [SRC]import org.apache.ofbiz.base.util.*; [MSG]Semicolons as line endings can be removed safely |
FindMyExcelImport.groovy | UnnecessaryGString | 3 | 23 | [SRC]module = "FindMyExcelImport.groovy"; [MSG]The String 'FindMyExcelImport.groovy' can be wrapped in single quotes instead of double quotes |
FindMyExcelImport.groovy | UnnecessarySemicolon | 3 | 23 | [SRC]module = "FindMyExcelImport.groovy"; [MSG]Semicolons as line endings can be removed safely |
FindMyExcelImport.groovy | UnnecessaryGString | 3 | 25 | [SRC]data = from("ExcelImportHistory").where("userLoginId", u..queryList(); [MSG]The String 'ExcelImportHistory' can be wrapped in single quotes instead of double quotes |
FindMyExcelImport.groovy | UnnecessaryGString | 3 | 25 | [SRC]data = from("ExcelImportHistory").where("userLoginId", u..queryList(); [MSG]The String 'userLoginId' can be wrapped in single quotes instead of double quotes |
FindMyExcelImport.groovy | UnnecessaryGString | 3 | 25 | [SRC]data = from("ExcelImportHistory").where("userLoginId", u..queryList(); [MSG]The String 'sequenceNum DESC' can be wrapped in single quotes instead of double quotes |
FindMyExcelImport.groovy | UnnecessarySemicolon | 3 | 25 | [SRC]data = from("ExcelImportHistory").where("userLoginId", u..queryList(); [MSG]Semicolons as line endings can be removed safely |
FindMyExcelImport.groovy | UnnecessarySemicolon | 3 | 26 | [SRC]context.data = data; [MSG]Semicolons as line endings can be removed safely |
FindMyExcelImportLog.groovy | NoWildcardImports | 3 | 21 | [SRC]import org.apache.ofbiz.base.util.*; [MSG]Wildcard (star) import |
FindMyExcelImportLog.groovy | UnnecessarySemicolon | 3 | 21 | [SRC]import org.apache.ofbiz.base.util.*; [MSG]Semicolons as line endings can be removed safely |
FindMyExcelImportLog.groovy | UnnecessaryGroovyImport | 3 | 22 | [SRC]import java.io.FileInputStream; |
FindMyExcelImportLog.groovy | UnnecessarySemicolon | 3 | 22 | [SRC]import java.io.FileInputStream; [MSG]Semicolons as line endings can be removed safely |
FindMyExcelImportLog.groovy | UnnecessaryGString | 3 | 24 | [SRC]module = "FindMyExcelImport.groovy"; [MSG]The String 'FindMyExcelImport.groovy' can be wrapped in single quotes instead of double quotes |
FindMyExcelImportLog.groovy | UnnecessarySemicolon | 3 | 24 | [SRC]module = "FindMyExcelImport.groovy"; [MSG]Semicolons as line endings can be removed safely |
FindMyExcelImportLog.groovy | UnnecessaryGString | 3 | 26 | [SRC]context.borderStyle = "2px inset /*begin-color ThreeDHig..nd-color*/"; [MSG]The String '2px inset /*begin-color ThreeDHighlight*/#ffffff/*end-color*/' can be wrapped in single quotes instead of double quotes |
FindMyExcelImportLog.groovy | UnnecessarySemicolon | 3 | 26 | [SRC]context.borderStyle = "2px inset /*begin-color ThreeDHig..nd-color*/"; [MSG]Semicolons as line endings can be removed safely |
FindMyExcelImportLog.groovy | UnnecessaryGString | 3 | 27 | [SRC]context.borderSimpleStyle = "2px solid /*begin-color Thr..nd-color*/"; [MSG]The String '2px solid /*begin-color ThreeDFace*/#f0f0f0/*end-color*/' can be wrapped in single quotes instead of double quotes |
FindMyExcelImportLog.groovy | UnnecessarySemicolon | 3 | 27 | [SRC]context.borderSimpleStyle = "2px solid /*begin-color Thr..nd-color*/"; [MSG]Semicolons as line endings can be removed safely |
FindMyExcelImportLog.groovy | UnnecessaryGString | 3 | 29 | [SRC]sequenceNum = request.getParameter("sequenceNum"); [MSG]The String 'sequenceNum' can be wrapped in single quotes instead of double quotes |
FindMyExcelImportLog.groovy | UnnecessarySemicolon | 3 | 29 | [SRC]sequenceNum = request.getParameter("sequenceNum"); [MSG]Semicolons as line endings can be removed safely |
FindMyExcelImportLog.groovy | UnnecessaryGString | 3 | 32 | [SRC]context.logFileContent = "No sequenceNum parameter found."; [MSG]The String 'No sequenceNum parameter found.' can be wrapped in single quotes instead of double quotes |
FindMyExcelImportLog.groovy | UnnecessarySemicolon | 3 | 32 | [SRC]context.logFileContent = "No sequenceNum parameter found."; [MSG]Semicolons as line endings can be removed safely |
FindMyExcelImportLog.groovy | TrailingWhitespace | 3 | 33 | [SRC]return; [MSG]Line ends with whitespace characters |
FindMyExcelImportLog.groovy | UnnecessarySemicolon | 3 | 33 | [SRC]return; [MSG]Semicolons as line endings can be removed safely |
FindMyExcelImportLog.groovy | UnnecessaryGString | 3 | 36 | [SRC]historyEntry = from("ExcelImportHistory").where("sequenc...queryOne(); [MSG]The String 'ExcelImportHistory' can be wrapped in single quotes instead of double quotes |
FindMyExcelImportLog.groovy | UnnecessaryGString | 3 | 36 | [SRC]historyEntry = from("ExcelImportHistory").where("sequenc...queryOne(); [MSG]The String 'sequenceNum' can be wrapped in single quotes instead of double quotes |
FindMyExcelImportLog.groovy | UnnecessaryGString | 3 | 36 | [SRC]historyEntry = from("ExcelImportHistory").where("sequenc...queryOne(); [MSG]The String 'userLoginId' can be wrapped in single quotes instead of double quotes |
FindMyExcelImportLog.groovy | UnnecessarySemicolon | 3 | 36 | [SRC]historyEntry = from("ExcelImportHistory").where("sequenc...queryOne(); [MSG]Semicolons as line endings can be removed safely |
FindMyExcelImportLog.groovy | UnnecessaryGString | 3 | 38 | [SRC]context.logFileContent = "No import history found."; [MSG]The String 'No import history found.' can be wrapped in single quotes instead of double quotes |
FindMyExcelImportLog.groovy | UnnecessarySemicolon | 3 | 38 | [SRC]context.logFileContent = "No import history found."; [MSG]Semicolons as line endings can be removed safely |
FindMyExcelImportLog.groovy | UnnecessarySemicolon | 3 | 39 | [SRC]return; [MSG]Semicolons as line endings can be removed safely |
FindMyExcelImportLog.groovy | UnnecessaryGString | 3 | 42 | [SRC]logFile = FileUtil.getFile("runtime/pricat/" + userLogin..m + ".log"); [MSG]The String 'runtime/pricat/' can be wrapped in single quotes instead of double quotes |
FindMyExcelImportLog.groovy | UnnecessaryGString | 3 | 42 | [SRC]logFile = FileUtil.getFile("runtime/pricat/" + userLogin..m + ".log"); [MSG]The String '/' can be wrapped in single quotes instead of double quotes |
FindMyExcelImportLog.groovy | UnnecessaryGString | 3 | 42 | [SRC]logFile = FileUtil.getFile("runtime/pricat/" + userLogin..m + ".log"); [MSG]The String '.log' can be wrapped in single quotes instead of double quotes |
FindMyExcelImportLog.groovy | UnnecessarySemicolon | 3 | 42 | [SRC]logFile = FileUtil.getFile("runtime/pricat/" + userLogin..m + ".log"); [MSG]Semicolons as line endings can be removed safely |
FindMyExcelImportLog.groovy | UnnecessaryGString | 3 | 44 | [SRC]context.logFileContent = "No log file found."; [MSG]The String 'No log file found.' can be wrapped in single quotes instead of double quotes |
FindMyExcelImportLog.groovy | UnnecessarySemicolon | 3 | 44 | [SRC]context.logFileContent = "No log file found."; [MSG]Semicolons as line endings can be removed safely |
FindMyExcelImportLog.groovy | UnnecessarySemicolon | 3 | 47 | [SRC]FileInputStream fis = new FileInputStream(logFile); [MSG]Semicolons as line endings can be removed safely |
FindMyExcelImportLog.groovy | UnnecessarySemicolon | 3 | 48 | [SRC]InputStreamReader isr = new InputStreamReader(fis); [MSG]Semicolons as line endings can be removed safely |
FindMyExcelImportLog.groovy | UnnecessarySemicolon | 3 | 49 | [SRC]BufferedReader br = new BufferedReader(isr); [MSG]Semicolons as line endings can be removed safely |
FindMyExcelImportLog.groovy | UnnecessaryGString | 3 | 50 | [SRC]logFileContent = ""; [MSG]The String '' can be wrapped in single quotes instead of double quotes |
FindMyExcelImportLog.groovy | UnnecessarySemicolon | 3 | 50 | [SRC]logFileContent = ""; [MSG]Semicolons as line endings can be removed safely |
FindMyExcelImportLog.groovy | SpaceAfterWhile | 3 | 51 | [SRC]while((s = br.readLine())!=null){ [MSG]The while keyword within class org.apache.ofbiz.pricat.pricat.None is not followed by a single space |
FindMyExcelImportLog.groovy | SpaceAroundOperator | 3 | 51 | [SRC]while((s = br.readLine())!=null){ [MSG]The operator "!=" within class org.apache.ofbiz.pricat.pricat.None is not preceded by a space or whitespace |
FindMyExcelImportLog.groovy | SpaceAroundOperator | 3 | 51 | [SRC]while((s = br.readLine())!=null){ [MSG]The operator "!=" within class org.apache.ofbiz.pricat.pricat.None is not followed by a space or whitespace |
FindMyExcelImportLog.groovy | SpaceBeforeOpeningBrace | 3 | 51 | [SRC]while((s = br.readLine())!=null){ [MSG]The opening brace for the block in class org.apache.ofbiz.pricat.pricat.None is not preceded by a space or whitespace |
FindMyExcelImportLog.groovy | UnnecessarySemicolon | 3 | 52 | [SRC]logFileContent += s; [MSG]Semicolons as line endings can be removed safely |
FindMyExcelImportLog.groovy | UnnecessarySemicolon | 3 | 54 | [SRC]context.logFileContent = logFileContent; [MSG]Semicolons as line endings can be removed safely |
FindProductBacklogItem.groovy | UnusedImport | 3 | 23 | [SRC]import org.apache.ofbiz.base.util.UtilValidate [MSG]The [org.apache.ofbiz.base.util.UtilValidate] import is never referenced |
FindProductBacklogItem.groovy | NoDef | 3 | 27 | [SRC]def module = "FindProductBacklogItem.groovy" [MSG]def for declaration should not be used |
FindProductBacklogItem.groovy | VariableTypeRequired | 3 | 27 | [SRC]def module = "FindProductBacklogItem.groovy" [MSG]The type is not specified for variable "module" |
FindProductBacklogItem.groovy | UnnecessaryGString | 3 | 27 | [SRC]def module = "FindProductBacklogItem.groovy" [MSG]The String 'FindProductBacklogItem.groovy' can be wrapped in single quotes instead of double quotes |
FindProductBacklogItem.groovy | UnnecessaryGString | 3 | 34 | [SRC]orderBy = "custRequestDate" [MSG]The String 'custRequestDate' can be wrapped in single quotes instead of double quotes |
FindProductBacklogItem.groovy | UnnecessaryGString | 3 | 37 | [SRC]if ("Y".equals(parameters.noConditionFind)) { [MSG]The String 'Y' can be wrapped in single quotes instead of double quotes |
FindProductBacklogItem.groovy | SpaceAfterIf | 3 | 38 | [SRC]if(parameters.productId){ [MSG]The if keyword within class org.apache.ofbiz.scrum.None is not followed by a single space |
FindProductBacklogItem.groovy | SpaceBeforeOpeningBrace | 3 | 38 | [SRC]if(parameters.productId){ [MSG]The opening brace for the block in class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
FindProductBacklogItem.groovy | UnnecessaryGString | 3 | 39 | [SRC]conditionBacklogList.add(EntityCondition.makeCondition("...productId)) [MSG]The String 'productId' can be wrapped in single quotes instead of double quotes |
FindProductBacklogItem.groovy | TrailingWhitespace | 3 | 41 | [SRC] [MSG]Line ends with whitespace characters |
FindProductBacklogItem.groovy | SpaceAfterClosingBrace | 3 | 42 | [SRC]if(parameters.custRequestTypeId){ [MSG]The closing brace for the block in class org.apache.ofbiz.scrum.None is not followed by a space or whitespace |
FindProductBacklogItem.groovy | SpaceAfterIf | 3 | 42 | [SRC]if(parameters.custRequestTypeId){ [MSG]The if keyword within class org.apache.ofbiz.scrum.None is not followed by a single space |
FindProductBacklogItem.groovy | SpaceBeforeOpeningBrace | 3 | 42 | [SRC]if(parameters.custRequestTypeId){ [MSG]The opening brace for the block in class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
FindProductBacklogItem.groovy | UnnecessaryGString | 3 | 43 | [SRC]conditionBacklogList.add(EntityCondition.makeCondition("..uestTypeId)) [MSG]The String 'custRequestTypeId' can be wrapped in single quotes instead of double quotes |
FindProductBacklogItem.groovy | SpaceBeforeOpeningBrace | 3 | 44 | [SRC]}else{ [MSG]The opening brace for the block in class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
FindProductBacklogItem.groovy | UnnecessaryGString | 3 | 46 | [SRC]orConditionBacklogList.add(EntityCondition.makeCondition..N_BACKLOG")) [MSG]The String 'custRequestTypeId' can be wrapped in single quotes instead of double quotes |
FindProductBacklogItem.groovy | UnnecessaryGString | 3 | 46 | [SRC]orConditionBacklogList.add(EntityCondition.makeCondition..N_BACKLOG")) [MSG]The String 'RF_UNPLAN_BACKLOG' can be wrapped in single quotes instead of double quotes |
FindProductBacklogItem.groovy | UnnecessaryGString | 3 | 47 | [SRC]orConditionBacklogList.add(EntityCondition.makeCondition..D_BACKLOG")) [MSG]The String 'custRequestTypeId' can be wrapped in single quotes instead of double quotes |
FindProductBacklogItem.groovy | UnnecessaryGString | 3 | 47 | [SRC]orConditionBacklogList.add(EntityCondition.makeCondition..D_BACKLOG")) [MSG]The String 'RF_PROD_BACKLOG' can be wrapped in single quotes instead of double quotes |
FindProductBacklogItem.groovy | TrailingWhitespace | 3 | 50 | [SRC] [MSG]Line ends with whitespace characters |
FindProductBacklogItem.groovy | SpaceAfterClosingBrace | 3 | 51 | [SRC]if(parameters.billed){ [MSG]The closing brace for the block in class org.apache.ofbiz.scrum.None is not followed by a space or whitespace |
FindProductBacklogItem.groovy | SpaceAfterIf | 3 | 51 | [SRC]if(parameters.billed){ [MSG]The if keyword within class org.apache.ofbiz.scrum.None is not followed by a single space |
FindProductBacklogItem.groovy | SpaceBeforeOpeningBrace | 3 | 51 | [SRC]if(parameters.billed){ [MSG]The opening brace for the block in class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
FindProductBacklogItem.groovy | UnnecessaryGString | 3 | 52 | [SRC]conditionBacklogList.add(EntityCondition.makeCondition("..ers.billed)) [MSG]The String 'billed' can be wrapped in single quotes instead of double quotes |
FindProductBacklogItem.groovy | SpaceBeforeOpeningBrace | 3 | 53 | [SRC]}else{ [MSG]The opening brace for the block in class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
FindProductBacklogItem.groovy | UnnecessaryGString | 3 | 55 | [SRC]orConditionBacklogList.add(EntityCondition.makeCondition..QUALS, "Y")) [MSG]The String 'billed' can be wrapped in single quotes instead of double quotes |
FindProductBacklogItem.groovy | UnnecessaryGString | 3 | 55 | [SRC]orConditionBacklogList.add(EntityCondition.makeCondition..QUALS, "Y")) [MSG]The String 'Y' can be wrapped in single quotes instead of double quotes |
FindProductBacklogItem.groovy | UnnecessaryGString | 3 | 56 | [SRC]orConditionBacklogList.add(EntityCondition.makeCondition..QUALS, "N")) [MSG]The String 'billed' can be wrapped in single quotes instead of double quotes |
FindProductBacklogItem.groovy | UnnecessaryGString | 3 | 56 | [SRC]orConditionBacklogList.add(EntityCondition.makeCondition..QUALS, "N")) [MSG]The String 'N' can be wrapped in single quotes instead of double quotes |
FindProductBacklogItem.groovy | TrailingWhitespace | 3 | 59 | [SRC] [MSG]Line ends with whitespace characters |
FindProductBacklogItem.groovy | SpaceAfterIf | 3 | 60 | [SRC]if(parameters.statusId){ [MSG]The if keyword within class org.apache.ofbiz.scrum.None is not followed by a single space |
FindProductBacklogItem.groovy | SpaceBeforeOpeningBrace | 3 | 60 | [SRC]if(parameters.statusId){ [MSG]The opening brace for the block in class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
FindProductBacklogItem.groovy | UnnecessaryGString | 3 | 61 | [SRC]orderBy = "custSequenceNum" [MSG]The String 'custSequenceNum' can be wrapped in single quotes instead of double quotes |
FindProductBacklogItem.groovy | UnnecessaryGString | 3 | 62 | [SRC]conditionBacklogList.add(EntityCondition.makeCondition("..s.statusId)) [MSG]The String 'statusId' can be wrapped in single quotes instead of double quotes |
FindProductBacklogItem.groovy | TrailingWhitespace | 3 | 64 | [SRC] [MSG]Line ends with whitespace characters |
FindProductBacklogItem.groovy | SpaceAfterIf | 3 | 65 | [SRC]if(parameters.parentCustRequestId){ [MSG]The if keyword within class org.apache.ofbiz.scrum.None is not followed by a single space |
FindProductBacklogItem.groovy | SpaceBeforeOpeningBrace | 3 | 65 | [SRC]if(parameters.parentCustRequestId){ [MSG]The opening brace for the block in class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
FindProductBacklogItem.groovy | UnnecessaryGString | 3 | 66 | [SRC]conditionBacklogList.add(EntityCondition.makeCondition("..tRequestId)) [MSG]The String 'parentCustRequestId' can be wrapped in single quotes instead of double quotes |
FindProductBacklogItem.groovy | TrailingWhitespace | 3 | 68 | [SRC] [MSG]Line ends with whitespace characters |
FindProductBacklogItem.groovy | SpaceAfterIf | 3 | 69 | [SRC]if(parameters.description){ [MSG]The if keyword within class org.apache.ofbiz.scrum.None is not followed by a single space |
FindProductBacklogItem.groovy | SpaceBeforeOpeningBrace | 3 | 69 | [SRC]if(parameters.description){ [MSG]The opening brace for the block in class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
FindProductBacklogItem.groovy | UnnecessaryGString | 3 | 70 | [SRC]conditionBacklogList.add(EntityCondition.makeCondition("..tion + "%")) [MSG]The String 'description' can be wrapped in single quotes instead of double quotes |
FindProductBacklogItem.groovy | UnnecessaryGString | 3 | 70 | [SRC]conditionBacklogList.add(EntityCondition.makeCondition("..tion + "%")) [MSG]The String '%' can be wrapped in single quotes instead of double quotes |
FindProductBacklogItem.groovy | UnnecessaryGString | 3 | 70 | [SRC]conditionBacklogList.add(EntityCondition.makeCondition("..tion + "%")) [MSG]The String '%' can be wrapped in single quotes instead of double quotes |
FindProductBacklogItem.groovy | TrailingWhitespace | 3 | 72 | [SRC] [MSG]Line ends with whitespace characters |
FindProductBacklogItem.groovy | SpaceAfterIf | 3 | 73 | [SRC]if(parameters.fromPartyId){ [MSG]The if keyword within class org.apache.ofbiz.scrum.None is not followed by a single space |
FindProductBacklogItem.groovy | SpaceBeforeOpeningBrace | 3 | 73 | [SRC]if(parameters.fromPartyId){ [MSG]The opening brace for the block in class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
FindProductBacklogItem.groovy | UnnecessaryGString | 3 | 74 | [SRC]conditionBacklogList.add(EntityCondition.makeCondition("..tyId + "%")) [MSG]The String 'fromPartyId' can be wrapped in single quotes instead of double quotes |
FindProductBacklogItem.groovy | UnnecessaryGString | 3 | 74 | [SRC]conditionBacklogList.add(EntityCondition.makeCondition("..tyId + "%")) [MSG]The String '%' can be wrapped in single quotes instead of double quotes |
FindProductBacklogItem.groovy | UnnecessaryGString | 3 | 74 | [SRC]conditionBacklogList.add(EntityCondition.makeCondition("..tyId + "%")) [MSG]The String '%' can be wrapped in single quotes instead of double quotes |
FindProductBacklogItem.groovy | TrailingWhitespace | 3 | 76 | [SRC] [MSG]Line ends with whitespace characters |
FindProductBacklogItem.groovy | SpaceBeforeOpeningBrace | 3 | 77 | [SRC]if (parameters.custRequestDate){ [MSG]The opening brace for the block in class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
FindProductBacklogItem.groovy | UnnecessaryGString | 3 | 79 | [SRC]fromDate = fromDate + " " + "00:00:00.000" [MSG]The String ' ' can be wrapped in single quotes instead of double quotes |
FindProductBacklogItem.groovy | UnnecessaryGString | 3 | 79 | [SRC]fromDate = fromDate + " " + "00:00:00.000" [MSG]The String '00:00:00.000' can be wrapped in single quotes instead of double quotes |
FindProductBacklogItem.groovy | UnnecessaryGString | 3 | 80 | [SRC]conditionBacklogList.add(EntityCondition.makeCondition("..(fromDate))) [MSG]The String 'custRequestDate' can be wrapped in single quotes instead of double quotes |
FindProductBacklogItem.groovy | UnnecessaryGString | 3 | 82 | [SRC]thruDate = thruDate + " " + "23:59:59.999" [MSG]The String ' ' can be wrapped in single quotes instead of double quotes |
FindProductBacklogItem.groovy | UnnecessaryGString | 3 | 82 | [SRC]thruDate = thruDate + " " + "23:59:59.999" [MSG]The String '23:59:59.999' can be wrapped in single quotes instead of double quotes |
FindProductBacklogItem.groovy | UnnecessaryGString | 3 | 83 | [SRC]conditionBacklogList.add(EntityCondition.makeCondition("..(thruDate))) [MSG]The String 'custRequestDate' can be wrapped in single quotes instead of double quotes |
FindProductBacklogItem.groovy | TrailingWhitespace | 3 | 85 | [SRC] [MSG]Line ends with whitespace characters |
FindProductBacklogItem.groovy | SpaceAfterIf | 3 | 86 | [SRC]if(parameters.custRequestId){ [MSG]The if keyword within class org.apache.ofbiz.scrum.None is not followed by a single space |
FindProductBacklogItem.groovy | SpaceBeforeOpeningBrace | 3 | 86 | [SRC]if(parameters.custRequestId){ [MSG]The opening brace for the block in class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
FindProductBacklogItem.groovy | UnnecessaryGString | 3 | 87 | [SRC]conditionBacklogList.add(EntityCondition.makeCondition("..stId + "%")) [MSG]The String 'custRequestId' can be wrapped in single quotes instead of double quotes |
FindProductBacklogItem.groovy | UnnecessaryGString | 3 | 87 | [SRC]conditionBacklogList.add(EntityCondition.makeCondition("..stId + "%")) [MSG]The String '%' can be wrapped in single quotes instead of double quotes |
FindProductBacklogItem.groovy | TrailingWhitespace | 3 | 89 | [SRC] [MSG]Line ends with whitespace characters |
FindProductBacklogItem.groovy | TrailingWhitespace | 3 | 91 | [SRC] [MSG]Line ends with whitespace characters |
FindProductBacklogItem.groovy | SpaceAfterIf | 3 | 92 | [SRC]if(orConditionsBacklog){ [MSG]The if keyword within class org.apache.ofbiz.scrum.None is not followed by a single space |
FindProductBacklogItem.groovy | SpaceBeforeOpeningBrace | 3 | 92 | [SRC]if(orConditionsBacklog){ [MSG]The opening brace for the block in class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
FindProductBacklogItem.groovy | TrailingWhitespace | 3 | 95 | [SRC] [MSG]Line ends with whitespace characters |
FindProductBacklogItem.groovy | TrailingWhitespace | 3 | 97 | [SRC] [MSG]Line ends with whitespace characters |
FindProductBacklogItem.groovy | SpaceAfterComma | 3 | 99 | [SRC]backlogList = select("custRequestId","custRequestTypeId"..romPartyId") [MSG]The parameter custRequestTypeId in the call to method select within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
FindProductBacklogItem.groovy | SpaceAfterComma | 3 | 99 | [SRC]backlogList = select("custRequestId","custRequestTypeId"..romPartyId") [MSG]The parameter productId in the call to method select within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
FindProductBacklogItem.groovy | SpaceAfterComma | 3 | 99 | [SRC]backlogList = select("custRequestId","custRequestTypeId"..romPartyId") [MSG]The parameter billed in the call to method select within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
FindProductBacklogItem.groovy | SpaceAfterComma | 3 | 99 | [SRC]backlogList = select("custRequestId","custRequestTypeId"..romPartyId") [MSG]The parameter custRequestDate in the call to method select within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
FindProductBacklogItem.groovy | SpaceAfterComma | 3 | 99 | [SRC]backlogList = select("custRequestId","custRequestTypeId"..romPartyId") [MSG]The parameter fromPartyId in the call to method select within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
FindProductBacklogItem.groovy | UnnecessaryGString | 3 | 99 | [SRC]backlogList = select("custRequestId","custRequestTypeId"..romPartyId") [MSG]The String 'custRequestId' can be wrapped in single quotes instead of double quotes |
FindProductBacklogItem.groovy | UnnecessaryGString | 3 | 99 | [SRC]backlogList = select("custRequestId","custRequestTypeId"..romPartyId") [MSG]The String 'custRequestTypeId' can be wrapped in single quotes instead of double quotes |
FindProductBacklogItem.groovy | UnnecessaryGString | 3 | 99 | [SRC]backlogList = select("custRequestId","custRequestTypeId"..romPartyId") [MSG]The String 'custSequenceNum' can be wrapped in single quotes instead of double quotes |
FindProductBacklogItem.groovy | UnnecessaryGString | 3 | 99 | [SRC]backlogList = select("custRequestId","custRequestTypeId"..romPartyId") [MSG]The String 'statusId' can be wrapped in single quotes instead of double quotes |
FindProductBacklogItem.groovy | UnnecessaryGString | 3 | 99 | [SRC]backlogList = select("custRequestId","custRequestTypeId"..romPartyId") [MSG]The String 'description' can be wrapped in single quotes instead of double quotes |
FindProductBacklogItem.groovy | UnnecessaryGString | 3 | 99 | [SRC]backlogList = select("custRequestId","custRequestTypeId"..romPartyId") [MSG]The String 'custEstimatedMilliSeconds' can be wrapped in single quotes instead of double quotes |
FindProductBacklogItem.groovy | UnnecessaryGString | 3 | 99 | [SRC]backlogList = select("custRequestId","custRequestTypeId"..romPartyId") [MSG]The String 'custRequestName' can be wrapped in single quotes instead of double quotes |
FindProductBacklogItem.groovy | UnnecessaryGString | 3 | 99 | [SRC]backlogList = select("custRequestId","custRequestTypeId"..romPartyId") [MSG]The String 'parentCustRequestId' can be wrapped in single quotes instead of double quotes |
FindProductBacklogItem.groovy | UnnecessaryGString | 3 | 99 | [SRC]backlogList = select("custRequestId","custRequestTypeId"..romPartyId") [MSG]The String 'productId' can be wrapped in single quotes instead of double quotes |
FindProductBacklogItem.groovy | UnnecessaryGString | 3 | 99 | [SRC]backlogList = select("custRequestId","custRequestTypeId"..romPartyId") [MSG]The String 'billed' can be wrapped in single quotes instead of double quotes |
FindProductBacklogItem.groovy | UnnecessaryGString | 3 | 99 | [SRC]backlogList = select("custRequestId","custRequestTypeId"..romPartyId") [MSG]The String 'custRequestDate' can be wrapped in single quotes instead of double quotes |
FindProductBacklogItem.groovy | UnnecessaryGString | 3 | 99 | [SRC]backlogList = select("custRequestId","custRequestTypeId"..romPartyId") [MSG]The String 'fromPartyId' can be wrapped in single quotes instead of double quotes |
FindProductBacklogItem.groovy | UnnecessaryGString | 3 | 100 | [SRC].from("CustRequestAndCustRequestItem") [MSG]The String 'CustRequestAndCustRequestItem' can be wrapped in single quotes instead of double quotes |
FindProductBacklogItem.groovy | UnnecessaryGString | 3 | 102 | [SRC].orderBy("-custRequestTypeId", orderBy) [MSG]The String '-custRequestTypeId' can be wrapped in single quotes instead of double quotes |
FindProductBacklogItem.groovy | TrailingWhitespace | 3 | 104 | [SRC] [MSG]Line ends with whitespace characters |
FindProductBacklogItem.groovy | NoDef | 3 | 105 | [SRC]def countSequenceBacklog = 1 [MSG]def for declaration should not be used |
FindProductBacklogItem.groovy | VariableTypeRequired | 3 | 105 | [SRC]def countSequenceBacklog = 1 [MSG]The type is not specified for variable "countSequenceBacklog" |
FindProductBacklogItem.groovy | NoDef | 3 | 106 | [SRC]def backlogItems = [] [MSG]def for declaration should not be used |
FindProductBacklogItem.groovy | VariableTypeRequired | 3 | 106 | [SRC]def backlogItems = [] [MSG]The type is not specified for variable "backlogItems" |
FindProductBacklogItem.groovy | UnnecessaryParenthesesForMethodCallWithClosure | 3 | 107 | [SRC]backlogList.each() { backlogItem -> [MSG]Violation in class org.apache.ofbiz.scrum.None. Parentheses in the 'each' method call are unnecessary and can be removed. |
FindProductBacklogItem.groovy | NoDef | 3 | 108 | [SRC]def tempBacklog = [:] [MSG]def for declaration should not be used |
FindProductBacklogItem.groovy | VariableTypeRequired | 3 | 108 | [SRC]def tempBacklog = [:] [MSG]The type is not specified for variable "tempBacklog" |
FindProductBacklogItem.groovy | UnnecessaryGString | 3 | 113 | [SRC]backlogCustWorkEffortList = from("CustRequestWorkEffort"...queryList() [MSG]The String 'CustRequestWorkEffort' can be wrapped in single quotes instead of double quotes |
FindProductBacklogItem.groovy | UnnecessaryGString | 3 | 113 | [SRC]backlogCustWorkEffortList = from("CustRequestWorkEffort"...queryList() [MSG]The String 'custRequestId' can be wrapped in single quotes instead of double quotes |
FindProductBacklogItem.groovy | UnnecessaryParenthesesForMethodCallWithClosure | 3 | 116 | [SRC]backlogCustWorkEffortList.each() { custWorkEffortMap -> [MSG]Violation in class org.apache.ofbiz.scrum.None. Parentheses in the 'each' method call are unnecessary and can be removed. |
FindProductBacklogItem.groovy | SpaceAfterComma | 3 | 117 | [SRC]result = runService('getScrumActualHour', ["taskId" : cu.. userLogin]) [MSG]The map entry partyId:null within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
FindProductBacklogItem.groovy | SpaceAroundMapEntryColon | 3 | 117 | [SRC]result = runService('getScrumActualHour', ["taskId" : cu.. userLogin]) [MSG]The colon for the literal Map entry for key [taskId] within class org.apache.ofbiz.scrum.None is not preceded by a match for regular expression [\S] |
FindProductBacklogItem.groovy | SpaceAroundMapEntryColon | 3 | 117 | [SRC]result = runService('getScrumActualHour', ["taskId" : cu.. userLogin]) [MSG]The colon for the literal Map entry for key [partyId] within class org.apache.ofbiz.scrum.None is not preceded by a match for regular expression [\S] |
FindProductBacklogItem.groovy | SpaceAroundMapEntryColon | 3 | 117 | [SRC]result = runService('getScrumActualHour', ["taskId" : cu.. userLogin]) [MSG]The colon for the literal Map entry for key [userLogin] within class org.apache.ofbiz.scrum.None is not preceded by a match for regular expression [\S] |
FindProductBacklogItem.groovy | UnnecessaryGString | 3 | 117 | [SRC]result = runService('getScrumActualHour', ["taskId" : cu.. userLogin]) [MSG]The String 'taskId' can be wrapped in single quotes instead of double quotes |
FindProductBacklogItem.groovy | UnnecessaryGString | 3 | 117 | [SRC]result = runService('getScrumActualHour', ["taskId" : cu.. userLogin]) [MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes |
FindProductBacklogItem.groovy | UnnecessaryGString | 3 | 117 | [SRC]result = runService('getScrumActualHour', ["taskId" : cu.. userLogin]) [MSG]The String 'userLogin' can be wrapped in single quotes instead of double quotes |
FindProductBacklogItem.groovy | SpaceAfterIf | 3 | 120 | [SRC]if(actualHours) { [MSG]The if keyword within class org.apache.ofbiz.scrum.None is not followed by a single space |
FindProductBacklogItem.groovy | TrailingWhitespace | 3 | 131 | [SRC] [MSG]Line ends with whitespace characters |
FindProductBacklogItem.groovy | UnnecessaryGString | 3 | 133 | [SRC]if ("N".equals(parameters.sequence)) { [MSG]The String 'N' can be wrapped in single quotes instead of double quotes |
FindProductBacklogItem.groovy | UnnecessaryGString | 3 | 134 | [SRC]backlogItems = UtilMisc.sortMaps(backlogItems, ["parentC..RequestId"]) [MSG]The String 'parentCustRequestId' can be wrapped in single quotes instead of double quotes |
FindTaskList.groovy | SpaceAroundOperator | 3 | 37 | [SRC]resultList=[] [MSG]The operator "=" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
FindTaskList.groovy | SpaceAroundOperator | 3 | 37 | [SRC]resultList=[] [MSG]The operator "=" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace |
FindTaskList.groovy | SpaceAroundOperator | 3 | 38 | [SRC]taskList=[] [MSG]The operator "=" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
FindTaskList.groovy | SpaceAroundOperator | 3 | 38 | [SRC]taskList=[] [MSG]The operator "=" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace |
FindTaskList.groovy | SpaceAroundOperator | 3 | 39 | [SRC]implementTaskList=[] [MSG]The operator "=" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
FindTaskList.groovy | SpaceAroundOperator | 3 | 39 | [SRC]implementTaskList=[] [MSG]The operator "=" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace |
FindTaskList.groovy | SpaceAroundOperator | 3 | 40 | [SRC]testTaskList=[] [MSG]The operator "=" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
FindTaskList.groovy | SpaceAroundOperator | 3 | 40 | [SRC]testTaskList=[] [MSG]The operator "=" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace |
FindTaskList.groovy | SpaceAroundOperator | 3 | 45 | [SRC]if ((taskId != null)||(taskName != null)||(taskTypeId !=..ame != null) [MSG]The operator "||" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
FindTaskList.groovy | SpaceAroundOperator | 3 | 45 | [SRC]if ((taskId != null)||(taskName != null)||(taskTypeId !=..ame != null) [MSG]The operator "||" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace |
FindTaskList.groovy | SpaceAroundOperator | 3 | 45 | [SRC]if ((taskId != null)||(taskName != null)||(taskTypeId !=..ame != null) [MSG]The operator "||" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
FindTaskList.groovy | SpaceAroundOperator | 3 | 45 | [SRC]if ((taskId != null)||(taskName != null)||(taskTypeId !=..ame != null) [MSG]The operator "||" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace |
FindTaskList.groovy | SpaceAroundOperator | 3 | 45 | [SRC]if ((taskId != null)||(taskName != null)||(taskTypeId !=..ame != null) [MSG]The operator "||" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
FindTaskList.groovy | SpaceAroundOperator | 3 | 45 | [SRC]if ((taskId != null)||(taskName != null)||(taskTypeId !=..ame != null) [MSG]The operator "||" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace |
FindTaskList.groovy | SpaceAroundOperator | 3 | 45 | [SRC]if ((taskId != null)||(taskName != null)||(taskTypeId !=..ame != null) [MSG]The operator "||" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace |
FindTaskList.groovy | SpaceAroundOperator | 3 | 45 | [SRC]if ((taskId != null)||(taskName != null)||(taskTypeId !=..ame != null) [MSG]The operator "||" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
FindTaskList.groovy | SpaceAroundOperator | 3 | 45 | [SRC]if ((taskId != null)||(taskName != null)||(taskTypeId !=..ame != null) [MSG]The operator "||" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace |
FindTaskList.groovy | SpaceAroundOperator | 3 | 45 | [SRC]if ((taskId != null)||(taskName != null)||(taskTypeId !=..ame != null) [MSG]The operator "||" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
FindTaskList.groovy | SpaceAroundOperator | 3 | 45 | [SRC]if ((taskId != null)||(taskName != null)||(taskTypeId !=..ame != null) [MSG]The operator "||" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace |
FindTaskList.groovy | SpaceAroundOperator | 3 | 45 | [SRC]if ((taskId != null)||(taskName != null)||(taskTypeId !=..ame != null) [MSG]The operator "||" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
FindTaskList.groovy | SpaceAroundOperator | 3 | 45 | [SRC]if ((taskId != null)||(taskName != null)||(taskTypeId !=..ame != null) [MSG]The operator "||" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace |
FindTaskList.groovy | SpaceAroundOperator | 3 | 45 | [SRC]if ((taskId != null)||(taskName != null)||(taskTypeId !=..ame != null) [MSG]The operator "||" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
FindTaskList.groovy | SpaceAroundOperator | 3 | 45 | [SRC]if ((taskId != null)||(taskName != null)||(taskTypeId !=..ame != null) [MSG]The operator "||" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace |
FindTaskList.groovy | SpaceAroundOperator | 3 | 45 | [SRC]if ((taskId != null)||(taskName != null)||(taskTypeId !=..ame != null) [MSG]The operator "||" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace |
FindTaskList.groovy | SpaceAroundOperator | 3 | 45 | [SRC]if ((taskId != null)||(taskName != null)||(taskTypeId !=..ame != null) [MSG]The operator "||" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
FindTaskList.groovy | SpaceAroundOperator | 3 | 45 | [SRC]if ((taskId != null)||(taskName != null)||(taskTypeId !=..ame != null) [MSG]The operator "||" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace |
FindTaskList.groovy | SpaceAroundOperator | 3 | 45 | [SRC]if ((taskId != null)||(taskName != null)||(taskTypeId !=..ame != null) [MSG]The operator "||" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
FindTaskList.groovy | SpaceAroundOperator | 3 | 45 | [SRC]if ((taskId != null)||(taskName != null)||(taskTypeId !=..ame != null) [MSG]The operator "||" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace |
FindTaskList.groovy | SpaceAroundOperator | 3 | 45 | [SRC]if ((taskId != null)||(taskName != null)||(taskTypeId !=..ame != null) [MSG]The operator "||" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
FindTaskList.groovy | SpaceAroundOperator | 3 | 45 | [SRC]if ((taskId != null)||(taskName != null)||(taskTypeId !=..ame != null) [MSG]The operator "||" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace |
FindTaskList.groovy | SpaceAroundOperator | 3 | 45 | [SRC]if ((taskId != null)||(taskName != null)||(taskTypeId !=..ame != null) [MSG]The operator "||" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace |
FindTaskList.groovy | SpaceAroundOperator | 3 | 45 | [SRC]if ((taskId != null)||(taskName != null)||(taskTypeId !=..ame != null) [MSG]The operator "||" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
FindTaskList.groovy | SpaceAroundOperator | 3 | 45 | [SRC]if ((taskId != null)||(taskName != null)||(taskTypeId !=..ame != null) [MSG]The operator "||" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace |
FindTaskList.groovy | SpaceAroundOperator | 3 | 45 | [SRC]if ((taskId != null)||(taskName != null)||(taskTypeId !=..ame != null) [MSG]The operator "||" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
FindTaskList.groovy | SpaceAroundOperator | 3 | 45 | [SRC]if ((taskId != null)||(taskName != null)||(taskTypeId !=..ame != null) [MSG]The operator "||" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace |
FindTaskList.groovy | SpaceAroundOperator | 3 | 45 | [SRC]if ((taskId != null)||(taskName != null)||(taskTypeId !=..ame != null) [MSG]The operator "||" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
FindTaskList.groovy | SpaceAroundOperator | 3 | 45 | [SRC]if ((taskId != null)||(taskName != null)||(taskTypeId !=..ame != null) [MSG]The operator "||" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace |
FindTaskList.groovy | SpaceAroundOperator | 3 | 45 | [SRC]if ((taskId != null)||(taskName != null)||(taskTypeId !=..ame != null) [MSG]The operator "||" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
FindTaskList.groovy | SpaceAroundOperator | 3 | 45 | [SRC]if ((taskId != null)||(taskName != null)||(taskTypeId !=..ame != null) [MSG]The operator "||" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace |
FindTaskList.groovy | SpaceBeforeOpeningBrace | 3 | 48 | [SRC]||(viewIndexNo_1 > 0)||(viewIndexNo_2 > 0)||(viewIndexNo..xNo_4 > 0)){ [MSG]The opening brace for the block in class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
FindTaskList.groovy | SpaceAroundOperator | 3 | 49 | [SRC]if ((taskId != null)||(taskName != null)||(taskTypeId != null)){ [MSG]The operator "||" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
FindTaskList.groovy | SpaceAroundOperator | 3 | 49 | [SRC]if ((taskId != null)||(taskName != null)||(taskTypeId != null)){ [MSG]The operator "||" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace |
FindTaskList.groovy | SpaceAroundOperator | 3 | 49 | [SRC]if ((taskId != null)||(taskName != null)||(taskTypeId != null)){ [MSG]The operator "||" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
FindTaskList.groovy | SpaceAroundOperator | 3 | 49 | [SRC]if ((taskId != null)||(taskName != null)||(taskTypeId != null)){ [MSG]The operator "||" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace |
FindTaskList.groovy | SpaceBeforeOpeningBrace | 3 | 49 | [SRC]if ((taskId != null)||(taskName != null)||(taskTypeId != null)){ [MSG]The opening brace for the block in class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
FindTaskList.groovy | UnnecessaryGString | 3 | 52 | [SRC]exprBldr.add(EntityCondition.makeCondition("workEffortId..LS, taskId)) [MSG]The String 'workEffortId' can be wrapped in single quotes instead of double quotes |
FindTaskList.groovy | SpaceBeforeOpeningBrace | 3 | 54 | [SRC]if (taskName){ [MSG]The opening brace for the block in class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
FindTaskList.groovy | SpaceAroundOperator | 3 | 55 | [SRC]exprBldr.add(EntityCondition.makeCondition("workEffortNa..skName+"%")) [MSG]The operator "+" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
FindTaskList.groovy | SpaceAroundOperator | 3 | 55 | [SRC]exprBldr.add(EntityCondition.makeCondition("workEffortNa..skName+"%")) [MSG]The operator "+" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace |
FindTaskList.groovy | SpaceAroundOperator | 3 | 55 | [SRC]exprBldr.add(EntityCondition.makeCondition("workEffortNa..skName+"%")) [MSG]The operator "+" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
FindTaskList.groovy | SpaceAroundOperator | 3 | 55 | [SRC]exprBldr.add(EntityCondition.makeCondition("workEffortNa..skName+"%")) [MSG]The operator "+" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace |
FindTaskList.groovy | UnnecessaryGString | 3 | 55 | [SRC]exprBldr.add(EntityCondition.makeCondition("workEffortNa..skName+"%")) [MSG]The String 'workEffortName' can be wrapped in single quotes instead of double quotes |
FindTaskList.groovy | UnnecessaryGString | 3 | 55 | [SRC]exprBldr.add(EntityCondition.makeCondition("workEffortNa..skName+"%")) [MSG]The String '%' can be wrapped in single quotes instead of double quotes |
FindTaskList.groovy | UnnecessaryGString | 3 | 55 | [SRC]exprBldr.add(EntityCondition.makeCondition("workEffortNa..skName+"%")) [MSG]The String '%' can be wrapped in single quotes instead of double quotes |
FindTaskList.groovy | SpaceBeforeOpeningBrace | 3 | 57 | [SRC]if (taskTypeId){ [MSG]The opening brace for the block in class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
FindTaskList.groovy | UnnecessaryGString | 3 | 58 | [SRC]exprBldr.add(EntityCondition.makeCondition("workEffortTy..taskTypeId)) [MSG]The String 'workEffortTypeId' can be wrapped in single quotes instead of double quotes |
FindTaskList.groovy | SpaceBeforeOpeningBrace | 3 | 60 | [SRC]if (statusId){ [MSG]The opening brace for the block in class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
FindTaskList.groovy | UnnecessaryGString | 3 | 61 | [SRC]exprBldr.add(EntityCondition.makeCondition("currentStatu.., statusId)) [MSG]The String 'currentStatusId' can be wrapped in single quotes instead of double quotes |
FindTaskList.groovy | UnnecessaryGString | 3 | 63 | [SRC]unplannedTaskList = from("UnPlannedBacklogsAndTasks").wh...queryList() [MSG]The String 'UnPlannedBacklogsAndTasks' can be wrapped in single quotes instead of double quotes |
FindTaskList.groovy | UnnecessaryGString | 3 | 63 | [SRC]unplannedTaskList = from("UnPlannedBacklogsAndTasks").wh...queryList() [MSG]The String '-createdDate' can be wrapped in single quotes instead of double quotes |
FindTaskList.groovy | SpaceBeforeOpeningBrace | 3 | 65 | [SRC]else{ [MSG]The opening brace for the block in class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
FindTaskList.groovy | UnnecessaryGString | 3 | 66 | [SRC]unplannedTaskList = from("UnPlannedBacklogsAndTasks").or...queryList() [MSG]The String 'UnPlannedBacklogsAndTasks' can be wrapped in single quotes instead of double quotes |
FindTaskList.groovy | UnnecessaryGString | 3 | 66 | [SRC]unplannedTaskList = from("UnPlannedBacklogsAndTasks").or...queryList() [MSG]The String '-createdDate' can be wrapped in single quotes instead of double quotes |
FindTaskList.groovy | TrailingWhitespace | 3 | 68 | [SRC] [MSG]Line ends with whitespace characters |
FindTaskList.groovy | UnnecessaryGString | 3 | 71 | [SRC]exprBldr2.add(EntityCondition.makeCondition("taskId", En..LS, taskId)) [MSG]The String 'taskId' can be wrapped in single quotes instead of double quotes |
FindTaskList.groovy | SpaceBeforeOpeningBrace | 3 | 73 | [SRC]if (taskName){ [MSG]The opening brace for the block in class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
FindTaskList.groovy | SpaceAroundOperator | 3 | 74 | [SRC]exprBldr2.add(EntityCondition.makeCondition("taskName", ..skName+"%")) [MSG]The operator "+" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
FindTaskList.groovy | SpaceAroundOperator | 3 | 74 | [SRC]exprBldr2.add(EntityCondition.makeCondition("taskName", ..skName+"%")) [MSG]The operator "+" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace |
FindTaskList.groovy | SpaceAroundOperator | 3 | 74 | [SRC]exprBldr2.add(EntityCondition.makeCondition("taskName", ..skName+"%")) [MSG]The operator "+" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
FindTaskList.groovy | SpaceAroundOperator | 3 | 74 | [SRC]exprBldr2.add(EntityCondition.makeCondition("taskName", ..skName+"%")) [MSG]The operator "+" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace |
FindTaskList.groovy | UnnecessaryGString | 3 | 74 | [SRC]exprBldr2.add(EntityCondition.makeCondition("taskName", ..skName+"%")) [MSG]The String 'taskName' can be wrapped in single quotes instead of double quotes |
FindTaskList.groovy | UnnecessaryGString | 3 | 74 | [SRC]exprBldr2.add(EntityCondition.makeCondition("taskName", ..skName+"%")) [MSG]The String '%' can be wrapped in single quotes instead of double quotes |
FindTaskList.groovy | UnnecessaryGString | 3 | 74 | [SRC]exprBldr2.add(EntityCondition.makeCondition("taskName", ..skName+"%")) [MSG]The String '%' can be wrapped in single quotes instead of double quotes |
FindTaskList.groovy | SpaceBeforeOpeningBrace | 3 | 76 | [SRC]if (taskTypeId){ [MSG]The opening brace for the block in class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
FindTaskList.groovy | UnnecessaryGString | 3 | 77 | [SRC]exprBldr2.add(EntityCondition.makeCondition("taskTypeId"..taskTypeId)) [MSG]The String 'taskTypeId' can be wrapped in single quotes instead of double quotes |
FindTaskList.groovy | SpaceBeforeOpeningBrace | 3 | 79 | [SRC]if (statusId){ [MSG]The opening brace for the block in class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
FindTaskList.groovy | UnnecessaryGString | 3 | 80 | [SRC]exprBldr2.add(EntityCondition.makeCondition("taskCurrent.., statusId)) [MSG]The String 'taskCurrentStatusId' can be wrapped in single quotes instead of double quotes |
FindTaskList.groovy | SpaceBeforeOpeningBrace | 3 | 82 | [SRC]if (sprintId){ [MSG]The opening brace for the block in class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
FindTaskList.groovy | UnnecessaryGString | 3 | 83 | [SRC]exprBldr2.add(EntityCondition.makeCondition("sprintId", .., sprintId)) [MSG]The String 'sprintId' can be wrapped in single quotes instead of double quotes |
FindTaskList.groovy | SpaceBeforeOpeningBrace | 3 | 85 | [SRC]if (sprintName){ [MSG]The opening brace for the block in class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
FindTaskList.groovy | SpaceAroundOperator | 3 | 86 | [SRC]exprBldr2.add(EntityCondition.makeCondition("sprintName"..ntName+"%")) [MSG]The operator "+" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
FindTaskList.groovy | SpaceAroundOperator | 3 | 86 | [SRC]exprBldr2.add(EntityCondition.makeCondition("sprintName"..ntName+"%")) [MSG]The operator "+" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace |
FindTaskList.groovy | SpaceAroundOperator | 3 | 86 | [SRC]exprBldr2.add(EntityCondition.makeCondition("sprintName"..ntName+"%")) [MSG]The operator "+" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
FindTaskList.groovy | SpaceAroundOperator | 3 | 86 | [SRC]exprBldr2.add(EntityCondition.makeCondition("sprintName"..ntName+"%")) [MSG]The operator "+" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace |
FindTaskList.groovy | UnnecessaryGString | 3 | 86 | [SRC]exprBldr2.add(EntityCondition.makeCondition("sprintName"..ntName+"%")) [MSG]The String 'sprintName' can be wrapped in single quotes instead of double quotes |
FindTaskList.groovy | UnnecessaryGString | 3 | 86 | [SRC]exprBldr2.add(EntityCondition.makeCondition("sprintName"..ntName+"%")) [MSG]The String '%' can be wrapped in single quotes instead of double quotes |
FindTaskList.groovy | UnnecessaryGString | 3 | 86 | [SRC]exprBldr2.add(EntityCondition.makeCondition("sprintName"..ntName+"%")) [MSG]The String '%' can be wrapped in single quotes instead of double quotes |
FindTaskList.groovy | SpaceBeforeOpeningBrace | 3 | 88 | [SRC]if (projectId){ [MSG]The opening brace for the block in class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
FindTaskList.groovy | UnnecessaryGString | 3 | 89 | [SRC]exprBldr2.add(EntityCondition.makeCondition("projectId",.. projectId)) [MSG]The String 'projectId' can be wrapped in single quotes instead of double quotes |
FindTaskList.groovy | SpaceBeforeOpeningBrace | 3 | 91 | [SRC]if (projectName){ [MSG]The opening brace for the block in class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
FindTaskList.groovy | SpaceAroundOperator | 3 | 92 | [SRC]exprBldr2.add(EntityCondition.makeCondition("projectName..ctName+"%")) [MSG]The operator "+" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
FindTaskList.groovy | SpaceAroundOperator | 3 | 92 | [SRC]exprBldr2.add(EntityCondition.makeCondition("projectName..ctName+"%")) [MSG]The operator "+" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace |
FindTaskList.groovy | SpaceAroundOperator | 3 | 92 | [SRC]exprBldr2.add(EntityCondition.makeCondition("projectName..ctName+"%")) [MSG]The operator "+" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
FindTaskList.groovy | SpaceAroundOperator | 3 | 92 | [SRC]exprBldr2.add(EntityCondition.makeCondition("projectName..ctName+"%")) [MSG]The operator "+" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace |
FindTaskList.groovy | UnnecessaryGString | 3 | 92 | [SRC]exprBldr2.add(EntityCondition.makeCondition("projectName..ctName+"%")) [MSG]The String 'projectName' can be wrapped in single quotes instead of double quotes |
FindTaskList.groovy | UnnecessaryGString | 3 | 92 | [SRC]exprBldr2.add(EntityCondition.makeCondition("projectName..ctName+"%")) [MSG]The String '%' can be wrapped in single quotes instead of double quotes |
FindTaskList.groovy | UnnecessaryGString | 3 | 92 | [SRC]exprBldr2.add(EntityCondition.makeCondition("projectName..ctName+"%")) [MSG]The String '%' can be wrapped in single quotes instead of double quotes |
FindTaskList.groovy | UnnecessaryGString | 3 | 94 | [SRC]exprBldr2.add(EntityCondition.makeCondition("sprintTypeI..UM_SPRINT")) [MSG]The String 'sprintTypeId' can be wrapped in single quotes instead of double quotes |
FindTaskList.groovy | UnnecessaryGString | 3 | 94 | [SRC]exprBldr2.add(EntityCondition.makeCondition("sprintTypeI..UM_SPRINT")) [MSG]The String 'SCRUM_SPRINT' can be wrapped in single quotes instead of double quotes |
FindTaskList.groovy | UnnecessaryGString | 3 | 95 | [SRC]plannedTaskList = from("ProjectSprintBacklogAndTask").wh...queryList() [MSG]The String 'ProjectSprintBacklogAndTask' can be wrapped in single quotes instead of double quotes |
FindTaskList.groovy | UnnecessaryGString | 3 | 95 | [SRC]plannedTaskList = from("ProjectSprintBacklogAndTask").wh...queryList() [MSG]The String '-taskCreatedDate' can be wrapped in single quotes instead of double quotes |
FindTaskList.groovy | TrailingWhitespace | 3 | 96 | [SRC] [MSG]Line ends with whitespace characters |
FindTaskList.groovy | SpaceBeforeOpeningBrace | 3 | 97 | [SRC]unplannedTaskList.each{ unplannedTaskMap -> [MSG]The opening brace for the closure in class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
FindTaskList.groovy | UnnecessaryObjectReferences | 3 | 107 | [SRC]unplannedMap.taskCreatedDate = unplannedTaskMap.createdDate [MSG]The code could be more concise by using a with() or identity() block |
FindTaskList.groovy | UnnecessaryObjectReferences | 3 | 108 | [SRC]unplannedMap.custRequestId = unplannedTaskMap.custRequestId [MSG]The code could be more concise by using a with() or identity() block |
FindTaskList.groovy | UnnecessaryObjectReferences | 3 | 109 | [SRC]unplannedMap.description = unplannedTaskMap.description [MSG]The code could be more concise by using a with() or identity() block |
FindTaskList.groovy | UnnecessaryObjectReferences | 3 | 110 | [SRC]unplannedMap.custRequestTypeId = unplannedTaskMap.custRequestTypeId [MSG]The code could be more concise by using a with() or identity() block |
FindTaskList.groovy | UnnecessaryObjectReferences | 3 | 111 | [SRC]unplannedMap.taskActualMilliSeconds = unplannedTaskMap.a..MilliSeconds [MSG]The code could be more concise by using a with() or identity() block |
FindTaskList.groovy | UnnecessaryObjectReferences | 3 | 112 | [SRC]unplannedMap.taskEstimatedStartDate = unplannedTaskMap.e..tedStartDate [MSG]The code could be more concise by using a with() or identity() block |
FindTaskList.groovy | TrailingWhitespace | 3 | 115 | [SRC] [MSG]Line ends with whitespace characters |
FindTaskList.groovy | SpaceBeforeOpeningBrace | 3 | 116 | [SRC]plannedTaskList.each{ plannedTaskMap -> [MSG]The opening brace for the closure in class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
FindTaskList.groovy | UnnecessaryObjectReferences | 3 | 126 | [SRC]plannedMap.projectId = plannedTaskMap.projectId [MSG]The code could be more concise by using a with() or identity() block |
FindTaskList.groovy | UnnecessaryObjectReferences | 3 | 127 | [SRC]plannedMap.projectName = plannedTaskMap.projectName [MSG]The code could be more concise by using a with() or identity() block |
FindTaskList.groovy | UnnecessaryObjectReferences | 3 | 128 | [SRC]plannedMap.custRequestId = plannedTaskMap.custRequestId [MSG]The code could be more concise by using a with() or identity() block |
FindTaskList.groovy | UnnecessaryObjectReferences | 3 | 129 | [SRC]plannedMap.description = plannedTaskMap.description [MSG]The code could be more concise by using a with() or identity() block |
FindTaskList.groovy | UnnecessaryObjectReferences | 3 | 130 | [SRC]plannedMap.custRequestTypeId = plannedTaskMap.custRequestTypeId [MSG]The code could be more concise by using a with() or identity() block |
FindTaskList.groovy | UnnecessaryObjectReferences | 3 | 131 | [SRC]plannedMap.taskActualMilliSeconds = plannedTaskMap.taskA..MilliSeconds [MSG]The code could be more concise by using a with() or identity() block |
FindTaskList.groovy | UnnecessaryObjectReferences | 3 | 132 | [SRC]plannedMap.taskEstimatedStartDate = plannedTaskMap.taskE..tedStartDate [MSG]The code could be more concise by using a with() or identity() block |
FindTaskList.groovy | SpaceBeforeOpeningBrace | 3 | 136 | [SRC]if (backlogTypeId){ [MSG]The opening brace for the block in class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
FindTaskList.groovy | SpaceAroundOperator | 3 | 137 | [SRC]if (backlogTypeId=="Y"){ [MSG]The operator "==" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
FindTaskList.groovy | SpaceAroundOperator | 3 | 137 | [SRC]if (backlogTypeId=="Y"){ [MSG]The operator "==" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace |
FindTaskList.groovy | SpaceBeforeOpeningBrace | 3 | 137 | [SRC]if (backlogTypeId=="Y"){ [MSG]The opening brace for the block in class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
FindTaskList.groovy | UnnecessaryGString | 3 | 137 | [SRC]if (backlogTypeId=="Y"){ [MSG]The String 'Y' can be wrapped in single quotes instead of double quotes |
FindTaskList.groovy | SpaceAfterOpeningBrace | 3 | 138 | [SRC]taskList.each{taskMap -> [MSG]The opening brace for the closure in class org.apache.ofbiz.scrum.None is not followed by a space or whitespace |
FindTaskList.groovy | SpaceBeforeOpeningBrace | 3 | 138 | [SRC]taskList.each{taskMap -> [MSG]The opening brace for the closure in class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
FindTaskList.groovy | SpaceAfterIf | 3 | 139 | [SRC]if(taskMap.custRequestTypeId=="RF_UNPLAN_BACKLOG"){ [MSG]The if keyword within class org.apache.ofbiz.scrum.None is not followed by a single space |
FindTaskList.groovy | SpaceAroundOperator | 3 | 139 | [SRC]if(taskMap.custRequestTypeId=="RF_UNPLAN_BACKLOG"){ [MSG]The operator "==" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
FindTaskList.groovy | SpaceAroundOperator | 3 | 139 | [SRC]if(taskMap.custRequestTypeId=="RF_UNPLAN_BACKLOG"){ [MSG]The operator "==" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace |
FindTaskList.groovy | SpaceBeforeOpeningBrace | 3 | 139 | [SRC]if(taskMap.custRequestTypeId=="RF_UNPLAN_BACKLOG"){ [MSG]The opening brace for the block in class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
FindTaskList.groovy | UnnecessaryGString | 3 | 139 | [SRC]if(taskMap.custRequestTypeId=="RF_UNPLAN_BACKLOG"){ [MSG]The String 'RF_UNPLAN_BACKLOG' can be wrapped in single quotes instead of double quotes |
FindTaskList.groovy | SpaceAroundOperator | 3 | 144 | [SRC]if (backlogTypeId=="N"){ [MSG]The operator "==" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
FindTaskList.groovy | SpaceAroundOperator | 3 | 144 | [SRC]if (backlogTypeId=="N"){ [MSG]The operator "==" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace |
FindTaskList.groovy | SpaceBeforeOpeningBrace | 3 | 144 | [SRC]if (backlogTypeId=="N"){ [MSG]The opening brace for the block in class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
FindTaskList.groovy | UnnecessaryGString | 3 | 144 | [SRC]if (backlogTypeId=="N"){ [MSG]The String 'N' can be wrapped in single quotes instead of double quotes |
FindTaskList.groovy | SpaceAfterOpeningBrace | 3 | 145 | [SRC]taskList.each{taskMap -> [MSG]The opening brace for the closure in class org.apache.ofbiz.scrum.None is not followed by a space or whitespace |
FindTaskList.groovy | SpaceBeforeOpeningBrace | 3 | 145 | [SRC]taskList.each{taskMap -> [MSG]The opening brace for the closure in class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
FindTaskList.groovy | SpaceAfterIf | 3 | 146 | [SRC]if(taskMap.custRequestTypeId=="RF_PROD_BACKLOG"){ [MSG]The if keyword within class org.apache.ofbiz.scrum.None is not followed by a single space |
FindTaskList.groovy | SpaceAroundOperator | 3 | 146 | [SRC]if(taskMap.custRequestTypeId=="RF_PROD_BACKLOG"){ [MSG]The operator "==" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
FindTaskList.groovy | SpaceAroundOperator | 3 | 146 | [SRC]if(taskMap.custRequestTypeId=="RF_PROD_BACKLOG"){ [MSG]The operator "==" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace |
FindTaskList.groovy | SpaceBeforeOpeningBrace | 3 | 146 | [SRC]if(taskMap.custRequestTypeId=="RF_PROD_BACKLOG"){ [MSG]The opening brace for the block in class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
FindTaskList.groovy | UnnecessaryGString | 3 | 146 | [SRC]if(taskMap.custRequestTypeId=="RF_PROD_BACKLOG"){ [MSG]The String 'RF_PROD_BACKLOG' can be wrapped in single quotes instead of double quotes |
FindTaskList.groovy | SpaceBeforeOpeningBrace | 3 | 157 | [SRC]if (partyId){ [MSG]The opening brace for the block in class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
FindTaskList.groovy | UnnecessaryGString | 3 | 162 | [SRC]assignToList = from("WorkEffortPartyAssignment").where("...queryList() [MSG]The String 'WorkEffortPartyAssignment' can be wrapped in single quotes instead of double quotes |
FindTaskList.groovy | UnnecessaryGString | 3 | 162 | [SRC]assignToList = from("WorkEffortPartyAssignment").where("...queryList() [MSG]The String 'workEffortId' can be wrapped in single quotes instead of double quotes |
FindTaskList.groovy | UnnecessaryGString | 3 | 162 | [SRC]assignToList = from("WorkEffortPartyAssignment").where("...queryList() [MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes |
FindTaskList.groovy | UnnecessaryGString | 3 | 173 | [SRC]assignToList = from("WorkEffortPartyAssignment").where("...queryList() [MSG]The String 'WorkEffortPartyAssignment' can be wrapped in single quotes instead of double quotes |
FindTaskList.groovy | UnnecessaryGString | 3 | 173 | [SRC]assignToList = from("WorkEffortPartyAssignment").where("...queryList() [MSG]The String 'workEffortId' can be wrapped in single quotes instead of double quotes |
FindTaskList.groovy | TrailingWhitespace | 3 | 182 | [SRC] [MSG]Line ends with whitespace characters |
FindTaskList.groovy | SpaceAfterOpeningBrace | 3 | 183 | [SRC]resultList.each{resultMap -> [MSG]The opening brace for the closure in class org.apache.ofbiz.scrum.None is not followed by a space or whitespace |
FindTaskList.groovy | SpaceBeforeOpeningBrace | 3 | 183 | [SRC]resultList.each{resultMap -> [MSG]The opening brace for the closure in class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
FindTaskList.groovy | CouldBeSwitchStatement | 3 | 184 | [SRC]if (resultMap.taskTypeId=="SCRUM_TASK_IMPL"){ [MSG]Code could use switch statement |
FindTaskList.groovy | SpaceAroundOperator | 3 | 184 | [SRC]if (resultMap.taskTypeId=="SCRUM_TASK_IMPL"){ [MSG]The operator "==" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
FindTaskList.groovy | SpaceAroundOperator | 3 | 184 | [SRC]if (resultMap.taskTypeId=="SCRUM_TASK_IMPL"){ [MSG]The operator "==" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace |
FindTaskList.groovy | SpaceBeforeOpeningBrace | 3 | 184 | [SRC]if (resultMap.taskTypeId=="SCRUM_TASK_IMPL"){ [MSG]The opening brace for the block in class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
FindTaskList.groovy | UnnecessaryGString | 3 | 184 | [SRC]if (resultMap.taskTypeId=="SCRUM_TASK_IMPL"){ [MSG]The String 'SCRUM_TASK_IMPL' can be wrapped in single quotes instead of double quotes |
FindTaskList.groovy | SpaceAroundOperator | 3 | 187 | [SRC]if (resultMap.taskTypeId=="SCRUM_TASK_INST"){ [MSG]The operator "==" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
FindTaskList.groovy | SpaceAroundOperator | 3 | 187 | [SRC]if (resultMap.taskTypeId=="SCRUM_TASK_INST"){ [MSG]The operator "==" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace |
FindTaskList.groovy | SpaceBeforeOpeningBrace | 3 | 187 | [SRC]if (resultMap.taskTypeId=="SCRUM_TASK_INST"){ [MSG]The opening brace for the block in class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
FindTaskList.groovy | UnnecessaryGString | 3 | 187 | [SRC]if (resultMap.taskTypeId=="SCRUM_TASK_INST"){ [MSG]The String 'SCRUM_TASK_INST' can be wrapped in single quotes instead of double quotes |
FindTaskList.groovy | SpaceAroundOperator | 3 | 190 | [SRC]if (resultMap.taskTypeId=="SCRUM_TASK_TEST"){ [MSG]The operator "==" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
FindTaskList.groovy | SpaceAroundOperator | 3 | 190 | [SRC]if (resultMap.taskTypeId=="SCRUM_TASK_TEST"){ [MSG]The operator "==" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace |
FindTaskList.groovy | SpaceBeforeOpeningBrace | 3 | 190 | [SRC]if (resultMap.taskTypeId=="SCRUM_TASK_TEST"){ [MSG]The opening brace for the block in class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
FindTaskList.groovy | UnnecessaryGString | 3 | 190 | [SRC]if (resultMap.taskTypeId=="SCRUM_TASK_TEST"){ [MSG]The String 'SCRUM_TASK_TEST' can be wrapped in single quotes instead of double quotes |
FindTaskList.groovy | SpaceAroundOperator | 3 | 193 | [SRC]if (resultMap.taskTypeId=="SCRUM_TASK_ERROR"){ [MSG]The operator "==" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
FindTaskList.groovy | SpaceAroundOperator | 3 | 193 | [SRC]if (resultMap.taskTypeId=="SCRUM_TASK_ERROR"){ [MSG]The operator "==" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace |
FindTaskList.groovy | SpaceBeforeOpeningBrace | 3 | 193 | [SRC]if (resultMap.taskTypeId=="SCRUM_TASK_ERROR"){ [MSG]The opening brace for the block in class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
FindTaskList.groovy | UnnecessaryGString | 3 | 193 | [SRC]if (resultMap.taskTypeId=="SCRUM_TASK_ERROR"){ [MSG]The String 'SCRUM_TASK_ERROR' can be wrapped in single quotes instead of double quotes |
FindTaskList.groovy | TrailingWhitespace | 3 | 197 | [SRC] [MSG]Line ends with whitespace characters |
FindTaskList.groovy | SpaceBeforeOpeningBrace | 3 | 198 | [SRC]if (implementTaskList){ [MSG]The opening brace for the block in class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
FindTaskList.groovy | SpaceBeforeOpeningBrace | 3 | 201 | [SRC]if (installTaskList){ [MSG]The opening brace for the block in class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
FindTaskList.groovy | SpaceBeforeOpeningBrace | 3 | 204 | [SRC]if (testTaskList){ [MSG]The opening brace for the block in class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
FindTaskList.groovy | SpaceBeforeOpeningBrace | 3 | 207 | [SRC]if (errorTaskList){ [MSG]The opening brace for the block in class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
FixedAssetMaintServices.groovy | ConsecutiveBlankLines | 3 | 20 | [MSG]File FixedAssetMaintServices.groovy has consecutive blank lines |
FixedAssetMaintServices.groovy | JavadocEmptyReturnTag | 3 | 26 | [SRC]* @return [MSG]The javadoc @return tag is empty |
FixedAssetMaintServices.groovy | MethodReturnTypeRequired | 3 | 28 | [SRC]def createFixedAssetMaintUpdateWorkEffort() { [MSG]Method "createFixedAssetMaintUpdateWorkEffort" has a dynamic return type |
FixedAssetMaintServices.groovy | NoDef | 3 | 28 | [SRC]def createFixedAssetMaintUpdateWorkEffort() { [MSG]def for method return type should not be used |
FixedAssetMaintServices.groovy | TrailingWhitespace | 3 | 30 | [SRC] [MSG]Line ends with whitespace characters |
FixedAssetMaintServices.groovy | JavadocEmptyReturnTag | 3 | 43 | [SRC]* @return [MSG]The javadoc @return tag is empty |
FixedAssetMaintServices.groovy | MethodReturnTypeRequired | 3 | 46 | [SRC]def updateFixedAssetMaintAndWorkEffort() { [MSG]Method "updateFixedAssetMaintAndWorkEffort" has a dynamic return type |
FixedAssetMaintServices.groovy | NoDef | 3 | 46 | [SRC]def updateFixedAssetMaintAndWorkEffort() { [MSG]def for method return type should not be used |
FixedAssetMaintServices.groovy | JavadocEmptyReturnTag | 3 | 64 | [SRC]* @return [MSG]The javadoc @return tag is empty |
FixedAssetMaintServices.groovy | MethodReturnTypeRequired | 3 | 66 | [SRC]def createWorkEffortAndAssocWithParent() { [MSG]Method "createWorkEffortAndAssocWithParent" has a dynamic return type |
FixedAssetMaintServices.groovy | NoDef | 3 | 66 | [SRC]def createWorkEffortAndAssocWithParent() { [MSG]def for method return type should not be used |
FixedAssetMaintServices.groovy | JavadocEmptyReturnTag | 3 | 74 | [SRC]* @return [MSG]The javadoc @return tag is empty |
FixedAssetMaintServices.groovy | MethodReturnTypeRequired | 3 | 76 | [SRC]def assetMaintPermissionCheck() { [MSG]Method "assetMaintPermissionCheck" has a dynamic return type |
FixedAssetMaintServices.groovy | NoDef | 3 | 76 | [SRC]def assetMaintPermissionCheck() { [MSG]def for method return type should not be used |
GPeriodServices.groovy | BlockEndsWithBlankLine | 3 | 55 | [MSG]Code block ends with a blank line. |
GPeriodServices.groovy | FileEndsWithoutNewline | 3 | 89 | [SRC]} [MSG]File GPeriodServices.groovy does not end with a newline |
GetLastRequestAssignment.groovy | UnnecessaryGString | 3 | 24 | [SRC]custRequestList = from("CustRequest").where("fromPartyId...queryList() [MSG]The String 'CustRequest' can be wrapped in single quotes instead of double quotes |
GetLastRequestAssignment.groovy | UnnecessaryGString | 3 | 24 | [SRC]custRequestList = from("CustRequest").where("fromPartyId...queryList() [MSG]The String 'fromPartyId' can be wrapped in single quotes instead of double quotes |
GetLastRequestAssignment.groovy | UnnecessaryGString | 3 | 24 | [SRC]custRequestList = from("CustRequest").where("fromPartyId...queryList() [MSG]The String '-createdDate' can be wrapped in single quotes instead of double quotes |
GetLastRequestAssignment.groovy | UnnecessaryGString | 3 | 26 | [SRC]custReqTaskList = custRequestList.get(0).getRelated("Cus..null, false) [MSG]The String 'CustRequestWorkEffort' can be wrapped in single quotes instead of double quotes |
GetLastRequestAssignment.groovy | UnnecessaryGString | 3 | 28 | [SRC]custReqTask = custReqTaskList.get(0).getRelatedOne("Work..se) // phase [MSG]The String 'WorkEffort' can be wrapped in single quotes instead of double quotes |
GetLastRequestAssignment.groovy | UnnecessaryGString | 3 | 29 | [SRC]projectChildWorkEffort = custReqTask.getRelatedOne("Pare../ phase name [MSG]The String 'ParentWorkEffort' can be wrapped in single quotes instead of double quotes |
GetLastRequestAssignment.groovy | UnnecessaryGString | 3 | 31 | [SRC]partyList = custReqTask.getRelated("WorkEffortPartyAssig..null, false) [MSG]The String 'WorkEffortPartyAssignment' can be wrapped in single quotes instead of double quotes |
GetLastRequestAssignment.groovy | SpaceAroundOperator | 3 | 34 | [SRC]context.partyId= partyList.get(0).partyId [MSG]The operator "=" within class org.apache.ofbiz.projectmgr.None is not preceded by a space or whitespace |
GetProjectId.groovy | UnusedImport | 3 | 21 | [SRC]import org.apache.ofbiz.base.util.UtilValidate [MSG]The [org.apache.ofbiz.base.util.UtilValidate] import is never referenced |
GetProjectId.groovy | UnnecessaryGString | 3 | 25 | [SRC]projects = from("ProjectAndPhaseAndTask").where("workEff...queryList() [MSG]The String 'ProjectAndPhaseAndTask' can be wrapped in single quotes instead of double quotes |
GetProjectId.groovy | UnnecessaryGString | 3 | 25 | [SRC]projects = from("ProjectAndPhaseAndTask").where("workEff...queryList() [MSG]The String 'workEffortId' can be wrapped in single quotes instead of double quotes |
GetProjectId.groovy | UnnecessaryGString | 3 | 27 | [SRC]context.put("projectId", projects.get(0).getString("projectId")) [MSG]The String 'projectId' can be wrapped in single quotes instead of double quotes |
GetProjectId.groovy | UnnecessaryGString | 3 | 27 | [SRC]context.put("projectId", projects.get(0).getString("projectId")) [MSG]The String 'projectId' can be wrapped in single quotes instead of double quotes |
GetProjectId.groovy | UnnecessaryGString | 3 | 28 | [SRC]context.put("projectName", projects.get(0).getString("projectName")) [MSG]The String 'projectName' can be wrapped in single quotes instead of double quotes |
GetProjectId.groovy | UnnecessaryGString | 3 | 28 | [SRC]context.put("projectName", projects.get(0).getString("projectName")) [MSG]The String 'projectName' can be wrapped in single quotes instead of double quotes |
GetProjectId.groovy | UnnecessaryGString | 3 | 29 | [SRC]context.put("phaseName", projects.get(0).getString("phaseName")) [MSG]The String 'phaseName' can be wrapped in single quotes instead of double quotes |
GetProjectId.groovy | UnnecessaryGString | 3 | 29 | [SRC]context.put("phaseName", projects.get(0).getString("phaseName")) [MSG]The String 'phaseName' can be wrapped in single quotes instead of double quotes |
GetThirdPartyLogins.groovy | UnnecessaryGString | 3 | 24 | [SRC]final String module = "GetThirdPartyLogins.groovy" [MSG]The String 'GetThirdPartyLogins.groovy' can be wrapped in single quotes instead of double quotes |
GetThirdPartyLogins.groovy | UnnecessaryGString | 3 | 37 | [SRC]storePassportLoginMethList = from("ThirdPartyLogin").whe..queryList(); [MSG]The String 'ThirdPartyLogin' can be wrapped in single quotes instead of double quotes |
GetThirdPartyLogins.groovy | UnnecessaryGString | 3 | 37 | [SRC]storePassportLoginMethList = from("ThirdPartyLogin").whe..queryList(); [MSG]The String 'productStoreId' can be wrapped in single quotes instead of double quotes |
GetThirdPartyLogins.groovy | UnnecessaryGString | 3 | 37 | [SRC]storePassportLoginMethList = from("ThirdPartyLogin").whe..queryList(); [MSG]The String 'sequenceNum ASC' can be wrapped in single quotes instead of double quotes |
GetThirdPartyLogins.groovy | UnnecessarySemicolon | 3 | 37 | [SRC]storePassportLoginMethList = from("ThirdPartyLogin").whe..queryList(); [MSG]Semicolons as line endings can be removed safely |
GetThirdPartyLogins.groovy | TrailingWhitespace | 3 | 40 | [SRC] [MSG]Line ends with whitespace characters |
GetThirdPartyLogins.groovy | UnnecessaryGString | 3 | 45 | [SRC]storeLoginMethDetail = from(storeLoginMeth.loginMethType..ueryFirst(); [MSG]The String 'productStoreId' can be wrapped in single quotes instead of double quotes |
GetThirdPartyLogins.groovy | UnnecessarySemicolon | 3 | 45 | [SRC]storeLoginMethDetail = from(storeLoginMeth.loginMethType..ueryFirst(); [MSG]Semicolons as line endings can be removed safely |
GiftCardBalance.groovy | NoWildcardImports | 3 | 21 | [SRC]import org.apache.ofbiz.product.store.* [MSG]Wildcard (star) import |
GiftCardBalance.groovy | Indentation | 3 | 22 | [SRC]context.paymentProperties = ProductStoreWorker.getProduc.. null, true) [MSG]The class None is at the incorrect indent level: Expected column 1 but was 2 |
GiftCardBalance.groovy | MissingBlankLineAfterImports | 3 | 22 | [SRC]context.paymentProperties = ProductStoreWorker.getProduc.. null, true) [MSG]Missing blank line after imports in file GiftCardBalance.groovy |
GiftCardBalance.groovy | UnnecessaryGString | 3 | 22 | [SRC]context.paymentProperties = ProductStoreWorker.getProduc.. null, true) [MSG]The String 'GIFT_CARD' can be wrapped in single quotes instead of double quotes |
GiftCardLink.groovy | NoWildcardImports | 3 | 21 | [SRC]import org.apache.ofbiz.product.store.* [MSG]Wildcard (star) import |
GiftCardLink.groovy | InvertedIfElse | 3 | 25 | [SRC]if (!processResult) { [MSG]Testing the negative condition first can make an if statement confusing |
GiftCardLink.groovy | Indentation | 3 | 25 | [SRC]if (!processResult) { [MSG]The statement on line 25 in class org.apache.ofbiz.ecommerce.customer.None is at the incorrect indent level: Expected column 5 but was 4 |
GiftCardLink.groovy | Indentation | 3 | 26 | [SRC]request.setAttribute("_ERROR_MESSAGE_", "<li>There was a..gain.</li>") [MSG]The statement on line 26 in class org.apache.ofbiz.ecommerce.customer.None is at the incorrect indent level: Expected column 9 but was 8 |
GiftCardLink.groovy | UnnecessaryGString | 3 | 26 | [SRC]request.setAttribute("_ERROR_MESSAGE_", "<li>There was a..gain.</li>") [MSG]The String '_ERROR_MESSAGE_' can be wrapped in single quotes instead of double quotes |
GiftCardLink.groovy | UnnecessaryGString | 3 | 26 | [SRC]request.setAttribute("_ERROR_MESSAGE_", "<li>There was a..gain.</li>") [MSG]The String '<li>There was a problem linking your cards. Please check the numbers and try again.</li>' can be wrapped in single quotes instead of double quotes |
GiftCardLink.groovy | Indentation | 3 | 27 | [SRC]request.removeAttribute("_EVENT_MESSAGE_") [MSG]The statement on line 27 in class org.apache.ofbiz.ecommerce.customer.None is at the incorrect indent level: Expected column 9 but was 8 |
GiftCardLink.groovy | UnnecessaryGString | 3 | 27 | [SRC]request.removeAttribute("_EVENT_MESSAGE_") [MSG]The String '_EVENT_MESSAGE_' can be wrapped in single quotes instead of double quotes |
GiftCardLink.groovy | Indentation | 3 | 29 | [SRC]request.setAttribute("_EVENT_MESSAGE_", "<li>Thank-you. ..nked.</li>") [MSG]The statement on line 29 in class org.apache.ofbiz.ecommerce.customer.None is at the incorrect indent level: Expected column 9 but was 8 |
GiftCardLink.groovy | UnnecessaryGString | 3 | 29 | [SRC]request.setAttribute("_EVENT_MESSAGE_", "<li>Thank-you. ..nked.</li>") [MSG]The String '_EVENT_MESSAGE_' can be wrapped in single quotes instead of double quotes |
GiftCardLink.groovy | UnnecessaryGString | 3 | 29 | [SRC]request.setAttribute("_EVENT_MESSAGE_", "<li>Thank-you. ..nked.</li>") [MSG]The String '<li>Thank-you. Your gift card account is now linked.</li>' can be wrapped in single quotes instead of double quotes |
GiftCardLink.groovy | UnnecessaryGString | 3 | 34 | [SRC]context.paymentProperties = ProductStoreWorker.getProduc.. null, true) [MSG]The String 'GIFT_CARD' can be wrapped in single quotes instead of double quotes |
HtmlAreaPrep.groovy | NoWildcardImports | 3 | 21 | [SRC]import org.apache.ofbiz.base.util.* [MSG]Wildcard (star) import |
HtmlAreaPrep.groovy | NoWildcardImports | 3 | 22 | [SRC]import org.apache.ofbiz.entity.* [MSG]Wildcard (star) import |
HtmlAreaPrep.groovy | NoWildcardImports | 3 | 23 | [SRC]import org.apache.ofbiz.security.* [MSG]Wildcard (star) import |
HtmlAreaPrep.groovy | NoWildcardImports | 3 | 24 | [SRC]import org.apache.ofbiz.service.* [MSG]Wildcard (star) import |
HtmlAreaPrep.groovy | NoWildcardImports | 3 | 25 | [SRC]import org.apache.ofbiz.entity.model.* [MSG]Wildcard (star) import |
HtmlAreaPrep.groovy | UnusedImport | 3 | 26 | [SRC]import org.apache.ofbiz.content.data.DataResourceWorker [MSG]The [org.apache.ofbiz.content.data.DataResourceWorker] import is never referenced |
HtmlAreaPrep.groovy | UnusedImport | 3 | 27 | [SRC]import org.apache.ofbiz.webapp.ftl.FreeMarkerViewHandler [MSG]The [org.apache.ofbiz.webapp.ftl.FreeMarkerViewHandler] import is never referenced |
HtmlAreaPrep.groovy | UnnecessaryGroovyImport | 3 | 29 | [SRC]import java.io.StringWriter |
HtmlAreaPrep.groovy | UnusedImport | 3 | 29 | [SRC]import java.io.StringWriter [MSG]The [java.io.StringWriter] import is never referenced |
HtmlAreaPrep.groovy | UnusedImport | 3 | 30 | [SRC]import freemarker.ext.beans.BeansWrapper [MSG]The [freemarker.ext.beans.BeansWrapper] import is never referenced |
HtmlAreaPrep.groovy | UnusedImport | 3 | 31 | [SRC]import freemarker.template.SimpleHash [MSG]The [freemarker.template.SimpleHash] import is never referenced |
HtmlAreaPrep.groovy | UnusedImport | 3 | 32 | [SRC]import freemarker.template.WrappingTemplateModel [MSG]The [freemarker.template.WrappingTemplateModel] import is never referenced |
HtmlAreaPrep.groovy | NoWildcardImports | 3 | 34 | [SRC]import javax.servlet.* [MSG]Wildcard (star) import |
HtmlAreaPrep.groovy | NoWildcardImports | 3 | 35 | [SRC]import javax.servlet.http.* [MSG]Wildcard (star) import |
HtmlAreaPrep.groovy | UnnecessaryGString | 3 | 39 | [SRC]if (!contentIdTo || !"TEMPLATE_MASTER".equals(contentIdTo)) { [MSG]The String 'TEMPLATE_MASTER' can be wrapped in single quotes instead of double quotes |
HtmlAreaPrep.groovy | UnnecessaryGString | 3 | 40 | [SRC]context.dynamicPrimaryHTMLField = "textData" [MSG]The String 'textData' can be wrapped in single quotes instead of double quotes |
IndexProducts.groovy | ConsecutiveBlankLines | 3 | 20 | [MSG]File IndexProducts.groovy has consecutive blank lines |
IndexProducts.groovy | UnnecessaryGString | 3 | 33 | [SRC]products = select("productId").from("Product").queryIterator() [MSG]The String 'productId' can be wrapped in single quotes instead of double quotes |
IndexProducts.groovy | UnnecessaryGString | 3 | 33 | [SRC]products = select("productId").from("Product").queryIterator() [MSG]The String 'Product' can be wrapped in single quotes instead of double quotes |
IndexProducts.groovy | SpaceAfterCatch | 3 | 38 | [SRC]} catch(Exception e) { [MSG]The catch keyword within class org.apache.ofbiz.lucene.content.None is not followed by a single space |
IndexProducts.groovy | SpaceAfterOpeningBrace | 3 | 45 | [SRC]} catch (Exception exc) {} [MSG]The opening brace for the block in class org.apache.ofbiz.lucene.content.None is not followed by a space or whitespace |
IndexProducts.groovy | SpaceBeforeClosingBrace | 3 | 45 | [SRC]} catch (Exception exc) {} [MSG]The closing brace for the block in class org.apache.ofbiz.lucene.content.None is not preceded by a space or whitespace |
IndexProducts.groovy | UnnecessaryElseStatement | 3 | 50 | [SRC]} else { [MSG]When an if statement block ends with a return statement the else is unnecessary |
LabelManager.groovy | ImportFromSamePackage | 3 | 21 | [SRC]import org.apache.ofbiz.webtools.labelmanager.LabelManagerFactory |
LabelManager.groovy | ImportFromSamePackage | 3 | 22 | [SRC]import org.apache.ofbiz.webtools.labelmanager.LabelReferences |
LayeredNavigation.groovy | UnusedImport | 3 | 22 | [SRC]import org.apache.ofbiz.entity.util.EntityUtil [MSG]The [org.apache.ofbiz.entity.util.EntityUtil] import is never referenced |
LayeredNavigation.groovy | CouldBeElvis | 3 | 30 | [SRC]if (!searchCategoryId) { [MSG]Code could use elvis operator: searchCategoryId = searchCategoryId ?: context.productCategoryId |
LayeredNavigation.groovy | UnnecessaryGString | 3 | 34 | [SRC]currentSearchCategory = from("ProductCategory").where("p..).queryOne() [MSG]The String 'ProductCategory' can be wrapped in single quotes instead of double quotes |
LayeredNavigation.groovy | UnnecessaryGString | 3 | 34 | [SRC]currentSearchCategory = from("ProductCategory").where("p..).queryOne() [MSG]The String 'productCategoryId' can be wrapped in single quotes instead of double quotes |
LayeredNavigation.groovy | UnnecessaryGString | 3 | 35 | [SRC]CategoryWorker.getRelatedCategories(request, "subCategor..ryId, false) [MSG]The String 'subCategoryList' can be wrapped in single quotes instead of double quotes |
LayeredNavigation.groovy | UnnecessaryGString | 3 | 36 | [SRC]subCategoryList = request.getAttribute("subCategoryList") [MSG]The String 'subCategoryList' can be wrapped in single quotes instead of double quotes |
LayeredNavigation.groovy | Indentation | 3 | 43 | [SRC]context.productCategory = from("ProductCategory").where(..).queryOne() [MSG]The statement on line 43 in class org.apache.ofbiz.ecommerce.catalog.None is at the incorrect indent level: Expected column 5 but was 4 |
LayeredNavigation.groovy | UnnecessaryGString | 3 | 43 | [SRC]context.productCategory = from("ProductCategory").where(..).queryOne() [MSG]The String 'ProductCategory' can be wrapped in single quotes instead of double quotes |
LayeredNavigation.groovy | UnnecessaryGString | 3 | 43 | [SRC]context.productCategory = from("ProductCategory").where(..).queryOne() [MSG]The String 'productCategoryId' can be wrapped in single quotes instead of double quotes |
LayeredNavigation.groovy | Indentation | 3 | 44 | [SRC]parameters.SEARCH_CATEGORY_ID = productCategoryId [MSG]The statement on line 44 in class org.apache.ofbiz.ecommerce.catalog.None is at the incorrect indent level: Expected column 5 but was 4 |
LayeredNavigation.groovy | UnnecessaryGString | 3 | 47 | [SRC]if (!parameters.clearSearch || !"N".equals(parameters.clearSearch)) { [MSG]The String 'N' can be wrapped in single quotes instead of double quotes |
LayeredNavigation.groovy | SpaceAfterComma | 3 | 51 | [SRC]request.getSession().setAttribute("dispatcher",dispatcher) [MSG]The parameter dispatcher in the call to method setAttribute within class org.apache.ofbiz.ecommerce.catalog.None is not preceded by a space or whitespace |
LayeredNavigation.groovy | UnnecessaryGString | 3 | 51 | [SRC]request.getSession().setAttribute("dispatcher",dispatcher) [MSG]The String 'dispatcher' can be wrapped in single quotes instead of double quotes |
LayeredNavigation.groovy | UnnecessaryGString | 3 | 61 | [SRC]productCategoryRollups = from("ProductCategoryRollup").w...queryList() [MSG]The String 'ProductCategoryRollup' can be wrapped in single quotes instead of double quotes |
LayeredNavigation.groovy | UnnecessaryGString | 3 | 61 | [SRC]productCategoryRollups = from("ProductCategoryRollup").w...queryList() [MSG]The String 'productCategoryId' can be wrapped in single quotes instead of double quotes |
LayeredNavigation.groovy | UnnecessaryGString | 3 | 94 | [SRC]colors = ProductSearchSession.listCountByFeatureForType(.., delegator) [MSG]The String 'COLOR' can be wrapped in single quotes instead of double quotes |
LayeredNavigation.groovy | UnnecessaryGString | 3 | 95 | [SRC]colorFeatureType = from("ProductFeatureType").where("pro..).queryOne() [MSG]The String 'ProductFeatureType' can be wrapped in single quotes instead of double quotes |
LayeredNavigation.groovy | UnnecessaryGString | 3 | 95 | [SRC]colorFeatureType = from("ProductFeatureType").where("pro..).queryOne() [MSG]The String 'productFeatureTypeId' can be wrapped in single quotes instead of double quotes |
LayeredNavigation.groovy | UnnecessaryGString | 3 | 95 | [SRC]colorFeatureType = from("ProductFeatureType").where("pro..).queryOne() [MSG]The String 'COLOR' can be wrapped in single quotes instead of double quotes |
LayeredNavigation.groovy | SpaceAroundOperator | 3 | 100 | [SRC]context.showColors=false [MSG]The operator "=" within class org.apache.ofbiz.ecommerce.catalog.None is not preceded by a space or whitespace |
LayeredNavigation.groovy | SpaceAroundOperator | 3 | 100 | [SRC]context.showColors=false [MSG]The operator "=" within class org.apache.ofbiz.ecommerce.catalog.None is not followed by a space or whitespace |
LayeredNavigation.groovy | TrailingWhitespace | 3 | 102 | [SRC]} [MSG]Line ends with whitespace characters |
LayeredNavigation.groovy | UnnecessaryGString | 3 | 111 | [SRC]availablePriceRangeList = [[low: "0", high: "10"], [low:..igh: "100"]] [MSG]The String '0' can be wrapped in single quotes instead of double quotes |
LayeredNavigation.groovy | UnnecessaryGString | 3 | 111 | [SRC]availablePriceRangeList = [[low: "0", high: "10"], [low:..igh: "100"]] [MSG]The String '10' can be wrapped in single quotes instead of double quotes |
LayeredNavigation.groovy | UnnecessaryGString | 3 | 111 | [SRC]availablePriceRangeList = [[low: "0", high: "10"], [low:..igh: "100"]] [MSG]The String '10' can be wrapped in single quotes instead of double quotes |
LayeredNavigation.groovy | UnnecessaryGString | 3 | 111 | [SRC]availablePriceRangeList = [[low: "0", high: "10"], [low:..igh: "100"]] [MSG]The String '20' can be wrapped in single quotes instead of double quotes |
LayeredNavigation.groovy | UnnecessaryGString | 3 | 111 | [SRC]availablePriceRangeList = [[low: "0", high: "10"], [low:..igh: "100"]] [MSG]The String '20' can be wrapped in single quotes instead of double quotes |
LayeredNavigation.groovy | UnnecessaryGString | 3 | 111 | [SRC]availablePriceRangeList = [[low: "0", high: "10"], [low:..igh: "100"]] [MSG]The String '30' can be wrapped in single quotes instead of double quotes |
LayeredNavigation.groovy | UnnecessaryGString | 3 | 111 | [SRC]availablePriceRangeList = [[low: "0", high: "10"], [low:..igh: "100"]] [MSG]The String '30' can be wrapped in single quotes instead of double quotes |
LayeredNavigation.groovy | UnnecessaryGString | 3 | 111 | [SRC]availablePriceRangeList = [[low: "0", high: "10"], [low:..igh: "100"]] [MSG]The String '40' can be wrapped in single quotes instead of double quotes |
LayeredNavigation.groovy | UnnecessaryGString | 3 | 111 | [SRC]availablePriceRangeList = [[low: "0", high: "10"], [low:..igh: "100"]] [MSG]The String '40' can be wrapped in single quotes instead of double quotes |
LayeredNavigation.groovy | UnnecessaryGString | 3 | 111 | [SRC]availablePriceRangeList = [[low: "0", high: "10"], [low:..igh: "100"]] [MSG]The String '50' can be wrapped in single quotes instead of double quotes |
LayeredNavigation.groovy | UnnecessaryGString | 3 | 111 | [SRC]availablePriceRangeList = [[low: "0", high: "10"], [low:..igh: "100"]] [MSG]The String '50' can be wrapped in single quotes instead of double quotes |
LayeredNavigation.groovy | UnnecessaryGString | 3 | 111 | [SRC]availablePriceRangeList = [[low: "0", high: "10"], [low:..igh: "100"]] [MSG]The String '60' can be wrapped in single quotes instead of double quotes |
LayeredNavigation.groovy | UnnecessaryGString | 3 | 111 | [SRC]availablePriceRangeList = [[low: "0", high: "10"], [low:..igh: "100"]] [MSG]The String '60' can be wrapped in single quotes instead of double quotes |
LayeredNavigation.groovy | UnnecessaryGString | 3 | 111 | [SRC]availablePriceRangeList = [[low: "0", high: "10"], [low:..igh: "100"]] [MSG]The String '70' can be wrapped in single quotes instead of double quotes |
LayeredNavigation.groovy | UnnecessaryGString | 3 | 111 | [SRC]availablePriceRangeList = [[low: "0", high: "10"], [low:..igh: "100"]] [MSG]The String '70' can be wrapped in single quotes instead of double quotes |
LayeredNavigation.groovy | UnnecessaryGString | 3 | 111 | [SRC]availablePriceRangeList = [[low: "0", high: "10"], [low:..igh: "100"]] [MSG]The String '80' can be wrapped in single quotes instead of double quotes |
LayeredNavigation.groovy | UnnecessaryGString | 3 | 111 | [SRC]availablePriceRangeList = [[low: "0", high: "10"], [low:..igh: "100"]] [MSG]The String '80' can be wrapped in single quotes instead of double quotes |
LayeredNavigation.groovy | UnnecessaryGString | 3 | 111 | [SRC]availablePriceRangeList = [[low: "0", high: "10"], [low:..igh: "100"]] [MSG]The String '90' can be wrapped in single quotes instead of double quotes |
LayeredNavigation.groovy | UnnecessaryGString | 3 | 111 | [SRC]availablePriceRangeList = [[low: "0", high: "10"], [low:..igh: "100"]] [MSG]The String '90' can be wrapped in single quotes instead of double quotes |
LayeredNavigation.groovy | UnnecessaryGString | 3 | 111 | [SRC]availablePriceRangeList = [[low: "0", high: "10"], [low:..igh: "100"]] [MSG]The String '100' can be wrapped in single quotes instead of double quotes |
LayeredNavigation.groovy | UnnecessaryObjectReferences | 3 | 140 | [SRC]context.searchConstraintStrings = result.searchConstraintStrings [MSG]The code could be more concise by using a with() or identity() block |
ListCurrentProducts.groovy | UnusedImport | 3 | 24 | [SRC]import org.apache.ofbiz.base.util.UtilValidate [MSG]The [org.apache.ofbiz.base.util.UtilValidate] import is never referenced |
ListCurrentProducts.groovy | UnnecessaryGString | 3 | 32 | [SRC]if ("Any".equals(statusId)) { [MSG]The String 'Any' can be wrapped in single quotes instead of double quotes |
ListCurrentProducts.groovy | SpaceAfterIf | 3 | 37 | [SRC]if(!security.hasEntityPermission("SCRUM", "_ADMIN", session)){ [MSG]The if keyword within class org.apache.ofbiz.scrum.None is not followed by a single space |
ListCurrentProducts.groovy | SpaceBeforeOpeningBrace | 3 | 37 | [SRC]if(!security.hasEntityPermission("SCRUM", "_ADMIN", session)){ [MSG]The opening brace for the block in class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
ListCurrentProducts.groovy | UnnecessaryGString | 3 | 37 | [SRC]if(!security.hasEntityPermission("SCRUM", "_ADMIN", session)){ [MSG]The String 'SCRUM' can be wrapped in single quotes instead of double quotes |
ListCurrentProducts.groovy | UnnecessaryGString | 3 | 37 | [SRC]if(!security.hasEntityPermission("SCRUM", "_ADMIN", session)){ [MSG]The String '_ADMIN' can be wrapped in single quotes instead of double quotes |
ListCurrentProducts.groovy | SpaceAfterIf | 3 | 38 | [SRC]if(security.hasEntityPermission("SCRUM_PRODUCT", "_ADMIN", session)){ [MSG]The if keyword within class org.apache.ofbiz.scrum.None is not followed by a single space |
ListCurrentProducts.groovy | SpaceBeforeOpeningBrace | 3 | 38 | [SRC]if(security.hasEntityPermission("SCRUM_PRODUCT", "_ADMIN", session)){ [MSG]The opening brace for the block in class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
ListCurrentProducts.groovy | UnnecessaryGString | 3 | 38 | [SRC]if(security.hasEntityPermission("SCRUM_PRODUCT", "_ADMIN", session)){ [MSG]The String 'SCRUM_PRODUCT' can be wrapped in single quotes instead of double quotes |
ListCurrentProducts.groovy | UnnecessaryGString | 3 | 38 | [SRC]if(security.hasEntityPermission("SCRUM_PRODUCT", "_ADMIN", session)){ [MSG]The String '_ADMIN' can be wrapped in single quotes instead of double quotes |
ListCurrentProducts.groovy | UnnecessaryGString | 3 | 39 | [SRC]roleTypeId = "PRODUCT_OWNER" [MSG]The String 'PRODUCT_OWNER' can be wrapped in single quotes instead of double quotes |
ListCurrentProducts.groovy | SpaceAfterIf | 3 | 44 | [SRC]if(partyId){ [MSG]The if keyword within class org.apache.ofbiz.scrum.None is not followed by a single space |
ListCurrentProducts.groovy | SpaceBeforeOpeningBrace | 3 | 44 | [SRC]if(partyId){ [MSG]The opening brace for the block in class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
ListCurrentProducts.groovy | UnnecessaryGString | 3 | 45 | [SRC]paramCond.add(EntityCondition.makeCondition("partyId", E..S, partyId)) [MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes |
ListCurrentProducts.groovy | SpaceAfterIf | 3 | 47 | [SRC]if(productId){ [MSG]The if keyword within class org.apache.ofbiz.scrum.None is not followed by a single space |
ListCurrentProducts.groovy | SpaceBeforeOpeningBrace | 3 | 47 | [SRC]if(productId){ [MSG]The opening brace for the block in class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
ListCurrentProducts.groovy | UnnecessaryGString | 3 | 48 | [SRC]paramCond.add(EntityCondition.makeCondition("productId",..ctId + "%")) [MSG]The String 'productId' can be wrapped in single quotes instead of double quotes |
ListCurrentProducts.groovy | UnnecessaryGString | 3 | 48 | [SRC]paramCond.add(EntityCondition.makeCondition("productId",..ctId + "%")) [MSG]The String '%' can be wrapped in single quotes instead of double quotes |
ListCurrentProducts.groovy | SpaceAfterIf | 3 | 50 | [SRC]if(internalName){ [MSG]The if keyword within class org.apache.ofbiz.scrum.None is not followed by a single space |
ListCurrentProducts.groovy | SpaceBeforeOpeningBrace | 3 | 50 | [SRC]if(internalName){ [MSG]The opening brace for the block in class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
ListCurrentProducts.groovy | UnnecessaryGString | 3 | 51 | [SRC]paramCond.add(EntityCondition.makeCondition("internalNam..Name + "%")) [MSG]The String 'internalName' can be wrapped in single quotes instead of double quotes |
ListCurrentProducts.groovy | UnnecessaryGString | 3 | 51 | [SRC]paramCond.add(EntityCondition.makeCondition("internalNam..Name + "%")) [MSG]The String '%' can be wrapped in single quotes instead of double quotes |
ListCurrentProducts.groovy | UnnecessaryGString | 3 | 51 | [SRC]paramCond.add(EntityCondition.makeCondition("internalNam..Name + "%")) [MSG]The String '%' can be wrapped in single quotes instead of double quotes |
ListCurrentProducts.groovy | SpaceAfterIf | 3 | 53 | [SRC]if(statusId){ [MSG]The if keyword within class org.apache.ofbiz.scrum.None is not followed by a single space |
ListCurrentProducts.groovy | SpaceBeforeOpeningBrace | 3 | 53 | [SRC]if(statusId){ [MSG]The opening brace for the block in class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
ListCurrentProducts.groovy | UnnecessaryGString | 3 | 54 | [SRC]if ("PRODUCT_ACTIVE".equals(statusId)) { [MSG]The String 'PRODUCT_ACTIVE' can be wrapped in single quotes instead of double quotes |
ListCurrentProducts.groovy | UnnecessaryGString | 3 | 55 | [SRC]paramCond.add(EntityCondition.makeCondition("supportDisc..UALS, null)) [MSG]The String 'supportDiscontinuationDate' can be wrapped in single quotes instead of double quotes |
ListCurrentProducts.groovy | Indentation | 3 | 57 | [SRC]paramCond.add(EntityCondition.makeCondition("supportDisc..QUAL, null)) [MSG]The statement on line 57 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 13 but was 14 |
ListCurrentProducts.groovy | UnnecessaryGString | 3 | 57 | [SRC]paramCond.add(EntityCondition.makeCondition("supportDisc..QUAL, null)) [MSG]The String 'supportDiscontinuationDate' can be wrapped in single quotes instead of double quotes |
ListCurrentProducts.groovy | TrailingWhitespace | 3 | 60 | [SRC] [MSG]Line ends with whitespace characters |
ListCurrentProducts.groovy | UnnecessaryGString | 3 | 61 | [SRC]paramCond.add(EntityCondition.makeCondition("productType..CRUM_ITEM")) [MSG]The String 'productTypeId' can be wrapped in single quotes instead of double quotes |
ListCurrentProducts.groovy | UnnecessaryGString | 3 | 61 | [SRC]paramCond.add(EntityCondition.makeCondition("productType..CRUM_ITEM")) [MSG]The String 'SCRUM_ITEM' can be wrapped in single quotes instead of double quotes |
ListCurrentProducts.groovy | UnnecessaryGString | 3 | 62 | [SRC]paramCond.add(EntityCondition.makeCondition("roleTypeId"..WNER_COMP")) [MSG]The String 'roleTypeId' can be wrapped in single quotes instead of double quotes |
ListCurrentProducts.groovy | UnnecessaryGString | 3 | 62 | [SRC]paramCond.add(EntityCondition.makeCondition("roleTypeId"..WNER_COMP")) [MSG]The String 'PRODUCT_OWNER_COMP' can be wrapped in single quotes instead of double quotes |
ListCurrentProducts.groovy | UnnecessaryGString | 3 | 63 | [SRC]paramCond.add(EntityCondition.makeCondition("thruDate", ..UALS, null)) [MSG]The String 'thruDate' can be wrapped in single quotes instead of double quotes |
ListCurrentProducts.groovy | TrailingWhitespace | 3 | 64 | [SRC] [MSG]Line ends with whitespace characters |
ListCurrentProducts.groovy | UnnecessaryGString | 3 | 65 | [SRC]allProducts = from("ProductAndRole").where(paramCond).or...queryList() [MSG]The String 'ProductAndRole' can be wrapped in single quotes instead of double quotes |
ListCurrentProducts.groovy | UnnecessaryGString | 3 | 65 | [SRC]allProducts = from("ProductAndRole").where(paramCond).or...queryList() [MSG]The String 'groupName' can be wrapped in single quotes instead of double quotes |
ListCurrentProducts.groovy | UnnecessaryGString | 3 | 65 | [SRC]allProducts = from("ProductAndRole").where(paramCond).or...queryList() [MSG]The String 'internalName' can be wrapped in single quotes instead of double quotes |
ListCurrentProducts.groovy | TrailingWhitespace | 3 | 66 | [SRC] [MSG]Line ends with whitespace characters |
ListCurrentProducts.groovy | UnnecessaryGString | 3 | 67 | [SRC]partyAndSecurityGroupList = select("partyId", "groupId") [MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes |
ListCurrentProducts.groovy | UnnecessaryGString | 3 | 67 | [SRC]partyAndSecurityGroupList = select("partyId", "groupId") [MSG]The String 'groupId' can be wrapped in single quotes instead of double quotes |
ListCurrentProducts.groovy | UnnecessaryGString | 3 | 68 | [SRC].from("ScrumMemberUserLoginAndSecurityGroup").where(Enti..eCondition([ [MSG]The String 'ScrumMemberUserLoginAndSecurityGroup' can be wrapped in single quotes instead of double quotes |
ListCurrentProducts.groovy | UnnecessaryGString | 3 | 69 | [SRC]EntityCondition.makeCondition ("partyId", EntityOperator..in.partyId), [MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes |
ListCurrentProducts.groovy | UnnecessaryGString | 3 | 70 | [SRC]EntityCondition.makeCondition ("partyStatusId", EntityOp.._DISABLED"), [MSG]The String 'partyStatusId' can be wrapped in single quotes instead of double quotes |
ListCurrentProducts.groovy | UnnecessaryGString | 3 | 70 | [SRC]EntityCondition.makeCondition ("partyStatusId", EntityOp.._DISABLED"), [MSG]The String 'PARTY_DISABLED' can be wrapped in single quotes instead of double quotes |
ListCurrentProducts.groovy | UnnecessaryGString | 3 | 71 | [SRC]EntityCondition.makeCondition ("thruDate", EntityOperato..QUALS, null) [MSG]The String 'thruDate' can be wrapped in single quotes instead of double quotes |
ListCurrentProducts.groovy | UnnecessaryGString | 3 | 73 | [SRC].orderBy("partyId") [MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes |
ListCurrentProducts.groovy | TrailingWhitespace | 3 | 75 | [SRC] [MSG]Line ends with whitespace characters |
ListCurrentProducts.groovy | UnnecessaryGString | 3 | 80 | [SRC]productMap = from("Product").where("productId", product...).queryOne() [MSG]The String 'Product' can be wrapped in single quotes instead of double quotes |
ListCurrentProducts.groovy | UnnecessaryGString | 3 | 80 | [SRC]productMap = from("Product").where("productId", product...).queryOne() [MSG]The String 'productId' can be wrapped in single quotes instead of double quotes |
ListCurrentProducts.groovy | SpaceAfterComma | 3 | 81 | [SRC]product.put("longDescription",productMap.longDescription) [MSG]The parameter productMap.longDescription in the call to method put within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
ListCurrentProducts.groovy | UnnecessaryGString | 3 | 81 | [SRC]product.put("longDescription",productMap.longDescription) [MSG]The String 'longDescription' can be wrapped in single quotes instead of double quotes |
ListCurrentProducts.groovy | SpaceAfterClosingBrace | 3 | 82 | [SRC]if(security.hasEntityPermission("SCRUM", "_ADMIN", session)){ [MSG]The closing brace for the block in class org.apache.ofbiz.scrum.None is not followed by a space or whitespace |
ListCurrentProducts.groovy | SpaceAfterIf | 3 | 82 | [SRC]if(security.hasEntityPermission("SCRUM", "_ADMIN", session)){ [MSG]The if keyword within class org.apache.ofbiz.scrum.None is not followed by a single space |
ListCurrentProducts.groovy | SpaceBeforeOpeningBrace | 3 | 82 | [SRC]if(security.hasEntityPermission("SCRUM", "_ADMIN", session)){ [MSG]The opening brace for the block in class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
ListCurrentProducts.groovy | UnnecessaryGString | 3 | 82 | [SRC]if(security.hasEntityPermission("SCRUM", "_ADMIN", session)){ [MSG]The String 'SCRUM' can be wrapped in single quotes instead of double quotes |
ListCurrentProducts.groovy | UnnecessaryGString | 3 | 82 | [SRC]if(security.hasEntityPermission("SCRUM", "_ADMIN", session)){ [MSG]The String '_ADMIN' can be wrapped in single quotes instead of double quotes |
ListCurrentProducts.groovy | SpaceBeforeOpeningBrace | 3 | 84 | [SRC]}else{ [MSG]The opening brace for the block in class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
ListCurrentProducts.groovy | UnnecessaryGString | 3 | 88 | [SRC]if ("SCRUM_PRODUCT_OWNER".equals(groupId)) { [MSG]The String 'SCRUM_PRODUCT_OWNER' can be wrapped in single quotes instead of double quotes |
ListCurrentProducts.groovy | UnnecessaryGString | 3 | 89 | [SRC]productAndRoleList = from("ProductRole").where("productI...queryList() [MSG]The String 'ProductRole' can be wrapped in single quotes instead of double quotes |
ListCurrentProducts.groovy | UnnecessaryGString | 3 | 89 | [SRC]productAndRoleList = from("ProductRole").where("productI...queryList() [MSG]The String 'productId' can be wrapped in single quotes instead of double quotes |
ListCurrentProducts.groovy | UnnecessaryGString | 3 | 89 | [SRC]productAndRoleList = from("ProductRole").where("productI...queryList() [MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes |
ListCurrentProducts.groovy | UnnecessaryGString | 3 | 89 | [SRC]productAndRoleList = from("ProductRole").where("productI...queryList() [MSG]The String 'thruDate' can be wrapped in single quotes instead of double quotes |
ListCurrentProducts.groovy | UnnecessaryGString | 3 | 98 | [SRC]} else if ("SCRUM_STAKEHOLDER".equals(groupId)) { [MSG]The String 'SCRUM_STAKEHOLDER' can be wrapped in single quotes instead of double quotes |
ListCurrentProducts.groovy | UnnecessaryGString | 3 | 101 | [SRC]EntityCondition.makeCondition ("partyId", EntityOperator..in.partyId), [MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes |
ListCurrentProducts.groovy | UnnecessaryGString | 3 | 102 | [SRC]EntityCondition.makeCondition ("roleTypeId", EntityOpera..AKEHOLDER"), [MSG]The String 'roleTypeId' can be wrapped in single quotes instead of double quotes |
ListCurrentProducts.groovy | UnnecessaryGString | 3 | 102 | [SRC]EntityCondition.makeCondition ("roleTypeId", EntityOpera..AKEHOLDER"), [MSG]The String 'STAKEHOLDER' can be wrapped in single quotes instead of double quotes |
ListCurrentProducts.groovy | UnnecessaryGString | 3 | 103 | [SRC]EntityCondition.makeCondition ("partyStatusId", EntityOp.._DISABLED"), [MSG]The String 'partyStatusId' can be wrapped in single quotes instead of double quotes |
ListCurrentProducts.groovy | UnnecessaryGString | 3 | 103 | [SRC]EntityCondition.makeCondition ("partyStatusId", EntityOp.._DISABLED"), [MSG]The String 'PARTY_DISABLED' can be wrapped in single quotes instead of double quotes |
ListCurrentProducts.groovy | UnnecessaryGString | 3 | 104 | [SRC]EntityCondition.makeCondition ("thruDate", EntityOperato..QUALS, null) [MSG]The String 'thruDate' can be wrapped in single quotes instead of double quotes |
ListCurrentProducts.groovy | UnnecessaryGString | 3 | 106 | [SRC]scrumRolesPersonAndCompanyList = from("ScrumRolesPersonA...queryList() [MSG]The String 'ScrumRolesPersonAndCompany' can be wrapped in single quotes instead of double quotes |
ListCurrentProducts.groovy | UnnecessaryGString | 3 | 107 | [SRC]productRoleList = from("ProductRole").where("partyId", s...queryList() [MSG]The String 'ProductRole' can be wrapped in single quotes instead of double quotes |
ListCurrentProducts.groovy | UnnecessaryGString | 3 | 107 | [SRC]productRoleList = from("ProductRole").where("partyId", s...queryList() [MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes |
ListCurrentProducts.groovy | UnnecessaryGString | 3 | 107 | [SRC]productRoleList = from("ProductRole").where("partyId", s...queryList() [MSG]The String 'roleTypeId' can be wrapped in single quotes instead of double quotes |
ListCurrentProducts.groovy | UnnecessaryGString | 3 | 107 | [SRC]productRoleList = from("ProductRole").where("partyId", s...queryList() [MSG]The String 'PRODUCT_OWNER_COMP' can be wrapped in single quotes instead of double quotes |
ListCurrentProducts.groovy | UnnecessaryGString | 3 | 107 | [SRC]productRoleList = from("ProductRole").where("partyId", s...queryList() [MSG]The String 'thruDate' can be wrapped in single quotes instead of double quotes |
ListCurrentProducts.groovy | SpaceAroundMapEntryColon | 3 | 118 | [SRC]productAndRoleList = from("ProductAndRole").where("produ...queryList() [MSG]The colon for the literal Map entry for key [productId] within class org.apache.ofbiz.scrum.None is not preceded by a match for regular expression [\S] |
ListCurrentProducts.groovy | SpaceAroundMapEntryColon | 3 | 118 | [SRC]productAndRoleList = from("ProductAndRole").where("produ...queryList() [MSG]The colon for the literal Map entry for key [partyId] within class org.apache.ofbiz.scrum.None is not preceded by a match for regular expression [\S] |
ListCurrentProducts.groovy | SpaceAroundMapEntryColon | 3 | 118 | [SRC]productAndRoleList = from("ProductAndRole").where("produ...queryList() [MSG]The colon for the literal Map entry for key [roleTypeId] within class org.apache.ofbiz.scrum.None is not preceded by a match for regular expression [\S] |
ListCurrentProducts.groovy | SpaceAroundMapEntryColon | 3 | 118 | [SRC]productAndRoleList = from("ProductAndRole").where("produ...queryList() [MSG]The colon for the literal Map entry for key [supportDiscontinuationDate] within class org.apache.ofbiz.scrum.None is not preceded by a match for regular expression [\S] |
ListCurrentProducts.groovy | SpaceAroundMapEntryColon | 3 | 118 | [SRC]productAndRoleList = from("ProductAndRole").where("produ...queryList() [MSG]The colon for the literal Map entry for key [thruDate] within class org.apache.ofbiz.scrum.None is not preceded by a match for regular expression [\S] |
ListCurrentProducts.groovy | UnnecessaryGString | 3 | 118 | [SRC]productAndRoleList = from("ProductAndRole").where("produ...queryList() [MSG]The String 'ProductAndRole' can be wrapped in single quotes instead of double quotes |
ListCurrentProducts.groovy | UnnecessaryGString | 3 | 118 | [SRC]productAndRoleList = from("ProductAndRole").where("produ...queryList() [MSG]The String 'productId' can be wrapped in single quotes instead of double quotes |
ListCurrentProducts.groovy | UnnecessaryGString | 3 | 118 | [SRC]productAndRoleList = from("ProductAndRole").where("produ...queryList() [MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes |
ListCurrentProducts.groovy | UnnecessaryGString | 3 | 118 | [SRC]productAndRoleList = from("ProductAndRole").where("produ...queryList() [MSG]The String 'roleTypeId' can be wrapped in single quotes instead of double quotes |
ListCurrentProducts.groovy | UnnecessaryGString | 3 | 118 | [SRC]productAndRoleList = from("ProductAndRole").where("produ...queryList() [MSG]The String 'STAKEHOLDER' can be wrapped in single quotes instead of double quotes |
ListCurrentProducts.groovy | UnnecessaryGString | 3 | 118 | [SRC]productAndRoleList = from("ProductAndRole").where("produ...queryList() [MSG]The String 'supportDiscontinuationDate' can be wrapped in single quotes instead of double quotes |
ListCurrentProducts.groovy | UnnecessaryGString | 3 | 118 | [SRC]productAndRoleList = from("ProductAndRole").where("produ...queryList() [MSG]The String 'thruDate' can be wrapped in single quotes instead of double quotes |
ListCurrentProducts.groovy | UnnecessaryGString | 3 | 123 | [SRC]} else if ("SCRUM_MASTER".equals(groupId)) { [MSG]The String 'SCRUM_MASTER' can be wrapped in single quotes instead of double quotes |
ListCurrentProducts.groovy | SpaceAroundMapEntryColon | 3 | 126 | [SRC]productRoleList = from("ProductAndRole").where("productI...queryList() [MSG]The colon for the literal Map entry for key [productId] within class org.apache.ofbiz.scrum.None is not preceded by a match for regular expression [\S] |
ListCurrentProducts.groovy | SpaceAroundMapEntryColon | 3 | 126 | [SRC]productRoleList = from("ProductAndRole").where("productI...queryList() [MSG]The colon for the literal Map entry for key [partyId] within class org.apache.ofbiz.scrum.None is not preceded by a match for regular expression [\S] |
ListCurrentProducts.groovy | SpaceAroundMapEntryColon | 3 | 126 | [SRC]productRoleList = from("ProductAndRole").where("productI...queryList() [MSG]The colon for the literal Map entry for key [roleTypeId] within class org.apache.ofbiz.scrum.None is not preceded by a match for regular expression [\S] |
ListCurrentProducts.groovy | SpaceAroundMapEntryColon | 3 | 126 | [SRC]productRoleList = from("ProductAndRole").where("productI...queryList() [MSG]The colon for the literal Map entry for key [supportDiscontinuationDate] within class org.apache.ofbiz.scrum.None is not preceded by a match for regular expression [\S] |
ListCurrentProducts.groovy | SpaceAroundMapEntryColon | 3 | 126 | [SRC]productRoleList = from("ProductAndRole").where("productI...queryList() [MSG]The colon for the literal Map entry for key [thruDate] within class org.apache.ofbiz.scrum.None is not preceded by a match for regular expression [\S] |
ListCurrentProducts.groovy | UnnecessaryGString | 3 | 126 | [SRC]productRoleList = from("ProductAndRole").where("productI...queryList() [MSG]The String 'ProductAndRole' can be wrapped in single quotes instead of double quotes |
ListCurrentProducts.groovy | UnnecessaryGString | 3 | 126 | [SRC]productRoleList = from("ProductAndRole").where("productI...queryList() [MSG]The String 'productId' can be wrapped in single quotes instead of double quotes |
ListCurrentProducts.groovy | UnnecessaryGString | 3 | 126 | [SRC]productRoleList = from("ProductAndRole").where("productI...queryList() [MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes |
ListCurrentProducts.groovy | UnnecessaryGString | 3 | 126 | [SRC]productRoleList = from("ProductAndRole").where("productI...queryList() [MSG]The String 'roleTypeId' can be wrapped in single quotes instead of double quotes |
ListCurrentProducts.groovy | UnnecessaryGString | 3 | 126 | [SRC]productRoleList = from("ProductAndRole").where("productI...queryList() [MSG]The String 'SCRUM_MASTER' can be wrapped in single quotes instead of double quotes |
ListCurrentProducts.groovy | UnnecessaryGString | 3 | 126 | [SRC]productRoleList = from("ProductAndRole").where("productI...queryList() [MSG]The String 'supportDiscontinuationDate' can be wrapped in single quotes instead of double quotes |
ListCurrentProducts.groovy | UnnecessaryGString | 3 | 126 | [SRC]productRoleList = from("ProductAndRole").where("productI...queryList() [MSG]The String 'thruDate' can be wrapped in single quotes instead of double quotes |
ListCurrentProducts.groovy | UnnecessaryGString | 3 | 133 | [SRC]projects = from("WorkEffortAndProduct").where("productId...queryList() [MSG]The String 'WorkEffortAndProduct' can be wrapped in single quotes instead of double quotes |
ListCurrentProducts.groovy | UnnecessaryGString | 3 | 133 | [SRC]projects = from("WorkEffortAndProduct").where("productId...queryList() [MSG]The String 'productId' can be wrapped in single quotes instead of double quotes |
ListCurrentProducts.groovy | UnnecessaryGString | 3 | 133 | [SRC]projects = from("WorkEffortAndProduct").where("productId...queryList() [MSG]The String 'workEffortTypeId' can be wrapped in single quotes instead of double quotes |
ListCurrentProducts.groovy | UnnecessaryGString | 3 | 133 | [SRC]projects = from("WorkEffortAndProduct").where("productId...queryList() [MSG]The String 'SCRUM_PROJECT' can be wrapped in single quotes instead of double quotes |
ListCurrentProducts.groovy | UnnecessaryGString | 3 | 133 | [SRC]projects = from("WorkEffortAndProduct").where("productId...queryList() [MSG]The String 'currentStatusId' can be wrapped in single quotes instead of double quotes |
ListCurrentProducts.groovy | UnnecessaryGString | 3 | 133 | [SRC]projects = from("WorkEffortAndProduct").where("productId...queryList() [MSG]The String 'SPJ_ACTIVE' can be wrapped in single quotes instead of double quotes |
ListCurrentProducts.groovy | UnnecessaryGString | 3 | 136 | [SRC]projectPartyAssignment = from("WorkEffortPartyAssignment...queryList() [MSG]The String 'WorkEffortPartyAssignment' can be wrapped in single quotes instead of double quotes |
ListCurrentProducts.groovy | UnnecessaryGString | 3 | 136 | [SRC]projectPartyAssignment = from("WorkEffortPartyAssignment...queryList() [MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes |
ListCurrentProducts.groovy | UnnecessaryGString | 3 | 136 | [SRC]projectPartyAssignment = from("WorkEffortPartyAssignment...queryList() [MSG]The String 'workEffortId' can be wrapped in single quotes instead of double quotes |
ListCurrentProducts.groovy | UnnecessaryGString | 3 | 147 | [SRC]allSprintList = from("WorkEffort").where("workEffortPare...queryList() [MSG]The String 'WorkEffort' can be wrapped in single quotes instead of double quotes |
ListCurrentProducts.groovy | UnnecessaryGString | 3 | 147 | [SRC]allSprintList = from("WorkEffort").where("workEffortPare...queryList() [MSG]The String 'workEffortParentId' can be wrapped in single quotes instead of double quotes |
ListCurrentProducts.groovy | UnnecessaryGString | 3 | 147 | [SRC]allSprintList = from("WorkEffort").where("workEffortPare...queryList() [MSG]The String 'currentStatusId' can be wrapped in single quotes instead of double quotes |
ListCurrentProducts.groovy | UnnecessaryGString | 3 | 147 | [SRC]allSprintList = from("WorkEffort").where("workEffortPare...queryList() [MSG]The String 'SPRINT_ACTIVE' can be wrapped in single quotes instead of double quotes |
ListCurrentProducts.groovy | UnnecessaryGString | 3 | 150 | [SRC]workEffortPartyAssignment = from("WorkEffortPartyAssignm...queryList() [MSG]The String 'WorkEffortPartyAssignment' can be wrapped in single quotes instead of double quotes |
ListCurrentProducts.groovy | UnnecessaryGString | 3 | 150 | [SRC]workEffortPartyAssignment = from("WorkEffortPartyAssignm...queryList() [MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes |
ListCurrentProducts.groovy | UnnecessaryGString | 3 | 150 | [SRC]workEffortPartyAssignment = from("WorkEffortPartyAssignm...queryList() [MSG]The String 'workEffortId' can be wrapped in single quotes instead of double quotes |
ListCurrentProducts.groovy | UnnecessaryGString | 3 | 159 | [SRC]projects = from("WorkEffortAndProduct").where("productId...queryList() [MSG]The String 'WorkEffortAndProduct' can be wrapped in single quotes instead of double quotes |
ListCurrentProducts.groovy | UnnecessaryGString | 3 | 159 | [SRC]projects = from("WorkEffortAndProduct").where("productId...queryList() [MSG]The String 'productId' can be wrapped in single quotes instead of double quotes |
ListCurrentProducts.groovy | UnnecessaryGString | 3 | 159 | [SRC]projects = from("WorkEffortAndProduct").where("productId...queryList() [MSG]The String 'workEffortTypeId' can be wrapped in single quotes instead of double quotes |
ListCurrentProducts.groovy | UnnecessaryGString | 3 | 159 | [SRC]projects = from("WorkEffortAndProduct").where("productId...queryList() [MSG]The String 'SCRUM_PROJECT' can be wrapped in single quotes instead of double quotes |
ListCurrentProducts.groovy | UnnecessaryGString | 3 | 159 | [SRC]projects = from("WorkEffortAndProduct").where("productId...queryList() [MSG]The String 'currentStatusId' can be wrapped in single quotes instead of double quotes |
ListCurrentProducts.groovy | UnnecessaryGString | 3 | 159 | [SRC]projects = from("WorkEffortAndProduct").where("productId...queryList() [MSG]The String 'SPJ_ACTIVE' can be wrapped in single quotes instead of double quotes |
ListCurrentProducts.groovy | UnnecessaryGString | 3 | 163 | [SRC]allSprintList = from("WorkEffort").where("workEffortPare...queryList() [MSG]The String 'WorkEffort' can be wrapped in single quotes instead of double quotes |
ListCurrentProducts.groovy | UnnecessaryGString | 3 | 163 | [SRC]allSprintList = from("WorkEffort").where("workEffortPare...queryList() [MSG]The String 'workEffortParentId' can be wrapped in single quotes instead of double quotes |
ListCurrentProducts.groovy | UnnecessaryGString | 3 | 163 | [SRC]allSprintList = from("WorkEffort").where("workEffortPare...queryList() [MSG]The String 'currentStatusId' can be wrapped in single quotes instead of double quotes |
ListCurrentProducts.groovy | UnnecessaryGString | 3 | 163 | [SRC]allSprintList = from("WorkEffort").where("workEffortPare...queryList() [MSG]The String 'SPRINT_ACTIVE' can be wrapped in single quotes instead of double quotes |
ListCurrentProducts.groovy | UnnecessaryGString | 3 | 166 | [SRC]workEffortPartyAssignment = from("WorkEffortPartyAssignm...queryList() [MSG]The String 'WorkEffortPartyAssignment' can be wrapped in single quotes instead of double quotes |
ListCurrentProducts.groovy | UnnecessaryGString | 3 | 166 | [SRC]workEffortPartyAssignment = from("WorkEffortPartyAssignm...queryList() [MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes |
ListCurrentProducts.groovy | UnnecessaryGString | 3 | 166 | [SRC]workEffortPartyAssignment = from("WorkEffortPartyAssignm...queryList() [MSG]The String 'workEffortId' can be wrapped in single quotes instead of double quotes |
ListCurrentProducts.groovy | UnnecessaryGString | 3 | 174 | [SRC]exprBldr = [EntityCondition.makeCondition("statusId", En.._REVIEWED"), [MSG]The String 'statusId' can be wrapped in single quotes instead of double quotes |
ListCurrentProducts.groovy | UnnecessaryGString | 3 | 174 | [SRC]exprBldr = [EntityCondition.makeCondition("statusId", En.._REVIEWED"), [MSG]The String 'CRQ_REVIEWED' can be wrapped in single quotes instead of double quotes |
ListCurrentProducts.groovy | UnnecessaryGString | 3 | 175 | [SRC]EntityCondition.makeCondition("statusId", EntityOperator.._REOPENED")] [MSG]The String 'statusId' can be wrapped in single quotes instead of double quotes |
ListCurrentProducts.groovy | UnnecessaryGString | 3 | 175 | [SRC]EntityCondition.makeCondition("statusId", EntityOperator.._REOPENED")] [MSG]The String 'CRQ_REOPENED' can be wrapped in single quotes instead of double quotes |
ListCurrentProducts.groovy | UnnecessaryGString | 3 | 176 | [SRC]andExprs = [EntityCondition.makeCondition("productId", E...productId), [MSG]The String 'productId' can be wrapped in single quotes instead of double quotes |
ListCurrentProducts.groovy | UnnecessaryGString | 3 | 177 | [SRC]EntityCondition.makeCondition("currentStatusId", EntityO..S_CREATED"), [MSG]The String 'currentStatusId' can be wrapped in single quotes instead of double quotes |
ListCurrentProducts.groovy | UnnecessaryGString | 3 | 177 | [SRC]EntityCondition.makeCondition("currentStatusId", EntityO..S_CREATED"), [MSG]The String 'STS_CREATED' can be wrapped in single quotes instead of double quotes |
ListCurrentProducts.groovy | UnnecessaryGString | 3 | 180 | [SRC]unplannedBacklogList = from("UnPlannedBacklogsAndTasks")...queryList() [MSG]The String 'UnPlannedBacklogsAndTasks' can be wrapped in single quotes instead of double quotes |
ListCurrentProducts.groovy | UnnecessaryGString | 3 | 184 | [SRC]workEffortPartyAssignment = from("WorkEffortPartyAssignm...queryList() [MSG]The String 'WorkEffortPartyAssignment' can be wrapped in single quotes instead of double quotes |
ListCurrentProducts.groovy | UnnecessaryGString | 3 | 184 | [SRC]workEffortPartyAssignment = from("WorkEffortPartyAssignm...queryList() [MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes |
ListCurrentProducts.groovy | UnnecessaryGString | 3 | 184 | [SRC]workEffortPartyAssignment = from("WorkEffortPartyAssignm...queryList() [MSG]The String 'workEffortId' can be wrapped in single quotes instead of double quotes |
ListCurrentProducts.groovy | TrailingWhitespace | 3 | 192 | [SRC] [MSG]Line ends with whitespace characters |
ListCurrentProducts.groovy | Indentation | 3 | 194 | [SRC]products.add(product) [MSG]The statement on line 194 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [21, 25, 29] but was 23 |
ListCurrentProducts.groovy | SpaceAfterIf | 3 | 198 | [SRC]if(addAllProducts) [MSG]The if keyword within class org.apache.ofbiz.scrum.None is not followed by a single space |
ListCurrentProducts.groovy | UnnecessaryGString | 3 | 202 | [SRC]logError("Party ID missing =========>>> : null ") [MSG]The String 'Party ID missing =========>>> : null ' can be wrapped in single quotes instead of double quotes |
ListCurrentProducts.groovy | SpaceBeforeOpeningBrace | 3 | 205 | [SRC]if (products){ [MSG]The opening brace for the block in class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
ListCurrentProjects.groovy | ConsecutiveBlankLines | 3 | 20 | [MSG]File ListCurrentProjects.groovy has consecutive blank lines |
ListCurrentProjects.groovy | UnnecessaryGString | 3 | 27 | [SRC]EntityCondition.makeCondition ("workEffortTypeId", Entit.. "PROJECT"), [MSG]The String 'workEffortTypeId' can be wrapped in single quotes instead of double quotes |
ListCurrentProjects.groovy | UnnecessaryGString | 3 | 27 | [SRC]EntityCondition.makeCondition ("workEffortTypeId", Entit.. "PROJECT"), [MSG]The String 'PROJECT' can be wrapped in single quotes instead of double quotes |
ListCurrentProjects.groovy | UnnecessaryGString | 3 | 28 | [SRC]EntityCondition.makeCondition ("currentStatusId", Entity..PRJ_CLOSED") [MSG]The String 'currentStatusId' can be wrapped in single quotes instead of double quotes |
ListCurrentProjects.groovy | UnnecessaryGString | 3 | 28 | [SRC]EntityCondition.makeCondition ("currentStatusId", Entity..PRJ_CLOSED") [MSG]The String 'PRJ_CLOSED' can be wrapped in single quotes instead of double quotes |
ListCurrentProjects.groovy | UnnecessaryGString | 3 | 30 | [SRC]allProjects = select("workEffortId").from("WorkEffort")....queryList() [MSG]The String 'workEffortId' can be wrapped in single quotes instead of double quotes |
ListCurrentProjects.groovy | UnnecessaryGString | 3 | 30 | [SRC]allProjects = select("workEffortId").from("WorkEffort")....queryList() [MSG]The String 'WorkEffort' can be wrapped in single quotes instead of double quotes |
ListCurrentProjects.groovy | UnnecessaryGString | 3 | 30 | [SRC]allProjects = select("workEffortId").from("WorkEffort")....queryList() [MSG]The String 'workEffortName' can be wrapped in single quotes instead of double quotes |
ListCurrentProjects.groovy | SpaceAroundMapEntryColon | 3 | 34 | [SRC]result = runService('getProject', ["userLogin" : paramet..rkEffortId]) [MSG]The colon for the literal Map entry for key [userLogin] within class org.apache.ofbiz.projectmgr.None is not preceded by a match for regular expression [\S] |
ListCurrentProjects.groovy | SpaceAroundMapEntryColon | 3 | 34 | [SRC]result = runService('getProject', ["userLogin" : paramet..rkEffortId]) [MSG]The colon for the literal Map entry for key [projectId] within class org.apache.ofbiz.projectmgr.None is not preceded by a match for regular expression [\S] |
ListCurrentProjects.groovy | UnnecessaryGString | 3 | 34 | [SRC]result = runService('getProject', ["userLogin" : paramet..rkEffortId]) [MSG]The String 'userLogin' can be wrapped in single quotes instead of double quotes |
ListCurrentProjects.groovy | UnnecessaryGString | 3 | 34 | [SRC]result = runService('getProject', ["userLogin" : paramet..rkEffortId]) [MSG]The String 'projectId' can be wrapped in single quotes instead of double quotes |
ListCurrentProjects.groovy | UnnecessaryGString | 3 | 36 | [SRC]resultAssign = from("WorkEffortPartyAssignment").where("...queryList() [MSG]The String 'WorkEffortPartyAssignment' can be wrapped in single quotes instead of double quotes |
ListCurrentProjects.groovy | UnnecessaryGString | 3 | 36 | [SRC]resultAssign = from("WorkEffortPartyAssignment").where("...queryList() [MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes |
ListCurrentProjects.groovy | UnnecessaryGString | 3 | 36 | [SRC]resultAssign = from("WorkEffortPartyAssignment").where("...queryList() [MSG]The String 'workEffortId' can be wrapped in single quotes instead of double quotes |
ListCurrentProjects.groovy | UnnecessaryGString | 3 | 37 | [SRC]if (security.hasEntityPermission("PROJECTMGR", "_ADMIN", session) [MSG]The String 'PROJECTMGR' can be wrapped in single quotes instead of double quotes |
ListCurrentProjects.groovy | UnnecessaryGString | 3 | 37 | [SRC]if (security.hasEntityPermission("PROJECTMGR", "_ADMIN", session) [MSG]The String '_ADMIN' can be wrapped in single quotes instead of double quotes |
ListCurrentProjects.groovy | UnnecessaryGString | 3 | 38 | [SRC]|| ((security.hasEntityPermission("PROJECTMGR", "_ROLE_A..ltAssign)) { [MSG]The String 'PROJECTMGR' can be wrapped in single quotes instead of double quotes |
ListCurrentProjects.groovy | UnnecessaryGString | 3 | 38 | [SRC]|| ((security.hasEntityPermission("PROJECTMGR", "_ROLE_A..ltAssign)) { [MSG]The String '_ROLE_ADMIN' can be wrapped in single quotes instead of double quotes |
ListCurrentProjects.groovy | UnnecessaryGString | 3 | 38 | [SRC]|| ((security.hasEntityPermission("PROJECTMGR", "_ROLE_A..ltAssign)) { [MSG]The String 'PROJECTMGR' can be wrapped in single quotes instead of double quotes |
ListCurrentProjects.groovy | UnnecessaryGString | 3 | 38 | [SRC]|| ((security.hasEntityPermission("PROJECTMGR", "_ROLE_A..ltAssign)) { [MSG]The String '_ROLE_VIEW' can be wrapped in single quotes instead of double quotes |
ListCurrentSprints.groovy | UnnecessaryGString | 3 | 27 | [SRC]EntityCondition.makeCondition ("projectTypeId", EntityOp..M_PROJECT"), [MSG]The String 'projectTypeId' can be wrapped in single quotes instead of double quotes |
ListCurrentSprints.groovy | UnnecessaryGString | 3 | 27 | [SRC]EntityCondition.makeCondition ("projectTypeId", EntityOp..M_PROJECT"), [MSG]The String 'SCRUM_PROJECT' can be wrapped in single quotes instead of double quotes |
ListCurrentSprints.groovy | UnnecessaryGString | 3 | 28 | [SRC]EntityCondition.makeCondition ("projectStatusId", Entity..SPJ_CLOSED") [MSG]The String 'projectStatusId' can be wrapped in single quotes instead of double quotes |
ListCurrentSprints.groovy | UnnecessaryGString | 3 | 28 | [SRC]EntityCondition.makeCondition ("projectStatusId", Entity..SPJ_CLOSED") [MSG]The String 'SPJ_CLOSED' can be wrapped in single quotes instead of double quotes |
ListCurrentSprints.groovy | UnnecessaryGString | 3 | 31 | [SRC]EntityCondition.makeCondition ("partyId", EntityOperator..in.partyId), [MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes |
ListCurrentSprints.groovy | UnnecessaryGString | 3 | 32 | [SRC]EntityCondition.makeCondition ("partyStatusId", EntityOp.._DISABLED"), [MSG]The String 'partyStatusId' can be wrapped in single quotes instead of double quotes |
ListCurrentSprints.groovy | UnnecessaryGString | 3 | 32 | [SRC]EntityCondition.makeCondition ("partyStatusId", EntityOp.._DISABLED"), [MSG]The String 'PARTY_DISABLED' can be wrapped in single quotes instead of double quotes |
ListCurrentSprints.groovy | UnnecessaryGString | 3 | 33 | [SRC]EntityCondition.makeCondition ("thruDate", EntityOperato..QUALS, null) [MSG]The String 'thruDate' can be wrapped in single quotes instead of double quotes |
ListCurrentSprints.groovy | UnnecessaryGString | 3 | 35 | [SRC]fields = new HashSet(["partyId", "groupId"]) [MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes |
ListCurrentSprints.groovy | UnnecessaryGString | 3 | 35 | [SRC]fields = new HashSet(["partyId", "groupId"]) [MSG]The String 'groupId' can be wrapped in single quotes instead of double quotes |
ListCurrentSprints.groovy | UnnecessaryGString | 3 | 37 | [SRC]allSprints = from("ProjectSprint").where(cond).orderBy("...queryList() [MSG]The String 'ProjectSprint' can be wrapped in single quotes instead of double quotes |
ListCurrentSprints.groovy | UnnecessaryGString | 3 | 37 | [SRC]allSprints = from("ProjectSprint").where(cond).orderBy("...queryList() [MSG]The String 'projectName' can be wrapped in single quotes instead of double quotes |
ListCurrentSprints.groovy | UnnecessaryGString | 3 | 37 | [SRC]allSprints = from("ProjectSprint").where(cond).orderBy("...queryList() [MSG]The String '-sprintActualStartDate' can be wrapped in single quotes instead of double quotes |
ListCurrentSprints.groovy | UnnecessaryGString | 3 | 38 | [SRC]partyAndSecurityGroupList = select("partyId", "groupId")...queryList() [MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes |
ListCurrentSprints.groovy | UnnecessaryGString | 3 | 38 | [SRC]partyAndSecurityGroupList = select("partyId", "groupId")...queryList() [MSG]The String 'groupId' can be wrapped in single quotes instead of double quotes |
ListCurrentSprints.groovy | UnnecessaryGString | 3 | 38 | [SRC]partyAndSecurityGroupList = select("partyId", "groupId")...queryList() [MSG]The String 'ScrumMemberUserLoginAndSecurityGroup' can be wrapped in single quotes instead of double quotes |
ListCurrentSprints.groovy | UnnecessaryGString | 3 | 38 | [SRC]partyAndSecurityGroupList = select("partyId", "groupId")...queryList() [MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes |
ListCurrentSprints.groovy | UnnecessaryGString | 3 | 45 | [SRC]productAndRole = from("ProductAndRole").where("roleTypeI...queryList() [MSG]The String 'ProductAndRole' can be wrapped in single quotes instead of double quotes |
ListCurrentSprints.groovy | UnnecessaryGString | 3 | 45 | [SRC]productAndRole = from("ProductAndRole").where("roleTypeI...queryList() [MSG]The String 'roleTypeId' can be wrapped in single quotes instead of double quotes |
ListCurrentSprints.groovy | UnnecessaryGString | 3 | 45 | [SRC]productAndRole = from("ProductAndRole").where("roleTypeI...queryList() [MSG]The String 'PRODUCT_OWNER_COMP' can be wrapped in single quotes instead of double quotes |
ListCurrentSprints.groovy | UnnecessaryGString | 3 | 45 | [SRC]productAndRole = from("ProductAndRole").where("roleTypeI...queryList() [MSG]The String 'productId' can be wrapped in single quotes instead of double quotes |
ListCurrentSprints.groovy | UnnecessaryGString | 3 | 46 | [SRC]companyId = "" [MSG]The String '' can be wrapped in single quotes instead of double quotes |
ListCurrentSprints.groovy | UnnecessaryGString | 3 | 47 | [SRC]companyName = "" [MSG]The String '' can be wrapped in single quotes instead of double quotes |
ListCurrentSprints.groovy | NoTabCharacter | 3 | 49 | [MSG]The tab character is not allowed in source files |
ListCurrentSprints.groovy | Indentation | 3 | 49 | [SRC]companyName = productAndRole.get(0).groupName [MSG]The statement on line 49 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [9, 13, 17] but was 6 |
ListCurrentSprints.groovy | Indentation | 3 | 50 | [SRC]companyId = productAndRole.get(0).partyId [MSG]The statement on line 50 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [9, 13, 17] but was 6 |
ListCurrentSprints.groovy | UnnecessaryGString | 3 | 53 | [SRC]sprint.put("companyId", companyId) [MSG]The String 'companyId' can be wrapped in single quotes instead of double quotes |
ListCurrentSprints.groovy | UnnecessaryGString | 3 | 54 | [SRC]sprint.put("companyName", companyName) [MSG]The String 'companyName' can be wrapped in single quotes instead of double quotes |
ListCurrentSprints.groovy | UnnecessaryGString | 3 | 55 | [SRC]product = from("Product").where("productId", sprint.prod..).queryOne() [MSG]The String 'Product' can be wrapped in single quotes instead of double quotes |
ListCurrentSprints.groovy | UnnecessaryGString | 3 | 55 | [SRC]product = from("Product").where("productId", sprint.prod..).queryOne() [MSG]The String 'productId' can be wrapped in single quotes instead of double quotes |
ListCurrentSprints.groovy | UnnecessaryGString | 3 | 56 | [SRC]productName = "" [MSG]The String '' can be wrapped in single quotes instead of double quotes |
ListCurrentSprints.groovy | UnnecessaryGString | 3 | 58 | [SRC]sprint.put("productName", productName) [MSG]The String 'productName' can be wrapped in single quotes instead of double quotes |
ListCurrentSprints.groovy | Indentation | 3 | 61 | [SRC]oldProjectId = newProjectId [MSG]The statement on line 61 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [9, 13, 17] but was 6 |
ListCurrentSprints.groovy | Indentation | 3 | 62 | [SRC]countSprint = 0 [MSG]The statement on line 62 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [9, 13, 17] but was 6 |
ListCurrentSprints.groovy | Indentation | 3 | 64 | [SRC]if (partyAndSecurityGroupList) { [MSG]The statement on line 64 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [9, 13, 17] but was 8 |
ListCurrentSprints.groovy | Indentation | 3 | 65 | [SRC]groupId = partyAndSecurityGroupList[0].groupId [MSG]The statement on line 65 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [13, 17, 21] but was 12 |
ListCurrentSprints.groovy | Indentation | 3 | 66 | [SRC]if ("SCRUM_PRODUCT_OWNER".equals(groupId)) { [MSG]The statement on line 66 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [13, 17, 21] but was 12 |
ListCurrentSprints.groovy | SpaceAfterClosingBrace | 3 | 66 | [SRC]if ("SCRUM_PRODUCT_OWNER".equals(groupId)) { [MSG]The closing brace for the block in class org.apache.ofbiz.scrum.None is not followed by a space or whitespace |
ListCurrentSprints.groovy | UnnecessaryGString | 3 | 66 | [SRC]if ("SCRUM_PRODUCT_OWNER".equals(groupId)) { [MSG]The String 'SCRUM_PRODUCT_OWNER' can be wrapped in single quotes instead of double quotes |
ListCurrentSprints.groovy | Indentation | 3 | 67 | [SRC]productAndRoleList = from("ProductRole").where("productI...queryList() [MSG]The statement on line 67 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [17, 21, 25] but was 16 |
ListCurrentSprints.groovy | UnnecessaryGString | 3 | 67 | [SRC]productAndRoleList = from("ProductRole").where("productI...queryList() [MSG]The String 'ProductRole' can be wrapped in single quotes instead of double quotes |
ListCurrentSprints.groovy | UnnecessaryGString | 3 | 67 | [SRC]productAndRoleList = from("ProductRole").where("productI...queryList() [MSG]The String 'productId' can be wrapped in single quotes instead of double quotes |
ListCurrentSprints.groovy | UnnecessaryGString | 3 | 67 | [SRC]productAndRoleList = from("ProductRole").where("productI...queryList() [MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes |
ListCurrentSprints.groovy | UnnecessaryGString | 3 | 67 | [SRC]productAndRoleList = from("ProductRole").where("productI...queryList() [MSG]The String 'thruDate' can be wrapped in single quotes instead of double quotes |
ListCurrentSprints.groovy | Indentation | 3 | 68 | [SRC]if (productAndRoleList) { [MSG]The statement on line 68 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [17, 21, 25] but was 16 |
ListCurrentSprints.groovy | Indentation | 3 | 69 | [SRC]ismember = true [MSG]The statement on line 69 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [21, 25, 29] but was 20 |
ListCurrentSprints.groovy | SpaceAfterIf | 3 | 71 | [SRC]}else if("SCRUM_STAKEHOLDER".equals(groupId)) { [MSG]The if keyword within class org.apache.ofbiz.scrum.None is not followed by a single space |
ListCurrentSprints.groovy | UnnecessaryGString | 3 | 71 | [SRC]}else if("SCRUM_STAKEHOLDER".equals(groupId)) { [MSG]The String 'SCRUM_STAKEHOLDER' can be wrapped in single quotes instead of double quotes |
ListCurrentSprints.groovy | Indentation | 3 | 73 | [SRC]scrumRolesCond = EntityCondition.makeCondition([ [MSG]The statement on line 73 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [17, 21, 25] but was 16 |
ListCurrentSprints.groovy | UnnecessaryGString | 3 | 74 | [SRC]EntityCondition.makeCondition ("partyId", EntityOperator..in.partyId), [MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes |
ListCurrentSprints.groovy | UnnecessaryGString | 3 | 75 | [SRC]EntityCondition.makeCondition ("roleTypeId", EntityOpera..AKEHOLDER"), [MSG]The String 'roleTypeId' can be wrapped in single quotes instead of double quotes |
ListCurrentSprints.groovy | UnnecessaryGString | 3 | 75 | [SRC]EntityCondition.makeCondition ("roleTypeId", EntityOpera..AKEHOLDER"), [MSG]The String 'STAKEHOLDER' can be wrapped in single quotes instead of double quotes |
ListCurrentSprints.groovy | UnnecessaryGString | 3 | 76 | [SRC]EntityCondition.makeCondition ("partyStatusId", EntityOp.._DISABLED"), [MSG]The String 'partyStatusId' can be wrapped in single quotes instead of double quotes |
ListCurrentSprints.groovy | UnnecessaryGString | 3 | 76 | [SRC]EntityCondition.makeCondition ("partyStatusId", EntityOp.._DISABLED"), [MSG]The String 'PARTY_DISABLED' can be wrapped in single quotes instead of double quotes |
ListCurrentSprints.groovy | UnnecessaryGString | 3 | 77 | [SRC]EntityCondition.makeCondition ("thruDate", EntityOperato..QUALS, null) [MSG]The String 'thruDate' can be wrapped in single quotes instead of double quotes |
ListCurrentSprints.groovy | Indentation | 3 | 79 | [SRC]scrumRolesPersonAndCompanyList = from("ScrumRolesPersonA...queryList() [MSG]The statement on line 79 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [17, 21, 25] but was 16 |
ListCurrentSprints.groovy | UnnecessaryGString | 3 | 79 | [SRC]scrumRolesPersonAndCompanyList = from("ScrumRolesPersonA...queryList() [MSG]The String 'ScrumRolesPersonAndCompany' can be wrapped in single quotes instead of double quotes |
ListCurrentSprints.groovy | Indentation | 3 | 80 | [SRC]productRoleList = from("ProductRole").where("partyId", s...queryList() [MSG]The statement on line 80 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [17, 21, 25] but was 16 |
ListCurrentSprints.groovy | UnnecessaryGString | 3 | 80 | [SRC]productRoleList = from("ProductRole").where("partyId", s...queryList() [MSG]The String 'ProductRole' can be wrapped in single quotes instead of double quotes |
ListCurrentSprints.groovy | UnnecessaryGString | 3 | 80 | [SRC]productRoleList = from("ProductRole").where("partyId", s...queryList() [MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes |
ListCurrentSprints.groovy | UnnecessaryGString | 3 | 80 | [SRC]productRoleList = from("ProductRole").where("partyId", s...queryList() [MSG]The String 'roleTypeId' can be wrapped in single quotes instead of double quotes |
ListCurrentSprints.groovy | UnnecessaryGString | 3 | 80 | [SRC]productRoleList = from("ProductRole").where("partyId", s...queryList() [MSG]The String 'PRODUCT_OWNER_COMP' can be wrapped in single quotes instead of double quotes |
ListCurrentSprints.groovy | UnnecessaryGString | 3 | 80 | [SRC]productRoleList = from("ProductRole").where("partyId", s...queryList() [MSG]The String 'thruDate' can be wrapped in single quotes instead of double quotes |
ListCurrentSprints.groovy | Indentation | 3 | 81 | [SRC]if (productRoleList) { [MSG]The statement on line 81 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [17, 21, 25] but was 16 |
ListCurrentSprints.groovy | Indentation | 3 | 82 | [SRC]productRoleList.each { productRoleMap -> [MSG]The statement on line 82 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [21, 25, 29] but was 20 |
ListCurrentSprints.groovy | Indentation | 3 | 83 | [SRC]stakeholderProduct = productRoleMap.productId [MSG]The statement on line 83 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Depending on your chaining style, expected one of [25, 29, 33] or one of [39, 43, 47] columns, but was 24 |
ListCurrentSprints.groovy | Indentation | 3 | 84 | [SRC]if (stakeholderProduct.equals(sprint.productId)) { [MSG]The statement on line 84 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Depending on your chaining style, expected one of [25, 29, 33] or one of [39, 43, 47] columns, but was 24 |
ListCurrentSprints.groovy | Indentation | 3 | 85 | [SRC]ismember = true [MSG]The statement on line 85 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [29, 33, 37] but was 28 |
ListCurrentSprints.groovy | Indentation | 3 | 90 | [SRC]if (ismember == false) { [MSG]The statement on line 90 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [17, 21, 25] but was 16 |
ListCurrentSprints.groovy | Indentation | 3 | 91 | [SRC]productAndRoleList = from("ProductAndRole") [MSG]The statement on line 91 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [21, 25, 29] but was 20 |
ListCurrentSprints.groovy | UnnecessaryGString | 3 | 91 | [SRC]productAndRoleList = from("ProductAndRole") [MSG]The String 'ProductAndRole' can be wrapped in single quotes instead of double quotes |
ListCurrentSprints.groovy | TrailingWhitespace | 3 | 92 | [SRC].where("productId", sprint.productId, "partyId", userLog..TAKEHOLDER", [MSG]Line ends with whitespace characters |
ListCurrentSprints.groovy | UnnecessaryGString | 3 | 92 | [SRC].where("productId", sprint.productId, "partyId", userLog..TAKEHOLDER", [MSG]The String 'productId' can be wrapped in single quotes instead of double quotes |
ListCurrentSprints.groovy | UnnecessaryGString | 3 | 92 | [SRC].where("productId", sprint.productId, "partyId", userLog..TAKEHOLDER", [MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes |
ListCurrentSprints.groovy | UnnecessaryGString | 3 | 92 | [SRC].where("productId", sprint.productId, "partyId", userLog..TAKEHOLDER", [MSG]The String 'roleTypeId' can be wrapped in single quotes instead of double quotes |
ListCurrentSprints.groovy | UnnecessaryGString | 3 | 92 | [SRC].where("productId", sprint.productId, "partyId", userLog..TAKEHOLDER", [MSG]The String 'STAKEHOLDER' can be wrapped in single quotes instead of double quotes |
ListCurrentSprints.groovy | UnnecessaryGString | 3 | 93 | [SRC]"supportDiscontinuationDate", null, "thruDate", null) [MSG]The String 'supportDiscontinuationDate' can be wrapped in single quotes instead of double quotes |
ListCurrentSprints.groovy | UnnecessaryGString | 3 | 93 | [SRC]"supportDiscontinuationDate", null, "thruDate", null) [MSG]The String 'thruDate' can be wrapped in single quotes instead of double quotes |
ListCurrentSprints.groovy | Indentation | 3 | 95 | [SRC]if (productAndRoleList) { [MSG]The statement on line 95 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [21, 25, 29] but was 20 |
ListCurrentSprints.groovy | Indentation | 3 | 96 | [SRC]ismember = true [MSG]The statement on line 96 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [25, 29, 33] but was 24 |
ListCurrentSprints.groovy | SpaceAfterIf | 3 | 99 | [SRC]} else if("SCRUM_MASTER".equals(groupId)) { [MSG]The if keyword within class org.apache.ofbiz.scrum.None is not followed by a single space |
ListCurrentSprints.groovy | UnnecessaryGString | 3 | 99 | [SRC]} else if("SCRUM_MASTER".equals(groupId)) { [MSG]The String 'SCRUM_MASTER' can be wrapped in single quotes instead of double quotes |
ListCurrentSprints.groovy | Indentation | 3 | 101 | [SRC]productRoleList = [] [MSG]The statement on line 101 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [17, 21, 25] but was 16 |
ListCurrentSprints.groovy | Indentation | 3 | 102 | [SRC]productRoleList = from("ProductAndRole") [MSG]The statement on line 102 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [17, 21, 25] but was 16 |
ListCurrentSprints.groovy | UnnecessaryGString | 3 | 102 | [SRC]productRoleList = from("ProductAndRole") [MSG]The String 'ProductAndRole' can be wrapped in single quotes instead of double quotes |
ListCurrentSprints.groovy | SpaceAroundMapEntryColon | 3 | 103 | [SRC].where("productId" : sprint.productId, "partyId" : userLogin.partyId, [MSG]The colon for the literal Map entry for key [productId] within class org.apache.ofbiz.scrum.None is not preceded by a match for regular expression [\S] |
ListCurrentSprints.groovy | SpaceAroundMapEntryColon | 3 | 103 | [SRC].where("productId" : sprint.productId, "partyId" : userLogin.partyId, [MSG]The colon for the literal Map entry for key [partyId] within class org.apache.ofbiz.scrum.None is not preceded by a match for regular expression [\S] |
ListCurrentSprints.groovy | TrailingWhitespace | 3 | 103 | [SRC].where("productId" : sprint.productId, "partyId" : userLogin.partyId, [MSG]Line ends with whitespace characters |
ListCurrentSprints.groovy | UnnecessaryGString | 3 | 103 | [SRC].where("productId" : sprint.productId, "partyId" : userLogin.partyId, [MSG]The String 'productId' can be wrapped in single quotes instead of double quotes |
ListCurrentSprints.groovy | UnnecessaryGString | 3 | 103 | [SRC].where("productId" : sprint.productId, "partyId" : userLogin.partyId, [MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes |
ListCurrentSprints.groovy | SpaceAroundMapEntryColon | 3 | 104 | [SRC]"roleTypeId" : "SCRUM_MASTER", "supportDiscontinuationDa..ate" : null) [MSG]The colon for the literal Map entry for key [roleTypeId] within class org.apache.ofbiz.scrum.None is not preceded by a match for regular expression [\S] |
ListCurrentSprints.groovy | SpaceAroundMapEntryColon | 3 | 104 | [SRC]"roleTypeId" : "SCRUM_MASTER", "supportDiscontinuationDa..ate" : null) [MSG]The colon for the literal Map entry for key [supportDiscontinuationDate] within class org.apache.ofbiz.scrum.None is not preceded by a match for regular expression [\S] |
ListCurrentSprints.groovy | SpaceAroundMapEntryColon | 3 | 104 | [SRC]"roleTypeId" : "SCRUM_MASTER", "supportDiscontinuationDa..ate" : null) [MSG]The colon for the literal Map entry for key [thruDate] within class org.apache.ofbiz.scrum.None is not preceded by a match for regular expression [\S] |
ListCurrentSprints.groovy | UnnecessaryGString | 3 | 104 | [SRC]"roleTypeId" : "SCRUM_MASTER", "supportDiscontinuationDa..ate" : null) [MSG]The String 'roleTypeId' can be wrapped in single quotes instead of double quotes |
ListCurrentSprints.groovy | UnnecessaryGString | 3 | 104 | [SRC]"roleTypeId" : "SCRUM_MASTER", "supportDiscontinuationDa..ate" : null) [MSG]The String 'SCRUM_MASTER' can be wrapped in single quotes instead of double quotes |
ListCurrentSprints.groovy | UnnecessaryGString | 3 | 104 | [SRC]"roleTypeId" : "SCRUM_MASTER", "supportDiscontinuationDa..ate" : null) [MSG]The String 'supportDiscontinuationDate' can be wrapped in single quotes instead of double quotes |
ListCurrentSprints.groovy | UnnecessaryGString | 3 | 104 | [SRC]"roleTypeId" : "SCRUM_MASTER", "supportDiscontinuationDa..ate" : null) [MSG]The String 'thruDate' can be wrapped in single quotes instead of double quotes |
ListCurrentSprints.groovy | TrailingWhitespace | 3 | 106 | [SRC] [MSG]Line ends with whitespace characters |
ListCurrentSprints.groovy | Indentation | 3 | 107 | [SRC]if (productRoleList) { [MSG]The statement on line 107 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [17, 21, 25] but was 16 |
ListCurrentSprints.groovy | Indentation | 3 | 108 | [SRC]ismember = true [MSG]The statement on line 108 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [21, 25, 29] but was 20 |
ListCurrentSprints.groovy | Indentation | 3 | 111 | [SRC]if (ismember == false) { [MSG]The statement on line 111 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [17, 21, 25] but was 16 |
ListCurrentSprints.groovy | Indentation | 3 | 112 | [SRC]projectPartyAssignment = from("WorkEffortPartyAssignment...queryList() [MSG]The statement on line 112 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [21, 25, 29] but was 20 |
ListCurrentSprints.groovy | UnnecessaryGString | 3 | 112 | [SRC]projectPartyAssignment = from("WorkEffortPartyAssignment...queryList() [MSG]The String 'WorkEffortPartyAssignment' can be wrapped in single quotes instead of double quotes |
ListCurrentSprints.groovy | UnnecessaryGString | 3 | 112 | [SRC]projectPartyAssignment = from("WorkEffortPartyAssignment...queryList() [MSG]The String 'workEffortId' can be wrapped in single quotes instead of double quotes |
ListCurrentSprints.groovy | UnnecessaryGString | 3 | 112 | [SRC]projectPartyAssignment = from("WorkEffortPartyAssignment...queryList() [MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes |
ListCurrentSprints.groovy | Indentation | 3 | 113 | [SRC]if (projectPartyAssignment) { [MSG]The statement on line 113 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [21, 25, 29] but was 20 |
ListCurrentSprints.groovy | Indentation | 3 | 114 | [SRC]ismember = true [MSG]The statement on line 114 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [25, 29, 33] but was 24 |
ListCurrentSprints.groovy | Indentation | 3 | 118 | [SRC]if (ismember == false) { [MSG]The statement on line 118 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [17, 21, 25] but was 16 |
ListCurrentSprints.groovy | Indentation | 3 | 119 | [SRC]allSprintList = [] [MSG]The statement on line 119 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [21, 25, 29] but was 20 |
ListCurrentSprints.groovy | Indentation | 3 | 120 | [SRC]allSprintList = from("WorkEffort").where("workEffortPare...queryList() [MSG]The statement on line 120 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [21, 25, 29] but was 20 |
ListCurrentSprints.groovy | UnnecessaryGString | 3 | 120 | [SRC]allSprintList = from("WorkEffort").where("workEffortPare...queryList() [MSG]The String 'WorkEffort' can be wrapped in single quotes instead of double quotes |
ListCurrentSprints.groovy | UnnecessaryGString | 3 | 120 | [SRC]allSprintList = from("WorkEffort").where("workEffortPare...queryList() [MSG]The String 'workEffortParentId' can be wrapped in single quotes instead of double quotes |
ListCurrentSprints.groovy | Indentation | 3 | 121 | [SRC]allSprintList.each { SprintListMap -> [MSG]The statement on line 121 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [21, 25, 29] but was 20 |
ListCurrentSprints.groovy | Indentation | 3 | 122 | [SRC]sprintId = SprintListMap.workEffortId [MSG]The statement on line 122 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Depending on your chaining style, expected one of [25, 29, 33] or one of [37, 41, 45] columns, but was 24 |
ListCurrentSprints.groovy | Indentation | 3 | 123 | [SRC]workEffortPartyAssignment = from("WorkEffortPartyAssignm...queryList() [MSG]The statement on line 123 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Depending on your chaining style, expected one of [25, 29, 33] or one of [37, 41, 45] columns, but was 24 |
ListCurrentSprints.groovy | UnnecessaryGString | 3 | 123 | [SRC]workEffortPartyAssignment = from("WorkEffortPartyAssignm...queryList() [MSG]The String 'WorkEffortPartyAssignment' can be wrapped in single quotes instead of double quotes |
ListCurrentSprints.groovy | UnnecessaryGString | 3 | 123 | [SRC]workEffortPartyAssignment = from("WorkEffortPartyAssignm...queryList() [MSG]The String 'workEffortId' can be wrapped in single quotes instead of double quotes |
ListCurrentSprints.groovy | UnnecessaryGString | 3 | 123 | [SRC]workEffortPartyAssignment = from("WorkEffortPartyAssignm...queryList() [MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes |
ListCurrentSprints.groovy | Indentation | 3 | 124 | [SRC]if (workEffortPartyAssignment) { [MSG]The statement on line 124 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Depending on your chaining style, expected one of [25, 29, 33] or one of [37, 41, 45] columns, but was 24 |
ListCurrentSprints.groovy | Indentation | 3 | 125 | [SRC]ismember = true [MSG]The statement on line 125 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [29, 33, 37] but was 28 |
ListCurrentSprints.groovy | Indentation | 3 | 130 | [SRC]allSprintList = [] [MSG]The statement on line 130 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [17, 21, 25] but was 16 |
ListCurrentSprints.groovy | Indentation | 3 | 131 | [SRC]allSprintList = from("WorkEffort").where("workEffortPare...queryList() [MSG]The statement on line 131 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [17, 21, 25] but was 16 |
ListCurrentSprints.groovy | UnnecessaryGString | 3 | 131 | [SRC]allSprintList = from("WorkEffort").where("workEffortPare...queryList() [MSG]The String 'WorkEffort' can be wrapped in single quotes instead of double quotes |
ListCurrentSprints.groovy | UnnecessaryGString | 3 | 131 | [SRC]allSprintList = from("WorkEffort").where("workEffortPare...queryList() [MSG]The String 'workEffortParentId' can be wrapped in single quotes instead of double quotes |
ListCurrentSprints.groovy | Indentation | 3 | 132 | [SRC]allSprintList.each { SprintListMap -> [MSG]The statement on line 132 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [17, 21, 25] but was 16 |
ListCurrentSprints.groovy | Indentation | 3 | 133 | [SRC]sprintId = SprintListMap.workEffortId [MSG]The statement on line 133 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Depending on your chaining style, expected one of [21, 25, 29] or one of [33, 37, 41] columns, but was 20 |
ListCurrentSprints.groovy | Indentation | 3 | 134 | [SRC]workEffortPartyAssignment = from("WorkEffortPartyAssignm...queryList() [MSG]The statement on line 134 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Depending on your chaining style, expected one of [21, 25, 29] or one of [33, 37, 41] columns, but was 20 |
ListCurrentSprints.groovy | UnnecessaryGString | 3 | 134 | [SRC]workEffortPartyAssignment = from("WorkEffortPartyAssignm...queryList() [MSG]The String 'WorkEffortPartyAssignment' can be wrapped in single quotes instead of double quotes |
ListCurrentSprints.groovy | UnnecessaryGString | 3 | 134 | [SRC]workEffortPartyAssignment = from("WorkEffortPartyAssignm...queryList() [MSG]The String 'workEffortId' can be wrapped in single quotes instead of double quotes |
ListCurrentSprints.groovy | UnnecessaryGString | 3 | 134 | [SRC]workEffortPartyAssignment = from("WorkEffortPartyAssignm...queryList() [MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes |
ListCurrentSprints.groovy | Indentation | 3 | 135 | [SRC]if (workEffortPartyAssignment) { [MSG]The statement on line 135 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Depending on your chaining style, expected one of [21, 25, 29] or one of [33, 37, 41] columns, but was 20 |
ListCurrentSprints.groovy | Indentation | 3 | 136 | [SRC]ismember = true [MSG]The statement on line 136 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [25, 29, 33] but was 24 |
ListCurrentSprints.groovy | TrailingWhitespace | 3 | 141 | [SRC]if (security.hasEntityPermission("SCRUM", "_ADMIN", session) [MSG]Line ends with whitespace characters |
ListCurrentSprints.groovy | UnnecessaryGString | 3 | 141 | [SRC]if (security.hasEntityPermission("SCRUM", "_ADMIN", session) [MSG]The String 'SCRUM' can be wrapped in single quotes instead of double quotes |
ListCurrentSprints.groovy | UnnecessaryGString | 3 | 141 | [SRC]if (security.hasEntityPermission("SCRUM", "_ADMIN", session) [MSG]The String '_ADMIN' can be wrapped in single quotes instead of double quotes |
ListCurrentSprints.groovy | TrailingWhitespace | 3 | 142 | [SRC]|| ((security.hasEntityPermission("SCRUM", "_ROLE_ADMIN"..W", session) [MSG]Line ends with whitespace characters |
ListCurrentSprints.groovy | UnnecessaryGString | 3 | 142 | [SRC]|| ((security.hasEntityPermission("SCRUM", "_ROLE_ADMIN"..W", session) [MSG]The String 'SCRUM' can be wrapped in single quotes instead of double quotes |
ListCurrentSprints.groovy | UnnecessaryGString | 3 | 142 | [SRC]|| ((security.hasEntityPermission("SCRUM", "_ROLE_ADMIN"..W", session) [MSG]The String '_ROLE_ADMIN' can be wrapped in single quotes instead of double quotes |
ListCurrentSprints.groovy | UnnecessaryGString | 3 | 142 | [SRC]|| ((security.hasEntityPermission("SCRUM", "_ROLE_ADMIN"..W", session) [MSG]The String 'SCRUM' can be wrapped in single quotes instead of double quotes |
ListCurrentSprints.groovy | UnnecessaryGString | 3 | 142 | [SRC]|| ((security.hasEntityPermission("SCRUM", "_ROLE_ADMIN"..W", session) [MSG]The String '_ROLE_VIEW' can be wrapped in single quotes instead of double quotes |
ListCurrentSprints.groovy | UnnecessaryGString | 3 | 143 | [SRC]|| security.hasEntityPermission("SCRUM_PROJECT", "_ROLE_..W", session) [MSG]The String 'SCRUM_PROJECT' can be wrapped in single quotes instead of double quotes |
ListCurrentSprints.groovy | UnnecessaryGString | 3 | 143 | [SRC]|| security.hasEntityPermission("SCRUM_PROJECT", "_ROLE_..W", session) [MSG]The String '_ROLE_ADMIN' can be wrapped in single quotes instead of double quotes |
ListCurrentSprints.groovy | UnnecessaryGString | 3 | 143 | [SRC]|| security.hasEntityPermission("SCRUM_PROJECT", "_ROLE_..W", session) [MSG]The String 'SCRUM_PROJECT' can be wrapped in single quotes instead of double quotes |
ListCurrentSprints.groovy | UnnecessaryGString | 3 | 143 | [SRC]|| security.hasEntityPermission("SCRUM_PROJECT", "_ROLE_..W", session) [MSG]The String '_ROLE_VIEW' can be wrapped in single quotes instead of double quotes |
ListCurrentSprints.groovy | UnnecessaryGString | 3 | 144 | [SRC]|| security.hasEntityPermission("SCRUM_PROJECT", "_VIEW"..ismember)) { [MSG]The String 'SCRUM_PROJECT' can be wrapped in single quotes instead of double quotes |
ListCurrentSprints.groovy | UnnecessaryGString | 3 | 144 | [SRC]|| security.hasEntityPermission("SCRUM_PROJECT", "_VIEW"..ismember)) { [MSG]The String '_VIEW' can be wrapped in single quotes instead of double quotes |
ListCurrentSprints.groovy | Indentation | 3 | 145 | [SRC]sprints.add(sprint) [MSG]The statement on line 145 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [13, 17, 21] but was 16 |
ListCurrentSprints.groovy | Indentation | 3 | 146 | [SRC]countSprint++ [MSG]The statement on line 146 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [13, 17, 21] but was 16 |
ListCurrentSprints.groovy | TrailingWhitespace | 3 | 148 | [SRC]} else { [MSG]Line ends with whitespace characters |
ListCurrentSprints.groovy | Indentation | 3 | 149 | [SRC]if (countSprint < 4) { [MSG]The statement on line 149 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [9, 13, 17] but was 6 |
ListCurrentSprints.groovy | Indentation | 3 | 150 | [SRC]ismember = false [MSG]The statement on line 150 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [13, 17, 21] but was 12 |
ListCurrentSprints.groovy | Indentation | 3 | 151 | [SRC]if (partyAndSecurityGroupList) { [MSG]The statement on line 151 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [13, 17, 21] but was 12 |
ListCurrentSprints.groovy | Indentation | 3 | 152 | [SRC]groupId = partyAndSecurityGroupList[0].groupId [MSG]The statement on line 152 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [17, 21, 25] but was 16 |
ListCurrentSprints.groovy | Indentation | 3 | 153 | [SRC]if ("SCRUM_PRODUCT_OWNER".equals(groupId)) { [MSG]The statement on line 153 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [17, 21, 25] but was 16 |
ListCurrentSprints.groovy | SpaceAfterClosingBrace | 3 | 153 | [SRC]if ("SCRUM_PRODUCT_OWNER".equals(groupId)) { [MSG]The closing brace for the block in class org.apache.ofbiz.scrum.None is not followed by a space or whitespace |
ListCurrentSprints.groovy | UnnecessaryGString | 3 | 153 | [SRC]if ("SCRUM_PRODUCT_OWNER".equals(groupId)) { [MSG]The String 'SCRUM_PRODUCT_OWNER' can be wrapped in single quotes instead of double quotes |
ListCurrentSprints.groovy | Indentation | 3 | 154 | [SRC]productAndRoleList = from("ProductRole").where("productI...queryList() [MSG]The statement on line 154 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [21, 25, 29] but was 20 |
ListCurrentSprints.groovy | UnnecessaryGString | 3 | 154 | [SRC]productAndRoleList = from("ProductRole").where("productI...queryList() [MSG]The String 'ProductRole' can be wrapped in single quotes instead of double quotes |
ListCurrentSprints.groovy | UnnecessaryGString | 3 | 154 | [SRC]productAndRoleList = from("ProductRole").where("productI...queryList() [MSG]The String 'productId' can be wrapped in single quotes instead of double quotes |
ListCurrentSprints.groovy | UnnecessaryGString | 3 | 154 | [SRC]productAndRoleList = from("ProductRole").where("productI...queryList() [MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes |
ListCurrentSprints.groovy | UnnecessaryGString | 3 | 154 | [SRC]productAndRoleList = from("ProductRole").where("productI...queryList() [MSG]The String 'thruDate' can be wrapped in single quotes instead of double quotes |
ListCurrentSprints.groovy | Indentation | 3 | 155 | [SRC]if (productAndRoleList) { [MSG]The statement on line 155 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [21, 25, 29] but was 20 |
ListCurrentSprints.groovy | Indentation | 3 | 156 | [SRC]ismember = true [MSG]The statement on line 156 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [25, 29, 33] but was 24 |
ListCurrentSprints.groovy | SpaceAfterIf | 3 | 158 | [SRC]}else if("SCRUM_STAKEHOLDER".equals(groupId)) { [MSG]The if keyword within class org.apache.ofbiz.scrum.None is not followed by a single space |
ListCurrentSprints.groovy | UnnecessaryGString | 3 | 158 | [SRC]}else if("SCRUM_STAKEHOLDER".equals(groupId)) { [MSG]The String 'SCRUM_STAKEHOLDER' can be wrapped in single quotes instead of double quotes |
ListCurrentSprints.groovy | Indentation | 3 | 160 | [SRC]scrumRolesCond = EntityCondition.makeCondition([ [MSG]The statement on line 160 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [21, 25, 29] but was 24 |
ListCurrentSprints.groovy | UnnecessaryGString | 3 | 161 | [SRC]EntityCondition.makeCondition ("partyId", EntityOperator..in.partyId), [MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes |
ListCurrentSprints.groovy | UnnecessaryGString | 3 | 162 | [SRC]EntityCondition.makeCondition ("roleTypeId", EntityOpera..AKEHOLDER"), [MSG]The String 'roleTypeId' can be wrapped in single quotes instead of double quotes |
ListCurrentSprints.groovy | UnnecessaryGString | 3 | 162 | [SRC]EntityCondition.makeCondition ("roleTypeId", EntityOpera..AKEHOLDER"), [MSG]The String 'STAKEHOLDER' can be wrapped in single quotes instead of double quotes |
ListCurrentSprints.groovy | UnnecessaryGString | 3 | 163 | [SRC]EntityCondition.makeCondition ("partyStatusId", EntityOp.._DISABLED"), [MSG]The String 'partyStatusId' can be wrapped in single quotes instead of double quotes |
ListCurrentSprints.groovy | UnnecessaryGString | 3 | 163 | [SRC]EntityCondition.makeCondition ("partyStatusId", EntityOp.._DISABLED"), [MSG]The String 'PARTY_DISABLED' can be wrapped in single quotes instead of double quotes |
ListCurrentSprints.groovy | UnnecessaryGString | 3 | 164 | [SRC]EntityCondition.makeCondition ("thruDate", EntityOperato..QUALS, null) [MSG]The String 'thruDate' can be wrapped in single quotes instead of double quotes |
ListCurrentSprints.groovy | Indentation | 3 | 166 | [SRC]scrumRolesPersonAndCompanyList = from("ScrumRolesPersonA...queryList() [MSG]The statement on line 166 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [21, 25, 29] but was 24 |
ListCurrentSprints.groovy | UnnecessaryGString | 3 | 166 | [SRC]scrumRolesPersonAndCompanyList = from("ScrumRolesPersonA...queryList() [MSG]The String 'ScrumRolesPersonAndCompany' can be wrapped in single quotes instead of double quotes |
ListCurrentSprints.groovy | Indentation | 3 | 167 | [SRC]productRoleList = from("ProductRole").where("partyId", s...queryList() [MSG]The statement on line 167 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [21, 25, 29] but was 24 |
ListCurrentSprints.groovy | UnnecessaryGString | 3 | 167 | [SRC]productRoleList = from("ProductRole").where("partyId", s...queryList() [MSG]The String 'ProductRole' can be wrapped in single quotes instead of double quotes |
ListCurrentSprints.groovy | UnnecessaryGString | 3 | 167 | [SRC]productRoleList = from("ProductRole").where("partyId", s...queryList() [MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes |
ListCurrentSprints.groovy | UnnecessaryGString | 3 | 167 | [SRC]productRoleList = from("ProductRole").where("partyId", s...queryList() [MSG]The String 'roleTypeId' can be wrapped in single quotes instead of double quotes |
ListCurrentSprints.groovy | UnnecessaryGString | 3 | 167 | [SRC]productRoleList = from("ProductRole").where("partyId", s...queryList() [MSG]The String 'PRODUCT_OWNER_COMP' can be wrapped in single quotes instead of double quotes |
ListCurrentSprints.groovy | UnnecessaryGString | 3 | 167 | [SRC]productRoleList = from("ProductRole").where("partyId", s...queryList() [MSG]The String 'thruDate' can be wrapped in single quotes instead of double quotes |
ListCurrentSprints.groovy | Indentation | 3 | 168 | [SRC]if (productRoleList) { [MSG]The statement on line 168 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [21, 25, 29] but was 24 |
ListCurrentSprints.groovy | Indentation | 3 | 169 | [SRC]productRoleList.each { productRoleMap -> [MSG]The statement on line 169 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [25, 29, 33] but was 28 |
ListCurrentSprints.groovy | Indentation | 3 | 170 | [SRC]stakeholderProduct = productRoleMap.productId [MSG]The statement on line 170 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Depending on your chaining style, expected one of [29, 33, 37] or one of [47, 51, 55] columns, but was 32 |
ListCurrentSprints.groovy | Indentation | 3 | 171 | [SRC]if (stakeholderProduct.equals(sprint.productId)) { [MSG]The statement on line 171 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Depending on your chaining style, expected one of [29, 33, 37] or one of [47, 51, 55] columns, but was 32 |
ListCurrentSprints.groovy | Indentation | 3 | 172 | [SRC]ismember = true [MSG]The statement on line 172 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [33, 37, 41] but was 36 |
ListCurrentSprints.groovy | Indentation | 3 | 177 | [SRC]if (ismember == false) { [MSG]The statement on line 177 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [21, 25, 29] but was 24 |
ListCurrentSprints.groovy | Indentation | 3 | 178 | [SRC]productAndRoleList = from("ProductAndRole").where("produ...queryList() [MSG]The statement on line 178 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [25, 29, 33] but was 28 |
ListCurrentSprints.groovy | SpaceAroundMapEntryColon | 3 | 178 | [SRC]productAndRoleList = from("ProductAndRole").where("produ...queryList() [MSG]The colon for the literal Map entry for key [productId] within class org.apache.ofbiz.scrum.None is not preceded by a match for regular expression [\S] |
ListCurrentSprints.groovy | SpaceAroundMapEntryColon | 3 | 178 | [SRC]productAndRoleList = from("ProductAndRole").where("produ...queryList() [MSG]The colon for the literal Map entry for key [partyId] within class org.apache.ofbiz.scrum.None is not preceded by a match for regular expression [\S] |
ListCurrentSprints.groovy | SpaceAroundMapEntryColon | 3 | 178 | [SRC]productAndRoleList = from("ProductAndRole").where("produ...queryList() [MSG]The colon for the literal Map entry for key [roleTypeId] within class org.apache.ofbiz.scrum.None is not preceded by a match for regular expression [\S] |
ListCurrentSprints.groovy | SpaceAroundMapEntryColon | 3 | 178 | [SRC]productAndRoleList = from("ProductAndRole").where("produ...queryList() [MSG]The colon for the literal Map entry for key [supportDiscontinuationDate] within class org.apache.ofbiz.scrum.None is not preceded by a match for regular expression [\S] |
ListCurrentSprints.groovy | SpaceAroundMapEntryColon | 3 | 178 | [SRC]productAndRoleList = from("ProductAndRole").where("produ...queryList() [MSG]The colon for the literal Map entry for key [thruDate] within class org.apache.ofbiz.scrum.None is not preceded by a match for regular expression [\S] |
ListCurrentSprints.groovy | UnnecessaryGString | 3 | 178 | [SRC]productAndRoleList = from("ProductAndRole").where("produ...queryList() [MSG]The String 'ProductAndRole' can be wrapped in single quotes instead of double quotes |
ListCurrentSprints.groovy | UnnecessaryGString | 3 | 178 | [SRC]productAndRoleList = from("ProductAndRole").where("produ...queryList() [MSG]The String 'productId' can be wrapped in single quotes instead of double quotes |
ListCurrentSprints.groovy | UnnecessaryGString | 3 | 178 | [SRC]productAndRoleList = from("ProductAndRole").where("produ...queryList() [MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes |
ListCurrentSprints.groovy | UnnecessaryGString | 3 | 178 | [SRC]productAndRoleList = from("ProductAndRole").where("produ...queryList() [MSG]The String 'roleTypeId' can be wrapped in single quotes instead of double quotes |
ListCurrentSprints.groovy | UnnecessaryGString | 3 | 178 | [SRC]productAndRoleList = from("ProductAndRole").where("produ...queryList() [MSG]The String 'STAKEHOLDER' can be wrapped in single quotes instead of double quotes |
ListCurrentSprints.groovy | UnnecessaryGString | 3 | 178 | [SRC]productAndRoleList = from("ProductAndRole").where("produ...queryList() [MSG]The String 'supportDiscontinuationDate' can be wrapped in single quotes instead of double quotes |
ListCurrentSprints.groovy | UnnecessaryGString | 3 | 178 | [SRC]productAndRoleList = from("ProductAndRole").where("produ...queryList() [MSG]The String 'thruDate' can be wrapped in single quotes instead of double quotes |
ListCurrentSprints.groovy | Indentation | 3 | 179 | [SRC]if (productAndRoleList) { [MSG]The statement on line 179 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [25, 29, 33] but was 28 |
ListCurrentSprints.groovy | Indentation | 3 | 180 | [SRC]ismember = true [MSG]The statement on line 180 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [29, 33, 37] but was 32 |
ListCurrentSprints.groovy | SpaceAfterIf | 3 | 183 | [SRC]} else if("SCRUM_MASTER".equals(groupId)) { [MSG]The if keyword within class org.apache.ofbiz.scrum.None is not followed by a single space |
ListCurrentSprints.groovy | UnnecessaryGString | 3 | 183 | [SRC]} else if("SCRUM_MASTER".equals(groupId)) { [MSG]The String 'SCRUM_MASTER' can be wrapped in single quotes instead of double quotes |
ListCurrentSprints.groovy | Indentation | 3 | 185 | [SRC]productRoleList = [] [MSG]The statement on line 185 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [21, 25, 29] but was 24 |
ListCurrentSprints.groovy | Indentation | 3 | 186 | [SRC]productRoleList = from("ProductAndRole").where("productI...queryList() [MSG]The statement on line 186 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [21, 25, 29] but was 24 |
ListCurrentSprints.groovy | SpaceAroundMapEntryColon | 3 | 186 | [SRC]productRoleList = from("ProductAndRole").where("productI...queryList() [MSG]The colon for the literal Map entry for key [productId] within class org.apache.ofbiz.scrum.None is not preceded by a match for regular expression [\S] |
ListCurrentSprints.groovy | SpaceAroundMapEntryColon | 3 | 186 | [SRC]productRoleList = from("ProductAndRole").where("productI...queryList() [MSG]The colon for the literal Map entry for key [partyId] within class org.apache.ofbiz.scrum.None is not preceded by a match for regular expression [\S] |
ListCurrentSprints.groovy | SpaceAroundMapEntryColon | 3 | 186 | [SRC]productRoleList = from("ProductAndRole").where("productI...queryList() [MSG]The colon for the literal Map entry for key [roleTypeId] within class org.apache.ofbiz.scrum.None is not preceded by a match for regular expression [\S] |
ListCurrentSprints.groovy | SpaceAroundMapEntryColon | 3 | 186 | [SRC]productRoleList = from("ProductAndRole").where("productI...queryList() [MSG]The colon for the literal Map entry for key [supportDiscontinuationDate] within class org.apache.ofbiz.scrum.None is not preceded by a match for regular expression [\S] |
ListCurrentSprints.groovy | SpaceAroundMapEntryColon | 3 | 186 | [SRC]productRoleList = from("ProductAndRole").where("productI...queryList() [MSG]The colon for the literal Map entry for key [thruDate] within class org.apache.ofbiz.scrum.None is not preceded by a match for regular expression [\S] |
ListCurrentSprints.groovy | UnnecessaryGString | 3 | 186 | [SRC]productRoleList = from("ProductAndRole").where("productI...queryList() [MSG]The String 'ProductAndRole' can be wrapped in single quotes instead of double quotes |
ListCurrentSprints.groovy | UnnecessaryGString | 3 | 186 | [SRC]productRoleList = from("ProductAndRole").where("productI...queryList() [MSG]The String 'productId' can be wrapped in single quotes instead of double quotes |
ListCurrentSprints.groovy | UnnecessaryGString | 3 | 186 | [SRC]productRoleList = from("ProductAndRole").where("productI...queryList() [MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes |
ListCurrentSprints.groovy | UnnecessaryGString | 3 | 186 | [SRC]productRoleList = from("ProductAndRole").where("productI...queryList() [MSG]The String 'roleTypeId' can be wrapped in single quotes instead of double quotes |
ListCurrentSprints.groovy | UnnecessaryGString | 3 | 186 | [SRC]productRoleList = from("ProductAndRole").where("productI...queryList() [MSG]The String 'SCRUM_MASTER' can be wrapped in single quotes instead of double quotes |
ListCurrentSprints.groovy | UnnecessaryGString | 3 | 186 | [SRC]productRoleList = from("ProductAndRole").where("productI...queryList() [MSG]The String 'supportDiscontinuationDate' can be wrapped in single quotes instead of double quotes |
ListCurrentSprints.groovy | UnnecessaryGString | 3 | 186 | [SRC]productRoleList = from("ProductAndRole").where("productI...queryList() [MSG]The String 'thruDate' can be wrapped in single quotes instead of double quotes |
ListCurrentSprints.groovy | Indentation | 3 | 187 | [SRC]if (productRoleList) { [MSG]The statement on line 187 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [21, 25, 29] but was 24 |
ListCurrentSprints.groovy | Indentation | 3 | 188 | [SRC]ismember = true [MSG]The statement on line 188 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [25, 29, 33] but was 28 |
ListCurrentSprints.groovy | Indentation | 3 | 191 | [SRC]if (ismember == false) { [MSG]The statement on line 191 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [21, 25, 29] but was 24 |
ListCurrentSprints.groovy | Indentation | 3 | 192 | [SRC]projectPartyAssignment = from("WorkEffortPartyAssignment...queryList() [MSG]The statement on line 192 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [25, 29, 33] but was 28 |
ListCurrentSprints.groovy | UnnecessaryGString | 3 | 192 | [SRC]projectPartyAssignment = from("WorkEffortPartyAssignment...queryList() [MSG]The String 'WorkEffortPartyAssignment' can be wrapped in single quotes instead of double quotes |
ListCurrentSprints.groovy | UnnecessaryGString | 3 | 192 | [SRC]projectPartyAssignment = from("WorkEffortPartyAssignment...queryList() [MSG]The String 'workEffortId' can be wrapped in single quotes instead of double quotes |
ListCurrentSprints.groovy | UnnecessaryGString | 3 | 192 | [SRC]projectPartyAssignment = from("WorkEffortPartyAssignment...queryList() [MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes |
ListCurrentSprints.groovy | Indentation | 3 | 193 | [SRC]if (projectPartyAssignment) { [MSG]The statement on line 193 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [25, 29, 33] but was 28 |
ListCurrentSprints.groovy | Indentation | 3 | 194 | [SRC]ismember = true [MSG]The statement on line 194 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [29, 33, 37] but was 32 |
ListCurrentSprints.groovy | Indentation | 3 | 198 | [SRC]if (ismember == false) { [MSG]The statement on line 198 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [21, 25, 29] but was 24 |
ListCurrentSprints.groovy | Indentation | 3 | 199 | [SRC]allSprintList = [] [MSG]The statement on line 199 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [25, 29, 33] but was 28 |
ListCurrentSprints.groovy | Indentation | 3 | 200 | [SRC]allSprintList = from("WorkEffort").where("workEffortPare...queryList() [MSG]The statement on line 200 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [25, 29, 33] but was 28 |
ListCurrentSprints.groovy | UnnecessaryGString | 3 | 200 | [SRC]allSprintList = from("WorkEffort").where("workEffortPare...queryList() [MSG]The String 'WorkEffort' can be wrapped in single quotes instead of double quotes |
ListCurrentSprints.groovy | UnnecessaryGString | 3 | 200 | [SRC]allSprintList = from("WorkEffort").where("workEffortPare...queryList() [MSG]The String 'workEffortParentId' can be wrapped in single quotes instead of double quotes |
ListCurrentSprints.groovy | Indentation | 3 | 201 | [SRC]allSprintList.each { SprintListMap -> [MSG]The statement on line 201 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [25, 29, 33] but was 28 |
ListCurrentSprints.groovy | Indentation | 3 | 202 | [SRC]sprintId = SprintListMap.workEffortId [MSG]The statement on line 202 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Depending on your chaining style, expected one of [29, 33, 37] or one of [45, 49, 53] columns, but was 32 |
ListCurrentSprints.groovy | Indentation | 3 | 203 | [SRC]workEffortPartyAssignment = from("WorkEffortPartyAssignm...queryList() [MSG]The statement on line 203 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Depending on your chaining style, expected one of [29, 33, 37] or one of [45, 49, 53] columns, but was 32 |
ListCurrentSprints.groovy | UnnecessaryGString | 3 | 203 | [SRC]workEffortPartyAssignment = from("WorkEffortPartyAssignm...queryList() [MSG]The String 'WorkEffortPartyAssignment' can be wrapped in single quotes instead of double quotes |
ListCurrentSprints.groovy | UnnecessaryGString | 3 | 203 | [SRC]workEffortPartyAssignment = from("WorkEffortPartyAssignm...queryList() [MSG]The String 'workEffortId' can be wrapped in single quotes instead of double quotes |
ListCurrentSprints.groovy | UnnecessaryGString | 3 | 203 | [SRC]workEffortPartyAssignment = from("WorkEffortPartyAssignm...queryList() [MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes |
ListCurrentSprints.groovy | Indentation | 3 | 204 | [SRC]if (workEffortPartyAssignment) { [MSG]The statement on line 204 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Depending on your chaining style, expected one of [29, 33, 37] or one of [45, 49, 53] columns, but was 32 |
ListCurrentSprints.groovy | Indentation | 3 | 205 | [SRC]ismember = true [MSG]The statement on line 205 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [33, 37, 41] but was 36 |
ListCurrentSprints.groovy | Indentation | 3 | 210 | [SRC]allSprintList = [] [MSG]The statement on line 210 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [21, 25, 29] but was 20 |
ListCurrentSprints.groovy | Indentation | 3 | 211 | [SRC]allSprintList = from("WorkEffort").where("workEffortPare...queryList() [MSG]The statement on line 211 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [21, 25, 29] but was 20 |
ListCurrentSprints.groovy | UnnecessaryGString | 3 | 211 | [SRC]allSprintList = from("WorkEffort").where("workEffortPare...queryList() [MSG]The String 'WorkEffort' can be wrapped in single quotes instead of double quotes |
ListCurrentSprints.groovy | UnnecessaryGString | 3 | 211 | [SRC]allSprintList = from("WorkEffort").where("workEffortPare...queryList() [MSG]The String 'workEffortParentId' can be wrapped in single quotes instead of double quotes |
ListCurrentSprints.groovy | Indentation | 3 | 212 | [SRC]allSprintList.each { SprintListMap -> [MSG]The statement on line 212 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [21, 25, 29] but was 20 |
ListCurrentSprints.groovy | Indentation | 3 | 213 | [SRC]sprintId = SprintListMap.workEffortId [MSG]The statement on line 213 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Depending on your chaining style, expected one of [25, 29, 33] or one of [37, 41, 45] columns, but was 24 |
ListCurrentSprints.groovy | Indentation | 3 | 214 | [SRC]workEffortPartyAssignment = from("WorkEffortPartyAssignm...queryList() [MSG]The statement on line 214 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Depending on your chaining style, expected one of [25, 29, 33] or one of [37, 41, 45] columns, but was 24 |
ListCurrentSprints.groovy | UnnecessaryGString | 3 | 214 | [SRC]workEffortPartyAssignment = from("WorkEffortPartyAssignm...queryList() [MSG]The String 'WorkEffortPartyAssignment' can be wrapped in single quotes instead of double quotes |
ListCurrentSprints.groovy | UnnecessaryGString | 3 | 214 | [SRC]workEffortPartyAssignment = from("WorkEffortPartyAssignm...queryList() [MSG]The String 'workEffortId' can be wrapped in single quotes instead of double quotes |
ListCurrentSprints.groovy | UnnecessaryGString | 3 | 214 | [SRC]workEffortPartyAssignment = from("WorkEffortPartyAssignm...queryList() [MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes |
ListCurrentSprints.groovy | Indentation | 3 | 215 | [SRC]if (workEffortPartyAssignment) { [MSG]The statement on line 215 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Depending on your chaining style, expected one of [25, 29, 33] or one of [37, 41, 45] columns, but was 24 |
ListCurrentSprints.groovy | Indentation | 3 | 216 | [SRC]ismember = true [MSG]The statement on line 216 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [29, 33, 37] but was 28 |
ListCurrentSprints.groovy | TrailingWhitespace | 3 | 221 | [SRC]if (security.hasEntityPermission("SCRUM", "_ADMIN", session) [MSG]Line ends with whitespace characters |
ListCurrentSprints.groovy | UnnecessaryGString | 3 | 221 | [SRC]if (security.hasEntityPermission("SCRUM", "_ADMIN", session) [MSG]The String 'SCRUM' can be wrapped in single quotes instead of double quotes |
ListCurrentSprints.groovy | UnnecessaryGString | 3 | 221 | [SRC]if (security.hasEntityPermission("SCRUM", "_ADMIN", session) [MSG]The String '_ADMIN' can be wrapped in single quotes instead of double quotes |
ListCurrentSprints.groovy | TrailingWhitespace | 3 | 222 | [SRC]|| ((security.hasEntityPermission("SCRUM", "_ROLE_ADMIN"..W", session) [MSG]Line ends with whitespace characters |
ListCurrentSprints.groovy | UnnecessaryGString | 3 | 222 | [SRC]|| ((security.hasEntityPermission("SCRUM", "_ROLE_ADMIN"..W", session) [MSG]The String 'SCRUM' can be wrapped in single quotes instead of double quotes |
ListCurrentSprints.groovy | UnnecessaryGString | 3 | 222 | [SRC]|| ((security.hasEntityPermission("SCRUM", "_ROLE_ADMIN"..W", session) [MSG]The String '_ROLE_ADMIN' can be wrapped in single quotes instead of double quotes |
ListCurrentSprints.groovy | UnnecessaryGString | 3 | 222 | [SRC]|| ((security.hasEntityPermission("SCRUM", "_ROLE_ADMIN"..W", session) [MSG]The String 'SCRUM' can be wrapped in single quotes instead of double quotes |
ListCurrentSprints.groovy | UnnecessaryGString | 3 | 222 | [SRC]|| ((security.hasEntityPermission("SCRUM", "_ROLE_ADMIN"..W", session) [MSG]The String '_ROLE_VIEW' can be wrapped in single quotes instead of double quotes |
ListCurrentSprints.groovy | UnnecessaryGString | 3 | 223 | [SRC]|| security.hasEntityPermission("SCRUM_PROJECT", "_ROLE_..W", session) [MSG]The String 'SCRUM_PROJECT' can be wrapped in single quotes instead of double quotes |
ListCurrentSprints.groovy | UnnecessaryGString | 3 | 223 | [SRC]|| security.hasEntityPermission("SCRUM_PROJECT", "_ROLE_..W", session) [MSG]The String '_ROLE_ADMIN' can be wrapped in single quotes instead of double quotes |
ListCurrentSprints.groovy | UnnecessaryGString | 3 | 223 | [SRC]|| security.hasEntityPermission("SCRUM_PROJECT", "_ROLE_..W", session) [MSG]The String 'SCRUM_PROJECT' can be wrapped in single quotes instead of double quotes |
ListCurrentSprints.groovy | UnnecessaryGString | 3 | 223 | [SRC]|| security.hasEntityPermission("SCRUM_PROJECT", "_ROLE_..W", session) [MSG]The String '_ROLE_VIEW' can be wrapped in single quotes instead of double quotes |
ListCurrentSprints.groovy | UnnecessaryGString | 3 | 224 | [SRC]|| security.hasEntityPermission("SCRUM_PROJECT", "_VIEW"..ismember)) { [MSG]The String 'SCRUM_PROJECT' can be wrapped in single quotes instead of double quotes |
ListCurrentSprints.groovy | UnnecessaryGString | 3 | 224 | [SRC]|| security.hasEntityPermission("SCRUM_PROJECT", "_VIEW"..ismember)) { [MSG]The String '_VIEW' can be wrapped in single quotes instead of double quotes |
ListCurrentSprints.groovy | Indentation | 3 | 225 | [SRC]sprints.add(sprint) [MSG]The statement on line 225 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [17, 21, 25] but was 14 |
ListCurrentSprints.groovy | Indentation | 3 | 226 | [SRC]countSprint++ [MSG]The statement on line 226 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [17, 21, 25] but was 14 |
ListCurrentSprints.groovy | Indentation | 3 | 232 | [SRC]sprints = UtilMisc.sortMaps(sprints, ["companyName", "pr..oductName"]) [MSG]The statement on line 232 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 5 but was 2 |
ListCurrentSprints.groovy | UnnecessaryGString | 3 | 232 | [SRC]sprints = UtilMisc.sortMaps(sprints, ["companyName", "pr..oductName"]) [MSG]The String 'companyName' can be wrapped in single quotes instead of double quotes |
ListCurrentSprints.groovy | UnnecessaryGString | 3 | 232 | [SRC]sprints = UtilMisc.sortMaps(sprints, ["companyName", "pr..oductName"]) [MSG]The String 'projectName' can be wrapped in single quotes instead of double quotes |
ListCurrentSprints.groovy | UnnecessaryGString | 3 | 232 | [SRC]sprints = UtilMisc.sortMaps(sprints, ["companyName", "pr..oductName"]) [MSG]The String 'productName' can be wrapped in single quotes instead of double quotes |
ListResourceBillingHours.groovy | UnnecessaryGString | 3 | 21 | [SRC]allProjects = select("workEffortId").from("WorkEffortAnd...queryList() [MSG]The String 'workEffortId' can be wrapped in single quotes instead of double quotes |
ListResourceBillingHours.groovy | UnnecessaryGString | 3 | 21 | [SRC]allProjects = select("workEffortId").from("WorkEffortAnd...queryList() [MSG]The String 'WorkEffortAndPartyAssign' can be wrapped in single quotes instead of double quotes |
ListResourceBillingHours.groovy | UnnecessaryGString | 3 | 21 | [SRC]allProjects = select("workEffortId").from("WorkEffortAnd...queryList() [MSG]The String 'workEffortTypeId' can be wrapped in single quotes instead of double quotes |
ListResourceBillingHours.groovy | UnnecessaryGString | 3 | 21 | [SRC]allProjects = select("workEffortId").from("WorkEffortAnd...queryList() [MSG]The String 'PROJECT' can be wrapped in single quotes instead of double quotes |
ListResourceBillingHours.groovy | UnnecessaryGString | 3 | 21 | [SRC]allProjects = select("workEffortId").from("WorkEffortAnd...queryList() [MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes |
ListResourceBillingHours.groovy | UnnecessaryGString | 3 | 21 | [SRC]allProjects = select("workEffortId").from("WorkEffortAnd...queryList() [MSG]The String 'workEffortName' can be wrapped in single quotes instead of double quotes |
ListResourceBillingHours.groovy | SpaceAroundMapEntryColon | 3 | 25 | [SRC]result = runService('getProject', ["userLogin" : paramet..rs.partyId]) [MSG]The colon for the literal Map entry for key [userLogin] within class org.apache.ofbiz.projectmgr.None is not preceded by a match for regular expression [\S] |
ListResourceBillingHours.groovy | SpaceAroundMapEntryColon | 3 | 25 | [SRC]result = runService('getProject', ["userLogin" : paramet..rs.partyId]) [MSG]The colon for the literal Map entry for key [projectId] within class org.apache.ofbiz.projectmgr.None is not preceded by a match for regular expression [\S] |
ListResourceBillingHours.groovy | SpaceAroundMapEntryColon | 3 | 25 | [SRC]result = runService('getProject', ["userLogin" : paramet..rs.partyId]) [MSG]The colon for the literal Map entry for key [partyId] within class org.apache.ofbiz.projectmgr.None is not preceded by a match for regular expression [\S] |
ListResourceBillingHours.groovy | UnnecessaryGString | 3 | 25 | [SRC]result = runService('getProject', ["userLogin" : paramet..rs.partyId]) [MSG]The String 'userLogin' can be wrapped in single quotes instead of double quotes |
ListResourceBillingHours.groovy | UnnecessaryGString | 3 | 25 | [SRC]result = runService('getProject', ["userLogin" : paramet..rs.partyId]) [MSG]The String 'projectId' can be wrapped in single quotes instead of double quotes |
ListRevision.groovy | SpaceAroundOperator | 3 | 30 | [SRC]if ((parameters.productId != null)||(parameters.custRequ..ndex > 0)) { [MSG]The operator "||" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
ListRevision.groovy | SpaceAroundOperator | 3 | 30 | [SRC]if ((parameters.productId != null)||(parameters.custRequ..ndex > 0)) { [MSG]The operator "||" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace |
ListRevision.groovy | SpaceAroundOperator | 3 | 30 | [SRC]if ((parameters.productId != null)||(parameters.custRequ..ndex > 0)) { [MSG]The operator "||" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
ListRevision.groovy | SpaceAroundOperator | 3 | 30 | [SRC]if ((parameters.productId != null)||(parameters.custRequ..ndex > 0)) { [MSG]The operator "||" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace |
ListRevision.groovy | SpaceAroundOperator | 3 | 30 | [SRC]if ((parameters.productId != null)||(parameters.custRequ..ndex > 0)) { [MSG]The operator "||" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
ListRevision.groovy | SpaceAroundOperator | 3 | 30 | [SRC]if ((parameters.productId != null)||(parameters.custRequ..ndex > 0)) { [MSG]The operator "||" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace |
ListRevision.groovy | UnnecessaryGString | 3 | 32 | [SRC]orList.add(EntityCondition.makeCondition("custRequestTyp..D_BACKLOG")) [MSG]The String 'custRequestTypeId' can be wrapped in single quotes instead of double quotes |
ListRevision.groovy | UnnecessaryGString | 3 | 32 | [SRC]orList.add(EntityCondition.makeCondition("custRequestTyp..D_BACKLOG")) [MSG]The String 'RF_PROD_BACKLOG' can be wrapped in single quotes instead of double quotes |
ListRevision.groovy | UnnecessaryGString | 3 | 33 | [SRC]orList.add(EntityCondition.makeCondition("custRequestTyp..N_BACKLOG")) [MSG]The String 'custRequestTypeId' can be wrapped in single quotes instead of double quotes |
ListRevision.groovy | UnnecessaryGString | 3 | 33 | [SRC]orList.add(EntityCondition.makeCondition("custRequestTyp..N_BACKLOG")) [MSG]The String 'RF_UNPLAN_BACKLOG' can be wrapped in single quotes instead of double quotes |
ListRevision.groovy | UnnecessaryGString | 3 | 36 | [SRC]andList.add(EntityCondition.makeCondition("productId", E..ctId + "%")) [MSG]The String 'productId' can be wrapped in single quotes instead of double quotes |
ListRevision.groovy | UnnecessaryGString | 3 | 36 | [SRC]andList.add(EntityCondition.makeCondition("productId", E..ctId + "%")) [MSG]The String '%' can be wrapped in single quotes instead of double quotes |
ListRevision.groovy | UnnecessaryGString | 3 | 39 | [SRC]andList.add(EntityCondition.makeCondition("custRequestId..stId + "%")) [MSG]The String 'custRequestId' can be wrapped in single quotes instead of double quotes |
ListRevision.groovy | UnnecessaryGString | 3 | 39 | [SRC]andList.add(EntityCondition.makeCondition("custRequestId..stId + "%")) [MSG]The String '%' can be wrapped in single quotes instead of double quotes |
ListRevision.groovy | UnnecessaryGString | 3 | 43 | [SRC]custRequestList = from("CustRequestAndCustRequestItem")....queryList() [MSG]The String 'CustRequestAndCustRequestItem' can be wrapped in single quotes instead of double quotes |
ListRevision.groovy | TrailingWhitespace | 3 | 44 | [SRC] [MSG]Line ends with whitespace characters |
ListRevision.groovy | UnnecessaryGString | 3 | 45 | [SRC]custRequestIds = EntityUtil.getFieldListFromEntityList(c..stId", true) [MSG]The String 'custRequestId' can be wrapped in single quotes instead of double quotes |
ListRevision.groovy | UnnecessaryGString | 3 | 47 | [SRC]taskOrList.add(EntityCondition.makeCondition("workEffort..ASK_ERROR")) [MSG]The String 'workEffortTypeId' can be wrapped in single quotes instead of double quotes |
ListRevision.groovy | UnnecessaryGString | 3 | 47 | [SRC]taskOrList.add(EntityCondition.makeCondition("workEffort..ASK_ERROR")) [MSG]The String 'SCRUM_TASK_ERROR' can be wrapped in single quotes instead of double quotes |
ListRevision.groovy | UnnecessaryGString | 3 | 48 | [SRC]taskOrList.add(EntityCondition.makeCondition("workEffort..TASK_TEST")) [MSG]The String 'workEffortTypeId' can be wrapped in single quotes instead of double quotes |
ListRevision.groovy | UnnecessaryGString | 3 | 48 | [SRC]taskOrList.add(EntityCondition.makeCondition("workEffort..TASK_TEST")) [MSG]The String 'SCRUM_TASK_TEST' can be wrapped in single quotes instead of double quotes |
ListRevision.groovy | UnnecessaryGString | 3 | 49 | [SRC]taskOrList.add(EntityCondition.makeCondition("workEffort..TASK_IMPL")) [MSG]The String 'workEffortTypeId' can be wrapped in single quotes instead of double quotes |
ListRevision.groovy | UnnecessaryGString | 3 | 49 | [SRC]taskOrList.add(EntityCondition.makeCondition("workEffort..TASK_IMPL")) [MSG]The String 'SCRUM_TASK_IMPL' can be wrapped in single quotes instead of double quotes |
ListRevision.groovy | UnnecessaryGString | 3 | 50 | [SRC]taskOrList.add(EntityCondition.makeCondition("workEffort..TASK_INST")) [MSG]The String 'workEffortTypeId' can be wrapped in single quotes instead of double quotes |
ListRevision.groovy | UnnecessaryGString | 3 | 50 | [SRC]taskOrList.add(EntityCondition.makeCondition("workEffort..TASK_INST")) [MSG]The String 'SCRUM_TASK_INST' can be wrapped in single quotes instead of double quotes |
ListRevision.groovy | UnnecessaryGString | 3 | 52 | [SRC]taskAndList.add(EntityCondition.makeCondition("custReque..RequestIds)) [MSG]The String 'custRequestId' can be wrapped in single quotes instead of double quotes |
ListRevision.groovy | UnnecessaryGString | 3 | 55 | [SRC]custAndWorkEffortList = from("CustRequestAndWorkEffort")...queryList() [MSG]The String 'CustRequestAndWorkEffort' can be wrapped in single quotes instead of double quotes |
ListRevision.groovy | TrailingWhitespace | 3 | 56 | [SRC] [MSG]Line ends with whitespace characters |
ListRevision.groovy | UnnecessaryGString | 3 | 58 | [SRC]workEffortIds = EntityUtil.getFieldListFromEntityList(cu..rtId", true) [MSG]The String 'workEffortId' can be wrapped in single quotes instead of double quotes |
ListRevision.groovy | UnnecessaryGString | 3 | 61 | [SRC]revisionAndList.add(EntityCondition.makeCondition("workE..rtId + "%")) [MSG]The String 'workEffortId' can be wrapped in single quotes instead of double quotes |
ListRevision.groovy | UnnecessaryGString | 3 | 61 | [SRC]revisionAndList.add(EntityCondition.makeCondition("workE..rtId + "%")) [MSG]The String '%' can be wrapped in single quotes instead of double quotes |
ListRevision.groovy | UnnecessaryGString | 3 | 63 | [SRC]revisionAndList.add(EntityCondition.makeCondition("workE..kEffortIds)) [MSG]The String 'workEffortId' can be wrapped in single quotes instead of double quotes |
ListRevision.groovy | UnnecessaryGString | 3 | 65 | [SRC]revisionAndList.add(EntityCondition.makeCondition("workE.._SUB_INFO")) [MSG]The String 'workEffortContentTypeId' can be wrapped in single quotes instead of double quotes |
ListRevision.groovy | UnnecessaryGString | 3 | 65 | [SRC]revisionAndList.add(EntityCondition.makeCondition("workE.._SUB_INFO")) [MSG]The String 'TASK_SUB_INFO' can be wrapped in single quotes instead of double quotes |
ListRevision.groovy | UnnecessaryGString | 3 | 67 | [SRC]revisionList = from("WorkEffortAndContentDataResource")....queryList() [MSG]The String 'WorkEffortAndContentDataResource' can be wrapped in single quotes instead of double quotes |
ListRevision.groovy | UnnecessaryGString | 3 | 67 | [SRC]revisionList = from("WorkEffortAndContentDataResource")....queryList() [MSG]The String '-fromDate' can be wrapped in single quotes instead of double quotes |
ListRevision.groovy | TrailingWhitespace | 3 | 68 | [SRC] [MSG]Line ends with whitespace characters |
ListRevision.groovy | UnnecessaryGString | 3 | 78 | [SRC]custAndWorkEfffList = from("CustRequestAndWorkEffort").w...queryList() [MSG]The String 'CustRequestAndWorkEffort' can be wrapped in single quotes instead of double quotes |
ListRevision.groovy | UnnecessaryGString | 3 | 78 | [SRC]custAndWorkEfffList = from("CustRequestAndWorkEffort").w...queryList() [MSG]The String 'workEffortId' can be wrapped in single quotes instead of double quotes |
ListRevision.groovy | UnnecessaryGString | 3 | 81 | [SRC]custAndCustItemList = from("CustRequestAndCustRequestIte...queryList() [MSG]The String 'CustRequestAndCustRequestItem' can be wrapped in single quotes instead of double quotes |
ListRevision.groovy | UnnecessaryGString | 3 | 81 | [SRC]custAndCustItemList = from("CustRequestAndCustRequestIte...queryList() [MSG]The String 'custRequestId' can be wrapped in single quotes instead of double quotes |
ListScrumPreferenceSecurityGroup.groovy | UnnecessaryGString | 3 | 30 | [SRC]andCond.add(EntityCondition.makeCondition("partyId", Ent..S, partyId)) [MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes |
ListScrumPreferenceSecurityGroup.groovy | UnnecessaryGString | 3 | 31 | [SRC]andCond.add(EntityCondition.makeCondition("partyStatusId..Y_ENABLED")) [MSG]The String 'partyStatusId' can be wrapped in single quotes instead of double quotes |
ListScrumPreferenceSecurityGroup.groovy | UnnecessaryGString | 3 | 31 | [SRC]andCond.add(EntityCondition.makeCondition("partyStatusId..Y_ENABLED")) [MSG]The String 'PARTY_ENABLED' can be wrapped in single quotes instead of double quotes |
ListScrumPreferenceSecurityGroup.groovy | UnnecessaryGString | 3 | 33 | [SRC]orCond.add(EntityCondition.makeCondition("groupId", Enti..UCT_OWNER")) [MSG]The String 'groupId' can be wrapped in single quotes instead of double quotes |
ListScrumPreferenceSecurityGroup.groovy | UnnecessaryGString | 3 | 33 | [SRC]orCond.add(EntityCondition.makeCondition("groupId", Enti..UCT_OWNER")) [MSG]The String 'SCRUM_PRODUCT_OWNER' can be wrapped in single quotes instead of double quotes |
ListScrumPreferenceSecurityGroup.groovy | UnnecessaryGString | 3 | 34 | [SRC]orCond.add(EntityCondition.makeCondition("groupId", Enti..UM_MASTER")) [MSG]The String 'groupId' can be wrapped in single quotes instead of double quotes |
ListScrumPreferenceSecurityGroup.groovy | UnnecessaryGString | 3 | 34 | [SRC]orCond.add(EntityCondition.makeCondition("groupId", Enti..UM_MASTER")) [MSG]The String 'SCRUM_MASTER' can be wrapped in single quotes instead of double quotes |
ListScrumPreferenceSecurityGroup.groovy | UnnecessaryGString | 3 | 35 | [SRC]orCond.add(EntityCondition.makeCondition("groupId", Enti..CRUM_TEAM")) [MSG]The String 'groupId' can be wrapped in single quotes instead of double quotes |
ListScrumPreferenceSecurityGroup.groovy | UnnecessaryGString | 3 | 35 | [SRC]orCond.add(EntityCondition.makeCondition("groupId", Enti..CRUM_TEAM")) [MSG]The String 'SCRUM_TEAM' can be wrapped in single quotes instead of double quotes |
ListScrumPreferenceSecurityGroup.groovy | UnnecessaryGString | 3 | 36 | [SRC]orCond.add(EntityCondition.makeCondition("enabled", Enti..QUALS, "Y")) [MSG]The String 'enabled' can be wrapped in single quotes instead of double quotes |
ListScrumPreferenceSecurityGroup.groovy | UnnecessaryGString | 3 | 36 | [SRC]orCond.add(EntityCondition.makeCondition("enabled", Enti..QUALS, "Y")) [MSG]The String 'Y' can be wrapped in single quotes instead of double quotes |
ListScrumPreferenceSecurityGroup.groovy | UnnecessaryGString | 3 | 37 | [SRC]orCond.add(EntityCondition.makeCondition("enabled", Enti..UALS, null)) [MSG]The String 'enabled' can be wrapped in single quotes instead of double quotes |
ListScrumPreferenceSecurityGroup.groovy | UnnecessaryGString | 3 | 47 | [SRC]scrumUserLoginSecurityGroupList = from("ScrumMemberUserL...queryList() [MSG]The String 'ScrumMemberUserLoginAndSecurityGroup' can be wrapped in single quotes instead of double quotes |
ListScrumPreferenceSecurityGroup.groovy | InvertedCondition | 3 | 52 | [SRC]if ("SCRUM_PRODUCT_OWNER" == scrumUserLoginSecurityGroupMap.groupId) { [MSG]SCRUM_PRODUCT_OWNER is a constant expression on the left side of a compare equals operation |
ListScrumPreferenceSecurityGroup.groovy | UnnecessaryGString | 3 | 52 | [SRC]if ("SCRUM_PRODUCT_OWNER" == scrumUserLoginSecurityGroupMap.groupId) { [MSG]The String 'SCRUM_PRODUCT_OWNER' can be wrapped in single quotes instead of double quotes |
ListScrumPreferenceSecurityGroup.groovy | UnnecessaryGString | 3 | 54 | [SRC]ownerCond.add(EntityCondition.makeCondition("enumTypeId"..REFERENCE")) [MSG]The String 'enumTypeId' can be wrapped in single quotes instead of double quotes |
ListScrumPreferenceSecurityGroup.groovy | UnnecessaryGString | 3 | 54 | [SRC]ownerCond.add(EntityCondition.makeCondition("enumTypeId"..REFERENCE")) [MSG]The String 'SCRUM_PREFERENCE' can be wrapped in single quotes instead of double quotes |
ListScrumPreferenceSecurityGroup.groovy | UnnecessaryGString | 3 | 55 | [SRC]ownerCond.add(EntityCondition.makeCondition("enumId", En..ER_NOTIFY")) [MSG]The String 'enumId' can be wrapped in single quotes instead of double quotes |
ListScrumPreferenceSecurityGroup.groovy | UnnecessaryGString | 3 | 55 | [SRC]ownerCond.add(EntityCondition.makeCondition("enumId", En..ER_NOTIFY")) [MSG]The String 'MASTER_NOTIFY' can be wrapped in single quotes instead of double quotes |
ListScrumPreferenceSecurityGroup.groovy | UnnecessaryGString | 3 | 57 | [SRC]userPreferenceList = from("Enumeration").where(ownerConds).queryList() [MSG]The String 'Enumeration' can be wrapped in single quotes instead of double quotes |
ListScrumPreferenceSecurityGroup.groovy | InvertedCondition | 3 | 58 | [SRC]} else if ("SCRUM_MASTER" == scrumUserLoginSecurityGroupMap.groupId) { [MSG]SCRUM_MASTER is a constant expression on the left side of a compare equals operation |
ListScrumPreferenceSecurityGroup.groovy | UnnecessaryGString | 3 | 58 | [SRC]} else if ("SCRUM_MASTER" == scrumUserLoginSecurityGroupMap.groupId) { [MSG]The String 'SCRUM_MASTER' can be wrapped in single quotes instead of double quotes |
ListScrumPreferenceSecurityGroup.groovy | UnnecessaryGString | 3 | 60 | [SRC]masterCond.add(EntityCondition.makeCondition("enumTypeId..REFERENCE")) [MSG]The String 'enumTypeId' can be wrapped in single quotes instead of double quotes |
ListScrumPreferenceSecurityGroup.groovy | UnnecessaryGString | 3 | 60 | [SRC]masterCond.add(EntityCondition.makeCondition("enumTypeId..REFERENCE")) [MSG]The String 'SCRUM_PREFERENCE' can be wrapped in single quotes instead of double quotes |
ListScrumPreferenceSecurityGroup.groovy | UnnecessaryGString | 3 | 61 | [SRC]masterCond.add(EntityCondition.makeCondition("enumId", E..ER_NOTIFY")) [MSG]The String 'enumId' can be wrapped in single quotes instead of double quotes |
ListScrumPreferenceSecurityGroup.groovy | UnnecessaryGString | 3 | 61 | [SRC]masterCond.add(EntityCondition.makeCondition("enumId", E..ER_NOTIFY")) [MSG]The String 'MASTER_NOTIFY' can be wrapped in single quotes instead of double quotes |
ListScrumPreferenceSecurityGroup.groovy | UnnecessaryGString | 3 | 63 | [SRC]userPreferenceList = from("Enumeration").where(masterCon...queryList() [MSG]The String 'Enumeration' can be wrapped in single quotes instead of double quotes |
ListScrumPreferenceSecurityGroup.groovy | SpaceAfterClosingBrace | 3 | 72 | [SRC]userPreferenceList.each { userPreferenceMap -> [MSG]The closing brace for the closure in class org.apache.ofbiz.scrum.None is not followed by a space or whitespace |
ListScrumPreferenceSecurityGroup.groovy | UnnecessaryGString | 3 | 79 | [SRC]if (security.hasEntityPermission("SCRUM", "_ADMIN", session)) { [MSG]The String 'SCRUM' can be wrapped in single quotes instead of double quotes |
ListScrumPreferenceSecurityGroup.groovy | UnnecessaryGString | 3 | 79 | [SRC]if (security.hasEntityPermission("SCRUM", "_ADMIN", session)) { [MSG]The String '_ADMIN' can be wrapped in single quotes instead of double quotes |
ListScrumPreferenceSecurityGroup.groovy | UnnecessaryGString | 3 | 80 | [SRC]userPreferenceList = from("Enumeration").where("enumType...queryList() [MSG]The String 'Enumeration' can be wrapped in single quotes instead of double quotes |
ListScrumPreferenceSecurityGroup.groovy | UnnecessaryGString | 3 | 80 | [SRC]userPreferenceList = from("Enumeration").where("enumType...queryList() [MSG]The String 'enumTypeId' can be wrapped in single quotes instead of double quotes |
ListScrumPreferenceSecurityGroup.groovy | UnnecessaryGString | 3 | 80 | [SRC]userPreferenceList = from("Enumeration").where("enumType...queryList() [MSG]The String 'SCRUM_PREFERENCE' can be wrapped in single quotes instead of double quotes |
ListScrumResource.groovy | UnnecessaryGString | 3 | 24 | [SRC]performFindInMap.entityName = "ScrumMemberUserLoginAndSecurityGroup" [MSG]The String 'ScrumMemberUserLoginAndSecurityGroup' can be wrapped in single quotes instead of double quotes |
ListScrumResource.groovy | UnnecessaryGString | 3 | 29 | [SRC]performFindInMap.noConditionFind = "Y" [MSG]The String 'Y' can be wrapped in single quotes instead of double quotes |
ListScrumResource.groovy | UnnecessaryGString | 3 | 32 | [SRC]performFindInMap.filterByDate = "Y" [MSG]The String 'Y' can be wrapped in single quotes instead of double quotes |
ListScrumResource.groovy | UnnecessaryGString | 3 | 34 | [SRC]performFindInMap.orderBy = "lastName" [MSG]The String 'lastName' can be wrapped in single quotes instead of double quotes |
ListScrumResource.groovy | Indentation | 3 | 46 | [SRC]logError(e) [MSG]The statement on line 46 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 13 but was 17 |
ListScrumResource.groovy | UnnecessaryParenthesesForMethodCallWithClosure | 3 | 51 | [SRC]resultList.each() { result -> [MSG]Violation in class org.apache.ofbiz.scrum.None. Parentheses in the 'each' method call are unnecessary and can be removed. |
ListScrumResource.groovy | UnnecessaryGString | 3 | 52 | [SRC]if (!"N".equals(result.enabled)) { [MSG]The String 'N' can be wrapped in single quotes instead of double quotes |
ListScrumRolesPersonAndCompany.groovy | SpaceAroundMapEntryColon | 3 | 29 | [SRC]productRoleList = from("ProductRole").where("productId" ...queryList() [MSG]The colon for the literal Map entry for key [productId] within class org.apache.ofbiz.scrum.None is not preceded by a match for regular expression [\S] |
ListScrumRolesPersonAndCompany.groovy | SpaceAroundMapEntryColon | 3 | 29 | [SRC]productRoleList = from("ProductRole").where("productId" ...queryList() [MSG]The colon for the literal Map entry for key [roleTypeId] within class org.apache.ofbiz.scrum.None is not preceded by a match for regular expression [\S] |
ListScrumRolesPersonAndCompany.groovy | UnnecessaryGString | 3 | 29 | [SRC]productRoleList = from("ProductRole").where("productId" ...queryList() [MSG]The String 'ProductRole' can be wrapped in single quotes instead of double quotes |
ListScrumRolesPersonAndCompany.groovy | UnnecessaryGString | 3 | 29 | [SRC]productRoleList = from("ProductRole").where("productId" ...queryList() [MSG]The String 'productId' can be wrapped in single quotes instead of double quotes |
ListScrumRolesPersonAndCompany.groovy | UnnecessaryGString | 3 | 29 | [SRC]productRoleList = from("ProductRole").where("productId" ...queryList() [MSG]The String 'roleTypeId' can be wrapped in single quotes instead of double quotes |
ListScrumRolesPersonAndCompany.groovy | UnnecessaryGString | 3 | 29 | [SRC]productRoleList = from("ProductRole").where("productId" ...queryList() [MSG]The String 'PRODUCT_OWNER_COMP' can be wrapped in single quotes instead of double quotes |
ListScrumRolesPersonAndCompany.groovy | UnnecessaryGString | 3 | 32 | [SRC]EntityCondition.makeCondition ("roleTypeId", EntityOpera..UCT_OWNER"), [MSG]The String 'roleTypeId' can be wrapped in single quotes instead of double quotes |
ListScrumRolesPersonAndCompany.groovy | UnnecessaryGString | 3 | 32 | [SRC]EntityCondition.makeCondition ("roleTypeId", EntityOpera..UCT_OWNER"), [MSG]The String 'PRODUCT_OWNER' can be wrapped in single quotes instead of double quotes |
ListScrumRolesPersonAndCompany.groovy | UnnecessaryGString | 3 | 33 | [SRC]EntityCondition.makeCondition ("partyIdFrom", EntityOper..0].partyId), [MSG]The String 'partyIdFrom' can be wrapped in single quotes instead of double quotes |
ListScrumRolesPersonAndCompany.groovy | UnnecessaryGString | 3 | 34 | [SRC]EntityCondition.makeCondition ("partyStatusId", EntityOp.._DISABLED"), [MSG]The String 'partyStatusId' can be wrapped in single quotes instead of double quotes |
ListScrumRolesPersonAndCompany.groovy | UnnecessaryGString | 3 | 34 | [SRC]EntityCondition.makeCondition ("partyStatusId", EntityOp.._DISABLED"), [MSG]The String 'PARTY_DISABLED' can be wrapped in single quotes instead of double quotes |
ListScrumRolesPersonAndCompany.groovy | UnnecessaryGString | 3 | 35 | [SRC]EntityCondition.makeCondition ("thruDate", EntityOperato..QUALS, null) [MSG]The String 'thruDate' can be wrapped in single quotes instead of double quotes |
ListScrumRolesPersonAndCompany.groovy | UnnecessaryGString | 3 | 37 | [SRC]personAndCompanyList = from("ScrumRolesPersonAndCompany"...queryList() [MSG]The String 'ScrumRolesPersonAndCompany' can be wrapped in single quotes instead of double quotes |
ListScrumRolesPersonAndCompany.groovy | UnnecessaryGString | 3 | 37 | [SRC]personAndCompanyList = from("ScrumRolesPersonAndCompany"...queryList() [MSG]The String 'groupName' can be wrapped in single quotes instead of double quotes |
ListScrumRolesPersonAndCompany.groovy | UnnecessaryGString | 3 | 50 | [SRC]EntityCondition.makeCondition ("roleTypeId", EntityOpera..UCT_OWNER"), [MSG]The String 'roleTypeId' can be wrapped in single quotes instead of double quotes |
ListScrumRolesPersonAndCompany.groovy | UnnecessaryGString | 3 | 50 | [SRC]EntityCondition.makeCondition ("roleTypeId", EntityOpera..UCT_OWNER"), [MSG]The String 'PRODUCT_OWNER' can be wrapped in single quotes instead of double quotes |
ListScrumRolesPersonAndCompany.groovy | UnnecessaryGString | 3 | 51 | [SRC]EntityCondition.makeCondition ("partyStatusId", EntityOp.._DISABLED"), [MSG]The String 'partyStatusId' can be wrapped in single quotes instead of double quotes |
ListScrumRolesPersonAndCompany.groovy | UnnecessaryGString | 3 | 51 | [SRC]EntityCondition.makeCondition ("partyStatusId", EntityOp.._DISABLED"), [MSG]The String 'PARTY_DISABLED' can be wrapped in single quotes instead of double quotes |
ListScrumRolesPersonAndCompany.groovy | UnnecessaryGString | 3 | 52 | [SRC]EntityCondition.makeCondition ("thruDate", EntityOperato..QUALS, null) [MSG]The String 'thruDate' can be wrapped in single quotes instead of double quotes |
ListScrumRolesPersonAndCompany.groovy | UnnecessaryGString | 3 | 54 | [SRC]personAndCompanyList = from("ScrumRolesPersonAndCompany"...queryList() [MSG]The String 'ScrumRolesPersonAndCompany' can be wrapped in single quotes instead of double quotes |
ListScrumRolesPersonAndCompany.groovy | UnnecessaryGString | 3 | 54 | [SRC]personAndCompanyList = from("ScrumRolesPersonAndCompany"...queryList() [MSG]The String 'groupName' can be wrapped in single quotes instead of double quotes |
ListScrumRolesPersonAndCompany.groovy | UnnecessaryGString | 3 | 59 | [SRC]EntityCondition.makeCondition ("partyId", EntityOperator..S, partyId), [MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes |
ListScrumRolesPersonAndCompany.groovy | UnnecessaryGString | 3 | 60 | [SRC]EntityCondition.makeCondition ("partyStatusId", EntityOp..Y_DISABLED") [MSG]The String 'partyStatusId' can be wrapped in single quotes instead of double quotes |
ListScrumRolesPersonAndCompany.groovy | UnnecessaryGString | 3 | 60 | [SRC]EntityCondition.makeCondition ("partyStatusId", EntityOp..Y_DISABLED") [MSG]The String 'PARTY_DISABLED' can be wrapped in single quotes instead of double quotes |
ListScrumRolesPersonAndCompany.groovy | UnnecessaryGString | 3 | 62 | [SRC]securityGroupList = from("ScrumMemberUserLoginAndSecurit...queryList() [MSG]The String 'ScrumMemberUserLoginAndSecurityGroup' can be wrapped in single quotes instead of double quotes |
ListTimeSheets.groovy | CouldBeElvis | 3 | 31 | [SRC]if (!parameters.noConditionFind) { [MSG]Code could use elvis operator: parameters.noConditionFind = parameters.noConditionFind ?: 'N' |
ListTimeSheets.groovy | UnnecessaryGString | 3 | 32 | [SRC]parameters.noConditionFind = "N" [MSG]The String 'N' can be wrapped in single quotes instead of double quotes |
ListTimeSheets.groovy | UnnecessaryGString | 3 | 35 | [SRC]performFindResults = runService('performFind', ["entityN..Date DESC"]) [MSG]The String 'entityName' can be wrapped in single quotes instead of double quotes |
ListTimeSheets.groovy | UnnecessaryGString | 3 | 35 | [SRC]performFindResults = runService('performFind', ["entityN..Date DESC"]) [MSG]The String 'Timesheet' can be wrapped in single quotes instead of double quotes |
ListTimeSheets.groovy | UnnecessaryGString | 3 | 35 | [SRC]performFindResults = runService('performFind', ["entityN..Date DESC"]) [MSG]The String 'inputFields' can be wrapped in single quotes instead of double quotes |
ListTimeSheets.groovy | UnnecessaryGString | 3 | 35 | [SRC]performFindResults = runService('performFind', ["entityN..Date DESC"]) [MSG]The String 'orderBy' can be wrapped in single quotes instead of double quotes |
ListTimeSheets.groovy | UnnecessaryGString | 3 | 35 | [SRC]performFindResults = runService('performFind', ["entityN..Date DESC"]) [MSG]The String 'fromDate DESC' can be wrapped in single quotes instead of double quotes |
ListTimeSheets.groovy | UnnecessaryGString | 3 | 40 | [SRC]logError(e, "Failure in " + module) [MSG]The String 'Failure in ' can be wrapped in single quotes instead of double quotes |
ListTimeSheets.groovy | Indentation | 3 | 46 | [SRC]logError(e) [MSG]The statement on line 46 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 17 but was 21 |
ListTimeSheets.groovy | TrailingWhitespace | 3 | 50 | [SRC] [MSG]Line ends with whitespace characters |
ListTimeSheets.groovy | UnnecessaryGString | 3 | 55 | [SRC]leaveExprsList.add(EntityCondition.makeCondition("fromDa..b.fromDate)) [MSG]The String 'fromDate' can be wrapped in single quotes instead of double quotes |
ListTimeSheets.groovy | UnnecessaryGString | 3 | 56 | [SRC]leaveExprsList.add(EntityCondition.makeCondition("fromDa..b.thruDate)) [MSG]The String 'fromDate' can be wrapped in single quotes instead of double quotes |
ListTimeSheets.groovy | UnnecessaryGString | 3 | 57 | [SRC]leaveExprsList.add(EntityCondition.makeCondition("partyI..Db.partyId)) [MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes |
ListTimeSheets.groovy | UnnecessaryGString | 3 | 58 | [SRC]emplLeaveList = from("EmplLeave").where(leaveExprsList)...ryIterator() [MSG]The String 'EmplLeave' can be wrapped in single quotes instead of double quotes |
ListTimeSheets.groovy | TrailingWhitespace | 3 | 60 | [SRC] [MSG]Line ends with whitespace characters |
ListTimeSheets.groovy | TrailingWhitespace | 3 | 63 | [SRC]resultHour = runService('getPartyLeaveHoursForDate', [MSG]Line ends with whitespace characters |
ListTimeSheets.groovy | UnnecessaryGString | 3 | 64 | [SRC]["userLogin": parameters.userLogin, "partyId": emplLeave..y.fromDate]) [MSG]The String 'userLogin' can be wrapped in single quotes instead of double quotes |
ListTimeSheets.groovy | UnnecessaryGString | 3 | 64 | [SRC]["userLogin": parameters.userLogin, "partyId": emplLeave..y.fromDate]) [MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes |
ListTimeSheets.groovy | UnnecessaryGString | 3 | 64 | [SRC]["userLogin": parameters.userLogin, "partyId": emplLeave..y.fromDate]) [MSG]The String 'leaveTypeId' can be wrapped in single quotes instead of double quotes |
ListTimeSheets.groovy | UnnecessaryGString | 3 | 64 | [SRC]["userLogin": parameters.userLogin, "partyId": emplLeave..y.fromDate]) [MSG]The String 'fromDate' can be wrapped in single quotes instead of double quotes |
ListTimeSheets.groovy | UnnecessaryGString | 3 | 73 | [SRC]entries = timesheetDb.getRelated("TimeEntry", null, null, false) [MSG]The String 'TimeEntry' can be wrapped in single quotes instead of double quotes |
ListUnplanBacklog.groovy | UnnecessaryGString | 3 | 28 | [SRC]if ("Any" != backlogStatusId) { [MSG]The String 'Any' can be wrapped in single quotes instead of double quotes |
ListUnplanBacklog.groovy | Indentation | 3 | 29 | [SRC]taskStatusId = "STS_CREATED" [MSG]The statement on line 29 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 5 but was 9 |
ListUnplanBacklog.groovy | UnnecessaryGString | 3 | 29 | [SRC]taskStatusId = "STS_CREATED" [MSG]The String 'STS_CREATED' can be wrapped in single quotes instead of double quotes |
ListUnplanBacklog.groovy | Indentation | 3 | 30 | [SRC]orStsExprs.add(EntityCondition.makeCondition("statusId",.._REVIEWED")) [MSG]The statement on line 30 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 5 but was 9 |
ListUnplanBacklog.groovy | UnnecessaryGString | 3 | 30 | [SRC]orStsExprs.add(EntityCondition.makeCondition("statusId",.._REVIEWED")) [MSG]The String 'statusId' can be wrapped in single quotes instead of double quotes |
ListUnplanBacklog.groovy | UnnecessaryGString | 3 | 30 | [SRC]orStsExprs.add(EntityCondition.makeCondition("statusId",.._REVIEWED")) [MSG]The String 'CRQ_REVIEWED' can be wrapped in single quotes instead of double quotes |
ListUnplanBacklog.groovy | Indentation | 3 | 32 | [SRC]orStsExprs.add(EntityCondition.makeCondition("statusId",.._REVIEWED")) [MSG]The statement on line 32 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 5 but was 9 |
ListUnplanBacklog.groovy | UnnecessaryGString | 3 | 32 | [SRC]orStsExprs.add(EntityCondition.makeCondition("statusId",.._REVIEWED")) [MSG]The String 'statusId' can be wrapped in single quotes instead of double quotes |
ListUnplanBacklog.groovy | UnnecessaryGString | 3 | 32 | [SRC]orStsExprs.add(EntityCondition.makeCondition("statusId",.._REVIEWED")) [MSG]The String 'CRQ_REVIEWED' can be wrapped in single quotes instead of double quotes |
ListUnplanBacklog.groovy | Indentation | 3 | 33 | [SRC]orStsExprs.add(EntityCondition.makeCondition("statusId",..COMPLETED")) [MSG]The statement on line 33 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 5 but was 9 |
ListUnplanBacklog.groovy | UnnecessaryGString | 3 | 33 | [SRC]orStsExprs.add(EntityCondition.makeCondition("statusId",..COMPLETED")) [MSG]The String 'statusId' can be wrapped in single quotes instead of double quotes |
ListUnplanBacklog.groovy | UnnecessaryGString | 3 | 33 | [SRC]orStsExprs.add(EntityCondition.makeCondition("statusId",..COMPLETED")) [MSG]The String 'CRQ_COMPLETED' can be wrapped in single quotes instead of double quotes |
ListUnplanBacklog.groovy | Indentation | 3 | 37 | [SRC]orCurentExprs.add(EntityCondition.makeCondition("current..skStatusId)) [MSG]The statement on line 37 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 5 but was 9 |
ListUnplanBacklog.groovy | UnnecessaryGString | 3 | 37 | [SRC]orCurentExprs.add(EntityCondition.makeCondition("current..skStatusId)) [MSG]The String 'currentStatusId' can be wrapped in single quotes instead of double quotes |
ListUnplanBacklog.groovy | Indentation | 3 | 38 | [SRC]orCurentExprs.add(EntityCondition.makeCondition("current..UALS, null)) [MSG]The statement on line 38 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 5 but was 9 |
ListUnplanBacklog.groovy | UnnecessaryGString | 3 | 38 | [SRC]orCurentExprs.add(EntityCondition.makeCondition("current..UALS, null)) [MSG]The String 'currentStatusId' can be wrapped in single quotes instead of double quotes |
ListUnplanBacklog.groovy | UnnecessaryGString | 3 | 41 | [SRC]andExprs.add(EntityCondition.makeCondition("productId", ...productId)) [MSG]The String 'productId' can be wrapped in single quotes instead of double quotes |
ListUnplanBacklog.groovy | UnnecessaryGString | 3 | 42 | [SRC]andExprs.add(EntityCondition.makeCondition("custRequestT..N_BACKLOG")) [MSG]The String 'custRequestTypeId' can be wrapped in single quotes instead of double quotes |
ListUnplanBacklog.groovy | UnnecessaryGString | 3 | 42 | [SRC]andExprs.add(EntityCondition.makeCondition("custRequestT..N_BACKLOG")) [MSG]The String 'RF_UNPLAN_BACKLOG' can be wrapped in single quotes instead of double quotes |
ListUnplanBacklog.groovy | SpaceAfterComma | 3 | 46 | [SRC]unplannedBacklogList = from("UnPlannedBacklogsAndTasks")...queryList() [MSG]The parameter workEffortTypeId in the call to method orderBy within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
ListUnplanBacklog.groovy | SpaceAfterComma | 3 | 46 | [SRC]unplannedBacklogList = from("UnPlannedBacklogsAndTasks")...queryList() [MSG]The parameter custSequenceNum in the call to method orderBy within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
ListUnplanBacklog.groovy | UnnecessaryGString | 3 | 46 | [SRC]unplannedBacklogList = from("UnPlannedBacklogsAndTasks")...queryList() [MSG]The String 'UnPlannedBacklogsAndTasks' can be wrapped in single quotes instead of double quotes |
ListUnplanBacklog.groovy | UnnecessaryGString | 3 | 46 | [SRC]unplannedBacklogList = from("UnPlannedBacklogsAndTasks")...queryList() [MSG]The String '-custRequestId' can be wrapped in single quotes instead of double quotes |
ListUnplanBacklog.groovy | UnnecessaryGString | 3 | 46 | [SRC]unplannedBacklogList = from("UnPlannedBacklogsAndTasks")...queryList() [MSG]The String 'workEffortTypeId' can be wrapped in single quotes instead of double quotes |
ListUnplanBacklog.groovy | UnnecessaryGString | 3 | 46 | [SRC]unplannedBacklogList = from("UnPlannedBacklogsAndTasks")...queryList() [MSG]The String 'custSequenceNum' can be wrapped in single quotes instead of double quotes |
Login.groovy | NoWildcardImports | 3 | 21 | [SRC]import org.apache.ofbiz.base.util.* [MSG]Wildcard (star) import |
Login.groovy | UnusedImport | 3 | 22 | [SRC]import org.apache.ofbiz.common.CommonWorkers [MSG]The [org.apache.ofbiz.common.CommonWorkers] import is never referenced |
Login.groovy | NoWildcardImports | 3 | 23 | [SRC]import org.apache.ofbiz.webapp.control.* [MSG]Wildcard (star) import |
Login.groovy | UnnecessaryGString | 3 | 25 | [SRC]context.autoUserLogin = session.getAttribute("autoUserLogin") [MSG]The String 'autoUserLogin' can be wrapped in single quotes instead of double quotes |
Login.groovy | UnnecessaryGString | 3 | 26 | [SRC]context.autoLogoutUrl = LoginWorker.makeLoginUrl(request..autoLogout") [MSG]The String 'autoLogout' can be wrapped in single quotes instead of double quotes |
Login.groovy | UnnecessaryGString | 3 | 28 | [SRC]previousParams = session.getAttribute("_PREVIOUS_PARAMS_") [MSG]The String '_PREVIOUS_PARAMS_' can be wrapped in single quotes instead of double quotes |
Login.groovy | UnnecessaryGString | 3 | 30 | [SRC]previousParams = UtilHttp.stripNamedParamsFromQueryStrin.."PASSWORD"]) [MSG]The String 'USERNAME' can be wrapped in single quotes instead of double quotes |
Login.groovy | UnnecessaryGString | 3 | 30 | [SRC]previousParams = UtilHttp.stripNamedParamsFromQueryStrin.."PASSWORD"]) [MSG]The String 'PASSWORD' can be wrapped in single quotes instead of double quotes |
Login.groovy | UnnecessaryGString | 3 | 31 | [SRC]previousParams = "?" + previousParams [MSG]The String '?' can be wrapped in single quotes instead of double quotes |
Login.groovy | UnnecessaryGString | 3 | 33 | [SRC]previousParams = "" [MSG]The String '' can be wrapped in single quotes instead of double quotes |
Login.groovy | UnnecessaryGString | 3 | 24 | [SRC]context.autoUserLogin = session.getAttribute("autoUserLogin") [MSG]The String 'autoUserLogin' can be wrapped in single quotes instead of double quotes |
Login.groovy | UnnecessaryGString | 3 | 25 | [SRC]context.autoLogoutUrl = LoginWorker.makeLoginUrl(request..autoLogout") [MSG]The String 'autoLogout' can be wrapped in single quotes instead of double quotes |
Login.groovy | UnnecessaryGString | 3 | 27 | [SRC]previousParams = session.getAttribute("_PREVIOUS_PARAMS_") [MSG]The String '_PREVIOUS_PARAMS_' can be wrapped in single quotes instead of double quotes |
Login.groovy | UnnecessaryGString | 3 | 30 | [SRC]previousParams = "?" + previousParams [MSG]The String '?' can be wrapped in single quotes instead of double quotes |
Login.groovy | UnnecessaryGString | 3 | 32 | [SRC]previousParams = "" [MSG]The String '' can be wrapped in single quotes instead of double quotes |
Login.groovy | UnnecessaryGString | 3 | 40 | [SRC]facilityId = productStore.getString("inventoryFacilityId") [MSG]The String 'inventoryFacilityId' can be wrapped in single quotes instead of double quotes |
Login.groovy | UnnecessaryGString | 3 | 43 | [SRC]context.posTerminals = from("PosTerminal").where("facili...queryList() [MSG]The String 'PosTerminal' can be wrapped in single quotes instead of double quotes |
Login.groovy | UnnecessaryGString | 3 | 43 | [SRC]context.posTerminals = from("PosTerminal").where("facili...queryList() [MSG]The String 'facilityId' can be wrapped in single quotes instead of double quotes |
Login.groovy | UnnecessaryGString | 3 | 43 | [SRC]context.posTerminals = from("PosTerminal").where("facili...queryList() [MSG]The String 'posTerminalId' can be wrapped in single quotes instead of double quotes |
Login.groovy | UnnecessaryGString | 3 | 45 | [SRC]context.posTerminals = from("PosTerminal").orderBy("posT...queryList() [MSG]The String 'PosTerminal' can be wrapped in single quotes instead of double quotes |
Login.groovy | UnnecessaryGString | 3 | 45 | [SRC]context.posTerminals = from("PosTerminal").orderBy("posT...queryList() [MSG]The String 'posTerminalId' can be wrapped in single quotes instead of double quotes |
Main.groovy | NoWildcardImports | 3 | 21 | [SRC]import org.apache.ofbiz.product.catalog.* [MSG]Wildcard (star) import |
Main.groovy | UnnecessaryGString | 3 | 25 | [SRC]request.setAttribute("productCategoryId", promoCat) [MSG]The String 'productCategoryId' can be wrapped in single quotes instead of double quotes |
MiniProductSummary.groovy | UnnecessaryGroovyImport | 3 | 21 | [SRC]import java.math.BigDecimal |
MiniProductSummary.groovy | UnnecessaryGroovyImport | 3 | 22 | [SRC]import java.util.Map |
MiniProductSummary.groovy | NoWildcardImports | 3 | 24 | [SRC]import org.apache.ofbiz.base.util.* [MSG]Wildcard (star) import |
MiniProductSummary.groovy | NoWildcardImports | 3 | 25 | [SRC]import org.apache.ofbiz.entity.* [MSG]Wildcard (star) import |
MiniProductSummary.groovy | NoWildcardImports | 3 | 26 | [SRC]import org.apache.ofbiz.service.* [MSG]Wildcard (star) import |
MiniProductSummary.groovy | NoWildcardImports | 3 | 29 | [SRC]import org.apache.ofbiz.product.catalog.* [MSG]Wildcard (star) import |
MiniProductSummary.groovy | NoWildcardImports | 3 | 30 | [SRC]import org.apache.ofbiz.product.store.* [MSG]Wildcard (star) import |
MiniProductSummary.groovy | NoWildcardImports | 3 | 31 | [SRC]import org.apache.ofbiz.order.shoppingcart.* [MSG]Wildcard (star) import |
MiniProductSummary.groovy | UnnecessaryGString | 3 | 34 | [SRC]miniProduct = request.getAttribute("miniProduct") [MSG]The String 'miniProduct' can be wrapped in single quotes instead of double quotes |
MiniProductSummary.groovy | UnnecessaryGString | 3 | 35 | [SRC]optProductId = request.getAttribute("optProductId") [MSG]The String 'optProductId' can be wrapped in single quotes instead of double quotes |
MiniProductSummary.groovy | UnnecessaryGString | 3 | 40 | [SRC]context.remove("totalPrice") [MSG]The String 'totalPrice' can be wrapped in single quotes instead of double quotes |
MiniProductSummary.groovy | UnnecessaryGString | 3 | 43 | [SRC]miniProduct = from("Product").where("productId", optProd..).queryOne() [MSG]The String 'Product' can be wrapped in single quotes instead of double quotes |
MiniProductSummary.groovy | UnnecessaryGString | 3 | 43 | [SRC]miniProduct = from("Product").where("productId", optProd..).queryOne() [MSG]The String 'productId' can be wrapped in single quotes instead of double quotes |
MiniProductSummary.groovy | SpaceAroundMapEntryColon | 3 | 48 | [SRC]priceParams = [product : miniProduct, [MSG]The colon for the literal Map entry for key [product] within class org.apache.ofbiz.ecommerce.catalog.None is not preceded by a match for regular expression [\S] |
MiniProductSummary.groovy | SpaceAroundMapEntryColon | 3 | 49 | [SRC]prodCatalogId : prodCatalogId, [MSG]The colon for the literal Map entry for key [prodCatalogId] within class org.apache.ofbiz.ecommerce.catalog.None is not preceded by a match for regular expression [\S] |
MiniProductSummary.groovy | SpaceAroundMapEntryColon | 3 | 50 | [SRC]webSiteId : webSiteId, [MSG]The colon for the literal Map entry for key [webSiteId] within class org.apache.ofbiz.ecommerce.catalog.None is not preceded by a match for regular expression [\S] |
MiniProductSummary.groovy | SpaceAroundMapEntryColon | 3 | 51 | [SRC]currencyUomId : cart.getCurrency(), [MSG]The colon for the literal Map entry for key [currencyUomId] within class org.apache.ofbiz.ecommerce.catalog.None is not preceded by a match for regular expression [\S] |
MiniProductSummary.groovy | SpaceAroundMapEntryColon | 3 | 52 | [SRC]autoUserLogin : autoUserLogin, [MSG]The colon for the literal Map entry for key [autoUserLogin] within class org.apache.ofbiz.ecommerce.catalog.None is not preceded by a match for regular expression [\S] |
MiniProductSummary.groovy | SpaceAroundMapEntryColon | 3 | 53 | [SRC]productStoreId : productStoreId] [MSG]The colon for the literal Map entry for key [productStoreId] within class org.apache.ofbiz.ecommerce.catalog.None is not preceded by a match for regular expression [\S] |
MiniProductSummary.groovy | UnnecessaryGString | 3 | 59 | [SRC]if ("Y".equals(productStore.get("showPricesWithVatTax"))) { [MSG]The String 'Y' can be wrapped in single quotes instead of double quotes |
MiniProductSummary.groovy | UnnecessaryGString | 3 | 59 | [SRC]if ("Y".equals(productStore.get("showPricesWithVatTax"))) { [MSG]The String 'showPricesWithVatTax' can be wrapped in single quotes instead of double quotes |
MiniProductSummary.groovy | UnnecessaryGString | 3 | 60 | [SRC]Map priceMap = runService('calcTaxForDisplay', ["basePri..uctStoreId]) [MSG]The String 'basePrice' can be wrapped in single quotes instead of double quotes |
MiniProductSummary.groovy | UnnecessaryGString | 3 | 60 | [SRC]Map priceMap = runService('calcTaxForDisplay', ["basePri..uctStoreId]) [MSG]The String 'price' can be wrapped in single quotes instead of double quotes |
MiniProductSummary.groovy | UnnecessaryGString | 3 | 60 | [SRC]Map priceMap = runService('calcTaxForDisplay', ["basePri..uctStoreId]) [MSG]The String 'locale' can be wrapped in single quotes instead of double quotes |
MiniProductSummary.groovy | UnnecessaryGString | 3 | 60 | [SRC]Map priceMap = runService('calcTaxForDisplay', ["basePri..uctStoreId]) [MSG]The String 'productId' can be wrapped in single quotes instead of double quotes |
MiniProductSummary.groovy | UnnecessaryGString | 3 | 60 | [SRC]Map priceMap = runService('calcTaxForDisplay', ["basePri..uctStoreId]) [MSG]The String 'productStoreId' can be wrapped in single quotes instead of double quotes |
MiniProductSummary.groovy | UnnecessaryGString | 3 | 61 | [SRC]context.price = priceMap.get("priceWithTax") [MSG]The String 'priceWithTax' can be wrapped in single quotes instead of double quotes |
MiniProductSummary.groovy | UnnecessaryGString | 3 | 63 | [SRC]context.price = priceResult.get("price") [MSG]The String 'price' can be wrapped in single quotes instead of double quotes |
MiniProductSummary.groovy | UnnecessaryGString | 3 | 67 | [SRC]if ("AGGREGATED".equals(miniProduct.productTypeId) || "A..ctTypeId)) { [MSG]The String 'AGGREGATED' can be wrapped in single quotes instead of double quotes |
MiniProductSummary.groovy | UnnecessaryGString | 3 | 67 | [SRC]if ("AGGREGATED".equals(miniProduct.productTypeId) || "A..ctTypeId)) { [MSG]The String 'AGGREGATED_SERVICE' can be wrapped in single quotes instead of double quotes |
MiniProductSummary.groovy | UnnecessaryGString | 3 | 72 | [SRC]if ("Y".equals(productStore.get("showPricesWithVatTax"))) { [MSG]The String 'Y' can be wrapped in single quotes instead of double quotes |
MiniProductSummary.groovy | UnnecessaryGString | 3 | 72 | [SRC]if ("Y".equals(productStore.get("showPricesWithVatTax"))) { [MSG]The String 'showPricesWithVatTax' can be wrapped in single quotes instead of double quotes |
MiniProductSummary.groovy | UnnecessaryGString | 3 | 74 | [SRC]Map totalPriceMap = runService('calcTaxForDisplay', ["ba..uctStoreId]) [MSG]The String 'basePrice' can be wrapped in single quotes instead of double quotes |
MiniProductSummary.groovy | UnnecessaryGString | 3 | 74 | [SRC]Map totalPriceMap = runService('calcTaxForDisplay', ["ba..uctStoreId]) [MSG]The String 'locale' can be wrapped in single quotes instead of double quotes |
MiniProductSummary.groovy | UnnecessaryGString | 3 | 74 | [SRC]Map totalPriceMap = runService('calcTaxForDisplay', ["ba..uctStoreId]) [MSG]The String 'productId' can be wrapped in single quotes instead of double quotes |
MiniProductSummary.groovy | UnnecessaryGString | 3 | 74 | [SRC]Map totalPriceMap = runService('calcTaxForDisplay', ["ba..uctStoreId]) [MSG]The String 'productStoreId' can be wrapped in single quotes instead of double quotes |
MiniProductSummary.groovy | UnnecessaryGString | 3 | 75 | [SRC]context.totalPrice = totalPriceMap.get("priceWithTax") [MSG]The String 'priceWithTax' can be wrapped in single quotes instead of double quotes |
MiniProductSummary.groovy | UnnecessaryGString | 3 | 85 | [SRC]context.miniProdFormName = request.getAttribute("miniProdFormName") [MSG]The String 'miniProdFormName' can be wrapped in single quotes instead of double quotes |
MiniProductSummary.groovy | UnnecessaryGString | 3 | 86 | [SRC]context.miniProdQuantity = request.getAttribute("miniProdQuantity") [MSG]The String 'miniProdQuantity' can be wrapped in single quotes instead of double quotes |
MiniProductSummary.groovy | BlockEndsWithBlankLine | 3 | 91 | [MSG]Code block ends with a blank line. |
MruAdd.groovy | UnnecessaryGroovyImport | 3 | 21 | [SRC]import java.util.ArrayList |
MruAdd.groovy | UnusedImport | 3 | 21 | [SRC]import java.util.ArrayList [MSG]The [java.util.ArrayList] import is never referenced |
MruAdd.groovy | UnnecessaryGroovyImport | 3 | 22 | [SRC]import java.util.Collection |
MruAdd.groovy | UnusedImport | 3 | 22 | [SRC]import java.util.Collection [MSG]The [java.util.Collection] import is never referenced |
MruAdd.groovy | UnnecessaryGroovyImport | 3 | 23 | [SRC]import java.util.HashMap |
MruAdd.groovy | UnusedImport | 3 | 23 | [SRC]import java.util.HashMap [MSG]The [java.util.HashMap] import is never referenced |
MruAdd.groovy | UnnecessaryGroovyImport | 3 | 24 | [SRC]import java.util.Iterator |
MruAdd.groovy | UnusedImport | 3 | 24 | [SRC]import java.util.Iterator [MSG]The [java.util.Iterator] import is never referenced |
MruAdd.groovy | UnnecessaryGroovyImport | 3 | 25 | [SRC]import java.util.LinkedList |
MruAdd.groovy | UnusedImport | 3 | 25 | [SRC]import java.util.LinkedList [MSG]The [java.util.LinkedList] import is never referenced |
MruAdd.groovy | UnnecessaryGroovyImport | 3 | 26 | [SRC]import java.util.List |
MruAdd.groovy | UnusedImport | 3 | 26 | [SRC]import java.util.List [MSG]The [java.util.List] import is never referenced |
MruAdd.groovy | UnnecessaryGroovyImport | 3 | 27 | [SRC]import java.util.Map |
MruAdd.groovy | UnusedImport | 3 | 27 | [SRC]import java.util.Map [MSG]The [java.util.Map] import is never referenced |
MruAdd.groovy | UnnecessaryGroovyImport | 3 | 28 | [SRC]import java.util.Set |
MruAdd.groovy | UnusedImport | 3 | 28 | [SRC]import java.util.Set [MSG]The [java.util.Set] import is never referenced |
MruAdd.groovy | UnnecessaryGroovyImport | 3 | 29 | [SRC]import java.util.TreeSet |
MruAdd.groovy | UnusedImport | 3 | 29 | [SRC]import java.util.TreeSet [MSG]The [java.util.TreeSet] import is never referenced |
MruAdd.groovy | NoWildcardImports | 3 | 31 | [SRC]import org.apache.ofbiz.base.util.* [MSG]Wildcard (star) import |
MruAdd.groovy | NoWildcardImports | 3 | 32 | [SRC]import org.apache.ofbiz.entity.* [MSG]Wildcard (star) import |
MruAdd.groovy | NoWildcardImports | 3 | 33 | [SRC]import org.apache.ofbiz.security.* [MSG]Wildcard (star) import |
MruAdd.groovy | NoWildcardImports | 3 | 34 | [SRC]import org.apache.ofbiz.service.* [MSG]Wildcard (star) import |
MruAdd.groovy | NoWildcardImports | 3 | 35 | [SRC]import org.apache.ofbiz.entity.model.* [MSG]Wildcard (star) import |
MruAdd.groovy | NoWildcardImports | 3 | 40 | [SRC]import javax.servlet.* [MSG]Wildcard (star) import |
MruAdd.groovy | NoWildcardImports | 3 | 41 | [SRC]import javax.servlet.http.* [MSG]Wildcard (star) import |
MruAdd.groovy | UnnecessaryGString | 3 | 43 | [SRC]lookupCaches = session.getAttribute("lookupCaches") [MSG]The String 'lookupCaches' can be wrapped in single quotes instead of double quotes |
MruAdd.groovy | UnnecessaryGString | 3 | 49 | [SRC]session.setAttribute("lookupCaches", lookupCaches) [MSG]The String 'lookupCaches' can be wrapped in single quotes instead of double quotes |
MruAdd.groovy | UnnecessaryGString | 3 | 66 | [SRC]lookupCaches = session.getAttribute("lookupCaches") [MSG]The String 'lookupCaches' can be wrapped in single quotes instead of double quotes |
Mrv.groovy | UnnecessaryGroovyImport | 3 | 21 | [SRC]import java.util.ArrayList |
Mrv.groovy | UnusedImport | 3 | 21 | [SRC]import java.util.ArrayList [MSG]The [java.util.ArrayList] import is never referenced |
Mrv.groovy | UnnecessaryGroovyImport | 3 | 22 | [SRC]import java.util.Collection |
Mrv.groovy | UnusedImport | 3 | 22 | [SRC]import java.util.Collection [MSG]The [java.util.Collection] import is never referenced |
Mrv.groovy | UnnecessaryGroovyImport | 3 | 23 | [SRC]import java.util.HashMap |
Mrv.groovy | UnusedImport | 3 | 23 | [SRC]import java.util.HashMap [MSG]The [java.util.HashMap] import is never referenced |
Mrv.groovy | UnnecessaryGroovyImport | 3 | 24 | [SRC]import java.util.Iterator |
Mrv.groovy | UnusedImport | 3 | 24 | [SRC]import java.util.Iterator [MSG]The [java.util.Iterator] import is never referenced |
Mrv.groovy | UnnecessaryGroovyImport | 3 | 25 | [SRC]import java.util.LinkedList |
Mrv.groovy | UnusedImport | 3 | 25 | [SRC]import java.util.LinkedList [MSG]The [java.util.LinkedList] import is never referenced |
Mrv.groovy | UnnecessaryGroovyImport | 3 | 26 | [SRC]import java.util.List |
Mrv.groovy | UnusedImport | 3 | 26 | [SRC]import java.util.List [MSG]The [java.util.List] import is never referenced |
Mrv.groovy | UnnecessaryGroovyImport | 3 | 27 | [SRC]import java.util.Map |
Mrv.groovy | UnusedImport | 3 | 27 | [SRC]import java.util.Map [MSG]The [java.util.Map] import is never referenced |
Mrv.groovy | UnnecessaryGroovyImport | 3 | 28 | [SRC]import java.util.Set |
Mrv.groovy | UnusedImport | 3 | 28 | [SRC]import java.util.Set [MSG]The [java.util.Set] import is never referenced |
Mrv.groovy | UnnecessaryGroovyImport | 3 | 29 | [SRC]import java.util.TreeSet |
Mrv.groovy | UnusedImport | 3 | 29 | [SRC]import java.util.TreeSet [MSG]The [java.util.TreeSet] import is never referenced |
Mrv.groovy | NoWildcardImports | 3 | 31 | [SRC]import org.apache.ofbiz.base.util.* [MSG]Wildcard (star) import |
Mrv.groovy | NoWildcardImports | 3 | 32 | [SRC]import org.apache.ofbiz.entity.* [MSG]Wildcard (star) import |
Mrv.groovy | NoWildcardImports | 3 | 33 | [SRC]import org.apache.ofbiz.security.* [MSG]Wildcard (star) import |
Mrv.groovy | NoWildcardImports | 3 | 34 | [SRC]import org.apache.ofbiz.service.* [MSG]Wildcard (star) import |
Mrv.groovy | NoWildcardImports | 3 | 35 | [SRC]import org.apache.ofbiz.entity.model.* [MSG]Wildcard (star) import |
Mrv.groovy | NoWildcardImports | 3 | 38 | [SRC]import javax.servlet.* [MSG]Wildcard (star) import |
Mrv.groovy | NoWildcardImports | 3 | 39 | [SRC]import javax.servlet.http.* [MSG]Wildcard (star) import |
Mrv.groovy | UnnecessaryGString | 3 | 41 | [SRC]entityName = "ContentDataResourceView" [MSG]The String 'ContentDataResourceView' can be wrapped in single quotes instead of double quotes |
Mrv.groovy | UnnecessaryGString | 3 | 42 | [SRC]lookupCaches = session.getAttribute("lookupCaches") [MSG]The String 'lookupCaches' can be wrapped in single quotes instead of double quotes |
Mrv.groovy | UnnecessaryGString | 3 | 46 | [SRC]session.setAttribute("lookupCaches", lookupCaches) [MSG]The String 'lookupCaches' can be wrapped in single quotes instead of double quotes |
Mrv.groovy | UnnecessaryGString | 3 | 71 | [SRC]context.put("mrvList", mrvList) [MSG]The String 'mrvList' can be wrapped in single quotes instead of double quotes |
NewCustomer.groovy | UnusedImport | 3 | 21 | [SRC]import org.apache.ofbiz.base.util.UtilProperties [MSG]The [org.apache.ofbiz.base.util.UtilProperties] import is never referenced |
NewCustomer.groovy | UnusedImport | 3 | 23 | [SRC]import org.apache.ofbiz.base.util.UtilMisc [MSG]The [org.apache.ofbiz.base.util.UtilMisc] import is never referenced |
NewCustomer.groovy | DuplicateImport | 3 | 24 | [SRC]import org.apache.ofbiz.base.util.UtilHttp |
NewCustomer.groovy | UnnecessaryGString | 3 | 31 | [SRC]context.createAllowPassword = "Y".equals(productStore.allowPassword) [MSG]The String 'Y' can be wrapped in single quotes instead of double quotes |
NewCustomer.groovy | UnnecessaryGString | 3 | 32 | [SRC]context.getUsername = !"Y".equals(productStore.usePrimar..ailUsername) [MSG]The String 'Y' can be wrapped in single quotes instead of double quotes |
NewCustomer.groovy | UnnecessaryGString | 3 | 36 | [SRC]previousParams = "?" + previousParams [MSG]The String '?' can be wrapped in single quotes instead of double quotes |
NewCustomer.groovy | UnnecessaryGString | 3 | 38 | [SRC]previousParams = "" [MSG]The String '' can be wrapped in single quotes instead of double quotes |
NewCustomer.groovy | UnnecessaryGString | 3 | 43 | [SRC]userInfoMap = request.getAttribute("userInfoMap") [MSG]The String 'userInfoMap' can be wrapped in single quotes instead of double quotes |
NewCustomer.groovy | CouldBeElvis | 3 | 44 | [SRC]if (!userInfoMap) { [MSG]Code could use elvis operator: userInfoMap = userInfoMap ?: request.getSession().getAttribute(userInfoMap) |
NewCustomer.groovy | UnnecessaryGString | 3 | 45 | [SRC]userInfoMap = request.getSession().getAttribute("userInfoMap") [MSG]The String 'userInfoMap' can be wrapped in single quotes instead of double quotes |
NewCustomer.groovy | UnnecessaryGString | 3 | 57 | [SRC]request.getSession().setAttribute("userInfoMap", userInfoMap) [MSG]The String 'userInfoMap' can be wrapped in single quotes instead of double quotes |
NewCustomer.groovy | UnnecessaryGString | 3 | 60 | [SRC]donePage = "main;" + UtilHttp.getSessionId(request) [MSG]The String 'main;' can be wrapped in single quotes instead of double quotes |
NodeTrailPrep.groovy | UnnecessaryGroovyImport | 3 | 21 | [SRC]import java.util.ArrayList |
NodeTrailPrep.groovy | UnusedImport | 3 | 21 | [SRC]import java.util.ArrayList [MSG]The [java.util.ArrayList] import is never referenced |
NodeTrailPrep.groovy | UnnecessaryGroovyImport | 3 | 22 | [SRC]import java.util.Collection |
NodeTrailPrep.groovy | UnusedImport | 3 | 22 | [SRC]import java.util.Collection [MSG]The [java.util.Collection] import is never referenced |
NodeTrailPrep.groovy | UnnecessaryGroovyImport | 3 | 23 | [SRC]import java.util.HashMap |
NodeTrailPrep.groovy | UnusedImport | 3 | 23 | [SRC]import java.util.HashMap [MSG]The [java.util.HashMap] import is never referenced |
NodeTrailPrep.groovy | UnnecessaryGroovyImport | 3 | 24 | [SRC]import java.util.Iterator |
NodeTrailPrep.groovy | UnusedImport | 3 | 24 | [SRC]import java.util.Iterator [MSG]The [java.util.Iterator] import is never referenced |
NodeTrailPrep.groovy | UnnecessaryGroovyImport | 3 | 25 | [SRC]import java.util.LinkedList |
NodeTrailPrep.groovy | UnusedImport | 3 | 25 | [SRC]import java.util.LinkedList [MSG]The [java.util.LinkedList] import is never referenced |
NodeTrailPrep.groovy | UnnecessaryGroovyImport | 3 | 26 | [SRC]import java.util.List |
NodeTrailPrep.groovy | UnusedImport | 3 | 26 | [SRC]import java.util.List [MSG]The [java.util.List] import is never referenced |
NodeTrailPrep.groovy | UnnecessaryGroovyImport | 3 | 27 | [SRC]import java.util.Map |
NodeTrailPrep.groovy | UnnecessaryGroovyImport | 3 | 28 | [SRC]import java.util.Set |
NodeTrailPrep.groovy | UnusedImport | 3 | 28 | [SRC]import java.util.Set [MSG]The [java.util.Set] import is never referenced |
NodeTrailPrep.groovy | UnnecessaryGroovyImport | 3 | 29 | [SRC]import java.util.TreeSet |
NodeTrailPrep.groovy | UnusedImport | 3 | 29 | [SRC]import java.util.TreeSet [MSG]The [java.util.TreeSet] import is never referenced |
NodeTrailPrep.groovy | NoWildcardImports | 3 | 31 | [SRC]import org.apache.ofbiz.base.util.* [MSG]Wildcard (star) import |
NodeTrailPrep.groovy | NoWildcardImports | 3 | 32 | [SRC]import org.apache.ofbiz.entity.* [MSG]Wildcard (star) import |
NodeTrailPrep.groovy | NoWildcardImports | 3 | 33 | [SRC]import org.apache.ofbiz.security.* [MSG]Wildcard (star) import |
NodeTrailPrep.groovy | NoWildcardImports | 3 | 34 | [SRC]import org.apache.ofbiz.service.* [MSG]Wildcard (star) import |
NodeTrailPrep.groovy | NoWildcardImports | 3 | 35 | [SRC]import org.apache.ofbiz.entity.model.* [MSG]Wildcard (star) import |
NodeTrailPrep.groovy | NoWildcardImports | 3 | 35 | [SRC]import org.apache.ofbiz.entity.model.* [MSG]Wildcard (star) import |
NodeTrailPrep.groovy | NoWildcardImports | 3 | 36 | [SRC]import org.apache.ofbiz.securityext.login.* [MSG]Wildcard (star) import |
NodeTrailPrep.groovy | NoWildcardImports | 3 | 37 | [SRC]import org.apache.ofbiz.common.* [MSG]Wildcard (star) import |
NodeTrailPrep.groovy | DuplicateImport | 3 | 38 | [SRC]import org.apache.ofbiz.entity.model.* |
NodeTrailPrep.groovy | NoWildcardImports | 3 | 42 | [SRC]import javax.servlet.* [MSG]Wildcard (star) import |
NodeTrailPrep.groovy | NoWildcardImports | 3 | 43 | [SRC]import javax.servlet.http.* [MSG]Wildcard (star) import |
NodeTrailPrep.groovy | UnnecessaryGString | 3 | 45 | [SRC]nodeTrailCsv = ContentManagementWorker.getFromSomewhere(..st, context) [MSG]The String 'nodeTrailCsv' can be wrapped in single quotes instead of double quotes |
NodeTrailPrep.groovy | UnnecessaryGString | 3 | 50 | [SRC]passedParams = request.getAttribute("passedParams") [MSG]The String 'passedParams' can be wrapped in single quotes instead of double quotes |
NodeTrailPrep.groovy | SpaceAfterComma | 3 | 61 | [SRC]singleWrapper.putInContext("nodeTrailCsv",nodeTrailCsv) [MSG]The parameter nodeTrailCsv in the call to method putInContext within class org.apache.ofbiz.ecommerce.forum.None is not preceded by a space or whitespace |
NodeTrailPrep.groovy | UnnecessaryGString | 3 | 61 | [SRC]singleWrapper.putInContext("nodeTrailCsv",nodeTrailCsv) [MSG]The String 'nodeTrailCsv' can be wrapped in single quotes instead of double quotes |
NodeTrailPrep.groovy | UnnecessaryGString | 3 | 66 | [SRC]Map dummy = singleWrapper.getFromContext("dummy") [MSG]The String 'dummy' can be wrapped in single quotes instead of double quotes |
NodeTrailPrep.groovy | CouldBeElvis | 3 | 67 | [SRC]if (!dummy) { [MSG]Code could use elvis operator: dummy = dummy ?: [:] |
NodeTrailPrep.groovy | Indentation | 3 | 68 | [SRC]dummy = [:] [MSG]The statement on line 68 in class org.apache.ofbiz.ecommerce.forum.None is at the incorrect indent level: Expected column 13 but was 12 |
NodeTrailPrep.groovy | SpaceAfterComma | 3 | 72 | [SRC]singleWrapper.putInContext("dummy",dummy) [MSG]The parameter dummy in the call to method putInContext within class org.apache.ofbiz.ecommerce.forum.None is not preceded by a space or whitespace |
NodeTrailPrep.groovy | UnnecessaryGString | 3 | 72 | [SRC]singleWrapper.putInContext("dummy",dummy) [MSG]The String 'dummy' can be wrapped in single quotes instead of double quotes |
OnePageCheckoutOptions.groovy | NoWildcardImports | 3 | 21 | [SRC]import org.apache.ofbiz.order.shoppingcart.shipping.* [MSG]Wildcard (star) import |
OnePageCheckoutOptions.groovy | UnnecessaryGString | 3 | 23 | [SRC]shoppingCart = session.getAttribute("shoppingCart") [MSG]The String 'shoppingCart' can be wrapped in single quotes instead of double quotes |
OnePageCheckoutOptions.groovy | Indentation | 3 | 27 | [SRC]shoppingCart.createDropShipGroups(dispatcher) [MSG]The statement on line 27 in class org.apache.ofbiz.ecommerce.customer.None is at the incorrect indent level: Expected column 5 but was 3 |
OptionSettings.groovy | NoWildcardImports | 3 | 21 | [SRC]import org.apache.ofbiz.entity.* [MSG]Wildcard (star) import |
OptionSettings.groovy | NoWildcardImports | 3 | 22 | [SRC]import org.apache.ofbiz.base.util.* [MSG]Wildcard (star) import |
OptionSettings.groovy | NoWildcardImports | 3 | 23 | [SRC]import org.apache.ofbiz.order.shoppingcart.* [MSG]Wildcard (star) import |
OptionSettings.groovy | NoWildcardImports | 3 | 24 | [SRC]import org.apache.ofbiz.order.shoppingcart.shipping.* [MSG]Wildcard (star) import |
OptionSettings.groovy | NoWildcardImports | 3 | 25 | [SRC]import org.apache.ofbiz.party.contact.* [MSG]Wildcard (star) import |
OptionSettings.groovy | NoWildcardImports | 3 | 26 | [SRC]import org.apache.ofbiz.product.store.* [MSG]Wildcard (star) import |
OptionSettings.groovy | UnnecessaryGString | 3 | 28 | [SRC]shoppingCart = session.getAttribute("shoppingCart") [MSG]The String 'shoppingCart' can be wrapped in single quotes instead of double quotes |
OptionSettings.groovy | UnnecessaryGString | 3 | 39 | [SRC]request.removeAttribute("_EVENT_MESSAGE_") [MSG]The String '_EVENT_MESSAGE_' can be wrapped in single quotes instead of double quotes |
OptionSettings.groovy | UnnecessaryGString | 3 | 42 | [SRC]partyId = session.getAttribute("orderPartyId") [MSG]The String 'orderPartyId' can be wrapped in single quotes instead of double quotes |
OptionSettings.groovy | UnnecessaryGString | 3 | 44 | [SRC]party = from("Party").where("partyId", partyId).queryOne() [MSG]The String 'Party' can be wrapped in single quotes instead of double quotes |
OptionSettings.groovy | UnnecessaryGString | 3 | 44 | [SRC]party = from("Party").where("partyId", partyId).queryOne() [MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes |
OptionSettings.groovy | UnnecessaryGString | 3 | 48 | [SRC]context.emailList = ContactHelper.getContactMechByType(..ESS", false) [MSG]The String 'EMAIL_ADDRESS' can be wrapped in single quotes instead of double quotes |
OrderHistory.groovy | NoWildcardImports | 3 | 21 | [SRC]import org.apache.ofbiz.base.util.* [MSG]Wildcard (star) import |
OrderHistory.groovy | NoWildcardImports | 3 | 22 | [SRC]import org.apache.ofbiz.entity.* [MSG]Wildcard (star) import |
OrderHistory.groovy | NoWildcardImports | 3 | 23 | [SRC]import org.apache.ofbiz.entity.util.* [MSG]Wildcard (star) import |
OrderHistory.groovy | NoWildcardImports | 3 | 24 | [SRC]import org.apache.ofbiz.entity.condition.* [MSG]Wildcard (star) import |
OrderHistory.groovy | UnnecessaryGString | 3 | 26 | [SRC]partyRole = from("PartyRole").where("partyId", userLogin..).queryOne() [MSG]The String 'PartyRole' can be wrapped in single quotes instead of double quotes |
OrderHistory.groovy | UnnecessaryGString | 3 | 26 | [SRC]partyRole = from("PartyRole").where("partyId", userLogin..).queryOne() [MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes |
OrderHistory.groovy | UnnecessaryGString | 3 | 26 | [SRC]partyRole = from("PartyRole").where("partyId", userLogin..).queryOne() [MSG]The String 'roleTypeId' can be wrapped in single quotes instead of double quotes |
OrderHistory.groovy | UnnecessaryGString | 3 | 26 | [SRC]partyRole = from("PartyRole").where("partyId", userLogin..).queryOne() [MSG]The String 'SUPPLIER' can be wrapped in single quotes instead of double quotes |
OrderHistory.groovy | UnnecessaryGString | 3 | 28 | [SRC]if ("SUPPLIER".equals(partyRole.roleTypeId)) { [MSG]The String 'SUPPLIER' can be wrapped in single quotes instead of double quotes |
OrderHistory.groovy | UnnecessaryGString | 3 | 30 | [SRC]porderRoleCollection = from("OrderRole").where("partyId"...queryList() [MSG]The String 'OrderRole' can be wrapped in single quotes instead of double quotes |
OrderHistory.groovy | UnnecessaryGString | 3 | 30 | [SRC]porderRoleCollection = from("OrderRole").where("partyId"...queryList() [MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes |
OrderHistory.groovy | UnnecessaryGString | 3 | 30 | [SRC]porderRoleCollection = from("OrderRole").where("partyId"...queryList() [MSG]The String 'roleTypeId' can be wrapped in single quotes instead of double quotes |
OrderHistory.groovy | UnnecessaryGString | 3 | 30 | [SRC]porderRoleCollection = from("OrderRole").where("partyId"...queryList() [MSG]The String 'SUPPLIER_AGENT' can be wrapped in single quotes instead of double quotes |
OrderHistory.groovy | UnnecessaryGString | 3 | 31 | [SRC]porderHeaderList = EntityUtil.orderBy(EntityUtil.filterB..ion, false), [MSG]The String 'OrderHeader' can be wrapped in single quotes instead of double quotes |
OrderHistory.groovy | UnnecessaryGString | 3 | 32 | [SRC][EntityCondition.makeCondition("statusId", EntityOperato.._REJECTED"), [MSG]The String 'statusId' can be wrapped in single quotes instead of double quotes |
OrderHistory.groovy | UnnecessaryGString | 3 | 32 | [SRC][EntityCondition.makeCondition("statusId", EntityOperato.._REJECTED"), [MSG]The String 'ORDER_REJECTED' can be wrapped in single quotes instead of double quotes |
OrderHistory.groovy | UnnecessaryGString | 3 | 33 | [SRC]EntityCondition.makeCondition("orderTypeId", EntityOpera..E_ORDER")]), [MSG]The String 'orderTypeId' can be wrapped in single quotes instead of double quotes |
OrderHistory.groovy | UnnecessaryGString | 3 | 33 | [SRC]EntityCondition.makeCondition("orderTypeId", EntityOpera..E_ORDER")]), [MSG]The String 'PURCHASE_ORDER' can be wrapped in single quotes instead of double quotes |
OrderHistory.groovy | UnnecessaryGString | 3 | 34 | [SRC]["orderDate DESC"]) [MSG]The String 'orderDate DESC' can be wrapped in single quotes instead of double quotes |
OrderHistory.groovy | UnnecessaryGString | 3 | 38 | [SRC]orderRoleCollection = from("OrderRole").where("partyId",...queryList() [MSG]The String 'OrderRole' can be wrapped in single quotes instead of double quotes |
OrderHistory.groovy | UnnecessaryGString | 3 | 38 | [SRC]orderRoleCollection = from("OrderRole").where("partyId",...queryList() [MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes |
OrderHistory.groovy | UnnecessaryGString | 3 | 38 | [SRC]orderRoleCollection = from("OrderRole").where("partyId",...queryList() [MSG]The String 'roleTypeId' can be wrapped in single quotes instead of double quotes |
OrderHistory.groovy | UnnecessaryGString | 3 | 38 | [SRC]orderRoleCollection = from("OrderRole").where("partyId",...queryList() [MSG]The String 'PLACING_CUSTOMER' can be wrapped in single quotes instead of double quotes |
OrderHistory.groovy | UnnecessaryGString | 3 | 39 | [SRC]orderHeaderList = EntityUtil.orderBy(EntityUtil.filterBy..ion, false), [MSG]The String 'OrderHeader' can be wrapped in single quotes instead of double quotes |
OrderHistory.groovy | UnnecessaryGString | 3 | 40 | [SRC][EntityCondition.makeCondition("statusId", EntityOperato..Date DESC"]) [MSG]The String 'statusId' can be wrapped in single quotes instead of double quotes |
OrderHistory.groovy | UnnecessaryGString | 3 | 40 | [SRC][EntityCondition.makeCondition("statusId", EntityOperato..Date DESC"]) [MSG]The String 'ORDER_REJECTED' can be wrapped in single quotes instead of double quotes |
OrderHistory.groovy | UnnecessaryGString | 3 | 40 | [SRC][EntityCondition.makeCondition("statusId", EntityOperato..Date DESC"]) [MSG]The String 'orderDate DESC' can be wrapped in single quotes instead of double quotes |
OrderHistory.groovy | UnnecessaryGString | 3 | 43 | [SRC]downloadOrderRoleAndProductContentInfoList = from("Order...queryList() [MSG]The String 'OrderRoleAndProductContentInfo' can be wrapped in single quotes instead of double quotes |
OrderHistory.groovy | UnnecessaryGString | 3 | 43 | [SRC]downloadOrderRoleAndProductContentInfoList = from("Order...queryList() [MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes |
OrderHistory.groovy | UnnecessaryGString | 3 | 43 | [SRC]downloadOrderRoleAndProductContentInfoList = from("Order...queryList() [MSG]The String 'roleTypeId' can be wrapped in single quotes instead of double quotes |
OrderHistory.groovy | UnnecessaryGString | 3 | 43 | [SRC]downloadOrderRoleAndProductContentInfoList = from("Order...queryList() [MSG]The String 'PLACING_CUSTOMER' can be wrapped in single quotes instead of double quotes |
OrderHistory.groovy | UnnecessaryGString | 3 | 43 | [SRC]downloadOrderRoleAndProductContentInfoList = from("Order...queryList() [MSG]The String 'productContentTypeId' can be wrapped in single quotes instead of double quotes |
OrderHistory.groovy | UnnecessaryGString | 3 | 43 | [SRC]downloadOrderRoleAndProductContentInfoList = from("Order...queryList() [MSG]The String 'DIGITAL_DOWNLOAD' can be wrapped in single quotes instead of double quotes |
OrderHistory.groovy | UnnecessaryGString | 3 | 43 | [SRC]downloadOrderRoleAndProductContentInfoList = from("Order...queryList() [MSG]The String 'statusId' can be wrapped in single quotes instead of double quotes |
OrderHistory.groovy | UnnecessaryGString | 3 | 43 | [SRC]downloadOrderRoleAndProductContentInfoList = from("Order...queryList() [MSG]The String 'ITEM_COMPLETED' can be wrapped in single quotes instead of double quotes |
OrderList.groovy | ImportFromSamePackage | 3 | 23 | [SRC]import org.apache.ofbiz.order.order.OrderListState |
OrderStatus.groovy | UnnecessaryGroovyImport | 3 | 21 | [SRC]import java.math.BigDecimal |
OrderStatus.groovy | UnusedImport | 3 | 21 | [SRC]import java.math.BigDecimal [MSG]The [java.math.BigDecimal] import is never referenced |
OrderStatus.groovy | NoWildcardImports | 3 | 22 | [SRC]import org.apache.ofbiz.base.util.* [MSG]Wildcard (star) import |
OrderStatus.groovy | NoWildcardImports | 3 | 23 | [SRC]import org.apache.ofbiz.entity.* [MSG]Wildcard (star) import |
OrderStatus.groovy | NoWildcardImports | 3 | 24 | [SRC]import org.apache.ofbiz.entity.condition.* [MSG]Wildcard (star) import |
OrderStatus.groovy | NoWildcardImports | 3 | 25 | [SRC]import org.apache.ofbiz.entity.util.* [MSG]Wildcard (star) import |
OrderStatus.groovy | NoWildcardImports | 3 | 26 | [SRC]import org.apache.ofbiz.accounting.payment.* [MSG]Wildcard (star) import |
OrderStatus.groovy | NoWildcardImports | 3 | 27 | [SRC]import org.apache.ofbiz.order.order.* [MSG]Wildcard (star) import |
OrderStatus.groovy | NoWildcardImports | 3 | 28 | [SRC]import org.apache.ofbiz.party.contact.* [MSG]Wildcard (star) import |
OrderStatus.groovy | NoWildcardImports | 3 | 29 | [SRC]import org.apache.ofbiz.product.catalog.* [MSG]Wildcard (star) import |
OrderStatus.groovy | NoWildcardImports | 3 | 30 | [SRC]import org.apache.ofbiz.product.store.* [MSG]Wildcard (star) import |
OrderStatus.groovy | UnnecessaryGString | 3 | 41 | [SRC]orderHeader = from("OrderHeader").where("orderId", orderId).queryOne() [MSG]The String 'OrderHeader' can be wrapped in single quotes instead of double quotes |
OrderStatus.groovy | UnnecessaryGString | 3 | 41 | [SRC]orderHeader = from("OrderHeader").where("orderId", orderId).queryOne() [MSG]The String 'orderId' can be wrapped in single quotes instead of double quotes |
OrderStatus.groovy | UnnecessaryGString | 3 | 42 | [SRC]orderStatuses = orderHeader.getRelated("OrderStatus", nu..null, false) [MSG]The String 'OrderStatus' can be wrapped in single quotes instead of double quotes |
OrderStatus.groovy | TrailingWhitespace | 3 | 45 | [SRC] [MSG]Line ends with whitespace characters |
OrderStatus.groovy | UnnecessaryGString | 3 | 47 | [SRC]orderPaymentPreferences = orderHeader.getRelated("OrderP..Id"), false) [MSG]The String 'OrderPaymentPreference' can be wrapped in single quotes instead of double quotes |
OrderStatus.groovy | UnnecessaryGString | 3 | 47 | [SRC]orderPaymentPreferences = orderHeader.getRelated("OrderP..Id"), false) [MSG]The String 'orderPaymentPreferenceId' can be wrapped in single quotes instead of double quotes |
OrderStatus.groovy | UnnecessaryGString | 3 | 48 | [SRC]filteredOrderPaymentPreferences = EntityUtil.filterByCon.._OFFLINE"])) [MSG]The String 'paymentMethodTypeId' can be wrapped in single quotes instead of double quotes |
OrderStatus.groovy | UnnecessaryGString | 3 | 48 | [SRC]filteredOrderPaymentPreferences = EntityUtil.filterByCon.._OFFLINE"])) [MSG]The String 'EXT_OFFLINE' can be wrapped in single quotes instead of double quotes |
OrderStatus.groovy | UnnecessaryGString | 3 | 53 | [SRC]filteredOrderStatusList = EntityUtil.filterByCondition(o.._CREATED"])) [MSG]The String 'statusId' can be wrapped in single quotes instead of double quotes |
OrderStatus.groovy | UnnecessaryGString | 3 | 53 | [SRC]filteredOrderStatusList = EntityUtil.filterByCondition(o.._CREATED"])) [MSG]The String 'ORDER_COMPLETED' can be wrapped in single quotes instead of double quotes |
OrderStatus.groovy | UnnecessaryGString | 3 | 53 | [SRC]filteredOrderStatusList = EntityUtil.filterByCondition(o.._CREATED"])) [MSG]The String 'ORDER_APPROVED' can be wrapped in single quotes instead of double quotes |
OrderStatus.groovy | UnnecessaryGString | 3 | 53 | [SRC]filteredOrderStatusList = EntityUtil.filterByCondition(o.._CREATED"])) [MSG]The String 'ORDER_CREATED' can be wrapped in single quotes instead of double quotes |
OrderStatus.groovy | UnnecessaryGString | 3 | 55 | [SRC]filteredOrderStatusList = EntityUtil.filterByCondition(o..APPROVED"])) [MSG]The String 'statusId' can be wrapped in single quotes instead of double quotes |
OrderStatus.groovy | UnnecessaryGString | 3 | 55 | [SRC]filteredOrderStatusList = EntityUtil.filterByCondition(o..APPROVED"])) [MSG]The String 'ORDER_COMPLETED' can be wrapped in single quotes instead of double quotes |
OrderStatus.groovy | UnnecessaryGString | 3 | 55 | [SRC]filteredOrderStatusList = EntityUtil.filterByCondition(o..APPROVED"])) [MSG]The String 'ORDER_APPROVED' can be wrapped in single quotes instead of double quotes |
OrderStatus.groovy | TrailingWhitespace | 3 | 56 | [SRC]} [MSG]Line ends with whitespace characters |
OrderStatus.groovy | UnnecessaryGString | 3 | 60 | [SRC]userLogin = from("UserLogin").where("userLoginId", statu..).queryOne() [MSG]The String 'UserLogin' can be wrapped in single quotes instead of double quotes |
OrderStatus.groovy | UnnecessaryGString | 3 | 60 | [SRC]userLogin = from("UserLogin").where("userLoginId", statu..).queryOne() [MSG]The String 'userLoginId' can be wrapped in single quotes instead of double quotes |
OrderStatus.groovy | UnnecessaryGString | 3 | 63 | [SRC]if ("ORDER_COMPLETED".equals(orderStatus.statusId)) { [MSG]The String 'ORDER_COMPLETED' can be wrapped in single quotes instead of double quotes |
OrderStatus.groovy | UnnecessaryGString | 3 | 65 | [SRC]userLogin = from("UserLogin").where("userLoginId", statu..).queryOne() [MSG]The String 'UserLogin' can be wrapped in single quotes instead of double quotes |
OrderStatus.groovy | UnnecessaryGString | 3 | 65 | [SRC]userLogin = from("UserLogin").where("userLoginId", statu..).queryOne() [MSG]The String 'userLoginId' can be wrapped in single quotes instead of double quotes |
OrderStatus.groovy | CouldBeElvis | 3 | 80 | [SRC]if (!partyId) { [MSG]Code could use elvis operator: partyId = partyId ?: userLogin.partyId |
OrderStatus.groovy | UnnecessaryGString | 3 | 90 | [SRC]orderHeader = from("OrderHeader").where("orderId", orderId).queryOne() [MSG]The String 'OrderHeader' can be wrapped in single quotes instead of double quotes |
OrderStatus.groovy | UnnecessaryGString | 3 | 90 | [SRC]orderHeader = from("OrderHeader").where("orderId", orderId).queryOne() [MSG]The String 'orderId' can be wrapped in single quotes instead of double quotes |
OrderStatus.groovy | UnnecessaryGString | 3 | 91 | [SRC]if ("PURCHASE_ORDER".equals(orderHeader?.orderTypeId)) { [MSG]The String 'PURCHASE_ORDER' can be wrapped in single quotes instead of double quotes |
OrderStatus.groovy | UnnecessaryGString | 3 | 93 | [SRC]roleTypeId = "SUPPLIER_AGENT" [MSG]The String 'SUPPLIER_AGENT' can be wrapped in single quotes instead of double quotes |
OrderStatus.groovy | UnnecessaryGString | 3 | 96 | [SRC]roleTypeId = "PLACING_CUSTOMER" [MSG]The String 'PLACING_CUSTOMER' can be wrapped in single quotes instead of double quotes |
OrderStatus.groovy | UnnecessaryGString | 3 | 101 | [SRC]if (orderHeader && (!"anonymous".equals(orderHeader.crea..usView)))) { [MSG]The String 'anonymous' can be wrapped in single quotes instead of double quotes |
OrderStatus.groovy | UnnecessaryGString | 3 | 101 | [SRC]if (orderHeader && (!"anonymous".equals(orderHeader.crea..usView)))) { [MSG]The String 'anonymous' can be wrapped in single quotes instead of double quotes |
OrderStatus.groovy | UnnecessaryGString | 3 | 101 | [SRC]if (orderHeader && (!"anonymous".equals(orderHeader.crea..usView)))) { [MSG]The String 'Y' can be wrapped in single quotes instead of double quotes |
OrderStatus.groovy | UnnecessaryGString | 3 | 102 | [SRC]orderRole = from("OrderRole").where("orderId", orderId, ..queryFirst() [MSG]The String 'OrderRole' can be wrapped in single quotes instead of double quotes |
OrderStatus.groovy | UnnecessaryGString | 3 | 102 | [SRC]orderRole = from("OrderRole").where("orderId", orderId, ..queryFirst() [MSG]The String 'orderId' can be wrapped in single quotes instead of double quotes |
OrderStatus.groovy | UnnecessaryGString | 3 | 102 | [SRC]orderRole = from("OrderRole").where("orderId", orderId, ..queryFirst() [MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes |
OrderStatus.groovy | UnnecessaryGString | 3 | 102 | [SRC]orderRole = from("OrderRole").where("orderId", orderId, ..queryFirst() [MSG]The String 'roleTypeId' can be wrapped in single quotes instead of double quotes |
OrderStatus.groovy | UnnecessaryGString | 3 | 105 | [SRC]context.remove("orderHeader") [MSG]The String 'orderHeader' can be wrapped in single quotes instead of double quotes |
OrderStatus.groovy | UnnecessaryGString | 3 | 107 | [SRC]logWarning("Warning: in OrderStatus.groovy before gettin..Id")) + "]") [MSG]The String 'Warning: in OrderStatus.groovy before getting order detail info: role not found or user not logged in; partyId=[' can be wrapped in single quotes instead of double quotes |
OrderStatus.groovy | UnnecessaryGString | 3 | 107 | [SRC]logWarning("Warning: in OrderStatus.groovy before gettin..Id")) + "]") [MSG]The String '], userLoginId=[' can be wrapped in single quotes instead of double quotes |
OrderStatus.groovy | UnnecessaryGString | 3 | 107 | [SRC]logWarning("Warning: in OrderStatus.groovy before gettin..Id")) + "]") [MSG]The String 'null' can be wrapped in single quotes instead of double quotes |
OrderStatus.groovy | UnnecessaryGString | 3 | 107 | [SRC]logWarning("Warning: in OrderStatus.groovy before gettin..Id")) + "]") [MSG]The String 'userLoginId' can be wrapped in single quotes instead of double quotes |
OrderStatus.groovy | UnnecessaryGString | 3 | 107 | [SRC]logWarning("Warning: in OrderStatus.groovy before gettin..Id")) + "]") [MSG]The String ']' can be wrapped in single quotes instead of double quotes |
OrderStatus.groovy | UnnecessaryGString | 3 | 113 | [SRC]productStore = orderHeader.getRelatedOne("ProductStore", true) [MSG]The String 'ProductStore' can be wrapped in single quotes instead of double quotes |
OrderStatus.groovy | UnnecessaryGString | 3 | 114 | [SRC]if (productStore) isDemoStore = !"N".equals(productStore.isDemoStore) [MSG]The String 'N' can be wrapped in single quotes instead of double quotes |
OrderStatus.groovy | UnnecessaryGString | 3 | 130 | [SRC]placingCustomerOrderRole = from("OrderRole").where("orde..queryFirst() [MSG]The String 'OrderRole' can be wrapped in single quotes instead of double quotes |
OrderStatus.groovy | UnnecessaryGString | 3 | 130 | [SRC]placingCustomerOrderRole = from("OrderRole").where("orde..queryFirst() [MSG]The String 'orderId' can be wrapped in single quotes instead of double quotes |
OrderStatus.groovy | UnnecessaryGString | 3 | 130 | [SRC]placingCustomerOrderRole = from("OrderRole").where("orde..queryFirst() [MSG]The String 'roleTypeId' can be wrapped in single quotes instead of double quotes |
OrderStatus.groovy | UnnecessaryGString | 3 | 131 | [SRC]placingCustomerPerson = placingCustomerOrderRole == null..).queryOne() [MSG]The String 'Person' can be wrapped in single quotes instead of double quotes |
OrderStatus.groovy | UnnecessaryGString | 3 | 131 | [SRC]placingCustomerPerson = placingCustomerOrderRole == null..).queryOne() [MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes |
OrderStatus.groovy | UnnecessaryGString | 3 | 133 | [SRC]billingAccount = orderHeader.getRelatedOne("BillingAccount", false) [MSG]The String 'BillingAccount' can be wrapped in single quotes instead of double quotes |
OrderStatus.groovy | UnnecessaryGString | 3 | 135 | [SRC]orderPaymentPreferences = EntityUtil.filterByAnd(orderHe..ANCELLED")]) [MSG]The String 'OrderPaymentPreference' can be wrapped in single quotes instead of double quotes |
OrderStatus.groovy | UnnecessaryGString | 3 | 135 | [SRC]orderPaymentPreferences = EntityUtil.filterByAnd(orderHe..ANCELLED")]) [MSG]The String 'statusId' can be wrapped in single quotes instead of double quotes |
OrderStatus.groovy | UnnecessaryGString | 3 | 135 | [SRC]orderPaymentPreferences = EntityUtil.filterByAnd(orderHe..ANCELLED")]) [MSG]The String 'PAYMENT_CANCELLED' can be wrapped in single quotes instead of double quotes |
OrderStatus.groovy | UnnecessaryGString | 3 | 138 | [SRC]paymentMethod = opp.getRelatedOne("PaymentMethod", false) [MSG]The String 'PaymentMethod' can be wrapped in single quotes instead of double quotes |
OrderStatus.groovy | UnnecessaryGString | 3 | 142 | [SRC]paymentMethodType = opp.getRelatedOne("PaymentMethodType", false) [MSG]The String 'PaymentMethodType' can be wrapped in single quotes instead of double quotes |
OrderStatus.groovy | SpaceAfterComma | 3 | 154 | [SRC]orderShipmentInfoSummaryList = select("shipmentId", "shi.."boxNumber") [MSG]The parameter shipmentPackageSeqId in the call to method select within class org.apache.ofbiz.ecommerce.order.None is not preceded by a space or whitespace |
OrderStatus.groovy | SpaceAfterComma | 3 | 154 | [SRC]orderShipmentInfoSummaryList = select("shipmentId", "shi.."boxNumber") [MSG]The parameter trackingCode in the call to method select within class org.apache.ofbiz.ecommerce.order.None is not preceded by a space or whitespace |
OrderStatus.groovy | SpaceAfterComma | 3 | 154 | [SRC]orderShipmentInfoSummaryList = select("shipmentId", "shi.."boxNumber") [MSG]The parameter boxNumber in the call to method select within class org.apache.ofbiz.ecommerce.order.None is not preceded by a space or whitespace |
OrderStatus.groovy | UnnecessaryGString | 3 | 154 | [SRC]orderShipmentInfoSummaryList = select("shipmentId", "shi.."boxNumber") [MSG]The String 'shipmentId' can be wrapped in single quotes instead of double quotes |
OrderStatus.groovy | UnnecessaryGString | 3 | 154 | [SRC]orderShipmentInfoSummaryList = select("shipmentId", "shi.."boxNumber") [MSG]The String 'shipmentRouteSegmentId' can be wrapped in single quotes instead of double quotes |
OrderStatus.groovy | UnnecessaryGString | 3 | 154 | [SRC]orderShipmentInfoSummaryList = select("shipmentId", "shi.."boxNumber") [MSG]The String 'carrierPartyId' can be wrapped in single quotes instead of double quotes |
OrderStatus.groovy | UnnecessaryGString | 3 | 154 | [SRC]orderShipmentInfoSummaryList = select("shipmentId", "shi.."boxNumber") [MSG]The String 'shipmentMethodTypeId' can be wrapped in single quotes instead of double quotes |
OrderStatus.groovy | UnnecessaryGString | 3 | 154 | [SRC]orderShipmentInfoSummaryList = select("shipmentId", "shi.."boxNumber") [MSG]The String 'shipmentPackageSeqId' can be wrapped in single quotes instead of double quotes |
OrderStatus.groovy | UnnecessaryGString | 3 | 154 | [SRC]orderShipmentInfoSummaryList = select("shipmentId", "shi.."boxNumber") [MSG]The String 'trackingCode' can be wrapped in single quotes instead of double quotes |
OrderStatus.groovy | UnnecessaryGString | 3 | 154 | [SRC]orderShipmentInfoSummaryList = select("shipmentId", "shi.."boxNumber") [MSG]The String 'boxNumber' can be wrapped in single quotes instead of double quotes |
OrderStatus.groovy | UnnecessaryGString | 3 | 155 | [SRC].from("OrderShipmentInfoSummary") [MSG]The String 'OrderShipmentInfoSummary' can be wrapped in single quotes instead of double quotes |
OrderStatus.groovy | UnnecessaryGString | 3 | 156 | [SRC].where("orderId", orderId) [MSG]The String 'orderId' can be wrapped in single quotes instead of double quotes |
OrderStatus.groovy | UnnecessaryGString | 3 | 157 | [SRC].orderBy("shipmentId", "shipmentRouteSegmentId", "shipme..ckageSeqId") [MSG]The String 'shipmentId' can be wrapped in single quotes instead of double quotes |
OrderStatus.groovy | UnnecessaryGString | 3 | 157 | [SRC].orderBy("shipmentId", "shipmentRouteSegmentId", "shipme..ckageSeqId") [MSG]The String 'shipmentRouteSegmentId' can be wrapped in single quotes instead of double quotes |
OrderStatus.groovy | UnnecessaryGString | 3 | 157 | [SRC].orderBy("shipmentId", "shipmentRouteSegmentId", "shipme..ckageSeqId") [MSG]The String 'shipmentPackageSeqId' can be wrapped in single quotes instead of double quotes |
OrderStatus.groovy | UnnecessaryGString | 3 | 164 | [SRC]if (correspondingPoId && !"(none)".equals(correspondingPoId)) { [MSG]The String '(none)' can be wrapped in single quotes instead of double quotes |
OrderStatus.groovy | UnnecessaryGString | 3 | 174 | [SRC]ritems = oitem.getRelated("ReturnItem", null, null, false) [MSG]The String 'ReturnItem' can be wrapped in single quotes instead of double quotes |
OrderStatus.groovy | UnnecessaryGString | 3 | 176 | [SRC]rh = ritem.getRelatedOne("ReturnHeader", false) [MSG]The String 'ReturnHeader' can be wrapped in single quotes instead of double quotes |
OrderStatus.groovy | UnnecessaryGString | 3 | 177 | [SRC]if (!"RETURN_CANCELLED".equals(rh.statusId)) { [MSG]The String 'RETURN_CANCELLED' can be wrapped in single quotes instead of double quotes |
OrderStatus.groovy | UnnecessaryGString | 3 | 184 | [SRC]context.returnLink = "Y" [MSG]The String 'Y' can be wrapped in single quotes instead of double quotes |
OrderStatus.groovy | UnnecessaryObjectReferences | 3 | 195 | [SRC]context.headerAdjustmentsToShow = headerAdjustmentsToShow [MSG]The code could be more concise by using a with() or identity() block |
OrderStatus.groovy | UnnecessaryObjectReferences | 3 | 196 | [SRC]context.currencyUomId = orderReadHelper.getCurrency() [MSG]The code could be more concise by using a with() or identity() block |
OrderStatus.groovy | UnnecessaryObjectReferences | 3 | 198 | [SRC]context.orderShippingTotal = orderShippingTotal [MSG]The code could be more concise by using a with() or identity() block |
OrderStatus.groovy | UnnecessaryObjectReferences | 3 | 199 | [SRC]context.orderTaxTotal = orderTaxTotal [MSG]The code could be more concise by using a with() or identity() block |
OrderStatus.groovy | UnnecessaryObjectReferences | 3 | 200 | [SRC]context.orderGrandTotal = OrderReadHelper.getOrderGrandT..Adjustments) [MSG]The code could be more concise by using a with() or identity() block |
OrderStatus.groovy | UnnecessaryObjectReferences | 3 | 201 | [SRC]context.placingCustomerPerson = placingCustomerPerson [MSG]The code could be more concise by using a with() or identity() block |
OrderStatus.groovy | UnnecessaryObjectReferences | 3 | 203 | [SRC]context.billingAccount = billingAccount [MSG]The code could be more concise by using a with() or identity() block |
OrderStatus.groovy | UnnecessaryObjectReferences | 3 | 204 | [SRC]context.paymentMethods = paymentMethods [MSG]The code could be more concise by using a with() or identity() block |
OrderStatus.groovy | UnnecessaryObjectReferences | 3 | 206 | [SRC]context.productStore = productStore [MSG]The code could be more concise by using a with() or identity() block |
OrderStatus.groovy | UnnecessaryObjectReferences | 3 | 207 | [SRC]context.isDemoStore = isDemoStore [MSG]The code could be more concise by using a with() or identity() block |
OrderStatus.groovy | UnnecessaryObjectReferences | 3 | 209 | [SRC]context.orderShipmentInfoSummaryList = orderShipmentInfoSummaryList [MSG]The code could be more concise by using a with() or identity() block |
OrderStatus.groovy | UnnecessaryObjectReferences | 3 | 210 | [SRC]context.customerPoNumberSet = customerPoNumberSet [MSG]The code could be more concise by using a with() or identity() block |
OrderStatus.groovy | UnnecessaryGString | 3 | 212 | [SRC]orderItemChangeReasons = from("Enumeration").where("enum...queryList() [MSG]The String 'Enumeration' can be wrapped in single quotes instead of double quotes |
OrderStatus.groovy | UnnecessaryGString | 3 | 212 | [SRC]orderItemChangeReasons = from("Enumeration").where("enum...queryList() [MSG]The String 'enumTypeId' can be wrapped in single quotes instead of double quotes |
OrderStatus.groovy | UnnecessaryGString | 3 | 212 | [SRC]orderItemChangeReasons = from("Enumeration").where("enum...queryList() [MSG]The String 'ODR_ITM_CH_REASON' can be wrapped in single quotes instead of double quotes |
OrderView.groovy | ImportFromSamePackage | 3 | 29 | [SRC]import org.apache.ofbiz.order.order.OrderReadHelper |
OrderViewWebSecure.groovy | ImportFromSamePackage | 3 | 21 | [SRC]import org.apache.ofbiz.order.order.OrderContentWrapper |
OwnerContentPrep.groovy | NoWildcardImports | 3 | 21 | [SRC]import org.apache.ofbiz.base.util.* [MSG]Wildcard (star) import |
OwnerContentPrep.groovy | NoWildcardImports | 3 | 22 | [SRC]import org.apache.ofbiz.entity.* [MSG]Wildcard (star) import |
OwnerContentPrep.groovy | NoWildcardImports | 3 | 23 | [SRC]import org.apache.ofbiz.security.* [MSG]Wildcard (star) import |
OwnerContentPrep.groovy | NoWildcardImports | 3 | 24 | [SRC]import org.apache.ofbiz.service.* [MSG]Wildcard (star) import |
OwnerContentPrep.groovy | NoWildcardImports | 3 | 25 | [SRC]import org.apache.ofbiz.entity.model.* [MSG]Wildcard (star) import |
OwnerContentPrep.groovy | UnusedImport | 3 | 26 | [SRC]import org.apache.ofbiz.content.data.DataResourceWorker [MSG]The [org.apache.ofbiz.content.data.DataResourceWorker] import is never referenced |
OwnerContentPrep.groovy | UnusedImport | 3 | 27 | [SRC]import org.apache.ofbiz.webapp.ftl.FreeMarkerViewHandler [MSG]The [org.apache.ofbiz.webapp.ftl.FreeMarkerViewHandler] import is never referenced |
OwnerContentPrep.groovy | UnusedImport | 3 | 28 | [SRC]import org.apache.ofbiz.content.content.ContentWorker [MSG]The [org.apache.ofbiz.content.content.ContentWorker] import is never referenced |
OwnerContentPrep.groovy | UnnecessaryGroovyImport | 3 | 31 | [SRC]import java.io.StringWriter |
OwnerContentPrep.groovy | UnusedImport | 3 | 31 | [SRC]import java.io.StringWriter [MSG]The [java.io.StringWriter] import is never referenced |
OwnerContentPrep.groovy | UnusedImport | 3 | 32 | [SRC]import freemarker.ext.beans.BeansWrapper [MSG]The [freemarker.ext.beans.BeansWrapper] import is never referenced |
OwnerContentPrep.groovy | UnusedImport | 3 | 33 | [SRC]import freemarker.template.SimpleHash [MSG]The [freemarker.template.SimpleHash] import is never referenced |
OwnerContentPrep.groovy | UnusedImport | 3 | 34 | [SRC]import freemarker.template.WrappingTemplateModel [MSG]The [freemarker.template.WrappingTemplateModel] import is never referenced |
OwnerContentPrep.groovy | NoWildcardImports | 3 | 36 | [SRC]import javax.servlet.* [MSG]Wildcard (star) import |
OwnerContentPrep.groovy | NoWildcardImports | 3 | 37 | [SRC]import javax.servlet.http.* [MSG]Wildcard (star) import |
OwnerContentPrep.groovy | UnnecessaryGString | 3 | 50 | [SRC]departmentPointList = ContentManagementWorker.getPermitt..ATE", null ) [MSG]The String 'CONTENT_CREATE' can be wrapped in single quotes instead of double quotes |
OwnerContentPrep.groovy | UnnecessaryGString | 3 | 69 | [SRC]lineMap2.description = " -" + description2 [MSG]The String ' -' can be wrapped in single quotes instead of double quotes |
OwnerContentPrep.groovy | UnnecessaryGString | 3 | 78 | [SRC]singleWrapper.putInContext("ownerContentList", ownerContentList) [MSG]The String 'ownerContentList' can be wrapped in single quotes instead of double quotes |
OwnerContentPrep.groovy | UnnecessaryGString | 3 | 79 | [SRC]singleWrapper.putInContext("pubPt", pubPt) [MSG]The String 'pubPt' can be wrapped in single quotes instead of double quotes |
PaidOutAndIn.groovy | UnnecessaryGString | 3 | 21 | [SRC]context.paidReasonIn = from("Enumeration").where("enumT...queryList() [MSG]The String 'Enumeration' can be wrapped in single quotes instead of double quotes |
PaidOutAndIn.groovy | UnnecessaryGString | 3 | 21 | [SRC]context.paidReasonIn = from("Enumeration").where("enumT...queryList() [MSG]The String 'enumTypeId' can be wrapped in single quotes instead of double quotes |
PaidOutAndIn.groovy | UnnecessaryGString | 3 | 21 | [SRC]context.paidReasonIn = from("Enumeration").where("enumT...queryList() [MSG]The String 'POS_PAID_REASON_IN' can be wrapped in single quotes instead of double quotes |
PaidOutAndIn.groovy | UnnecessaryGString | 3 | 21 | [SRC]context.paidReasonIn = from("Enumeration").where("enumT...queryList() [MSG]The String 'sequenceId' can be wrapped in single quotes instead of double quotes |
PaidOutAndIn.groovy | UnnecessaryGString | 3 | 22 | [SRC]context.paidReasonOut = from("Enumeration").where("enumT...queryList() [MSG]The String 'Enumeration' can be wrapped in single quotes instead of double quotes |
PaidOutAndIn.groovy | UnnecessaryGString | 3 | 22 | [SRC]context.paidReasonOut = from("Enumeration").where("enumT...queryList() [MSG]The String 'enumTypeId' can be wrapped in single quotes instead of double quotes |
PaidOutAndIn.groovy | UnnecessaryGString | 3 | 22 | [SRC]context.paidReasonOut = from("Enumeration").where("enumT...queryList() [MSG]The String 'POS_PAID_REASON_OUT' can be wrapped in single quotes instead of double quotes |
PaidOutAndIn.groovy | UnnecessaryGString | 3 | 22 | [SRC]context.paidReasonOut = from("Enumeration").where("enumT...queryList() [MSG]The String 'sequenceId' can be wrapped in single quotes instead of double quotes |
PartyInvitationServices.groovy | ImportFromSamePackage | 3 | 21 | [SRC]import org.apache.ofbiz.party.party.PartyHelper |
PartyServicesScript.groovy | ImportFromSamePackage | 3 | 32 | [SRC]import org.apache.ofbiz.party.party.PartyHelper |
PaymentInformation.groovy | NoWildcardImports | 3 | 21 | [SRC]import org.apache.ofbiz.entity.* [MSG]Wildcard (star) import |
PaymentInformation.groovy | NoWildcardImports | 3 | 22 | [SRC]import org.apache.ofbiz.entity.util.* [MSG]Wildcard (star) import |
PaymentInformation.groovy | NoWildcardImports | 3 | 23 | [SRC]import org.apache.ofbiz.base.util.* [MSG]Wildcard (star) import |
PaymentInformation.groovy | NoWildcardImports | 3 | 24 | [SRC]import org.apache.ofbiz.accounting.payment.* [MSG]Wildcard (star) import |
PaymentInformation.groovy | NoWildcardImports | 3 | 25 | [SRC]import org.apache.ofbiz.order.shoppingcart.* [MSG]Wildcard (star) import |
PaymentInformation.groovy | NoWildcardImports | 3 | 26 | [SRC]import org.apache.ofbiz.party.contact.* [MSG]Wildcard (star) import |
PaymentInformation.groovy | CouldBeElvis | 3 | 34 | [SRC]if (!partyId) { [MSG]Code could use elvis operator: partyId = partyId ?: userLogin.partyId |
PaymentInformation.groovy | UnnecessaryGString | 3 | 39 | [SRC]if (partyId && !"_NA_".equals(partyId)) { [MSG]The String '_NA_' can be wrapped in single quotes instead of double quotes |
PaymentInformation.groovy | UnnecessaryGString | 3 | 40 | [SRC]party = from("Party").where("partyId", partyId).queryOne() [MSG]The String 'Party' can be wrapped in single quotes instead of double quotes |
PaymentInformation.groovy | UnnecessaryGString | 3 | 40 | [SRC]party = from("Party").where("partyId", partyId).queryOne() [MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes |
PaymentInformation.groovy | UnnecessaryGString | 3 | 41 | [SRC]person = party.getRelatedOne("Person", false) [MSG]The String 'Person' can be wrapped in single quotes instead of double quotes |
PaymentInformation.groovy | UnnecessaryGString | 3 | 47 | [SRC]request.removeAttribute("_EVENT_MESSAGE_") [MSG]The String '_EVENT_MESSAGE_' can be wrapped in single quotes instead of double quotes |
PaymentInformation.groovy | UnnecessaryGString | 3 | 51 | [SRC]postalAddress = from("PostalAddress").where("contactMech..).queryOne() [MSG]The String 'PostalAddress' can be wrapped in single quotes instead of double quotes |
PaymentInformation.groovy | UnnecessaryGString | 3 | 51 | [SRC]postalAddress = from("PostalAddress").where("contactMech..).queryOne() [MSG]The String 'contactMechId' can be wrapped in single quotes instead of double quotes |
PaymentInformation.groovy | UnnecessaryGString | 3 | 52 | [SRC]context.useEntityFields = "Y" [MSG]The String 'Y' can be wrapped in single quotes instead of double quotes |
PaymentInformation.groovy | UnnecessaryGString | 3 | 56 | [SRC]partyContactMech = from("PartyContactMech").where("party..queryFirst() [MSG]The String 'PartyContactMech' can be wrapped in single quotes instead of double quotes |
PaymentInformation.groovy | UnnecessaryGString | 3 | 56 | [SRC]partyContactMech = from("PartyContactMech").where("party..queryFirst() [MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes |
PaymentInformation.groovy | UnnecessaryGString | 3 | 56 | [SRC]partyContactMech = from("PartyContactMech").where("party..queryFirst() [MSG]The String 'contactMechId' can be wrapped in single quotes instead of double quotes |
PaymentInformation.groovy | UnnecessaryGString | 3 | 56 | [SRC]partyContactMech = from("PartyContactMech").where("party..queryFirst() [MSG]The String '-fromDate' can be wrapped in single quotes instead of double quotes |
PaymentInformation.groovy | UnnecessaryGString | 3 | 68 | [SRC]if ("CREDIT_CARD".equals(paymentMethod?.paymentMethodTypeId)) { [MSG]The String 'CREDIT_CARD' can be wrapped in single quotes instead of double quotes |
PaymentInformation.groovy | UnnecessaryGString | 3 | 69 | [SRC]account = paymentMethod.getRelatedOne("CreditCard", false) [MSG]The String 'CreditCard' can be wrapped in single quotes instead of double quotes |
PaymentInformation.groovy | UnnecessaryGString | 3 | 71 | [SRC]context.paymentMethodTypeId = "CREDIT_CARD" [MSG]The String 'CREDIT_CARD' can be wrapped in single quotes instead of double quotes |
PaymentInformation.groovy | UnnecessaryGString | 3 | 72 | [SRC]} else if ("EFT_ACCOUNT".equals(paymentMethod?.paymentMethodTypeId)) { [MSG]The String 'EFT_ACCOUNT' can be wrapped in single quotes instead of double quotes |
PaymentInformation.groovy | UnnecessaryGString | 3 | 73 | [SRC]account = paymentMethod.getRelatedOne("EftAccount", false) [MSG]The String 'EftAccount' can be wrapped in single quotes instead of double quotes |
PaymentInformation.groovy | UnnecessaryGString | 3 | 75 | [SRC]context.paymentMethodTypeId = "EFT_ACCOUNT" [MSG]The String 'EFT_ACCOUNT' can be wrapped in single quotes instead of double quotes |
PaymentInformation.groovy | UnnecessaryGString | 3 | 76 | [SRC]} else if ("GIFT_CARD".equals(paymentMethod?.paymentMethodTypeId)) { [MSG]The String 'GIFT_CARD' can be wrapped in single quotes instead of double quotes |
PaymentInformation.groovy | UnnecessaryGString | 3 | 77 | [SRC]account = paymentMethod.getRelatedOne("GiftCard", false) [MSG]The String 'GiftCard' can be wrapped in single quotes instead of double quotes |
PaymentInformation.groovy | UnnecessaryGString | 3 | 79 | [SRC]context.paymentMethodTypeId = "GIFT_CARD" [MSG]The String 'GIFT_CARD' can be wrapped in single quotes instead of double quotes |
PaymentInformation.groovy | UnnecessaryGString | 3 | 80 | [SRC]context.addGiftCard = "Y" [MSG]The String 'Y' can be wrapped in single quotes instead of double quotes |
PaymentInformation.groovy | UnnecessaryGString | 3 | 82 | [SRC]context.paymentMethodTypeId = "EXT_OFFLINE" [MSG]The String 'EXT_OFFLINE' can be wrapped in single quotes instead of double quotes |
PaymentInformation.groovy | UnnecessaryGString | 3 | 85 | [SRC]address = account.getRelatedOne("PostalAddress", false) [MSG]The String 'PostalAddress' can be wrapped in single quotes instead of double quotes |
PaymentInformation.groovy | InvertedIfElse | 3 | 92 | [SRC]if (!parameters.useShipAddr) { [MSG]Testing the negative condition first can make an if statement confusing |
PaymentInformation.groovy | UnnecessaryGString | 3 | 98 | [SRC]context.useShipAddr = "Y" [MSG]The String 'Y' can be wrapped in single quotes instead of double quotes |
PaymentInformation.groovy | Indentation | 3 | 116 | [SRC]context.callSubmitForm = true [MSG]The statement on line 116 in class org.apache.ofbiz.ecommerce.order.None is at the incorrect indent level: Expected column 9 but was 8 |
PaymentOptions.groovy | NoWildcardImports | 3 | 21 | [SRC]import org.apache.ofbiz.order.shoppingcart.* [MSG]Wildcard (star) import |
PaymentOptions.groovy | UnnecessaryGString | 3 | 28 | [SRC]if ("GIFT_CARD".equals(paymentMethodTypeId)) { [MSG]The String 'GIFT_CARD' can be wrapped in single quotes instead of double quotes |
PaymentOptions.groovy | UnnecessaryGString | 3 | 29 | [SRC]context.addGiftCard = "Y" [MSG]The String 'Y' can be wrapped in single quotes instead of double quotes |
PermPrep.groovy | UnnecessaryGroovyImport | 3 | 21 | [SRC]import java.util.ArrayList |
PermPrep.groovy | UnusedImport | 3 | 21 | [SRC]import java.util.ArrayList [MSG]The [java.util.ArrayList] import is never referenced |
PermPrep.groovy | UnnecessaryGroovyImport | 3 | 22 | [SRC]import java.util.Collection |
PermPrep.groovy | UnusedImport | 3 | 22 | [SRC]import java.util.Collection [MSG]The [java.util.Collection] import is never referenced |
PermPrep.groovy | UnnecessaryGroovyImport | 3 | 23 | [SRC]import java.util.HashMap |
PermPrep.groovy | UnusedImport | 3 | 23 | [SRC]import java.util.HashMap [MSG]The [java.util.HashMap] import is never referenced |
PermPrep.groovy | UnnecessaryGroovyImport | 3 | 24 | [SRC]import java.util.Iterator |
PermPrep.groovy | UnusedImport | 3 | 24 | [SRC]import java.util.Iterator [MSG]The [java.util.Iterator] import is never referenced |
PermPrep.groovy | UnnecessaryGroovyImport | 3 | 25 | [SRC]import java.util.LinkedList |
PermPrep.groovy | UnusedImport | 3 | 25 | [SRC]import java.util.LinkedList [MSG]The [java.util.LinkedList] import is never referenced |
PermPrep.groovy | UnnecessaryGroovyImport | 3 | 26 | [SRC]import java.util.List |
PermPrep.groovy | UnusedImport | 3 | 26 | [SRC]import java.util.List [MSG]The [java.util.List] import is never referenced |
PermPrep.groovy | UnnecessaryGroovyImport | 3 | 27 | [SRC]import java.util.Map |
PermPrep.groovy | UnusedImport | 3 | 27 | [SRC]import java.util.Map [MSG]The [java.util.Map] import is never referenced |
PermPrep.groovy | UnnecessaryGroovyImport | 3 | 28 | [SRC]import java.util.Set |
PermPrep.groovy | UnusedImport | 3 | 28 | [SRC]import java.util.Set [MSG]The [java.util.Set] import is never referenced |
PermPrep.groovy | UnnecessaryGroovyImport | 3 | 29 | [SRC]import java.util.TreeSet |
PermPrep.groovy | UnusedImport | 3 | 29 | [SRC]import java.util.TreeSet [MSG]The [java.util.TreeSet] import is never referenced |
PermPrep.groovy | NoWildcardImports | 3 | 31 | [SRC]import org.apache.ofbiz.base.util.* [MSG]Wildcard (star) import |
PermPrep.groovy | NoWildcardImports | 3 | 32 | [SRC]import org.apache.ofbiz.entity.* [MSG]Wildcard (star) import |
PermPrep.groovy | NoWildcardImports | 3 | 33 | [SRC]import org.apache.ofbiz.security.* [MSG]Wildcard (star) import |
PermPrep.groovy | NoWildcardImports | 3 | 34 | [SRC]import org.apache.ofbiz.service.* [MSG]Wildcard (star) import |
PermPrep.groovy | NoWildcardImports | 3 | 35 | [SRC]import org.apache.ofbiz.entity.model.* [MSG]Wildcard (star) import |
PermPrep.groovy | UnusedImport | 3 | 36 | [SRC]import org.apache.ofbiz.content.content.PermissionRecorder [MSG]The [org.apache.ofbiz.content.content.PermissionRecorder] import is never referenced |
PermPrep.groovy | NoWildcardImports | 3 | 39 | [SRC]import javax.servlet.* [MSG]Wildcard (star) import |
PermPrep.groovy | NoWildcardImports | 3 | 40 | [SRC]import javax.servlet.http.* [MSG]Wildcard (star) import |
PermPrep.groovy | UnnecessaryGString | 3 | 47 | [SRC]permissionType = context.permissionType ?: "simple" [MSG]The String 'simple' can be wrapped in single quotes instead of double quotes |
PermPrep.groovy | UnnecessaryGString | 3 | 56 | [SRC]currentValue = request.getAttribute("currentValue") [MSG]The String 'currentValue' can be wrapped in single quotes instead of double quotes |
PermPrep.groovy | UnnecessaryGString | 3 | 60 | [SRC]if ("add".equals(mode)) { [MSG]The String 'add' can be wrapped in single quotes instead of double quotes |
PermPrep.groovy | UnnecessaryGString | 3 | 61 | [SRC]entityOperation = context.addEntityOperation ?: context...?: "_CREATE" [MSG]The String '_CREATE' can be wrapped in single quotes instead of double quotes |
PermPrep.groovy | UnnecessaryGString | 3 | 62 | [SRC]targetOperation = context.addTargetOperation ?: context...TENT_CREATE" [MSG]The String 'targetOperation' can be wrapped in single quotes instead of double quotes |
PermPrep.groovy | UnnecessaryGString | 3 | 62 | [SRC]targetOperation = context.addTargetOperation ?: context...TENT_CREATE" [MSG]The String 'CONTENT_CREATE' can be wrapped in single quotes instead of double quotes |
PermPrep.groovy | CouldBeElvis | 3 | 65 | [SRC]if (!entityOperation) { [MSG]Code could use elvis operator: entityOperation = entityOperation ?: '_UPDATE' |
PermPrep.groovy | UnnecessaryGString | 3 | 66 | [SRC]entityOperation = "_UPDATE" [MSG]The String '_UPDATE' can be wrapped in single quotes instead of double quotes |
PermPrep.groovy | CouldBeElvis | 3 | 68 | [SRC]if (!targetOperation) { [MSG]Code could use elvis operator: targetOperation = targetOperation ?: 'CONTENT_UPDATE' |
PermPrep.groovy | UnnecessaryGString | 3 | 69 | [SRC]targetOperation = "CONTENT_UPDATE" [MSG]The String 'CONTENT_UPDATE' can be wrapped in single quotes instead of double quotes |
PermPrep.groovy | UnnecessaryGString | 3 | 73 | [SRC]if ("complex".equals(permissionType)) { [MSG]The String 'complex' can be wrapped in single quotes instead of double quotes |
PermPrep.groovy | UnnecessaryGString | 3 | 76 | [SRC]targetOperationList = StringUtil.split(targetOperation, "|") [MSG]The String '|' can be wrapped in single quotes instead of double quotes |
PermPrep.groovy | UnnecessaryGString | 3 | 84 | [SRC]if (!currentValue || !"Content".equals(entityName)) { [MSG]The String 'Content' can be wrapped in single quotes instead of double quotes |
PermPrep.groovy | CouldBeElvis | 3 | 89 | [SRC]} else if (!thisContentId) { [MSG]Code could use elvis operator: thisContentId = thisContentId ?: ContentManagementWorker.getFromSomewhere(subContentId, paramMap, request, context) |
PermPrep.groovy | UnnecessaryGString | 3 | 90 | [SRC]thisContentId = ContentManagementWorker.getFromSomewhere..st, context) [MSG]The String 'subContentId' can be wrapped in single quotes instead of double quotes |
PermPrep.groovy | CouldBeElvis | 3 | 91 | [SRC]} else if (!thisContentId) { [MSG]Code could use elvis operator: thisContentId = thisContentId ?: ContentManagementWorker.getFromSomewhere(contentIdTo, paramMap, request, context) |
PermPrep.groovy | UnnecessaryGString | 3 | 92 | [SRC]thisContentId = ContentManagementWorker.getFromSomewhere..st, context) [MSG]The String 'contentIdTo' can be wrapped in single quotes instead of double quotes |
PermPrep.groovy | CouldBeElvis | 3 | 93 | [SRC]} else if (!thisContentId) { [MSG]Code could use elvis operator: thisContentId = thisContentId ?: ContentManagementWorker.getFromSomewhere(contentId, paramMap, request, context) |
PermPrep.groovy | UnnecessaryGString | 3 | 94 | [SRC]thisContentId = ContentManagementWorker.getFromSomewhere..st, context) [MSG]The String 'contentId' can be wrapped in single quotes instead of double quotes |
PermPrep.groovy | UnnecessaryGString | 3 | 102 | [SRC]if (!currentValue || !"Content".equals(entityName)) { [MSG]The String 'Content' can be wrapped in single quotes instead of double quotes |
PermPrep.groovy | UnnecessaryGString | 3 | 104 | [SRC]currentValue = from("Content").where("contentId", thisCo..).queryOne() [MSG]The String 'Content' can be wrapped in single quotes instead of double quotes |
PermPrep.groovy | UnnecessaryGString | 3 | 104 | [SRC]currentValue = from("Content").where("contentId", thisCo..).queryOne() [MSG]The String 'contentId' can be wrapped in single quotes instead of double quotes |
PermPrep.groovy | UnnecessaryGString | 3 | 107 | [SRC]if ("add".equals(mode)) { [MSG]The String 'add' can be wrapped in single quotes instead of double quotes |
PermPrep.groovy | UnnecessaryGString | 3 | 119 | [SRC]if ("Content".equals(currentValue?.getEntityName())) { [MSG]The String 'Content' can be wrapped in single quotes instead of double quotes |
PermPrep.groovy | UnnecessaryGString | 3 | 126 | [SRC]mapIncontentPurposeList = StringUtil.split(contentPurposeTypeId, "|") [MSG]The String '|' can be wrapped in single quotes instead of double quotes |
PermPrep.groovy | UnnecessaryGString | 3 | 133 | [SRC]if ("granted".equals(permissionStatus)) { [MSG]The String 'granted' can be wrapped in single quotes instead of double quotes |
PermPrep.groovy | UnnecessaryGString | 3 | 135 | [SRC]request.setAttribute("hasPermission", true) [MSG]The String 'hasPermission' can be wrapped in single quotes instead of double quotes |
PermPrep.groovy | UnnecessaryGString | 3 | 136 | [SRC]request.setAttribute("permissionStatus", "granted") [MSG]The String 'permissionStatus' can be wrapped in single quotes instead of double quotes |
PermPrep.groovy | UnnecessaryGString | 3 | 136 | [SRC]request.setAttribute("permissionStatus", "granted") [MSG]The String 'granted' can be wrapped in single quotes instead of double quotes |
PermPrep.groovy | UnnecessaryGString | 3 | 139 | [SRC]request.setAttribute("hasPermission", false) [MSG]The String 'hasPermission' can be wrapped in single quotes instead of double quotes |
PermPrep.groovy | UnnecessaryGString | 3 | 140 | [SRC]request.setAttribute("permissionStatus", "") [MSG]The String 'permissionStatus' can be wrapped in single quotes instead of double quotes |
PermPrep.groovy | UnnecessaryGString | 3 | 140 | [SRC]request.setAttribute("permissionStatus", "") [MSG]The String '' can be wrapped in single quotes instead of double quotes |
PermPrep.groovy | UnnecessaryGString | 3 | 141 | [SRC]errorMessage = "Permission to display:" + page.getPageNa.. is denied." [MSG]The String 'Permission to display:' can be wrapped in single quotes instead of double quotes |
PermPrep.groovy | UnnecessaryGString | 3 | 141 | [SRC]errorMessage = "Permission to display:" + page.getPageNa.. is denied." [MSG]The String ' is denied.' can be wrapped in single quotes instead of double quotes |
PermPrep.groovy | UnnecessaryGString | 3 | 147 | [SRC]errorMessage += " \n " + permissionMessage [MSG]The String ' \n ' can be wrapped in single quotes instead of double quotes |
PermPrep.groovy | UnnecessaryGString | 3 | 149 | [SRC]request.setAttribute("errorMsgReq", errorMessage) [MSG]The String 'errorMsgReq' can be wrapped in single quotes instead of double quotes |
PermPrep.groovy | UnnecessaryGString | 3 | 158 | [SRC]request.setAttribute("hasPermission", true) [MSG]The String 'hasPermission' can be wrapped in single quotes instead of double quotes |
PermPrep.groovy | UnnecessaryGString | 3 | 159 | [SRC]request.setAttribute("permissionStatus", "granted") [MSG]The String 'permissionStatus' can be wrapped in single quotes instead of double quotes |
PermPrep.groovy | UnnecessaryGString | 3 | 159 | [SRC]request.setAttribute("permissionStatus", "granted") [MSG]The String 'granted' can be wrapped in single quotes instead of double quotes |
PermPrep.groovy | UnnecessaryGString | 3 | 163 | [SRC]request.setAttribute("hasPermission", false) [MSG]The String 'hasPermission' can be wrapped in single quotes instead of double quotes |
PermPrep.groovy | UnnecessaryGString | 3 | 164 | [SRC]request.setAttribute("permissionStatus", "") [MSG]The String 'permissionStatus' can be wrapped in single quotes instead of double quotes |
PermPrep.groovy | UnnecessaryGString | 3 | 164 | [SRC]request.setAttribute("permissionStatus", "") [MSG]The String '' can be wrapped in single quotes instead of double quotes |
PopularTags.groovy | UnnecessaryGroovyImport | 3 | 21 | [SRC]import java.util.List |
PopularTags.groovy | UnusedImport | 3 | 21 | [SRC]import java.util.List [MSG]The [java.util.List] import is never referenced |
PopularTags.groovy | NoWildcardImports | 3 | 22 | [SRC]import org.apache.ofbiz.entity.* [MSG]Wildcard (star) import |
PopularTags.groovy | NoWildcardImports | 3 | 23 | [SRC]import org.apache.ofbiz.entity.condition.* [MSG]Wildcard (star) import |
PopularTags.groovy | NoWildcardImports | 3 | 24 | [SRC]import org.apache.ofbiz.entity.util.* [MSG]Wildcard (star) import |
PopularTags.groovy | UnusedImport | 3 | 25 | [SRC]import org.apache.ofbiz.entity.util.EntityUtil [MSG]The [org.apache.ofbiz.entity.util.EntityUtil] import is never referenced |
PopularTags.groovy | NoWildcardImports | 3 | 26 | [SRC]import org.apache.ofbiz.entity.transaction.* [MSG]Wildcard (star) import |
PopularTags.groovy | NoWildcardImports | 3 | 27 | [SRC]import org.apache.ofbiz.base.util.* [MSG]Wildcard (star) import |
PopularTags.groovy | NoWildcardImports | 3 | 28 | [SRC]import org.apache.ofbiz.base.util.string.* [MSG]Wildcard (star) import |
PopularTags.groovy | NoWildcardImports | 3 | 29 | [SRC]import org.apache.ofbiz.content.content.* [MSG]Wildcard (star) import |
PopularTags.groovy | UnusedImport | 3 | 30 | [SRC]import org.apache.commons.lang.StringEscapeUtils [MSG]The [org.apache.commons.lang.StringEscapeUtils] import is never referenced |
PopularTags.groovy | UnnecessaryGString | 3 | 33 | [SRC]int minFontSize = EntityUtilProperties.getPropertyAsInte..).intValue() [MSG]The String 'ecommerce' can be wrapped in single quotes instead of double quotes |
PopularTags.groovy | UnnecessaryGString | 3 | 33 | [SRC]int minFontSize = EntityUtilProperties.getPropertyAsInte..).intValue() [MSG]The String 'tagcloud.min.fontsize' can be wrapped in single quotes instead of double quotes |
PopularTags.groovy | UnnecessaryGString | 3 | 34 | [SRC]int maxFontSize = EntityUtilProperties.getPropertyAsInte..).intValue() [MSG]The String 'ecommerce' can be wrapped in single quotes instead of double quotes |
PopularTags.groovy | UnnecessaryGString | 3 | 34 | [SRC]int maxFontSize = EntityUtilProperties.getPropertyAsInte..).intValue() [MSG]The String 'tagcloud.max.fontsize' can be wrapped in single quotes instead of double quotes |
PopularTags.groovy | UnnecessaryGString | 3 | 35 | [SRC]int limitTagCloud = EntityUtilProperties.getPropertyAsIn..).intValue() [MSG]The String 'ecommerce' can be wrapped in single quotes instead of double quotes |
PopularTags.groovy | UnnecessaryGString | 3 | 35 | [SRC]int limitTagCloud = EntityUtilProperties.getPropertyAsIn..).intValue() [MSG]The String 'tagcloud.limit' can be wrapped in single quotes instead of double quotes |
PopularTags.groovy | UnnecessaryGString | 3 | 40 | [SRC]productKeywords = select("keyword", "keywordTypeId", "statusId") [MSG]The String 'keyword' can be wrapped in single quotes instead of double quotes |
PopularTags.groovy | UnnecessaryGString | 3 | 40 | [SRC]productKeywords = select("keyword", "keywordTypeId", "statusId") [MSG]The String 'keywordTypeId' can be wrapped in single quotes instead of double quotes |
PopularTags.groovy | UnnecessaryGString | 3 | 40 | [SRC]productKeywords = select("keyword", "keywordTypeId", "statusId") [MSG]The String 'statusId' can be wrapped in single quotes instead of double quotes |
PopularTags.groovy | UnnecessaryGString | 3 | 41 | [SRC].from("ProductKeyword") [MSG]The String 'ProductKeyword' can be wrapped in single quotes instead of double quotes |
PopularTags.groovy | SpaceAroundMapEntryColon | 3 | 42 | [SRC].where(keywordTypeId : "KWT_TAG", statusId : "KW_APPROVED") [MSG]The colon for the literal Map entry for key [keywordTypeId] within class org.apache.ofbiz.ecommerce.catalog.None is not preceded by a match for regular expression [\S] |
PopularTags.groovy | SpaceAroundMapEntryColon | 3 | 42 | [SRC].where(keywordTypeId : "KWT_TAG", statusId : "KW_APPROVED") [MSG]The colon for the literal Map entry for key [statusId] within class org.apache.ofbiz.ecommerce.catalog.None is not preceded by a match for regular expression [\S] |
PopularTags.groovy | UnnecessaryGString | 3 | 42 | [SRC].where(keywordTypeId : "KWT_TAG", statusId : "KW_APPROVED") [MSG]The String 'KWT_TAG' can be wrapped in single quotes instead of double quotes |
PopularTags.groovy | UnnecessaryGString | 3 | 42 | [SRC].where(keywordTypeId : "KWT_TAG", statusId : "KW_APPROVED") [MSG]The String 'KW_APPROVED' can be wrapped in single quotes instead of double quotes |
PopularTags.groovy | UnnecessaryGString | 3 | 43 | [SRC].orderBy("keyword") [MSG]The String 'keyword' can be wrapped in single quotes instead of double quotes |
PopularTags.groovy | UnnecessaryGString | 3 | 49 | [SRC]productTags = from("ProductKeyword").where("keyword", pr...queryList() [MSG]The String 'ProductKeyword' can be wrapped in single quotes instead of double quotes |
PopularTags.groovy | UnnecessaryGString | 3 | 49 | [SRC]productTags = from("ProductKeyword").where("keyword", pr...queryList() [MSG]The String 'keyword' can be wrapped in single quotes instead of double quotes |
PopularTags.groovy | UnnecessaryGString | 3 | 49 | [SRC]productTags = from("ProductKeyword").where("keyword", pr...queryList() [MSG]The String 'keywordTypeId' can be wrapped in single quotes instead of double quotes |
PopularTags.groovy | UnnecessaryGString | 3 | 49 | [SRC]productTags = from("ProductKeyword").where("keyword", pr...queryList() [MSG]The String 'KWT_TAG' can be wrapped in single quotes instead of double quotes |
PopularTags.groovy | UnnecessaryGString | 3 | 49 | [SRC]productTags = from("ProductKeyword").where("keyword", pr...queryList() [MSG]The String 'statusId' can be wrapped in single quotes instead of double quotes |
PopularTags.groovy | UnnecessaryGString | 3 | 49 | [SRC]productTags = from("ProductKeyword").where("keyword", pr...queryList() [MSG]The String 'KW_APPROVED' can be wrapped in single quotes instead of double quotes |
PopularTags.groovy | SpaceAfterComma | 3 | 59 | [SRC]tagList.sort{ a,b -> b.countTag <=> a.countTag } [MSG]The closure parameter b within class org.apache.ofbiz.ecommerce.catalog.None is not preceded by a space or whitespace |
PopularTags.groovy | SpaceBeforeOpeningBrace | 3 | 59 | [SRC]tagList.sort{ a,b -> b.countTag <=> a.countTag } [MSG]The opening brace for the closure in class org.apache.ofbiz.ecommerce.catalog.None is not preceded by a space or whitespace |
PopularTags.groovy | SpaceAfterOpeningBrace | 3 | 81 | [SRC]tagCloudList = tagCloudList.sort{it.tag} [MSG]The opening brace for the closure in class org.apache.ofbiz.ecommerce.catalog.None is not followed by a space or whitespace |
PopularTags.groovy | SpaceBeforeClosingBrace | 3 | 81 | [SRC]tagCloudList = tagCloudList.sort{it.tag} [MSG]The closing brace for the closure in class org.apache.ofbiz.ecommerce.catalog.None is not preceded by a space or whitespace |
PopularTags.groovy | SpaceBeforeOpeningBrace | 3 | 81 | [SRC]tagCloudList = tagCloudList.sort{it.tag} [MSG]The opening brace for the closure in class org.apache.ofbiz.ecommerce.catalog.None is not preceded by a space or whitespace |
PrintFixedAssetMaint.groovy | UnnecessaryGString | 3 | 21 | [SRC]facility = fixedAsset.getRelatedOne("LocatedAtFacility", false) [MSG]The String 'LocatedAtFacility' can be wrapped in single quotes instead of double quotes |
PrintFixedAssetMaint.groovy | UnnecessaryGString | 3 | 24 | [SRC]fixedAssetIdents = from("FixedAssetIdent").where("fixedA...queryList() [MSG]The String 'FixedAssetIdent' can be wrapped in single quotes instead of double quotes |
PrintFixedAssetMaint.groovy | UnnecessaryGString | 3 | 24 | [SRC]fixedAssetIdents = from("FixedAssetIdent").where("fixedA...queryList() [MSG]The String 'fixedAssetId' can be wrapped in single quotes instead of double quotes |
PrintFixedAssetMaint.groovy | UnnecessaryGString | 3 | 25 | [SRC]fixedAssetIdentValue = "" [MSG]The String '' can be wrapped in single quotes instead of double quotes |
PrintFixedAssetMaint.groovy | UnnecessaryGString | 3 | 28 | [SRC]fixedAssetIdentValue = fixedAssetIdentValue + " " + ident.idValue [MSG]The String ' ' can be wrapped in single quotes instead of double quotes |
PrintFixedAssetMaint.groovy | UnnecessaryGString | 3 | 33 | [SRC]status = fixedAssetMaint.getRelatedOne("StatusItem", false) [MSG]The String 'StatusItem' can be wrapped in single quotes instead of double quotes |
PrintFixedAssetMaint.groovy | UnnecessaryGString | 3 | 39 | [SRC]intervalUom = fixedAssetMaint.getRelatedOne("IntervalUom", false) [MSG]The String 'IntervalUom' can be wrapped in single quotes instead of double quotes |
PrintFixedAssetMaint.groovy | UnnecessaryGString | 3 | 47 | [SRC]productMaint = from("ProductMaint").where("productId", i..).queryOne() [MSG]The String 'ProductMaint' can be wrapped in single quotes instead of double quotes |
PrintFixedAssetMaint.groovy | UnnecessaryGString | 3 | 47 | [SRC]productMaint = from("ProductMaint").where("productId", i..).queryOne() [MSG]The String 'productId' can be wrapped in single quotes instead of double quotes |
PrintFixedAssetMaint.groovy | UnnecessaryGString | 3 | 47 | [SRC]productMaint = from("ProductMaint").where("productId", i..).queryOne() [MSG]The String 'productMaintSeqId' can be wrapped in single quotes instead of double quotes |
PrintFixedAssetMaint.groovy | UnnecessaryGString | 3 | 53 | [SRC]productMaintType = from("ProductMaintType").where("produ..).queryOne() [MSG]The String 'ProductMaintType' can be wrapped in single quotes instead of double quotes |
PrintFixedAssetMaint.groovy | UnnecessaryGString | 3 | 53 | [SRC]productMaintType = from("ProductMaintType").where("produ..).queryOne() [MSG]The String 'productMaintTypeId' can be wrapped in single quotes instead of double quotes |
PrintFixedAssetMaint.groovy | UnnecessaryGString | 3 | 61 | [SRC]productMeterTypeDesc = "" [MSG]The String '' can be wrapped in single quotes instead of double quotes |
PrintFixedAssetMaint.groovy | UnnecessaryGString | 3 | 63 | [SRC]productMeterType = from("ProductMeterType").where("produ..).queryOne() [MSG]The String 'ProductMeterType' can be wrapped in single quotes instead of double quotes |
PrintFixedAssetMaint.groovy | UnnecessaryGString | 3 | 63 | [SRC]productMeterType = from("ProductMeterType").where("produ..).queryOne() [MSG]The String 'productMeterTypeId' can be wrapped in single quotes instead of double quotes |
PrintFixedAssetMaint.groovy | UnnecessaryGString | 3 | 68 | [SRC]scheduleWorkEffort = fixedAssetMaint.getRelatedOne("Sche..ort", false) [MSG]The String 'ScheduleWorkEffort' can be wrapped in single quotes instead of double quotes |
ProcessPaymentSettings.groovy | UnnecessaryGroovyImport | 3 | 21 | [SRC]import java.util.ArrayList |
ProcessPaymentSettings.groovy | UnusedImport | 3 | 21 | [SRC]import java.util.ArrayList [MSG]The [java.util.ArrayList] import is never referenced |
ProcessPaymentSettings.groovy | UnnecessaryGroovyImport | 3 | 22 | [SRC]import java.util.HashMap |
ProcessPaymentSettings.groovy | UnusedImport | 3 | 22 | [SRC]import java.util.HashMap [MSG]The [java.util.HashMap] import is never referenced |
ProcessPaymentSettings.groovy | UnnecessaryGroovyImport | 3 | 23 | [SRC]import java.util.List |
ProcessPaymentSettings.groovy | UnusedImport | 3 | 23 | [SRC]import java.util.List [MSG]The [java.util.List] import is never referenced |
ProcessPaymentSettings.groovy | UnnecessaryGroovyImport | 3 | 24 | [SRC]import java.util.Map |
ProcessPaymentSettings.groovy | UnusedImport | 3 | 24 | [SRC]import java.util.Map [MSG]The [java.util.Map] import is never referenced |
ProcessPaymentSettings.groovy | UnusedImport | 3 | 27 | [SRC]import org.apache.ofbiz.base.util.UtilMisc [MSG]The [org.apache.ofbiz.base.util.UtilMisc] import is never referenced |
ProcessPaymentSettings.groovy | UnusedImport | 3 | 28 | [SRC]import org.apache.ofbiz.entity.Delegator [MSG]The [org.apache.ofbiz.entity.Delegator] import is never referenced |
ProcessPaymentSettings.groovy | UnusedImport | 3 | 29 | [SRC]import org.apache.ofbiz.entity.GenericValue [MSG]The [org.apache.ofbiz.entity.GenericValue] import is never referenced |
ProcessPaymentSettings.groovy | UnusedImport | 3 | 31 | [SRC]import org.apache.ofbiz.order.shoppingcart.ShoppingCart [MSG]The [org.apache.ofbiz.order.shoppingcart.ShoppingCart] import is never referenced |
ProcessPaymentSettings.groovy | UnusedImport | 3 | 33 | [SRC]import org.apache.ofbiz.service.LocalDispatcher [MSG]The [org.apache.ofbiz.service.LocalDispatcher] import is never referenced |
ProcessPaymentSettings.groovy | UnnecessaryGString | 3 | 38 | [SRC]dispatcher = request.getAttribute("dispatcher") [MSG]The String 'dispatcher' can be wrapped in single quotes instead of double quotes |
ProcessPaymentSettings.groovy | UnnecessaryGString | 3 | 39 | [SRC]delegator = request.getAttribute("delegator") [MSG]The String 'delegator' can be wrapped in single quotes instead of double quotes |
ProcessPaymentSettings.groovy | UnnecessaryGString | 3 | 48 | [SRC]paymentMethodId = request.getAttribute("paymentMethodId") [MSG]The String 'paymentMethodId' can be wrapped in single quotes instead of double quotes |
ProcessPaymentSettings.groovy | UnnecessaryGString | 3 | 49 | [SRC]if ("EXT_OFFLINE".equals(paymentMethodTypeId)) { [MSG]The String 'EXT_OFFLINE' can be wrapped in single quotes instead of double quotes |
ProcessPaymentSettings.groovy | UnnecessaryGString | 3 | 50 | [SRC]paymentMethodId = "EXT_OFFLINE" [MSG]The String 'EXT_OFFLINE' can be wrapped in single quotes instead of double quotes |
ProcessPaymentSettings.groovy | UnnecessaryGString | 3 | 54 | [SRC]isSingleUsePayment = "Y".equalsIgnoreCase(singleUsePayment) ?: false [MSG]The String 'Y' can be wrapped in single quotes instead of double quotes |
ProcessPaymentSettings.groovy | UnnecessaryGString | 3 | 55 | [SRC]doAppendPayment = "Y".equalsIgnoreCase(appendPayment) ?: false [MSG]The String 'Y' can be wrapped in single quotes instead of double quotes |
ProcessPaymentSettings.groovy | UnnecessaryGString | 3 | 65 | [SRC]if ("Y".equalsIgnoreCase(addGiftCard)) { [MSG]The String 'Y' can be wrapped in single quotes instead of double quotes |
ProcessPaymentSettings.groovy | SpaceAroundMapEntryColon | 3 | 66 | [SRC]selPaymentMethods = [paymentMethodTypeId : null] [MSG]The colon for the literal Map entry for key [paymentMethodTypeId] within class org.apache.ofbiz.ecommerce.None is not preceded by a match for regular expression [\S] |
ProcessPaymentSettings.groovy | UnnecessaryGString | 3 | 83 | [SRC]return "error" [MSG]The String 'error' can be wrapped in single quotes instead of double quotes |
ProcessPaymentSettings.groovy | UnnecessaryGString | 3 | 85 | [SRC]return "success" [MSG]The String 'success' can be wrapped in single quotes instead of double quotes |
ProductBilling.groovy | UnnecessaryGString | 3 | 31 | [SRC]EntityCondition.makeCondition("productId", EntityOperato.. productId), [MSG]The String 'productId' can be wrapped in single quotes instead of double quotes |
ProductBilling.groovy | UnnecessaryGString | 3 | 32 | [SRC]EntityCondition.makeCondition("invoiceId", EntityOperato..QUAL, null), [MSG]The String 'invoiceId' can be wrapped in single quotes instead of double quotes |
ProductBilling.groovy | UnnecessaryGString | 3 | 35 | [SRC]entryIterator = from("ProjectSprintBacklogTaskAndTimeEnt..ryIterator() [MSG]The String 'ProjectSprintBacklogTaskAndTimeEntryTimeSheet' can be wrapped in single quotes instead of double quotes |
ProductBilling.groovy | UnnecessaryGString | 3 | 35 | [SRC]entryIterator = from("ProjectSprintBacklogTaskAndTimeEnt..ryIterator() [MSG]The String '-fromDate' can be wrapped in single quotes instead of double quotes |
ProductBilling.groovy | UnnecessaryGString | 3 | 37 | [SRC]invoice = entryItem.getRelatedOne("Invoice", false) [MSG]The String 'Invoice' can be wrapped in single quotes instead of double quotes |
ProductBilling.groovy | UnnecessaryGString | 3 | 38 | [SRC]if ("INVOICE_IN_PROCESS".equals(invoice.getString("statusId"))) { [MSG]The String 'INVOICE_IN_PROCESS' can be wrapped in single quotes instead of double quotes |
ProductBilling.groovy | UnnecessaryGString | 3 | 38 | [SRC]if ("INVOICE_IN_PROCESS".equals(invoice.getString("statusId"))) { [MSG]The String 'statusId' can be wrapped in single quotes instead of double quotes |
ProductBilling.groovy | NoDef | 3 | 51 | [SRC]def taskConds = UtilMisc.toList(EntityCondition.makeCond...productId)) [MSG]def for declaration should not be used |
ProductBilling.groovy | VariableTypeRequired | 3 | 51 | [SRC]def taskConds = UtilMisc.toList(EntityCondition.makeCond...productId)) [MSG]The type is not specified for variable "taskConds" |
ProductBilling.groovy | UnnecessaryGString | 3 | 51 | [SRC]def taskConds = UtilMisc.toList(EntityCondition.makeCond...productId)) [MSG]The String 'productId' can be wrapped in single quotes instead of double quotes |
ProductBilling.groovy | UnnecessaryGString | 3 | 52 | [SRC]taskConds.add(EntityCondition.makeCondition("invoiceId", null)) [MSG]The String 'invoiceId' can be wrapped in single quotes instead of double quotes |
ProductBilling.groovy | UnnecessaryGString | 3 | 53 | [SRC]taskConds.add(EntityCondition.makeCondition("timesheetSt..COMPLETED")) [MSG]The String 'timesheetStatusId' can be wrapped in single quotes instead of double quotes |
ProductBilling.groovy | UnnecessaryGString | 3 | 53 | [SRC]taskConds.add(EntityCondition.makeCondition("timesheetSt..COMPLETED")) [MSG]The String 'TIMESHEET_COMPLETED' can be wrapped in single quotes instead of double quotes |
ProductBilling.groovy | UnnecessaryGString | 3 | 57 | [SRC]fromDate = fromDate + " " + "00:00:00.000" [MSG]The String ' ' can be wrapped in single quotes instead of double quotes |
ProductBilling.groovy | UnnecessaryGString | 3 | 57 | [SRC]fromDate = fromDate + " " + "00:00:00.000" [MSG]The String '00:00:00.000' can be wrapped in single quotes instead of double quotes |
ProductBilling.groovy | UnnecessaryGString | 3 | 59 | [SRC]taskConds.add(EntityCondition.makeCondition("fromDate", ..(fromDate))) [MSG]The String 'fromDate' can be wrapped in single quotes instead of double quotes |
ProductBilling.groovy | UnnecessaryGString | 3 | 64 | [SRC]thruDate = thruDate + " " + "00:00:00.000" [MSG]The String ' ' can be wrapped in single quotes instead of double quotes |
ProductBilling.groovy | UnnecessaryGString | 3 | 64 | [SRC]thruDate = thruDate + " " + "00:00:00.000" [MSG]The String '00:00:00.000' can be wrapped in single quotes instead of double quotes |
ProductBilling.groovy | UnnecessaryGString | 3 | 66 | [SRC]taskConds.add(EntityCondition.makeCondition("fromDate", ..(thruDate))) [MSG]The String 'fromDate' can be wrapped in single quotes instead of double quotes |
ProductBilling.groovy | UnnecessaryGString | 3 | 68 | [SRC]taskConds.add(EntityCondition.makeCondition("fromDate", ..t.thruDate)) [MSG]The String 'fromDate' can be wrapped in single quotes instead of double quotes |
ProductBilling.groovy | UnnecessaryGString | 3 | 71 | [SRC]if ("N".equals(includeMeeting)) { [MSG]The String 'N' can be wrapped in single quotes instead of double quotes |
ProductBilling.groovy | UnnecessaryGString | 3 | 72 | [SRC]taskConds.add(EntityCondition.makeCondition("custRequest.._MEETINGS")) [MSG]The String 'custRequestTypeId' can be wrapped in single quotes instead of double quotes |
ProductBilling.groovy | UnnecessaryGString | 3 | 72 | [SRC]taskConds.add(EntityCondition.makeCondition("custRequest.._MEETINGS")) [MSG]The String 'RF_SCRUM_MEETINGS' can be wrapped in single quotes instead of double quotes |
ProductBilling.groovy | NoDef | 3 | 75 | [SRC]def sprintTasks = from("ProjectSprintBacklogTaskAndTimeE...queryList() [MSG]def for declaration should not be used |
ProductBilling.groovy | VariableTypeRequired | 3 | 75 | [SRC]def sprintTasks = from("ProjectSprintBacklogTaskAndTimeE...queryList() [MSG]The type is not specified for variable "sprintTasks" |
ProductBilling.groovy | UnnecessaryGString | 3 | 75 | [SRC]def sprintTasks = from("ProjectSprintBacklogTaskAndTimeE...queryList() [MSG]The String 'ProjectSprintBacklogTaskAndTimeEntryTimeSheet' can be wrapped in single quotes instead of double quotes |
ProductBilling.groovy | NoDef | 3 | 78 | [SRC]def cancelledBacklogTasks = from("CancelledBacklogsTaskA...queryList() [MSG]def for declaration should not be used |
ProductBilling.groovy | VariableTypeRequired | 3 | 78 | [SRC]def cancelledBacklogTasks = from("CancelledBacklogsTaskA...queryList() [MSG]The type is not specified for variable "cancelledBacklogTasks" |
ProductBilling.groovy | UnnecessaryGString | 3 | 78 | [SRC]def cancelledBacklogTasks = from("CancelledBacklogsTaskA...queryList() [MSG]The String 'CancelledBacklogsTaskAndTimeEntryTimeSheet' can be wrapped in single quotes instead of double quotes |
ProductBilling.groovy | NoDef | 3 | 81 | [SRC]def unplannedTasks = from("UnPlannedBacklogsTaskAndTimeE...queryList() [MSG]def for declaration should not be used |
ProductBilling.groovy | VariableTypeRequired | 3 | 81 | [SRC]def unplannedTasks = from("UnPlannedBacklogsTaskAndTimeE...queryList() [MSG]The type is not specified for variable "unplannedTasks" |
ProductBilling.groovy | UnnecessaryGString | 3 | 81 | [SRC]def unplannedTasks = from("UnPlannedBacklogsTaskAndTimeE...queryList() [MSG]The String 'UnPlannedBacklogsTaskAndTimeEntryTimeSheet' can be wrapped in single quotes instead of double quotes |
ProductBilling.groovy | NoDef | 3 | 83 | [SRC]def hoursNotYetBilledTasks = [] [MSG]def for declaration should not be used |
ProductBilling.groovy | VariableTypeRequired | 3 | 83 | [SRC]def hoursNotYetBilledTasks = [] [MSG]The type is not specified for variable "hoursNotYetBilledTasks" |
ProductBilling.groovy | SpaceAfterComma | 3 | 87 | [SRC]context.hoursNotYetBilledTasks = UtilMisc.sortMaps(hours.."fromDate"]) [MSG]The list element custRequestId within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
ProductBilling.groovy | SpaceAfterComma | 3 | 87 | [SRC]context.hoursNotYetBilledTasks = UtilMisc.sortMaps(hours.."fromDate"]) [MSG]The list element taskId within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
ProductBilling.groovy | SpaceAfterComma | 3 | 87 | [SRC]context.hoursNotYetBilledTasks = UtilMisc.sortMaps(hours.."fromDate"]) [MSG]The list element fromDate within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
ProductBilling.groovy | UnnecessaryGString | 3 | 87 | [SRC]context.hoursNotYetBilledTasks = UtilMisc.sortMaps(hours.."fromDate"]) [MSG]The String 'productId' can be wrapped in single quotes instead of double quotes |
ProductBilling.groovy | UnnecessaryGString | 3 | 87 | [SRC]context.hoursNotYetBilledTasks = UtilMisc.sortMaps(hours.."fromDate"]) [MSG]The String 'custRequestId' can be wrapped in single quotes instead of double quotes |
ProductBilling.groovy | UnnecessaryGString | 3 | 87 | [SRC]context.hoursNotYetBilledTasks = UtilMisc.sortMaps(hours.."fromDate"]) [MSG]The String 'taskId' can be wrapped in single quotes instead of double quotes |
ProductBilling.groovy | UnnecessaryGString | 3 | 87 | [SRC]context.hoursNotYetBilledTasks = UtilMisc.sortMaps(hours.."fromDate"]) [MSG]The String 'fromDate' can be wrapped in single quotes instead of double quotes |
ProductBilling.groovy | UnnecessaryGString | 3 | 90 | [SRC]timeEntryList = UtilMisc.sortMaps(hoursNotYetBilledTasks.."fromDate"]) [MSG]The String 'fromDate' can be wrapped in single quotes instead of double quotes |
ProductCategories.groovy | NoWildcardImports | 3 | 27 | [SRC]import org.apache.ofbiz.base.util.* [MSG]Wildcard (star) import |
ProductCategories.groovy | NoWildcardImports | 3 | 28 | [SRC]import org.apache.ofbiz.product.catalog.* [MSG]Wildcard (star) import |
ProductCategories.groovy | NoWildcardImports | 3 | 29 | [SRC]import org.apache.ofbiz.product.category.* [MSG]Wildcard (star) import |
ProductCategories.groovy | NoWildcardImports | 3 | 30 | [SRC]import org.apache.ofbiz.entity.* [MSG]Wildcard (star) import |
ProductCategories.groovy | MethodParameterTypeRequired | 3 | 32 | [SRC]List fillTree(rootCat ,CatLvl, parentCategoryId) { [MSG]"rootCat" parameter of "fillTree" method is dynamically typed |
ProductCategories.groovy | MethodParameterTypeRequired | 3 | 32 | [SRC]List fillTree(rootCat ,CatLvl, parentCategoryId) { [MSG]"CatLvl" parameter of "fillTree" method is dynamically typed |
ProductCategories.groovy | MethodParameterTypeRequired | 3 | 32 | [SRC]List fillTree(rootCat ,CatLvl, parentCategoryId) { [MSG]"parentCategoryId" parameter of "fillTree" method is dynamically typed |
ProductCategories.groovy | NoDef | 3 | 32 | [SRC]List fillTree(rootCat ,CatLvl, parentCategoryId) { [MSG]def for method parameter type should not be used |
ProductCategories.groovy | NoDef | 3 | 32 | [SRC]List fillTree(rootCat ,CatLvl, parentCategoryId) { [MSG]def for method parameter type should not be used |
ProductCategories.groovy | NoDef | 3 | 32 | [SRC]List fillTree(rootCat ,CatLvl, parentCategoryId) { [MSG]def for method parameter type should not be used |
ProductCategories.groovy | SpaceAfterIf | 3 | 33 | [SRC]if(rootCat) { [MSG]The if keyword within class org.apache.ofbiz.ecommerce.catalog.None is not followed by a single space |
ProductCategories.groovy | SpaceBeforeOpeningBrace | 3 | 34 | [SRC]rootCat.sort{ it.productCategoryId } [MSG]The opening brace for the closure in class org.apache.ofbiz.ecommerce.catalog.None is not preceded by a space or whitespace |
ProductCategories.groovy | NoDef | 3 | 35 | [SRC]def listTree = [] [MSG]def for declaration should not be used |
ProductCategories.groovy | VariableTypeRequired | 3 | 35 | [SRC]def listTree = [] [MSG]The type is not specified for variable "listTree" |
ProductCategories.groovy | SpaceAfterFor | 3 | 36 | [SRC]for(root in rootCat) { [MSG]The for keyword within class org.apache.ofbiz.ecommerce.catalog.None is not followed by a single space |
ProductCategories.groovy | UnnecessaryGString | 3 | 37 | [SRC]preCatChilds = from("ProductCategoryRollup").where("pare...queryList() [MSG]The String 'ProductCategoryRollup' can be wrapped in single quotes instead of double quotes |
ProductCategories.groovy | UnnecessaryGString | 3 | 37 | [SRC]preCatChilds = from("ProductCategoryRollup").where("pare...queryList() [MSG]The String 'parentProductCategoryId' can be wrapped in single quotes instead of double quotes |
ProductCategories.groovy | SpaceAfterComma | 3 | 38 | [SRC]catChilds = EntityUtil.getRelated("CurrentProductCategor..hilds,false) [MSG]The parameter null in the call to method getRelated within class org.apache.ofbiz.ecommerce.catalog.None is not preceded by a space or whitespace |
ProductCategories.groovy | SpaceAfterComma | 3 | 38 | [SRC]catChilds = EntityUtil.getRelated("CurrentProductCategor..hilds,false) [MSG]The parameter preCatChilds in the call to method getRelated within class org.apache.ofbiz.ecommerce.catalog.None is not preceded by a space or whitespace |
ProductCategories.groovy | SpaceAfterComma | 3 | 38 | [SRC]catChilds = EntityUtil.getRelated("CurrentProductCategor..hilds,false) [MSG]The parameter false in the call to method getRelated within class org.apache.ofbiz.ecommerce.catalog.None is not preceded by a space or whitespace |
ProductCategories.groovy | UnnecessaryGString | 3 | 38 | [SRC]catChilds = EntityUtil.getRelated("CurrentProductCategor..hilds,false) [MSG]The String 'CurrentProductCategory' can be wrapped in single quotes instead of double quotes |
ProductCategories.groovy | NoDef | 3 | 39 | [SRC]def childList = [] [MSG]def for declaration should not be used |
ProductCategories.groovy | VariableTypeRequired | 3 | 39 | [SRC]def childList = [] [MSG]The type is not specified for variable "childList" |
ProductCategories.groovy | TrailingWhitespace | 3 | 40 | [SRC] [MSG]Line ends with whitespace characters |
ProductCategories.groovy | SpaceAfterIf | 3 | 42 | [SRC]if(catChilds) { [MSG]The if keyword within class org.apache.ofbiz.ecommerce.catalog.None is not followed by a single space |
ProductCategories.groovy | SpaceAfterIf | 3 | 43 | [SRC]if(CatLvl==2) [MSG]The if keyword within class org.apache.ofbiz.ecommerce.catalog.None is not followed by a single space |
ProductCategories.groovy | SpaceAroundOperator | 3 | 43 | [SRC]if(CatLvl==2) [MSG]The operator "==" within class org.apache.ofbiz.ecommerce.catalog.None is not preceded by a space or whitespace |
ProductCategories.groovy | SpaceAroundOperator | 3 | 43 | [SRC]if(CatLvl==2) [MSG]The operator "==" within class org.apache.ofbiz.ecommerce.catalog.None is not followed by a space or whitespace |
ProductCategories.groovy | SpaceAfterComma | 3 | 44 | [SRC]childList = fillTree(catChilds,CatLvl+1, parentCategoryI..tCategoryId) [MSG]The parameter (CatLvl + 1) in the call to method fillTree within class org.apache.ofbiz.ecommerce.catalog.None is not preceded by a space or whitespace |
ProductCategories.groovy | SpaceAroundOperator | 3 | 44 | [SRC]childList = fillTree(catChilds,CatLvl+1, parentCategoryI..tCategoryId) [MSG]The operator "+" within class org.apache.ofbiz.ecommerce.catalog.None is not preceded by a space or whitespace |
ProductCategories.groovy | SpaceAroundOperator | 3 | 44 | [SRC]childList = fillTree(catChilds,CatLvl+1, parentCategoryI..tCategoryId) [MSG]The operator "+" within class org.apache.ofbiz.ecommerce.catalog.None is not followed by a space or whitespace |
ProductCategories.groovy | SpaceAroundOperator | 3 | 44 | [SRC]childList = fillTree(catChilds,CatLvl+1, parentCategoryI..tCategoryId) [MSG]The operator "+" within class org.apache.ofbiz.ecommerce.catalog.None is not preceded by a space or whitespace |
ProductCategories.groovy | SpaceAroundOperator | 3 | 44 | [SRC]childList = fillTree(catChilds,CatLvl+1, parentCategoryI..tCategoryId) [MSG]The operator "+" within class org.apache.ofbiz.ecommerce.catalog.None is not followed by a space or whitespace |
ProductCategories.groovy | SpaceAroundOperator | 3 | 44 | [SRC]childList = fillTree(catChilds,CatLvl+1, parentCategoryI..tCategoryId) [MSG]The operator "+" within class org.apache.ofbiz.ecommerce.catalog.None is not preceded by a space or whitespace |
ProductCategories.groovy | SpaceAroundOperator | 3 | 44 | [SRC]childList = fillTree(catChilds,CatLvl+1, parentCategoryI..tCategoryId) [MSG]The operator "+" within class org.apache.ofbiz.ecommerce.catalog.None is not followed by a space or whitespace |
ProductCategories.groovy | UnnecessaryGString | 3 | 44 | [SRC]childList = fillTree(catChilds,CatLvl+1, parentCategoryI..tCategoryId) [MSG]The String '/' can be wrapped in single quotes instead of double quotes |
ProductCategories.groovy | UnnecessaryGString | 3 | 44 | [SRC]childList = fillTree(catChilds,CatLvl+1, parentCategoryI..tCategoryId) [MSG]The String '' can be wrapped in single quotes instead of double quotes |
ProductCategories.groovy | SpaceAfterIf | 3 | 46 | [SRC]else if(CatLvl==1) [MSG]The if keyword within class org.apache.ofbiz.ecommerce.catalog.None is not followed by a single space |
ProductCategories.groovy | SpaceAroundOperator | 3 | 46 | [SRC]else if(CatLvl==1) [MSG]The operator "==" within class org.apache.ofbiz.ecommerce.catalog.None is not preceded by a space or whitespace |
ProductCategories.groovy | SpaceAroundOperator | 3 | 46 | [SRC]else if(CatLvl==1) [MSG]The operator "==" within class org.apache.ofbiz.ecommerce.catalog.None is not followed by a space or whitespace |
ProductCategories.groovy | SpaceAfterComma | 3 | 47 | [SRC]childList = fillTree(catChilds,CatLvl+1, parentCategoryI..tCategoryId) [MSG]The parameter (CatLvl + 1) in the call to method fillTree within class org.apache.ofbiz.ecommerce.catalog.None is not preceded by a space or whitespace |
ProductCategories.groovy | SpaceAroundOperator | 3 | 47 | [SRC]childList = fillTree(catChilds,CatLvl+1, parentCategoryI..tCategoryId) [MSG]The operator "+" within class org.apache.ofbiz.ecommerce.catalog.None is not preceded by a space or whitespace |
ProductCategories.groovy | SpaceAroundOperator | 3 | 47 | [SRC]childList = fillTree(catChilds,CatLvl+1, parentCategoryI..tCategoryId) [MSG]The operator "+" within class org.apache.ofbiz.ecommerce.catalog.None is not followed by a space or whitespace |
ProductCategories.groovy | SpaceAroundOperator | 3 | 47 | [SRC]childList = fillTree(catChilds,CatLvl+1, parentCategoryI..tCategoryId) [MSG]The operator "+" within class org.apache.ofbiz.ecommerce.catalog.None is not preceded by a space or whitespace |
ProductCategories.groovy | SpaceAroundOperator | 3 | 47 | [SRC]childList = fillTree(catChilds,CatLvl+1, parentCategoryI..tCategoryId) [MSG]The operator "+" within class org.apache.ofbiz.ecommerce.catalog.None is not followed by a space or whitespace |
ProductCategories.groovy | UnnecessaryGString | 3 | 47 | [SRC]childList = fillTree(catChilds,CatLvl+1, parentCategoryI..tCategoryId) [MSG]The String '/' can be wrapped in single quotes instead of double quotes |
ProductCategories.groovy | UnnecessaryGString | 3 | 47 | [SRC]childList = fillTree(catChilds,CatLvl+1, parentCategoryI..tCategoryId) [MSG]The String '' can be wrapped in single quotes instead of double quotes |
ProductCategories.groovy | SpaceAfterComma | 3 | 49 | [SRC]childList = fillTree(catChilds,CatLvl+1, parentCategoryI..tCategoryId) [MSG]The parameter (CatLvl + 1) in the call to method fillTree within class org.apache.ofbiz.ecommerce.catalog.None is not preceded by a space or whitespace |
ProductCategories.groovy | SpaceAroundOperator | 3 | 49 | [SRC]childList = fillTree(catChilds,CatLvl+1, parentCategoryI..tCategoryId) [MSG]The operator "+" within class org.apache.ofbiz.ecommerce.catalog.None is not preceded by a space or whitespace |
ProductCategories.groovy | SpaceAroundOperator | 3 | 49 | [SRC]childList = fillTree(catChilds,CatLvl+1, parentCategoryI..tCategoryId) [MSG]The operator "+" within class org.apache.ofbiz.ecommerce.catalog.None is not followed by a space or whitespace |
ProductCategories.groovy | SpaceAroundOperator | 3 | 49 | [SRC]childList = fillTree(catChilds,CatLvl+1, parentCategoryI..tCategoryId) [MSG]The operator "+" within class org.apache.ofbiz.ecommerce.catalog.None is not preceded by a space or whitespace |
ProductCategories.groovy | SpaceAroundOperator | 3 | 49 | [SRC]childList = fillTree(catChilds,CatLvl+1, parentCategoryI..tCategoryId) [MSG]The operator "+" within class org.apache.ofbiz.ecommerce.catalog.None is not followed by a space or whitespace |
ProductCategories.groovy | SpaceAroundOperator | 3 | 49 | [SRC]childList = fillTree(catChilds,CatLvl+1, parentCategoryI..tCategoryId) [MSG]The operator "+" within class org.apache.ofbiz.ecommerce.catalog.None is not preceded by a space or whitespace |
ProductCategories.groovy | SpaceAroundOperator | 3 | 49 | [SRC]childList = fillTree(catChilds,CatLvl+1, parentCategoryI..tCategoryId) [MSG]The operator "+" within class org.apache.ofbiz.ecommerce.catalog.None is not followed by a space or whitespace |
ProductCategories.groovy | TrailingWhitespace | 3 | 51 | [SRC] [MSG]Line ends with whitespace characters |
ProductCategories.groovy | UnnecessaryGString | 3 | 52 | [SRC]productsInCat = from("ProductCategoryAndMember").where(...queryList() [MSG]The String 'ProductCategoryAndMember' can be wrapped in single quotes instead of double quotes |
ProductCategories.groovy | UnnecessaryGString | 3 | 52 | [SRC]productsInCat = from("ProductCategoryAndMember").where(...queryList() [MSG]The String 'productCategoryId' can be wrapped in single quotes instead of double quotes |
ProductCategories.groovy | TrailingWhitespace | 3 | 53 | [SRC] [MSG]Line ends with whitespace characters |
ProductCategories.groovy | SpaceAfterIf | 3 | 55 | [SRC]if(productsInCat || childList) { [MSG]The if keyword within class org.apache.ofbiz.ecommerce.catalog.None is not followed by a single space |
ProductCategories.groovy | NoDef | 3 | 56 | [SRC]def rootMap = [:] [MSG]def for declaration should not be used |
ProductCategories.groovy | VariableTypeRequired | 3 | 56 | [SRC]def rootMap = [:] [MSG]The type is not specified for variable "rootMap" |
ProductCategories.groovy | UnnecessaryGString | 3 | 57 | [SRC]category = from("ProductCategory").where("productCategor..).queryOne() [MSG]The String 'ProductCategory' can be wrapped in single quotes instead of double quotes |
ProductCategories.groovy | UnnecessaryGString | 3 | 57 | [SRC]category = from("ProductCategory").where("productCategor..).queryOne() [MSG]The String 'productCategoryId' can be wrapped in single quotes instead of double quotes |
ProductCategories.groovy | UnnecessaryGString | 3 | 59 | [SRC]context.title = categoryContentWrapper.get("CATEGORY_NAME", "html") [MSG]The String 'CATEGORY_NAME' can be wrapped in single quotes instead of double quotes |
ProductCategories.groovy | UnnecessaryGString | 3 | 59 | [SRC]context.title = categoryContentWrapper.get("CATEGORY_NAME", "html") [MSG]The String 'html' can be wrapped in single quotes instead of double quotes |
ProductCategories.groovy | UnnecessaryGString | 3 | 60 | [SRC]categoryDescription = categoryContentWrapper.get("DESCRI..ON", "html") [MSG]The String 'DESCRIPTION' can be wrapped in single quotes instead of double quotes |
ProductCategories.groovy | UnnecessaryGString | 3 | 60 | [SRC]categoryDescription = categoryContentWrapper.get("DESCRI..ON", "html") [MSG]The String 'html' can be wrapped in single quotes instead of double quotes |
ProductCategories.groovy | TrailingWhitespace | 3 | 61 | [SRC] [MSG]Line ends with whitespace characters |
ProductCategories.groovy | SpaceAfterIf | 3 | 62 | [SRC]if(categoryContentWrapper.get("CATEGORY_NAME", "html").toString()) [MSG]The if keyword within class org.apache.ofbiz.ecommerce.catalog.None is not followed by a single space |
ProductCategories.groovy | UnnecessaryGString | 3 | 62 | [SRC]if(categoryContentWrapper.get("CATEGORY_NAME", "html").toString()) [MSG]The String 'CATEGORY_NAME' can be wrapped in single quotes instead of double quotes |
ProductCategories.groovy | UnnecessaryGString | 3 | 62 | [SRC]if(categoryContentWrapper.get("CATEGORY_NAME", "html").toString()) [MSG]The String 'html' can be wrapped in single quotes instead of double quotes |
ProductCategories.groovy | UnnecessaryGString | 3 | 63 | [SRC]rootMap["categoryName"] = categoryContentWrapper.get("CA..ME", "html") [MSG]The String 'categoryName' can be wrapped in single quotes instead of double quotes |
ProductCategories.groovy | UnnecessaryGString | 3 | 63 | [SRC]rootMap["categoryName"] = categoryContentWrapper.get("CA..ME", "html") [MSG]The String 'CATEGORY_NAME' can be wrapped in single quotes instead of double quotes |
ProductCategories.groovy | UnnecessaryGString | 3 | 63 | [SRC]rootMap["categoryName"] = categoryContentWrapper.get("CA..ME", "html") [MSG]The String 'html' can be wrapped in single quotes instead of double quotes |
ProductCategories.groovy | UnnecessaryGString | 3 | 65 | [SRC]rootMap["categoryName"] = root.categoryName [MSG]The String 'categoryName' can be wrapped in single quotes instead of double quotes |
ProductCategories.groovy | TrailingWhitespace | 3 | 66 | [SRC] [MSG]Line ends with whitespace characters |
ProductCategories.groovy | SpaceAfterIf | 3 | 67 | [SRC]if(categoryContentWrapper.get("DESCRIPTION", "html").toString()) [MSG]The if keyword within class org.apache.ofbiz.ecommerce.catalog.None is not followed by a single space |
ProductCategories.groovy | UnnecessaryGString | 3 | 67 | [SRC]if(categoryContentWrapper.get("DESCRIPTION", "html").toString()) [MSG]The String 'DESCRIPTION' can be wrapped in single quotes instead of double quotes |
ProductCategories.groovy | UnnecessaryGString | 3 | 67 | [SRC]if(categoryContentWrapper.get("DESCRIPTION", "html").toString()) [MSG]The String 'html' can be wrapped in single quotes instead of double quotes |
ProductCategories.groovy | UnnecessaryGString | 3 | 68 | [SRC]rootMap["categoryDescription"] = categoryContentWrapper...ON", "html") [MSG]The String 'categoryDescription' can be wrapped in single quotes instead of double quotes |
ProductCategories.groovy | UnnecessaryGString | 3 | 68 | [SRC]rootMap["categoryDescription"] = categoryContentWrapper...ON", "html") [MSG]The String 'DESCRIPTION' can be wrapped in single quotes instead of double quotes |
ProductCategories.groovy | UnnecessaryGString | 3 | 68 | [SRC]rootMap["categoryDescription"] = categoryContentWrapper...ON", "html") [MSG]The String 'html' can be wrapped in single quotes instead of double quotes |
ProductCategories.groovy | UnnecessaryGString | 3 | 70 | [SRC]rootMap["categoryDescription"] = root.description [MSG]The String 'categoryDescription' can be wrapped in single quotes instead of double quotes |
ProductCategories.groovy | TrailingWhitespace | 3 | 71 | [SRC] [MSG]Line ends with whitespace characters |
ProductCategories.groovy | UnnecessaryGString | 3 | 72 | [SRC]rootMap["productCategoryId"] = root.productCategoryId [MSG]The String 'productCategoryId' can be wrapped in single quotes instead of double quotes |
ProductCategories.groovy | UnnecessaryGString | 3 | 73 | [SRC]rootMap["parentCategoryId"] = parentCategoryId [MSG]The String 'parentCategoryId' can be wrapped in single quotes instead of double quotes |
ProductCategories.groovy | UnnecessaryGString | 3 | 74 | [SRC]rootMap["child"] = childList [MSG]The String 'child' can be wrapped in single quotes instead of double quotes |
ProductCategories.groovy | UnnecessaryGString | 3 | 83 | [SRC]CategoryWorker.getRelatedCategories(request, "topLevelLi..est)), true) [MSG]The String 'topLevelList' can be wrapped in single quotes instead of double quotes |
ProductCategories.groovy | UnnecessaryGString | 3 | 84 | [SRC]curCategoryId = parameters.category_id ?: parameters.CATEGORY_ID ?: "" [MSG]The String '' can be wrapped in single quotes instead of double quotes |
ProductCategories.groovy | UnnecessaryGString | 3 | 85 | [SRC]request.setAttribute("curCategoryId", curCategoryId) [MSG]The String 'curCategoryId' can be wrapped in single quotes instead of double quotes |
ProductCategories.groovy | UnnecessaryGString | 3 | 88 | [SRC]categoryList = request.getAttribute("topLevelList") [MSG]The String 'topLevelList' can be wrapped in single quotes instead of double quotes |
ProductCategories.groovy | UnnecessaryGString | 3 | 93 | [SRC]completedTree = fillTree(categoryList, 1, "") [MSG]The String '' can be wrapped in single quotes instead of double quotes |
ProductEmail.groovy | UnusedImport | 3 | 22 | [SRC]import org.apache.ofbiz.base.util.UtilValidate [MSG]The [org.apache.ofbiz.base.util.UtilValidate] import is never referenced |
ProductEmail.groovy | SpaceBeforeOpeningBrace | 3 | 29 | [SRC]try{ [MSG]The opening brace for the block in class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
ProductEmail.groovy | Indentation | 3 | 32 | [SRC]context.product = from("Product").where("productId", pro..).queryOne() [MSG]The statement on line 32 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 13 but was 9 |
ProductEmail.groovy | UnnecessaryGString | 3 | 32 | [SRC]context.product = from("Product").where("productId", pro..).queryOne() [MSG]The String 'Product' can be wrapped in single quotes instead of double quotes |
ProductEmail.groovy | UnnecessaryGString | 3 | 32 | [SRC]context.product = from("Product").where("productId", pro..).queryOne() [MSG]The String 'productId' can be wrapped in single quotes instead of double quotes |
ProductEmail.groovy | UnnecessaryGString | 3 | 34 | [SRC]communicationEvent = from("CommunicationEvent").where("c..).queryOne() [MSG]The String 'CommunicationEvent' can be wrapped in single quotes instead of double quotes |
ProductEmail.groovy | UnnecessaryGString | 3 | 34 | [SRC]communicationEvent = from("CommunicationEvent").where("c..).queryOne() [MSG]The String 'communicationEventId' can be wrapped in single quotes instead of double quotes |
ProductEmail.groovy | UnnecessaryGString | 3 | 35 | [SRC]communicationEvent.communicationEventTypeId = "EMAIL_COMMUNICATION" [MSG]The String 'EMAIL_COMMUNICATION' can be wrapped in single quotes instead of double quotes |
ProductEmail.groovy | UnnecessaryGString | 3 | 36 | [SRC]communicationEvent.contactMechTypeId = "EMAIL_ADDRESS" [MSG]The String 'EMAIL_ADDRESS' can be wrapped in single quotes instead of double quotes |
ProductEmail.groovy | SpaceAfterComma | 3 | 38 | [SRC]checkOwner = from("ProductRole").where("productId", prod...queryList() [MSG]The parameter partyId in the call to method where within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
ProductEmail.groovy | SpaceAfterComma | 3 | 38 | [SRC]checkOwner = from("ProductRole").where("productId", prod...queryList() [MSG]The parameter roleTypeId in the call to method where within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
ProductEmail.groovy | UnnecessaryGString | 3 | 38 | [SRC]checkOwner = from("ProductRole").where("productId", prod...queryList() [MSG]The String 'ProductRole' can be wrapped in single quotes instead of double quotes |
ProductEmail.groovy | UnnecessaryGString | 3 | 38 | [SRC]checkOwner = from("ProductRole").where("productId", prod...queryList() [MSG]The String 'productId' can be wrapped in single quotes instead of double quotes |
ProductEmail.groovy | UnnecessaryGString | 3 | 38 | [SRC]checkOwner = from("ProductRole").where("productId", prod...queryList() [MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes |
ProductEmail.groovy | UnnecessaryGString | 3 | 38 | [SRC]checkOwner = from("ProductRole").where("productId", prod...queryList() [MSG]The String 'roleTypeId' can be wrapped in single quotes instead of double quotes |
ProductEmail.groovy | UnnecessaryGString | 3 | 38 | [SRC]checkOwner = from("ProductRole").where("productId", prod...queryList() [MSG]The String 'PRODUCT_OWNER' can be wrapped in single quotes instead of double quotes |
ProductEmail.groovy | TrailingWhitespace | 3 | 41 | [SRC] [MSG]Line ends with whitespace characters |
ProductEmail.groovy | SpaceAfterComma | 3 | 43 | [SRC]productRole = from("ProductRole").where("productId", pro...queryList() [MSG]The parameter roleTypeId in the call to method where within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
ProductEmail.groovy | UnnecessaryGString | 3 | 43 | [SRC]productRole = from("ProductRole").where("productId", pro...queryList() [MSG]The String 'ProductRole' can be wrapped in single quotes instead of double quotes |
ProductEmail.groovy | UnnecessaryGString | 3 | 43 | [SRC]productRole = from("ProductRole").where("productId", pro...queryList() [MSG]The String 'productId' can be wrapped in single quotes instead of double quotes |
ProductEmail.groovy | UnnecessaryGString | 3 | 43 | [SRC]productRole = from("ProductRole").where("productId", pro...queryList() [MSG]The String 'roleTypeId' can be wrapped in single quotes instead of double quotes |
ProductEmail.groovy | UnnecessaryGString | 3 | 43 | [SRC]productRole = from("ProductRole").where("productId", pro...queryList() [MSG]The String 'PRODUCT_OWNER' can be wrapped in single quotes instead of double quotes |
ProductEmail.groovy | UnnecessaryGString | 3 | 45 | [SRC]parentCom = from("CommunicationEvent").where("communicat..).queryOne() [MSG]The String 'CommunicationEvent' can be wrapped in single quotes instead of double quotes |
ProductEmail.groovy | UnnecessaryGString | 3 | 45 | [SRC]parentCom = from("CommunicationEvent").where("communicat..).queryOne() [MSG]The String 'communicationEventId' can be wrapped in single quotes instead of double quotes |
ProductEmail.groovy | SpaceAroundMapEntryColon | 3 | 51 | [SRC]resultsIdFrom = runService('getPartyEmail', ["partyId" :.. userLogin]) [MSG]The colon for the literal Map entry for key [partyId] within class org.apache.ofbiz.scrum.None is not preceded by a match for regular expression [\S] |
ProductEmail.groovy | SpaceAroundMapEntryColon | 3 | 51 | [SRC]resultsIdFrom = runService('getPartyEmail', ["partyId" :.. userLogin]) [MSG]The colon for the literal Map entry for key [userLogin] within class org.apache.ofbiz.scrum.None is not preceded by a match for regular expression [\S] |
ProductEmail.groovy | UnnecessaryGString | 3 | 51 | [SRC]resultsIdFrom = runService('getPartyEmail', ["partyId" :.. userLogin]) [MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes |
ProductEmail.groovy | UnnecessaryGString | 3 | 51 | [SRC]resultsIdFrom = runService('getPartyEmail', ["partyId" :.. userLogin]) [MSG]The String 'userLogin' can be wrapped in single quotes instead of double quotes |
ProductEmail.groovy | SpaceAfterComma | 3 | 58 | [SRC]resultsIdTo = runService('getPartyEmail', ["partyId" : d.. userLogin]) [MSG]The map entry contactMechPurposeTypeId:SUPPORT_EMAIL within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
ProductEmail.groovy | SpaceAroundMapEntryColon | 3 | 58 | [SRC]resultsIdTo = runService('getPartyEmail', ["partyId" : d.. userLogin]) [MSG]The colon for the literal Map entry for key [partyId] within class org.apache.ofbiz.scrum.None is not preceded by a match for regular expression [\S] |
ProductEmail.groovy | SpaceAroundMapEntryColon | 3 | 58 | [SRC]resultsIdTo = runService('getPartyEmail', ["partyId" : d.. userLogin]) [MSG]The colon for the literal Map entry for key [contactMechPurposeTypeId] within class org.apache.ofbiz.scrum.None is not preceded by a match for regular expression [\S] |
ProductEmail.groovy | SpaceAroundMapEntryColon | 3 | 58 | [SRC]resultsIdTo = runService('getPartyEmail', ["partyId" : d.. userLogin]) [MSG]The colon for the literal Map entry for key [contactMechPurposeTypeId] within class org.apache.ofbiz.scrum.None is not followed by a match for regular expression [\s] |
ProductEmail.groovy | SpaceAroundMapEntryColon | 3 | 58 | [SRC]resultsIdTo = runService('getPartyEmail', ["partyId" : d.. userLogin]) [MSG]The colon for the literal Map entry for key [userLogin] within class org.apache.ofbiz.scrum.None is not preceded by a match for regular expression [\S] |
ProductEmail.groovy | UnnecessaryGString | 3 | 58 | [SRC]resultsIdTo = runService('getPartyEmail', ["partyId" : d.. userLogin]) [MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes |
ProductEmail.groovy | UnnecessaryGString | 3 | 58 | [SRC]resultsIdTo = runService('getPartyEmail', ["partyId" : d.. userLogin]) [MSG]The String 'contactMechPurposeTypeId' can be wrapped in single quotes instead of double quotes |
ProductEmail.groovy | UnnecessaryGString | 3 | 58 | [SRC]resultsIdTo = runService('getPartyEmail', ["partyId" : d.. userLogin]) [MSG]The String 'SUPPORT_EMAIL' can be wrapped in single quotes instead of double quotes |
ProductEmail.groovy | UnnecessaryGString | 3 | 58 | [SRC]resultsIdTo = runService('getPartyEmail', ["partyId" : d.. userLogin]) [MSG]The String 'userLogin' can be wrapped in single quotes instead of double quotes |
ProductEmail.groovy | TrailingWhitespace | 3 | 68 | [SRC] [MSG]Line ends with whitespace characters |
ProductEmail.groovy | SpaceAfterComma | 3 | 72 | [SRC]resultsIdFrom = runService('getPartyEmail', ["partyId" :.. userLogin]) [MSG]The map entry contactMechPurposeTypeId:SUPPORT_EMAIL within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
ProductEmail.groovy | SpaceAroundMapEntryColon | 3 | 72 | [SRC]resultsIdFrom = runService('getPartyEmail', ["partyId" :.. userLogin]) [MSG]The colon for the literal Map entry for key [partyId] within class org.apache.ofbiz.scrum.None is not preceded by a match for regular expression [\S] |
ProductEmail.groovy | SpaceAroundMapEntryColon | 3 | 72 | [SRC]resultsIdFrom = runService('getPartyEmail', ["partyId" :.. userLogin]) [MSG]The colon for the literal Map entry for key [contactMechPurposeTypeId] within class org.apache.ofbiz.scrum.None is not preceded by a match for regular expression [\S] |
ProductEmail.groovy | SpaceAroundMapEntryColon | 3 | 72 | [SRC]resultsIdFrom = runService('getPartyEmail', ["partyId" :.. userLogin]) [MSG]The colon for the literal Map entry for key [contactMechPurposeTypeId] within class org.apache.ofbiz.scrum.None is not followed by a match for regular expression [\s] |
ProductEmail.groovy | SpaceAroundMapEntryColon | 3 | 72 | [SRC]resultsIdFrom = runService('getPartyEmail', ["partyId" :.. userLogin]) [MSG]The colon for the literal Map entry for key [userLogin] within class org.apache.ofbiz.scrum.None is not preceded by a match for regular expression [\S] |
ProductEmail.groovy | UnnecessaryGString | 3 | 72 | [SRC]resultsIdFrom = runService('getPartyEmail', ["partyId" :.. userLogin]) [MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes |
ProductEmail.groovy | UnnecessaryGString | 3 | 72 | [SRC]resultsIdFrom = runService('getPartyEmail', ["partyId" :.. userLogin]) [MSG]The String 'contactMechPurposeTypeId' can be wrapped in single quotes instead of double quotes |
ProductEmail.groovy | UnnecessaryGString | 3 | 72 | [SRC]resultsIdFrom = runService('getPartyEmail', ["partyId" :.. userLogin]) [MSG]The String 'SUPPORT_EMAIL' can be wrapped in single quotes instead of double quotes |
ProductEmail.groovy | UnnecessaryGString | 3 | 72 | [SRC]resultsIdFrom = runService('getPartyEmail', ["partyId" :.. userLogin]) [MSG]The String 'userLogin' can be wrapped in single quotes instead of double quotes |
ProductEmail.groovy | SpaceAfterComma | 3 | 78 | [SRC]productRole = from("ProductRole").where("productId", pro...queryList() [MSG]The parameter roleTypeId in the call to method where within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
ProductEmail.groovy | UnnecessaryGString | 3 | 78 | [SRC]productRole = from("ProductRole").where("productId", pro...queryList() [MSG]The String 'ProductRole' can be wrapped in single quotes instead of double quotes |
ProductEmail.groovy | UnnecessaryGString | 3 | 78 | [SRC]productRole = from("ProductRole").where("productId", pro...queryList() [MSG]The String 'productId' can be wrapped in single quotes instead of double quotes |
ProductEmail.groovy | UnnecessaryGString | 3 | 78 | [SRC]productRole = from("ProductRole").where("productId", pro...queryList() [MSG]The String 'roleTypeId' can be wrapped in single quotes instead of double quotes |
ProductEmail.groovy | UnnecessaryGString | 3 | 78 | [SRC]productRole = from("ProductRole").where("productId", pro...queryList() [MSG]The String 'PRODUCT_OWNER' can be wrapped in single quotes instead of double quotes |
ProductEmail.groovy | UnnecessaryGString | 3 | 80 | [SRC]parentCom = from("CommunicationEvent").where("communicat..).queryOne() [MSG]The String 'CommunicationEvent' can be wrapped in single quotes instead of double quotes |
ProductEmail.groovy | UnnecessaryGString | 3 | 80 | [SRC]parentCom = from("CommunicationEvent").where("communicat..).queryOne() [MSG]The String 'communicationEventId' can be wrapped in single quotes instead of double quotes |
ProductEmail.groovy | SpaceAfterIf | 3 | 81 | [SRC]if(parentCom){ [MSG]The if keyword within class org.apache.ofbiz.scrum.None is not followed by a single space |
ProductEmail.groovy | SpaceBeforeOpeningBrace | 3 | 81 | [SRC]if(parentCom){ [MSG]The opening brace for the block in class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
ProductEmail.groovy | Indentation | 3 | 84 | [SRC]context.partyIdTo = parentCom.partyIdFrom [MSG]The statement on line 84 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 17 but was 18 |
ProductEmail.groovy | Indentation | 3 | 86 | [SRC]resultsIdTo = runService('getPartyEmail', ["partyId" : p.. userLogin]) [MSG]The statement on line 86 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 13 but was 12 |
ProductEmail.groovy | SpaceAroundMapEntryColon | 3 | 86 | [SRC]resultsIdTo = runService('getPartyEmail', ["partyId" : p.. userLogin]) [MSG]The colon for the literal Map entry for key [partyId] within class org.apache.ofbiz.scrum.None is not preceded by a match for regular expression [\S] |
ProductEmail.groovy | SpaceAroundMapEntryColon | 3 | 86 | [SRC]resultsIdTo = runService('getPartyEmail', ["partyId" : p.. userLogin]) [MSG]The colon for the literal Map entry for key [userLogin] within class org.apache.ofbiz.scrum.None is not preceded by a match for regular expression [\S] |
ProductEmail.groovy | UnnecessaryGString | 3 | 86 | [SRC]resultsIdTo = runService('getPartyEmail', ["partyId" : p.. userLogin]) [MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes |
ProductEmail.groovy | UnnecessaryGString | 3 | 86 | [SRC]resultsIdTo = runService('getPartyEmail', ["partyId" : p.. userLogin]) [MSG]The String 'userLogin' can be wrapped in single quotes instead of double quotes |
ProductEmail.groovy | Indentation | 3 | 87 | [SRC]if (resultsIdTo.contactMechId != null) { [MSG]The statement on line 87 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 13 but was 12 |
ProductEmail.groovy | Indentation | 3 | 88 | [SRC]context.contactMechIdTo = resultsIdTo.contactMechId [MSG]The statement on line 88 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 17 but was 15 |
ProductEmail.groovy | Indentation | 3 | 89 | [SRC]communicationEvent.contactMechIdTo = resultsIdTo.contactMechId [MSG]The statement on line 89 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 17 but was 15 |
ProductEmail.groovy | Indentation | 3 | 91 | [SRC]communicationEvent.store() [MSG]The statement on line 91 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 13 but was 12 |
ProductEmail.groovy | Indentation | 3 | 92 | [SRC]context.communicationEvent = communicationEvent [MSG]The statement on line 92 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 13 but was 12 |
ProductEmail.groovy | UnnecessaryGString | 3 | 96 | [SRC]logInfo("catch exeption ================" + exeption) [MSG]The String 'catch exeption ================' can be wrapped in single quotes instead of double quotes |
ProductEmail.groovy | UnnecessaryGString | 3 | 98 | [SRC]logInfo("catch GenericEntityException ================" ..etMessage()) [MSG]The String 'catch GenericEntityException ================' can be wrapped in single quotes instead of double quotes |
ProductionRunAllFixedAssets.groovy | ImportFromSamePackage | 3 | 21 | [SRC]import org.apache.ofbiz.manufacturing.jobshopmgt.ProductionRun |
ProductionRunDeclaration.groovy | ImportFromSamePackage | 3 | 26 | [SRC]import org.apache.ofbiz.manufacturing.jobshopmgt.ProductionRun |
ProductionRunTaskParties.groovy | ImportFromSamePackage | 3 | 21 | [SRC]import org.apache.ofbiz.manufacturing.jobshopmgt.ProductionRun |
ProductionRunTasks.groovy | ImportFromSamePackage | 3 | 21 | [SRC]import org.apache.ofbiz.manufacturing.jobshopmgt.ProductionRun |
ProductsExportToEbayScript.groovy | BlankLineBeforePackage | 3 | 18 | [MSG]Blank line precedes package declaration in file ProductsExportToEbayScript.groovy |
ProductsExportToEbayScript.groovy | UnnecessaryGString | 3 | 28 | [SRC]webSiteList = from("WebSite").where("productStoreId", pr...queryList() [MSG]The String 'WebSite' can be wrapped in single quotes instead of double quotes |
ProductsExportToEbayScript.groovy | UnnecessaryGString | 3 | 28 | [SRC]webSiteList = from("WebSite").where("productStoreId", pr...queryList() [MSG]The String 'productStoreId' can be wrapped in single quotes instead of double quotes |
ProductsExportToEbayScript.groovy | UnnecessaryGString | 3 | 30 | [SRC]webSite = from("WebSite").where("webSiteId", parameters...).queryOne() [MSG]The String 'WebSite' can be wrapped in single quotes instead of double quotes |
ProductsExportToEbayScript.groovy | UnnecessaryGString | 3 | 30 | [SRC]webSite = from("WebSite").where("webSiteId", parameters...).queryOne() [MSG]The String 'webSiteId' can be wrapped in single quotes instead of double quotes |
ProductsExportToEbayScript.groovy | UnnecessaryGString | 3 | 42 | [SRC]countryCode = "US" [MSG]The String 'US' can be wrapped in single quotes instead of double quotes |
ProductsExportToEbayScript.groovy | UnnecessaryGString | 3 | 46 | [SRC]eBayConfig = from("EbayConfig").where("productStoreId", ..).queryOne() [MSG]The String 'EbayConfig' can be wrapped in single quotes instead of double quotes |
ProductsExportToEbayScript.groovy | UnnecessaryGString | 3 | 46 | [SRC]eBayConfig = from("EbayConfig").where("productStoreId", ..).queryOne() [MSG]The String 'productStoreId' can be wrapped in single quotes instead of double quotes |
ProductsExportToEbayScript.groovy | UnnecessaryGString | 3 | 48 | [SRC]context.webSiteUrl = webSite.getString("standardContentPrefix") [MSG]The String 'standardContentPrefix' can be wrapped in single quotes instead of double quotes |
ProductsExportToEbayScript.groovy | TrailingWhitespace | 3 | 49 | [SRC] [MSG]Line ends with whitespace characters |
ProductsExportToEbayScript.groovy | TrailingWhitespace | 3 | 53 | [SRC] [MSG]Line ends with whitespace characters |
ProductsExportToEbayScript.groovy | SpaceAroundMapEntryColon | 3 | 55 | [SRC]results = runService('getEbayCategories', [categoryCode ..uctStoreId]) [MSG]The colon for the literal Map entry for key [categoryCode] within class org.apache.ofbiz.ebay.None is not preceded by a match for regular expression [\S] |
ProductsExportToEbayScript.groovy | SpaceAroundMapEntryColon | 3 | 55 | [SRC]results = runService('getEbayCategories', [categoryCode ..uctStoreId]) [MSG]The colon for the literal Map entry for key [userLogin] within class org.apache.ofbiz.ebay.None is not preceded by a match for regular expression [\S] |
ProductsExportToEbayScript.groovy | SpaceAroundMapEntryColon | 3 | 55 | [SRC]results = runService('getEbayCategories', [categoryCode ..uctStoreId]) [MSG]The colon for the literal Map entry for key [productStoreId] within class org.apache.ofbiz.ebay.None is not preceded by a match for regular expression [\S] |
ProductsExportToEbayScript.groovy | TrailingWhitespace | 3 | 57 | [SRC] [MSG]Line ends with whitespace characters |
ProductsExportToEbayScript.groovy | TrailingWhitespace | 3 | 61 | [SRC] [MSG]Line ends with whitespace characters |
ProductsExportToEbayScript.groovy | UnnecessaryGString | 3 | 63 | [SRC]if (!"Y".equals(categoryCode.substring(0, 1)) && !"".equ..goryCode)) { [MSG]The String 'Y' can be wrapped in single quotes instead of double quotes |
ProductsExportToEbayScript.groovy | UnnecessaryGString | 3 | 63 | [SRC]if (!"Y".equals(categoryCode.substring(0, 1)) && !"".equ..goryCode)) { [MSG]The String '' can be wrapped in single quotes instead of double quotes |
ProductsExportToEbayScript.groovy | UnnecessaryGString | 3 | 64 | [SRC]context.hideExportOptions = "Y" [MSG]The String 'Y' can be wrapped in single quotes instead of double quotes |
ProductsExportToEbayScript.groovy | UnnecessaryGString | 3 | 66 | [SRC]context.hideExportOptions = "N" [MSG]The String 'N' can be wrapped in single quotes instead of double quotes |
ProductsExportToEbayScript.groovy | UnnecessaryGString | 3 | 69 | [SRC]context.hideExportOptions = "N" [MSG]The String 'N' can be wrapped in single quotes instead of double quotes |
ProductsExportToEbayScript.groovy | TrailingWhitespace | 3 | 70 | [SRC]} [MSG]Line ends with whitespace characters |
ProjectBilling.groovy | ConsecutiveBlankLines | 3 | 21 | [MSG]File ProjectBilling.groovy has consecutive blank lines |
ProjectBilling.groovy | UnnecessaryGString | 3 | 30 | [SRC]EntityCondition.makeCondition("projectId", EntityOperato.. projectId), [MSG]The String 'projectId' can be wrapped in single quotes instead of double quotes |
ProjectBilling.groovy | UnnecessaryGString | 3 | 31 | [SRC]EntityCondition.makeCondition("invoiceId", EntityOperato..QUAL, null), [MSG]The String 'invoiceId' can be wrapped in single quotes instead of double quotes |
ProjectBilling.groovy | UnnecessaryGString | 3 | 33 | [SRC]orderBy = ["-fromDate"] [MSG]The String '-fromDate' can be wrapped in single quotes instead of double quotes |
ProjectBilling.groovy | UnnecessaryGString | 3 | 35 | [SRC]entryIterator = from("ProjectPhaseTaskAndTimeEntryTimeSheet") [MSG]The String 'ProjectPhaseTaskAndTimeEntryTimeSheet' can be wrapped in single quotes instead of double quotes |
ProjectBilling.groovy | UnnecessaryGString | 3 | 37 | [SRC]EntityCondition.makeCondition("projectId", EntityOperato.. projectId), [MSG]The String 'projectId' can be wrapped in single quotes instead of double quotes |
ProjectBilling.groovy | UnnecessaryGString | 3 | 38 | [SRC]EntityCondition.makeCondition("invoiceId", EntityOperato..QUAL, null), [MSG]The String 'invoiceId' can be wrapped in single quotes instead of double quotes |
ProjectBilling.groovy | UnnecessaryGString | 3 | 40 | [SRC].orderBy("-fromDate") [MSG]The String '-fromDate' can be wrapped in single quotes instead of double quotes |
ProjectBilling.groovy | UnnecessaryGString | 3 | 43 | [SRC]invoice = entryItem.getRelatedOne("Invoice", false) [MSG]The String 'Invoice' can be wrapped in single quotes instead of double quotes |
ProjectBilling.groovy | UnnecessaryGString | 3 | 44 | [SRC]if ("INVOICE_IN_PROCESS".equals(invoice.getString("statusId"))) { [MSG]The String 'INVOICE_IN_PROCESS' can be wrapped in single quotes instead of double quotes |
ProjectBilling.groovy | UnnecessaryGString | 3 | 44 | [SRC]if ("INVOICE_IN_PROCESS".equals(invoice.getString("statusId"))) { [MSG]The String 'statusId' can be wrapped in single quotes instead of double quotes |
ProjectIsBillable.groovy | UnnecessaryGString | 3 | 21 | [SRC]projectMembers = from("WorkEffortPartyAssignment").where...queryList() [MSG]The String 'WorkEffortPartyAssignment' can be wrapped in single quotes instead of double quotes |
ProjectIsBillable.groovy | UnnecessaryGString | 3 | 21 | [SRC]projectMembers = from("WorkEffortPartyAssignment").where...queryList() [MSG]The String 'workEffortId' can be wrapped in single quotes instead of double quotes |
ProjectIsBillable.groovy | SpaceAfterOpeningBrace | 3 | 25 | [SRC]projectMembers.each {member -> [MSG]The opening brace for the closure in class org.apache.ofbiz.projectmgr.None is not followed by a space or whitespace |
ProjectIsBillable.groovy | UnnecessaryGString | 3 | 26 | [SRC]if ("INTERNAL_ORGANIZATIO".equals(member.roleTypeId)) { [MSG]The String 'INTERNAL_ORGANIZATIO' can be wrapped in single quotes instead of double quotes |
ProjectIsBillable.groovy | UnnecessaryGString | 3 | 29 | [SRC]if ("CLIENT_BILLING".equals(member.roleTypeId)) { [MSG]The String 'CLIENT_BILLING' can be wrapped in single quotes instead of double quotes |
ProjectIsBillable.groovy | SpaceBeforeOpeningBrace | 3 | 34 | [SRC]} else if (!toPartyId || !fromPartyId){ [MSG]The opening brace for the block in class org.apache.ofbiz.projectmgr.None is not preceded by a space or whitespace |
ProjectIsBillable.groovy | TrailingWhitespace | 3 | 36 | [SRC]} else { [MSG]Line ends with whitespace characters |
PubInit.groovy | UnnecessaryGroovyImport | 3 | 21 | [SRC]import java.util.ArrayList |
PubInit.groovy | UnusedImport | 3 | 21 | [SRC]import java.util.ArrayList [MSG]The [java.util.ArrayList] import is never referenced |
PubInit.groovy | UnnecessaryGroovyImport | 3 | 22 | [SRC]import java.util.Collection |
PubInit.groovy | UnusedImport | 3 | 22 | [SRC]import java.util.Collection [MSG]The [java.util.Collection] import is never referenced |
PubInit.groovy | UnnecessaryGroovyImport | 3 | 23 | [SRC]import java.util.HashMap |
PubInit.groovy | UnusedImport | 3 | 23 | [SRC]import java.util.HashMap [MSG]The [java.util.HashMap] import is never referenced |
PubInit.groovy | UnnecessaryGroovyImport | 3 | 24 | [SRC]import java.util.Iterator |
PubInit.groovy | UnusedImport | 3 | 24 | [SRC]import java.util.Iterator [MSG]The [java.util.Iterator] import is never referenced |
PubInit.groovy | UnnecessaryGroovyImport | 3 | 25 | [SRC]import java.util.LinkedList |
PubInit.groovy | UnusedImport | 3 | 25 | [SRC]import java.util.LinkedList [MSG]The [java.util.LinkedList] import is never referenced |
PubInit.groovy | UnnecessaryGroovyImport | 3 | 26 | [SRC]import java.util.List |
PubInit.groovy | UnusedImport | 3 | 26 | [SRC]import java.util.List [MSG]The [java.util.List] import is never referenced |
PubInit.groovy | UnnecessaryGroovyImport | 3 | 27 | [SRC]import java.util.Map |
PubInit.groovy | UnusedImport | 3 | 27 | [SRC]import java.util.Map [MSG]The [java.util.Map] import is never referenced |
PubInit.groovy | UnnecessaryGroovyImport | 3 | 28 | [SRC]import java.util.Set |
PubInit.groovy | UnusedImport | 3 | 28 | [SRC]import java.util.Set [MSG]The [java.util.Set] import is never referenced |
PubInit.groovy | UnnecessaryGroovyImport | 3 | 29 | [SRC]import java.util.TreeSet |
PubInit.groovy | UnusedImport | 3 | 29 | [SRC]import java.util.TreeSet [MSG]The [java.util.TreeSet] import is never referenced |
PubInit.groovy | NoWildcardImports | 3 | 30 | [SRC]import org.apache.ofbiz.base.util.* [MSG]Wildcard (star) import |
PubInit.groovy | NoWildcardImports | 3 | 31 | [SRC]import org.apache.ofbiz.entity.* [MSG]Wildcard (star) import |
PubInit.groovy | NoWildcardImports | 3 | 32 | [SRC]import org.apache.ofbiz.security.* [MSG]Wildcard (star) import |
PubInit.groovy | NoWildcardImports | 3 | 33 | [SRC]import org.apache.ofbiz.service.* [MSG]Wildcard (star) import |
PubInit.groovy | NoWildcardImports | 3 | 34 | [SRC]import org.apache.ofbiz.entity.model.* [MSG]Wildcard (star) import |
PubInit.groovy | NoWildcardImports | 3 | 34 | [SRC]import org.apache.ofbiz.entity.model.* [MSG]Wildcard (star) import |
PubInit.groovy | NoWildcardImports | 3 | 36 | [SRC]import org.apache.ofbiz.securityext.login.* [MSG]Wildcard (star) import |
PubInit.groovy | NoWildcardImports | 3 | 37 | [SRC]import org.apache.ofbiz.common.* [MSG]Wildcard (star) import |
PubInit.groovy | DuplicateImport | 3 | 38 | [SRC]import org.apache.ofbiz.entity.model.* |
PubInit.groovy | NoWildcardImports | 3 | 41 | [SRC]import javax.servlet.* [MSG]Wildcard (star) import |
PubInit.groovy | NoWildcardImports | 3 | 42 | [SRC]import javax.servlet.http.* [MSG]Wildcard (star) import |
PubInit.groovy | UnnecessaryGString | 3 | 49 | [SRC]session.setAttribute("rootPubId", rootForumId) [MSG]The String 'rootPubId' can be wrapped in single quotes instead of double quotes |
PubInit.groovy | UnnecessaryGString | 3 | 50 | [SRC]request.setAttribute("rootPubId", rootForumId) [MSG]The String 'rootPubId' can be wrapped in single quotes instead of double quotes |
PubInit.groovy | UnnecessaryGString | 3 | 51 | [SRC]forumId = ContentManagementWorker.getFromSomewhere("foru..st, context) [MSG]The String 'forumId' can be wrapped in single quotes instead of double quotes |
PubInit.groovy | UnnecessaryGString | 3 | 56 | [SRC]session.setAttribute("forumId", forumId) [MSG]The String 'forumId' can be wrapped in single quotes instead of double quotes |
PubInit.groovy | UnnecessaryGString | 3 | 57 | [SRC]request.setAttribute("forumId", forumId) [MSG]The String 'forumId' can be wrapped in single quotes instead of double quotes |
QuickAddBacklog.groovy | SpaceAfterClosingBrace | 3 | 21 | [SRC]try{ [MSG]The closing brace for the block in class org.apache.ofbiz.scrum.None is not followed by a space or whitespace |
QuickAddBacklog.groovy | SpaceBeforeOpeningBrace | 3 | 21 | [SRC]try{ [MSG]The opening brace for the block in class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
QuickAddBacklog.groovy | SpaceAfterComma | 3 | 24 | [SRC]sprintList = from("WorkEffort").where("workEffortTypeId"...queryList() [MSG]The parameter currentStatusId in the call to method where within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
QuickAddBacklog.groovy | UnnecessaryGString | 3 | 24 | [SRC]sprintList = from("WorkEffort").where("workEffortTypeId"...queryList() [MSG]The String 'WorkEffort' can be wrapped in single quotes instead of double quotes |
QuickAddBacklog.groovy | UnnecessaryGString | 3 | 24 | [SRC]sprintList = from("WorkEffort").where("workEffortTypeId"...queryList() [MSG]The String 'workEffortTypeId' can be wrapped in single quotes instead of double quotes |
QuickAddBacklog.groovy | UnnecessaryGString | 3 | 24 | [SRC]sprintList = from("WorkEffort").where("workEffortTypeId"...queryList() [MSG]The String 'SCRUM_SPRINT' can be wrapped in single quotes instead of double quotes |
QuickAddBacklog.groovy | UnnecessaryGString | 3 | 24 | [SRC]sprintList = from("WorkEffort").where("workEffortTypeId"...queryList() [MSG]The String 'currentStatusId' can be wrapped in single quotes instead of double quotes |
QuickAddBacklog.groovy | UnnecessaryGString | 3 | 24 | [SRC]sprintList = from("WorkEffort").where("workEffortTypeId"...queryList() [MSG]The String 'SPRINT_ACTIVE' can be wrapped in single quotes instead of double quotes |
QuickAddBacklog.groovy | SpaceBeforeOpeningBrace | 3 | 26 | [SRC]sprintList.each{ sprintMap -> [MSG]The opening brace for the closure in class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
QuickAddBacklog.groovy | Indentation | 3 | 30 | [SRC]projectList = from("WorkEffortAndProduct").where("workEf...queryList() [MSG]The statement on line 30 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [17, 21, 25] but was 16 |
QuickAddBacklog.groovy | UnnecessaryGString | 3 | 30 | [SRC]projectList = from("WorkEffortAndProduct").where("workEf...queryList() [MSG]The String 'WorkEffortAndProduct' can be wrapped in single quotes instead of double quotes |
QuickAddBacklog.groovy | UnnecessaryGString | 3 | 30 | [SRC]projectList = from("WorkEffortAndProduct").where("workEf...queryList() [MSG]The String 'workEffortId' can be wrapped in single quotes instead of double quotes |
QuickAddBacklog.groovy | Indentation | 3 | 31 | [SRC]projectMap = projectList[0] [MSG]The statement on line 31 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [17, 21, 25] but was 16 |
QuickAddBacklog.groovy | Indentation | 3 | 33 | [SRC]if ("SPJ_CLOSED" != projectMap.currentStatusId) { [MSG]The statement on line 33 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [17, 21, 25] but was 16 |
QuickAddBacklog.groovy | UnnecessaryGString | 3 | 33 | [SRC]if ("SPJ_CLOSED" != projectMap.currentStatusId) { [MSG]The String 'SPJ_CLOSED' can be wrapped in single quotes instead of double quotes |
QuickAddBacklog.groovy | Indentation | 3 | 34 | [SRC]productMap = from("Product").where("productId", projectM..).queryOne() [MSG]The statement on line 34 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [21, 25, 29] but was 20 |
QuickAddBacklog.groovy | UnnecessaryGString | 3 | 34 | [SRC]productMap = from("Product").where("productId", projectM..).queryOne() [MSG]The String 'Product' can be wrapped in single quotes instead of double quotes |
QuickAddBacklog.groovy | UnnecessaryGString | 3 | 34 | [SRC]productMap = from("Product").where("productId", projectM..).queryOne() [MSG]The String 'productId' can be wrapped in single quotes instead of double quotes |
QuickAddBacklog.groovy | Indentation | 3 | 35 | [SRC]workEffortMap.productId = productMap.productId [MSG]The statement on line 35 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [21, 25, 29] but was 20 |
QuickAddBacklog.groovy | Indentation | 3 | 36 | [SRC]workEffortMap.internalName = returnNameAsString(productM..rnalName,30) [MSG]The statement on line 36 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [21, 25, 29] but was 20 |
QuickAddBacklog.groovy | SpaceAfterComma | 3 | 36 | [SRC]workEffortMap.internalName = returnNameAsString(productM..rnalName,30) [MSG]The parameter 30 in the call to method returnNameAsString within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
QuickAddBacklog.groovy | Indentation | 3 | 37 | [SRC]workEffortMap.projectId = projectMap.workEffortId [MSG]The statement on line 37 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [21, 25, 29] but was 20 |
QuickAddBacklog.groovy | Indentation | 3 | 38 | [SRC]workEffortMap.projectName = returnNameAsString(projectMa..fortName,30) [MSG]The statement on line 38 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [21, 25, 29] but was 20 |
QuickAddBacklog.groovy | SpaceAfterComma | 3 | 38 | [SRC]workEffortMap.projectName = returnNameAsString(projectMa..fortName,30) [MSG]The parameter 30 in the call to method returnNameAsString within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
QuickAddBacklog.groovy | Indentation | 3 | 39 | [SRC]workEffortMap.sprintId = sprintMap.workEffortId [MSG]The statement on line 39 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [21, 25, 29] but was 20 |
QuickAddBacklog.groovy | Indentation | 3 | 40 | [SRC]workEffortMap.sprintName = returnNameAsString(sprintMap...fortName,30) [MSG]The statement on line 40 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [21, 25, 29] but was 20 |
QuickAddBacklog.groovy | SpaceAfterComma | 3 | 40 | [SRC]workEffortMap.sprintName = returnNameAsString(sprintMap...fortName,30) [MSG]The parameter 30 in the call to method returnNameAsString within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
QuickAddBacklog.groovy | Indentation | 3 | 41 | [SRC]workEffortMap.keyId = productMap.productId+","+projectMa..workEffortId [MSG]The statement on line 41 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [21, 25, 29] but was 20 |
QuickAddBacklog.groovy | SpaceAroundOperator | 3 | 41 | [SRC]workEffortMap.keyId = productMap.productId+","+projectMa..workEffortId [MSG]The operator "+" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
QuickAddBacklog.groovy | SpaceAroundOperator | 3 | 41 | [SRC]workEffortMap.keyId = productMap.productId+","+projectMa..workEffortId [MSG]The operator "+" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace |
QuickAddBacklog.groovy | SpaceAroundOperator | 3 | 41 | [SRC]workEffortMap.keyId = productMap.productId+","+projectMa..workEffortId [MSG]The operator "+" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
QuickAddBacklog.groovy | SpaceAroundOperator | 3 | 41 | [SRC]workEffortMap.keyId = productMap.productId+","+projectMa..workEffortId [MSG]The operator "+" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace |
QuickAddBacklog.groovy | SpaceAroundOperator | 3 | 41 | [SRC]workEffortMap.keyId = productMap.productId+","+projectMa..workEffortId [MSG]The operator "+" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
QuickAddBacklog.groovy | SpaceAroundOperator | 3 | 41 | [SRC]workEffortMap.keyId = productMap.productId+","+projectMa..workEffortId [MSG]The operator "+" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace |
QuickAddBacklog.groovy | SpaceAroundOperator | 3 | 41 | [SRC]workEffortMap.keyId = productMap.productId+","+projectMa..workEffortId [MSG]The operator "+" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
QuickAddBacklog.groovy | SpaceAroundOperator | 3 | 41 | [SRC]workEffortMap.keyId = productMap.productId+","+projectMa..workEffortId [MSG]The operator "+" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace |
QuickAddBacklog.groovy | UnnecessaryGString | 3 | 41 | [SRC]workEffortMap.keyId = productMap.productId+","+projectMa..workEffortId [MSG]The String ',' can be wrapped in single quotes instead of double quotes |
QuickAddBacklog.groovy | UnnecessaryGString | 3 | 41 | [SRC]workEffortMap.keyId = productMap.productId+","+projectMa..workEffortId [MSG]The String ',' can be wrapped in single quotes instead of double quotes |
QuickAddBacklog.groovy | Indentation | 3 | 42 | [SRC]workEffortList.add(workEffortMap) [MSG]The statement on line 42 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [21, 25, 29] but was 20 |
QuickAddBacklog.groovy | UnnecessaryGString | 3 | 55 | [SRC]indexList = parameters.keyId.tokenize(",") [MSG]The String ',' can be wrapped in single quotes instead of double quotes |
QuickAddBacklog.groovy | SpaceAfterComma | 3 | 61 | [SRC]sprintList = from("CustRequestAndCustRequestItem").where...queryList() [MSG]The parameter productId in the call to method where within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
QuickAddBacklog.groovy | UnnecessaryGString | 3 | 61 | [SRC]sprintList = from("CustRequestAndCustRequestItem").where...queryList() [MSG]The String 'CustRequestAndCustRequestItem' can be wrapped in single quotes instead of double quotes |
QuickAddBacklog.groovy | UnnecessaryGString | 3 | 61 | [SRC]sprintList = from("CustRequestAndCustRequestItem").where...queryList() [MSG]The String 'custRequestTypeId' can be wrapped in single quotes instead of double quotes |
QuickAddBacklog.groovy | UnnecessaryGString | 3 | 61 | [SRC]sprintList = from("CustRequestAndCustRequestItem").where...queryList() [MSG]The String 'RF_PARENT_BACKLOG' can be wrapped in single quotes instead of double quotes |
QuickAddBacklog.groovy | UnnecessaryGString | 3 | 61 | [SRC]sprintList = from("CustRequestAndCustRequestItem").where...queryList() [MSG]The String 'productId' can be wrapped in single quotes instead of double quotes |
QuickAddBacklog.groovy | UnnecessaryGString | 3 | 63 | [SRC]sprintList = from("CustRequestAndCustRequestItem").where...queryList() [MSG]The String 'CustRequestAndCustRequestItem' can be wrapped in single quotes instead of double quotes |
QuickAddBacklog.groovy | UnnecessaryGString | 3 | 63 | [SRC]sprintList = from("CustRequestAndCustRequestItem").where...queryList() [MSG]The String 'custRequestTypeId' can be wrapped in single quotes instead of double quotes |
QuickAddBacklog.groovy | UnnecessaryGString | 3 | 63 | [SRC]sprintList = from("CustRequestAndCustRequestItem").where...queryList() [MSG]The String 'RF_PARENT_BACKLOG' can be wrapped in single quotes instead of double quotes |
QuickAddBacklog.groovy | SpaceBeforeOpeningBrace | 3 | 66 | [SRC]sprintList.each{ categoryMap -> [MSG]The opening brace for the closure in class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
QuickAddBacklog.groovy | Indentation | 3 | 70 | [SRC]productMap = from("Product").where("productId", productI..).queryOne() [MSG]The statement on line 70 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [17, 21, 25] but was 16 |
QuickAddBacklog.groovy | UnnecessaryGString | 3 | 70 | [SRC]productMap = from("Product").where("productId", productI..).queryOne() [MSG]The String 'Product' can be wrapped in single quotes instead of double quotes |
QuickAddBacklog.groovy | UnnecessaryGString | 3 | 70 | [SRC]productMap = from("Product").where("productId", productI..).queryOne() [MSG]The String 'productId' can be wrapped in single quotes instead of double quotes |
QuickAddBacklog.groovy | Indentation | 3 | 71 | [SRC]inputMap.productId = productMap.productId [MSG]The statement on line 71 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [17, 21, 25] but was 16 |
QuickAddBacklog.groovy | Indentation | 3 | 72 | [SRC]inputMap.internalName = productMap.internalName [MSG]The statement on line 72 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [17, 21, 25] but was 16 |
QuickAddBacklog.groovy | Indentation | 3 | 73 | [SRC]inputMap.custRequestId = categoryMap.custRequestId [MSG]The statement on line 73 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [17, 21, 25] but was 16 |
QuickAddBacklog.groovy | Indentation | 3 | 74 | [SRC]inputMap.custRequestName = categoryMap.custRequestName [MSG]The statement on line 74 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [17, 21, 25] but was 16 |
QuickAddBacklog.groovy | Indentation | 3 | 75 | [SRC]categoryList.add(inputMap) [MSG]The statement on line 75 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected one of columns [17, 21, 25] but was 16 |
QuickAddBacklog.groovy | SpaceAfterCatch | 3 | 80 | [SRC]}catch(e){ [MSG]The catch keyword within class org.apache.ofbiz.scrum.None is not followed by a single space |
QuickAddBacklog.groovy | SpaceBeforeOpeningBrace | 3 | 80 | [SRC]}catch(e){ [MSG]The opening brace for the block in class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
QuickAddBacklog.groovy | UnnecessaryGString | 3 | 81 | [SRC]logInfo("catch e ================" + e) [MSG]The String 'catch e ================' can be wrapped in single quotes instead of double quotes |
QuickAddBacklog.groovy | MethodParameterTypeRequired | 3 | 85 | [SRC]def String returnNameAsString(input,length) { [MSG]"input" parameter of "returnNameAsString" method is dynamically typed |
QuickAddBacklog.groovy | MethodParameterTypeRequired | 3 | 85 | [SRC]def String returnNameAsString(input,length) { [MSG]"length" parameter of "returnNameAsString" method is dynamically typed |
QuickAddBacklog.groovy | NoDef | 3 | 85 | [SRC]def String returnNameAsString(input,length) { [MSG]def for method parameter type should not be used |
QuickAddBacklog.groovy | NoDef | 3 | 85 | [SRC]def String returnNameAsString(input,length) { [MSG]def for method parameter type should not be used |
QuickAddBacklog.groovy | SpaceAfterComma | 3 | 85 | [SRC]def String returnNameAsString(input,length) { [MSG]The parameter length of method returnNameAsString within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
QuickAddBacklog.groovy | UnnecessaryDefInMethodDeclaration | 3 | 85 | [SRC]def String returnNameAsString(input,length) { [MSG]Violation in class org.apache.ofbiz.scrum.None. The def keyword is unneeded when a method specifies a return type |
QuickAddBacklog.groovy | Indentation | 3 | 86 | [SRC]if (input.length() > length ) { [MSG]The statement on line 86 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 5 but was 2 |
QuickAddBacklog.groovy | Indentation | 3 | 87 | [SRC]ansValue = input.toString().substring(0,Math.min(input.t..h(),length)) [MSG]The statement on line 87 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 9 but was 6 |
QuickAddBacklog.groovy | SpaceAfterComma | 3 | 87 | [SRC]ansValue = input.toString().substring(0,Math.min(input.t..h(),length)) [MSG]The parameter Math.min(input.toString().length(), length) in the call to method substring within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
QuickAddBacklog.groovy | SpaceAfterComma | 3 | 87 | [SRC]ansValue = input.toString().substring(0,Math.min(input.t..h(),length)) [MSG]The parameter length in the call to method min within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
QuickAddBacklog.groovy | Indentation | 3 | 88 | [SRC]return ansValue [MSG]The statement on line 88 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 9 but was 6 |
QuickAddBacklog.groovy | UnnecessaryElseStatement | 3 | 89 | [SRC]} else { [MSG]When an if statement block ends with a return statement the else is unnecessary |
QuickAddBacklog.groovy | Indentation | 3 | 90 | [SRC]return input [MSG]The statement on line 90 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 9 but was 6 |
QuickAnonCustSettings.groovy | NoWildcardImports | 3 | 21 | [SRC]import org.apache.ofbiz.base.util.* [MSG]Wildcard (star) import |
QuickAnonCustSettings.groovy | UnusedImport | 3 | 22 | [SRC]import org.apache.ofbiz.entity.util.EntityUtil [MSG]The [org.apache.ofbiz.entity.util.EntityUtil] import is never referenced |
QuickAnonCustSettings.groovy | NoWildcardImports | 3 | 23 | [SRC]import org.apache.ofbiz.entity.* [MSG]Wildcard (star) import |
QuickAnonCustSettings.groovy | NoWildcardImports | 3 | 24 | [SRC]import org.apache.ofbiz.entity.util.* [MSG]Wildcard (star) import |
QuickAnonCustSettings.groovy | NoWildcardImports | 3 | 25 | [SRC]import org.apache.ofbiz.order.shoppingcart.* [MSG]Wildcard (star) import |
QuickAnonCustSettings.groovy | NoWildcardImports | 3 | 26 | [SRC]import org.apache.ofbiz.party.contact.* [MSG]Wildcard (star) import |
QuickAnonCustSettings.groovy | NoWildcardImports | 3 | 27 | [SRC]import org.apache.ofbiz.product.catalog.* [MSG]Wildcard (star) import |
QuickAnonCustSettings.groovy | UnnecessaryGString | 3 | 44 | [SRC]if (!request.getAttribute("_ERROR_MESSAGE_") && !request..E_LIST_")) { [MSG]The String '_ERROR_MESSAGE_' can be wrapped in single quotes instead of double quotes |
QuickAnonCustSettings.groovy | UnnecessaryGString | 3 | 44 | [SRC]if (!request.getAttribute("_ERROR_MESSAGE_") && !request..E_LIST_")) { [MSG]The String '_ERROR_MESSAGE_LIST_' can be wrapped in single quotes instead of double quotes |
QuickAnonCustSettings.groovy | UnnecessaryGString | 3 | 45 | [SRC]person = from("Person").where("partyId", partyId).queryOne() [MSG]The String 'Person' can be wrapped in single quotes instead of double quotes |
QuickAnonCustSettings.groovy | UnnecessaryGString | 3 | 45 | [SRC]person = from("Person").where("partyId", partyId).queryOne() [MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes |
QuickAnonCustSettings.groovy | UnnecessaryGString | 3 | 55 | [SRC]emailPartyContactDetail = from("PartyContactDetailByPurp..queryFirst() [MSG]The String 'PartyContactDetailByPurpose' can be wrapped in single quotes instead of double quotes |
QuickAnonCustSettings.groovy | UnnecessaryGString | 3 | 55 | [SRC]emailPartyContactDetail = from("PartyContactDetailByPurp..queryFirst() [MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes |
QuickAnonCustSettings.groovy | UnnecessaryGString | 3 | 55 | [SRC]emailPartyContactDetail = from("PartyContactDetailByPurp..queryFirst() [MSG]The String 'contactMechPurposeTypeId' can be wrapped in single quotes instead of double quotes |
QuickAnonCustSettings.groovy | UnnecessaryGString | 3 | 55 | [SRC]emailPartyContactDetail = from("PartyContactDetailByPurp..queryFirst() [MSG]The String 'PRIMARY_EMAIL' can be wrapped in single quotes instead of double quotes |
QuickAnonCustSettings.groovy | UnnecessaryGString | 3 | 63 | [SRC]homePhonePartyContactDetail = from("PartyContactDetailBy..queryFirst() [MSG]The String 'PartyContactDetailByPurpose' can be wrapped in single quotes instead of double quotes |
QuickAnonCustSettings.groovy | UnnecessaryGString | 3 | 63 | [SRC]homePhonePartyContactDetail = from("PartyContactDetailBy..queryFirst() [MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes |
QuickAnonCustSettings.groovy | UnnecessaryGString | 3 | 63 | [SRC]homePhonePartyContactDetail = from("PartyContactDetailBy..queryFirst() [MSG]The String 'contactMechPurposeTypeId' can be wrapped in single quotes instead of double quotes |
QuickAnonCustSettings.groovy | UnnecessaryGString | 3 | 63 | [SRC]homePhonePartyContactDetail = from("PartyContactDetailBy..queryFirst() [MSG]The String 'PHONE_HOME' can be wrapped in single quotes instead of double quotes |
QuickAnonCustSettings.groovy | SpaceAroundMapEntryColon | 3 | 73 | [SRC]workPhonePartyContactDetail = from("PartyContactDetailBy..queryFirst() [MSG]The colon for the literal Map entry for key [partyId] within class org.apache.ofbiz.ecommerce.order.None is not preceded by a match for regular expression [\S] |
QuickAnonCustSettings.groovy | SpaceAroundMapEntryColon | 3 | 73 | [SRC]workPhonePartyContactDetail = from("PartyContactDetailBy..queryFirst() [MSG]The colon for the literal Map entry for key [contactMechPurposeTypeId] within class org.apache.ofbiz.ecommerce.order.None is not preceded by a match for regular expression [\S] |
QuickAnonCustSettings.groovy | UnnecessaryGString | 3 | 73 | [SRC]workPhonePartyContactDetail = from("PartyContactDetailBy..queryFirst() [MSG]The String 'PartyContactDetailByPurpose' can be wrapped in single quotes instead of double quotes |
QuickAnonCustSettings.groovy | UnnecessaryGString | 3 | 73 | [SRC]workPhonePartyContactDetail = from("PartyContactDetailBy..queryFirst() [MSG]The String 'PHONE_WORK' can be wrapped in single quotes instead of double quotes |
QuickAnonCustSettings.groovy | UnnecessaryGString | 3 | 85 | [SRC]cart = session.getAttribute("shoppingCart") [MSG]The String 'shoppingCart' can be wrapped in single quotes instead of double quotes |
QuickAnonCustSettings.groovy | UnnecessaryGString | 3 | 90 | [SRC]request.removeAttribute("_EVENT_MESSAGE_") [MSG]The String '_EVENT_MESSAGE_' can be wrapped in single quotes instead of double quotes |
QuickAnonCustSettings.groovy | UnnecessaryGString | 3 | 92 | [SRC]if (cartPartyId && !"_NA_".equals(cartPartyId)) { [MSG]The String '_NA_' can be wrapped in single quotes instead of double quotes |
QuickAnonCustSettings.groovy | UnnecessaryGString | 3 | 93 | [SRC]cartParty = from("Party").where("partyId", cartPartyId).queryOne() [MSG]The String 'Party' can be wrapped in single quotes instead of double quotes |
QuickAnonCustSettings.groovy | UnnecessaryGString | 3 | 93 | [SRC]cartParty = from("Party").where("partyId", cartPartyId).queryOne() [MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes |
QuickAnonCustSettings.groovy | UnnecessaryGString | 3 | 95 | [SRC]cartPerson = cartParty.getRelatedOne("Person", false) [MSG]The String 'Person' can be wrapped in single quotes instead of double quotes |
QuickAnonCustSettings.groovy | UnnecessaryGString | 3 | 103 | [SRC]shippingPartyContactDetail = from("PartyContactDetailByP..queryFirst() [MSG]The String 'PartyContactDetailByPurpose' can be wrapped in single quotes instead of double quotes |
QuickAnonCustSettings.groovy | UnnecessaryGString | 3 | 103 | [SRC]shippingPartyContactDetail = from("PartyContactDetailByP..queryFirst() [MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes |
QuickAnonCustSettings.groovy | UnnecessaryGString | 3 | 103 | [SRC]shippingPartyContactDetail = from("PartyContactDetailByP..queryFirst() [MSG]The String 'contactMechId' can be wrapped in single quotes instead of double quotes |
QuickAnonCustSettings.groovy | UnnecessaryGString | 3 | 118 | [SRC]billingContactMechId = session.getAttribute("billingContactMechId") [MSG]The String 'billingContactMechId' can be wrapped in single quotes instead of double quotes |
QuickAnonCustSettings.groovy | UnnecessaryGString | 3 | 120 | [SRC]billPostalAddress = from("PostalAddress").where("contact..).queryOne() [MSG]The String 'PostalAddress' can be wrapped in single quotes instead of double quotes |
QuickAnonCustSettings.groovy | UnnecessaryGString | 3 | 120 | [SRC]billPostalAddress = from("PostalAddress").where("contact..).queryOne() [MSG]The String 'contactMechId' can be wrapped in single quotes instead of double quotes |
QuickAnonCustSettings.groovy | UnnecessaryObjectReferences | 3 | 129 | [SRC]parameters.billToCountryGeoId = billPostalAddress.countryGeoId [MSG]The code could be more concise by using a with() or identity() block |
QuickAnonCustSettings.groovy | UnnecessaryGString | 3 | 135 | [SRC]context.useShippingPostalAddressForBilling = "Y" [MSG]The String 'Y' can be wrapped in single quotes instead of double quotes |
QuickAnonCustSettings.groovy | UnnecessaryGString | 3 | 138 | [SRC]parameters.shippingContactMechPurposeTypeId = "SHIPPING_LOCATION" [MSG]The String 'SHIPPING_LOCATION' can be wrapped in single quotes instead of double quotes |
QuickAnonCustSettings.groovy | UnnecessaryGString | 3 | 139 | [SRC]parameters.billingContactMechPurposeTypeId = "BILLING_LOCATION" [MSG]The String 'BILLING_LOCATION' can be wrapped in single quotes instead of double quotes |
QuickAnonOptionSettings.groovy | NoWildcardImports | 3 | 21 | [SRC]import org.apache.ofbiz.entity.* [MSG]Wildcard (star) import |
QuickAnonOptionSettings.groovy | NoWildcardImports | 3 | 22 | [SRC]import org.apache.ofbiz.base.util.* [MSG]Wildcard (star) import |
QuickAnonOptionSettings.groovy | NoWildcardImports | 3 | 23 | [SRC]import org.apache.ofbiz.order.shoppingcart.* [MSG]Wildcard (star) import |
QuickAnonOptionSettings.groovy | NoWildcardImports | 3 | 24 | [SRC]import org.apache.ofbiz.order.shoppingcart.shipping.* [MSG]Wildcard (star) import |
QuickAnonOptionSettings.groovy | NoWildcardImports | 3 | 25 | [SRC]import org.apache.ofbiz.party.contact.* [MSG]Wildcard (star) import |
QuickAnonOptionSettings.groovy | NoWildcardImports | 3 | 26 | [SRC]import org.apache.ofbiz.product.store.* [MSG]Wildcard (star) import |
QuickAnonOptionSettings.groovy | UnnecessaryGString | 3 | 28 | [SRC]shoppingCart = session.getAttribute("shoppingCart") [MSG]The String 'shoppingCart' can be wrapped in single quotes instead of double quotes |
QuickAnonOptionSettings.groovy | UnnecessaryGString | 3 | 39 | [SRC]request.removeAttribute("_EVENT_MESSAGE_") [MSG]The String '_EVENT_MESSAGE_' can be wrapped in single quotes instead of double quotes |
QuickAnonOptionSettings.groovy | UnnecessaryGString | 3 | 42 | [SRC]partyId = session.getAttribute("orderPartyId") [MSG]The String 'orderPartyId' can be wrapped in single quotes instead of double quotes |
QuickAnonOptionSettings.groovy | UnnecessaryGString | 3 | 44 | [SRC]party = from("Party").where("partyId", partyId).queryOne() [MSG]The String 'Party' can be wrapped in single quotes instead of double quotes |
QuickAnonOptionSettings.groovy | UnnecessaryGString | 3 | 44 | [SRC]party = from("Party").where("partyId", partyId).queryOne() [MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes |
QuickAnonOptionSettings.groovy | UnnecessaryGString | 3 | 48 | [SRC]context.emailList = ContactHelper.getContactMechByType(p..ESS", false) [MSG]The String 'EMAIL_ADDRESS' can be wrapped in single quotes instead of double quotes |
QuickAnonPaymentInformation.groovy | NoWildcardImports | 3 | 21 | [SRC]import org.apache.ofbiz.entity.* [MSG]Wildcard (star) import |
QuickAnonPaymentInformation.groovy | NoWildcardImports | 3 | 22 | [SRC]import org.apache.ofbiz.entity.util.* [MSG]Wildcard (star) import |
QuickAnonPaymentInformation.groovy | NoWildcardImports | 3 | 23 | [SRC]import org.apache.ofbiz.base.util.* [MSG]Wildcard (star) import |
QuickAnonPaymentInformation.groovy | NoWildcardImports | 3 | 24 | [SRC]import org.apache.ofbiz.accounting.payment.* [MSG]Wildcard (star) import |
QuickAnonPaymentInformation.groovy | NoWildcardImports | 3 | 25 | [SRC]import org.apache.ofbiz.order.shoppingcart.* [MSG]Wildcard (star) import |
QuickAnonPaymentInformation.groovy | NoWildcardImports | 3 | 26 | [SRC]import org.apache.ofbiz.party.contact.* [MSG]Wildcard (star) import |
QuickAnonPaymentInformation.groovy | UnnecessaryGString | 3 | 31 | [SRC]paymentMethodTypeId = parameters.paymentMethodTypeId ?: "CREDIT_CARD" [MSG]The String 'CREDIT_CARD' can be wrapped in single quotes instead of double quotes |
QuickAnonPaymentInformation.groovy | UnnecessaryGString | 3 | 34 | [SRC]request.removeAttribute("_EVENT_MESSAGE_") [MSG]The String '_EVENT_MESSAGE_' can be wrapped in single quotes instead of double quotes |
QuickAnonPaymentInformation.groovy | SpaceAfterOpeningBrace | 3 | 38 | [SRC]paymentMethods.each {paymentMethod -> [MSG]The opening brace for the closure in class org.apache.ofbiz.ecommerce.order.None is not followed by a space or whitespace |
QuickAnonPaymentInformation.groovy | UnnecessaryGString | 3 | 39 | [SRC]if ("CREDIT_CARD".equals(paymentMethod?.paymentMethodTypeId)) { [MSG]The String 'CREDIT_CARD' can be wrapped in single quotes instead of double quotes |
RequestReturn.groovy | NoWildcardImports | 3 | 21 | [SRC]import org.apache.ofbiz.base.util.* [MSG]Wildcard (star) import |
RequestReturn.groovy | NoWildcardImports | 3 | 22 | [SRC]import org.apache.ofbiz.entity.* [MSG]Wildcard (star) import |
RequestReturn.groovy | NoWildcardImports | 3 | 23 | [SRC]import org.apache.ofbiz.party.contact.* [MSG]Wildcard (star) import |
RequestReturn.groovy | UnnecessaryGString | 3 | 28 | [SRC]party = userLogin.getRelatedOne("Party", false) [MSG]The String 'Party' can be wrapped in single quotes instead of double quotes |
RequestReturn.groovy | UnnecessaryGString | 3 | 31 | [SRC]returnTypes = from("ReturnType").orderBy("sequenceId").queryList() [MSG]The String 'ReturnType' can be wrapped in single quotes instead of double quotes |
RequestReturn.groovy | UnnecessaryGString | 3 | 31 | [SRC]returnTypes = from("ReturnType").orderBy("sequenceId").queryList() [MSG]The String 'sequenceId' can be wrapped in single quotes instead of double quotes |
RequestReturn.groovy | UnnecessaryGString | 3 | 34 | [SRC]returnReasons = from("ReturnReason").orderBy("sequenceId").queryList() [MSG]The String 'ReturnReason' can be wrapped in single quotes instead of double quotes |
RequestReturn.groovy | UnnecessaryGString | 3 | 34 | [SRC]returnReasons = from("ReturnReason").orderBy("sequenceId").queryList() [MSG]The String 'sequenceId' can be wrapped in single quotes instead of double quotes |
RequestReturn.groovy | SpaceAroundMapEntryColon | 3 | 38 | [SRC]returnRes = runService('getReturnableItems', [orderId : orderId]) [MSG]The colon for the literal Map entry for key [orderId] within class org.apache.ofbiz.ecommerce.order.None is not preceded by a match for regular expression [\S] |
RequestReturn.groovy | UnnecessaryGString | 3 | 40 | [SRC]orderHeader = from("OrderHeader").where("orderId", orderId).queryOne() [MSG]The String 'OrderHeader' can be wrapped in single quotes instead of double quotes |
RequestReturn.groovy | UnnecessaryGString | 3 | 40 | [SRC]orderHeader = from("OrderHeader").where("orderId", orderId).queryOne() [MSG]The String 'orderId' can be wrapped in single quotes instead of double quotes |
RequestReturn.groovy | UnnecessaryGString | 3 | 44 | [SRC]returnItemTypeMap = from("ReturnItemTypeMap").where("ret...queryList() [MSG]The String 'ReturnItemTypeMap' can be wrapped in single quotes instead of double quotes |
RequestReturn.groovy | UnnecessaryGString | 3 | 44 | [SRC]returnItemTypeMap = from("ReturnItemTypeMap").where("ret...queryList() [MSG]The String 'returnHeaderTypeId' can be wrapped in single quotes instead of double quotes |
RequestReturn.groovy | UnnecessaryGString | 3 | 44 | [SRC]returnItemTypeMap = from("ReturnItemTypeMap").where("ret...queryList() [MSG]The String 'CUSTOMER_RETURN' can be wrapped in single quotes instead of double quotes |
RequestReturn.groovy | UnnecessaryGString | 3 | 51 | [SRC]order = from("OrderHeader").where("orderId", orderId).queryOne() [MSG]The String 'OrderHeader' can be wrapped in single quotes instead of double quotes |
RequestReturn.groovy | UnnecessaryGString | 3 | 51 | [SRC]order = from("OrderHeader").where("orderId", orderId).queryOne() [MSG]The String 'orderId' can be wrapped in single quotes instead of double quotes |
RequestReturn.groovy | UnnecessaryGString | 3 | 52 | [SRC]productStore = order.getRelatedOne("ProductStore", false) [MSG]The String 'ProductStore' can be wrapped in single quotes instead of double quotes |
RequestReturn.groovy | UnnecessaryGString | 3 | 56 | [SRC]context.shippingContactMechList = ContactHelper.getConta..ESS", false) [MSG]The String 'SHIPPING_LOCATION' can be wrapped in single quotes instead of double quotes |
RequestReturn.groovy | UnnecessaryGString | 3 | 56 | [SRC]context.shippingContactMechList = ContactHelper.getConta..ESS", false) [MSG]The String 'POSTAL_ADDRESS' can be wrapped in single quotes instead of double quotes |
RespondPermAndPrep.groovy | UnnecessaryGroovyImport | 3 | 21 | [SRC]import java.util.ArrayList |
RespondPermAndPrep.groovy | UnusedImport | 3 | 21 | [SRC]import java.util.ArrayList [MSG]The [java.util.ArrayList] import is never referenced |
RespondPermAndPrep.groovy | UnnecessaryGroovyImport | 3 | 22 | [SRC]import java.util.Collection |
RespondPermAndPrep.groovy | UnusedImport | 3 | 22 | [SRC]import java.util.Collection [MSG]The [java.util.Collection] import is never referenced |
RespondPermAndPrep.groovy | UnnecessaryGroovyImport | 3 | 23 | [SRC]import java.util.HashMap |
RespondPermAndPrep.groovy | UnusedImport | 3 | 23 | [SRC]import java.util.HashMap [MSG]The [java.util.HashMap] import is never referenced |
RespondPermAndPrep.groovy | UnnecessaryGroovyImport | 3 | 24 | [SRC]import java.util.Iterator |
RespondPermAndPrep.groovy | UnusedImport | 3 | 24 | [SRC]import java.util.Iterator [MSG]The [java.util.Iterator] import is never referenced |
RespondPermAndPrep.groovy | UnnecessaryGroovyImport | 3 | 25 | [SRC]import java.util.LinkedList |
RespondPermAndPrep.groovy | UnusedImport | 3 | 25 | [SRC]import java.util.LinkedList [MSG]The [java.util.LinkedList] import is never referenced |
RespondPermAndPrep.groovy | UnnecessaryGroovyImport | 3 | 26 | [SRC]import java.util.List |
RespondPermAndPrep.groovy | UnusedImport | 3 | 26 | [SRC]import java.util.List [MSG]The [java.util.List] import is never referenced |
RespondPermAndPrep.groovy | UnnecessaryGroovyImport | 3 | 27 | [SRC]import java.util.Map |
RespondPermAndPrep.groovy | UnusedImport | 3 | 27 | [SRC]import java.util.Map [MSG]The [java.util.Map] import is never referenced |
RespondPermAndPrep.groovy | UnnecessaryGroovyImport | 3 | 28 | [SRC]import java.util.Set |
RespondPermAndPrep.groovy | UnusedImport | 3 | 28 | [SRC]import java.util.Set [MSG]The [java.util.Set] import is never referenced |
RespondPermAndPrep.groovy | UnnecessaryGroovyImport | 3 | 29 | [SRC]import java.util.TreeSet |
RespondPermAndPrep.groovy | UnusedImport | 3 | 29 | [SRC]import java.util.TreeSet [MSG]The [java.util.TreeSet] import is never referenced |
RespondPermAndPrep.groovy | NoWildcardImports | 3 | 31 | [SRC]import org.apache.ofbiz.base.util.* [MSG]Wildcard (star) import |
RespondPermAndPrep.groovy | NoWildcardImports | 3 | 32 | [SRC]import org.apache.ofbiz.entity.* [MSG]Wildcard (star) import |
RespondPermAndPrep.groovy | NoWildcardImports | 3 | 33 | [SRC]import org.apache.ofbiz.security.* [MSG]Wildcard (star) import |
RespondPermAndPrep.groovy | NoWildcardImports | 3 | 34 | [SRC]import org.apache.ofbiz.service.* [MSG]Wildcard (star) import |
RespondPermAndPrep.groovy | NoWildcardImports | 3 | 35 | [SRC]import org.apache.ofbiz.entity.model.* [MSG]Wildcard (star) import |
RespondPermAndPrep.groovy | UnusedImport | 3 | 36 | [SRC]import org.apache.ofbiz.content.content.PermissionRecorder [MSG]The [org.apache.ofbiz.content.content.PermissionRecorder] import is never referenced |
RespondPermAndPrep.groovy | NoWildcardImports | 3 | 38 | [SRC]import javax.servlet.* [MSG]Wildcard (star) import |
RespondPermAndPrep.groovy | NoWildcardImports | 3 | 39 | [SRC]import javax.servlet.http.* [MSG]Wildcard (star) import |
RespondPermAndPrep.groovy | UnnecessaryGString | 3 | 45 | [SRC]request.setAttribute("errorMsgReq", "contentIdTo is empty") [MSG]The String 'errorMsgReq' can be wrapped in single quotes instead of double quotes |
RespondPermAndPrep.groovy | UnnecessaryGString | 3 | 45 | [SRC]request.setAttribute("errorMsgReq", "contentIdTo is empty") [MSG]The String 'contentIdTo is empty' can be wrapped in single quotes instead of double quotes |
RespondPermAndPrep.groovy | UnnecessaryGString | 3 | 57 | [SRC]contentToValue = from("Content").where("contentId", cont..).queryOne() [MSG]The String 'Content' can be wrapped in single quotes instead of double quotes |
RespondPermAndPrep.groovy | UnnecessaryGString | 3 | 57 | [SRC]contentToValue = from("Content").where("contentId", cont..).queryOne() [MSG]The String 'contentId' can be wrapped in single quotes instead of double quotes |
RespondPermAndPrep.groovy | UnnecessaryGString | 3 | 58 | [SRC]contentToPurposeList = contentToValue.getRelated("Conten.. null, true) [MSG]The String 'ContentPurpose' can be wrapped in single quotes instead of double quotes |
RespondPermAndPrep.groovy | SpaceAroundMapEntryColon | 3 | 59 | [SRC]currentValue = makeValue("Content", [contentTypeId : "DO..d : "_00_"]) [MSG]The colon for the literal Map entry for key [contentTypeId] within class org.apache.ofbiz.ecommerce.forum.None is not preceded by a match for regular expression [\S] |
RespondPermAndPrep.groovy | SpaceAroundMapEntryColon | 3 | 59 | [SRC]currentValue = makeValue("Content", [contentTypeId : "DO..d : "_00_"]) [MSG]The colon for the literal Map entry for key [statusId] within class org.apache.ofbiz.ecommerce.forum.None is not preceded by a match for regular expression [\S] |
RespondPermAndPrep.groovy | SpaceAroundMapEntryColon | 3 | 59 | [SRC]currentValue = makeValue("Content", [contentTypeId : "DO..d : "_00_"]) [MSG]The colon for the literal Map entry for key [privilegeEnumId] within class org.apache.ofbiz.ecommerce.forum.None is not preceded by a match for regular expression [\S] |
RespondPermAndPrep.groovy | UnnecessaryGString | 3 | 59 | [SRC]currentValue = makeValue("Content", [contentTypeId : "DO..d : "_00_"]) [MSG]The String 'Content' can be wrapped in single quotes instead of double quotes |
RespondPermAndPrep.groovy | UnnecessaryGString | 3 | 59 | [SRC]currentValue = makeValue("Content", [contentTypeId : "DO..d : "_00_"]) [MSG]The String 'DOCUMENT' can be wrapped in single quotes instead of double quotes |
RespondPermAndPrep.groovy | UnnecessaryGString | 3 | 59 | [SRC]currentValue = makeValue("Content", [contentTypeId : "DO..d : "_00_"]) [MSG]The String 'CTNT_PUBLISHED' can be wrapped in single quotes instead of double quotes |
RespondPermAndPrep.groovy | UnnecessaryGString | 3 | 59 | [SRC]currentValue = makeValue("Content", [contentTypeId : "DO..d : "_00_"]) [MSG]The String '_00_' can be wrapped in single quotes instead of double quotes |
RespondPermAndPrep.groovy | UnnecessaryGString | 3 | 61 | [SRC]if (contentToPurposeList.contains("RESPONSE")) { [MSG]The String 'RESPONSE' can be wrapped in single quotes instead of double quotes |
RespondPermAndPrep.groovy | UnnecessaryGString | 3 | 71 | [SRC]targetOperationList = StringUtil.split(context.targetOperation, "|") [MSG]The String '|' can be wrapped in single quotes instead of double quotes |
RespondPermAndPrep.groovy | UnnecessaryGString | 3 | 77 | [SRC]mapIn.entityOperation = "_CREATE" [MSG]The String '_CREATE' can be wrapped in single quotes instead of double quotes |
RespondPermAndPrep.groovy | UnnecessaryGString | 3 | 78 | [SRC]mapIn.contentPurposeList = ["RESPONSE"] [MSG]The String 'RESPONSE' can be wrapped in single quotes instead of double quotes |
RespondPermAndPrep.groovy | InvertedIfElse | 3 | 84 | [SRC]if (!"granted".equals(permissionStatus)) { [MSG]Testing the negative condition first can make an if statement confusing |
RespondPermAndPrep.groovy | UnnecessaryGString | 3 | 84 | [SRC]if (!"granted".equals(permissionStatus)) { [MSG]The String 'granted' can be wrapped in single quotes instead of double quotes |
RespondPermAndPrep.groovy | UnnecessaryGString | 3 | 85 | [SRC]request.setAttribute("errorMsgReq", "Permission to add r..denied (1)") [MSG]The String 'errorMsgReq' can be wrapped in single quotes instead of double quotes |
RespondPermAndPrep.groovy | UnnecessaryGString | 3 | 85 | [SRC]request.setAttribute("errorMsgReq", "Permission to add r..denied (1)") [MSG]The String 'Permission to add response is denied (1)' can be wrapped in single quotes instead of double quotes |
RespondPermAndPrep.groovy | UnnecessaryGString | 3 | 86 | [SRC]errorMessage = "Permission to add response is denied (2)" [MSG]The String 'Permission to add response is denied (2)' can be wrapped in single quotes instead of double quotes |
RespondPermAndPrep.groovy | UnnecessaryGString | 3 | 92 | [SRC]errorMessage += " \n " + permissionMessage [MSG]The String ' \n ' can be wrapped in single quotes instead of double quotes |
RespondPermAndPrep.groovy | UnnecessaryGString | 3 | 94 | [SRC]request.setAttribute("permissionErrorMsg", errorMessage) [MSG]The String 'permissionErrorMsg' can be wrapped in single quotes instead of double quotes |
RespondPermAndPrep.groovy | UnnecessaryGString | 3 | 97 | [SRC]request.setAttribute("hasPermission", false) [MSG]The String 'hasPermission' can be wrapped in single quotes instead of double quotes |
RespondPermAndPrep.groovy | UnnecessaryGString | 3 | 98 | [SRC]request.setAttribute("permissionStatus", "") [MSG]The String 'permissionStatus' can be wrapped in single quotes instead of double quotes |
RespondPermAndPrep.groovy | UnnecessaryGString | 3 | 98 | [SRC]request.setAttribute("permissionStatus", "") [MSG]The String '' can be wrapped in single quotes instead of double quotes |
RespondPermAndPrep.groovy | UnnecessaryElseStatement | 3 | 100 | [SRC]} else { [MSG]When an if statement block ends with a return statement the else is unnecessary |
RespondPermAndPrep.groovy | UnnecessaryGString | 3 | 102 | [SRC]request.setAttribute("hasPermission", true) [MSG]The String 'hasPermission' can be wrapped in single quotes instead of double quotes |
RespondPermAndPrep.groovy | UnnecessaryGString | 3 | 103 | [SRC]request.setAttribute("permissionStatus", "granted") [MSG]The String 'permissionStatus' can be wrapped in single quotes instead of double quotes |
RespondPermAndPrep.groovy | UnnecessaryGString | 3 | 103 | [SRC]request.setAttribute("permissionStatus", "granted") [MSG]The String 'granted' can be wrapped in single quotes instead of double quotes |
RespondPermAndPrep.groovy | UnnecessaryGString | 3 | 140 | [SRC]request.setAttribute("currentValue", currentValue) [MSG]The String 'currentValue' can be wrapped in single quotes instead of double quotes |
RespondPermAndPrep.groovy | UnnecessaryGString | 3 | 142 | [SRC]singleWrapper.putInContext("contentPurposeTypeId", conte..rposeTypeId) [MSG]The String 'contentPurposeTypeId' can be wrapped in single quotes instead of double quotes |
RespondPermAndPrep.groovy | UnnecessaryGString | 3 | 143 | [SRC]singleWrapper.putInContext("targetOperation", context.targetOperation) [MSG]The String 'targetOperation' can be wrapped in single quotes instead of double quotes |
RespondPermAndPrep.groovy | UnnecessaryGString | 3 | 144 | [SRC]singleWrapper.putInContext("targetOperationString", cont..etOperation) [MSG]The String 'targetOperationString' can be wrapped in single quotes instead of double quotes |
RespondPermAndPrep.groovy | UnnecessaryGString | 3 | 145 | [SRC]singleWrapper.putInContext("currentValue", currentValue) [MSG]The String 'currentValue' can be wrapped in single quotes instead of double quotes |
RespondPermAndPrep.groovy | SpaceAroundOperator | 3 | 150 | [SRC]idNamePair = trailList[trailList.size() -1] [MSG]The operator "-" within class org.apache.ofbiz.ecommerce.forum.None is not followed by a space or whitespace |
RespondPermAndPrep.groovy | UnnecessaryCallForLastElement | 3 | 150 | [SRC]idNamePair = trailList[trailList.size() -1] [MSG]Unnecessarily complex access of last element. This can be simplified to trailList.last() or trailList[-1] |
RespondPermAndPrep.groovy | UnnecessaryGString | 3 | 152 | [SRC]if (!replyName.contains("RE:")) { [MSG]The String 'RE:' can be wrapped in single quotes instead of double quotes |
RespondPermAndPrep.groovy | UnnecessaryGString | 3 | 153 | [SRC]replyName = "RE:" + replyName [MSG]The String 'RE:' can be wrapped in single quotes instead of double quotes |
RespondPermAndPrep.groovy | SpaceAroundMapEntryColon | 3 | 156 | [SRC]singleWrapper.putInContext("replyName", [contentName : r.. replyName]) [MSG]The colon for the literal Map entry for key [contentName] within class org.apache.ofbiz.ecommerce.forum.None is not preceded by a match for regular expression [\S] |
RespondPermAndPrep.groovy | SpaceAroundMapEntryColon | 3 | 156 | [SRC]singleWrapper.putInContext("replyName", [contentName : r.. replyName]) [MSG]The colon for the literal Map entry for key [description] within class org.apache.ofbiz.ecommerce.forum.None is not preceded by a match for regular expression [\S] |
RespondPermAndPrep.groovy | UnnecessaryGString | 3 | 156 | [SRC]singleWrapper.putInContext("replyName", [contentName : r.. replyName]) [MSG]The String 'replyName' can be wrapped in single quotes instead of double quotes |
ResponsePrep.groovy | UnnecessaryGroovyImport | 3 | 21 | [SRC]import java.util.ArrayList |
ResponsePrep.groovy | UnusedImport | 3 | 21 | [SRC]import java.util.ArrayList [MSG]The [java.util.ArrayList] import is never referenced |
ResponsePrep.groovy | UnnecessaryGroovyImport | 3 | 22 | [SRC]import java.util.Collection |
ResponsePrep.groovy | UnusedImport | 3 | 22 | [SRC]import java.util.Collection [MSG]The [java.util.Collection] import is never referenced |
ResponsePrep.groovy | UnnecessaryGroovyImport | 3 | 23 | [SRC]import java.util.HashMap |
ResponsePrep.groovy | UnusedImport | 3 | 23 | [SRC]import java.util.HashMap [MSG]The [java.util.HashMap] import is never referenced |
ResponsePrep.groovy | UnnecessaryGroovyImport | 3 | 24 | [SRC]import java.util.Iterator |
ResponsePrep.groovy | UnusedImport | 3 | 24 | [SRC]import java.util.Iterator [MSG]The [java.util.Iterator] import is never referenced |
ResponsePrep.groovy | UnnecessaryGroovyImport | 3 | 25 | [SRC]import java.util.LinkedList |
ResponsePrep.groovy | UnusedImport | 3 | 25 | [SRC]import java.util.LinkedList [MSG]The [java.util.LinkedList] import is never referenced |
ResponsePrep.groovy | UnnecessaryGroovyImport | 3 | 26 | [SRC]import java.util.List |
ResponsePrep.groovy | UnusedImport | 3 | 26 | [SRC]import java.util.List [MSG]The [java.util.List] import is never referenced |
ResponsePrep.groovy | UnnecessaryGroovyImport | 3 | 27 | [SRC]import java.util.Map |
ResponsePrep.groovy | UnusedImport | 3 | 27 | [SRC]import java.util.Map [MSG]The [java.util.Map] import is never referenced |
ResponsePrep.groovy | UnnecessaryGroovyImport | 3 | 28 | [SRC]import java.util.Set |
ResponsePrep.groovy | UnusedImport | 3 | 28 | [SRC]import java.util.Set [MSG]The [java.util.Set] import is never referenced |
ResponsePrep.groovy | UnnecessaryGroovyImport | 3 | 29 | [SRC]import java.util.TreeSet |
ResponsePrep.groovy | UnusedImport | 3 | 29 | [SRC]import java.util.TreeSet [MSG]The [java.util.TreeSet] import is never referenced |
ResponsePrep.groovy | NoWildcardImports | 3 | 31 | [SRC]import org.apache.ofbiz.base.util.* [MSG]Wildcard (star) import |
ResponsePrep.groovy | NoWildcardImports | 3 | 32 | [SRC]import org.apache.ofbiz.entity.* [MSG]Wildcard (star) import |
ResponsePrep.groovy | NoWildcardImports | 3 | 33 | [SRC]import org.apache.ofbiz.security.* [MSG]Wildcard (star) import |
ResponsePrep.groovy | NoWildcardImports | 3 | 34 | [SRC]import org.apache.ofbiz.service.* [MSG]Wildcard (star) import |
ResponsePrep.groovy | NoWildcardImports | 3 | 35 | [SRC]import org.apache.ofbiz.entity.model.* [MSG]Wildcard (star) import |
ResponsePrep.groovy | NoWildcardImports | 3 | 36 | [SRC]import org.apache.ofbiz.securityext.login.* [MSG]Wildcard (star) import |
ResponsePrep.groovy | NoWildcardImports | 3 | 37 | [SRC]import org.apache.ofbiz.common.* [MSG]Wildcard (star) import |
ResponsePrep.groovy | NoWildcardImports | 3 | 40 | [SRC]import javax.servlet.* [MSG]Wildcard (star) import |
ResponsePrep.groovy | NoWildcardImports | 3 | 41 | [SRC]import javax.servlet.http.* [MSG]Wildcard (star) import |
ResponsePrep.groovy | UnnecessaryGString | 3 | 53 | [SRC]trail = StringUtil.split(nodeTrailCsv, ",") [MSG]The String ',' can be wrapped in single quotes instead of double quotes |
ResponsePrep.groovy | UnnecessaryGString | 3 | 58 | [SRC]ContentWorker.getContentAncestry(delegator, pubPt, "SUBS..To", idList) [MSG]The String 'SUBSITE' can be wrapped in single quotes instead of double quotes |
ResponsePrep.groovy | UnnecessaryGString | 3 | 58 | [SRC]ContentWorker.getContentAncestry(delegator, pubPt, "SUBS..To", idList) [MSG]The String 'To' can be wrapped in single quotes instead of double quotes |
ResponsePrep.groovy | UnnecessaryGString | 3 | 64 | [SRC]webSitePublishPoint = from("WebSitePublishPoint").where(..).queryOne() [MSG]The String 'WebSitePublishPoint' can be wrapped in single quotes instead of double quotes |
ResponsePrep.groovy | UnnecessaryGString | 3 | 64 | [SRC]webSitePublishPoint = from("WebSitePublishPoint").where(..).queryOne() [MSG]The String 'contentId' can be wrapped in single quotes instead of double quotes |
ResponsePrep.groovy | UnnecessaryGString | 3 | 72 | [SRC]singleWrapper.putInContext("contentIdTo", contentIdTo) [MSG]The String 'contentIdTo' can be wrapped in single quotes instead of double quotes |
ResponsePrep.groovy | UnnecessaryGString | 3 | 73 | [SRC]singleWrapper.putInContext("summaryDataResourceTypeId", null) [MSG]The String 'summaryDataResourceTypeId' can be wrapped in single quotes instead of double quotes |
ResponsePrep.groovy | UnnecessaryGString | 3 | 74 | [SRC]singleWrapper.putInContext("mapKey", null) [MSG]The String 'mapKey' can be wrapped in single quotes instead of double quotes |
ResponsePrep.groovy | UnnecessaryGString | 3 | 75 | [SRC]singleWrapper.putInContext("nodeTrailCsv", nodeTrailCsv) [MSG]The String 'nodeTrailCsv' can be wrapped in single quotes instead of double quotes |
Search.groovy | UnusedImport | 3 | 27 | [SRC]import org.apache.ofbiz.base.util.Debug [MSG]The [org.apache.ofbiz.base.util.Debug] import is never referenced |
Search.groovy | NoWildcardImports | 3 | 31 | [SRC]import org.apache.lucene.search.* [MSG]Wildcard (star) import |
Search.groovy | UnnecessaryGString | 3 | 40 | [SRC]siteId = paramMap.siteId ?: "WebStoreCONTENT" [MSG]The String 'WebStoreCONTENT' can be wrapped in single quotes instead of double quotes |
Search.groovy | UnnecessaryGString | 3 | 50 | [SRC]Directory directory = FSDirectory.open(new File(SearchWo..)).toPath()) [MSG]The String 'content' can be wrapped in single quotes instead of double quotes |
Search.groovy | UnnecessaryGString | 3 | 55 | [SRC]context.errorMessageList.add(UtilProperties.getMessage("..d", locale)) [MSG]The String 'ContentErrorUiLabels' can be wrapped in single quotes instead of double quotes |
Search.groovy | UnnecessaryGString | 3 | 55 | [SRC]context.errorMessageList.add(UtilProperties.getMessage("..d", locale)) [MSG]The String 'ContentSearchNotIndexed' can be wrapped in single quotes instead of double quotes |
Search.groovy | UnnecessaryGString | 3 | 59 | [SRC]termQuery = new TermQuery(new Term("site", siteId.toString())) [MSG]The String 'site' can be wrapped in single quotes instead of double quotes |
Search.groovy | UnnecessaryGString | 3 | 66 | [SRC]QueryParser parser = new QueryParser("content", analyzer) [MSG]The String 'content' can be wrapped in single quotes instead of double quotes |
Search.groovy | UnnecessaryGString | 3 | 74 | [SRC]if ("any".equals(paramMap.anyOrAll)) { [MSG]The String 'any' can be wrapped in single quotes instead of double quotes |
Search.groovy | UnnecessaryGString | 3 | 80 | [SRC]termQuery = new TermQuery(new Term("feature", value)) [MSG]The String 'feature' can be wrapped in single quotes instead of double quotes |
Search.groovy | UnnecessaryGString | 3 | 89 | [SRC]logInfo("in search searchFeature3, combQuery:" + combQuery.toString()) [MSG]The String 'in search searchFeature3, combQuery:' can be wrapped in single quotes instead of double quotes |
Search.groovy | UnnecessaryGString | 3 | 93 | [SRC]logInfo("in search, hits:" + collector.getTotalHits()) [MSG]The String 'in search, hits:' can be wrapped in single quotes instead of double quotes |
Search.groovy | UnnecessaryGString | 3 | 99 | [SRC]contentId = doc.get("contentId") [MSG]The String 'contentId' can be wrapped in single quotes instead of double quotes |
Search.groovy | UnnecessaryGString | 3 | 100 | [SRC]content = from("Content").where("contentId", contentId)...).queryOne() [MSG]The String 'Content' can be wrapped in single quotes instead of double quotes |
Search.groovy | UnnecessaryGString | 3 | 100 | [SRC]content = from("Content").where("contentId", contentId)...).queryOne() [MSG]The String 'contentId' can be wrapped in single quotes instead of double quotes |
Search.groovy | NoWildcardImports | 3 | 29 | [SRC]import org.apache.lucene.search.* [MSG]Wildcard (star) import |
Search.groovy | UnnecessaryGString | 3 | 46 | [SRC]DirectoryReader reader = DirectoryReader.open(FSDirector..).toPath())) [MSG]The String 'content' can be wrapped in single quotes instead of double quotes |
Search.groovy | UnnecessaryGString | 3 | 50 | [SRC]context.errorMessageList.add(UtilProperties.getMessage("..d", locale)) [MSG]The String 'ContentErrorUiLabels' can be wrapped in single quotes instead of double quotes |
Search.groovy | UnnecessaryGString | 3 | 50 | [SRC]context.errorMessageList.add(UtilProperties.getMessage("..d", locale)) [MSG]The String 'ContentSearchNotIndexed' can be wrapped in single quotes instead of double quotes |
Search.groovy | UnnecessaryGString | 3 | 57 | [SRC]QueryParser parser = new QueryParser("content", analyzer) [MSG]The String 'content' can be wrapped in single quotes instead of double quotes |
Search.groovy | UnnecessaryGString | 3 | 62 | [SRC]termQuery = new TermQuery(new Term("site", siteId.toString())) [MSG]The String 'site' can be wrapped in single quotes instead of double quotes |
Search.groovy | UnnecessaryGString | 3 | 70 | [SRC]if ("any".equals(parameters.any_or_all)) { [MSG]The String 'any' can be wrapped in single quotes instead of double quotes |
Search.groovy | UnnecessaryGString | 3 | 75 | [SRC]termQuery = new TermQuery(new Term("feature", searchFeature1)) [MSG]The String 'feature' can be wrapped in single quotes instead of double quotes |
Search.groovy | UnnecessaryGString | 3 | 80 | [SRC]termQuery = new TermQuery(new Term("feature", searchFeature2)) [MSG]The String 'feature' can be wrapped in single quotes instead of double quotes |
Search.groovy | UnnecessaryGString | 3 | 85 | [SRC]termQuery = new TermQuery(new Term("feature", searchFeature3)) [MSG]The String 'feature' can be wrapped in single quotes instead of double quotes |
Search.groovy | Indentation | 3 | 89 | [SRC]if (featureIdByType) { [MSG]The statement on line 89 in class org.apache.ofbiz.lucene.content.None is at the incorrect indent level: Expected column 5 but was 3 |
Search.groovy | Indentation | 3 | 90 | [SRC]featureIdByType.each { key, value -> [MSG]The statement on line 90 in class org.apache.ofbiz.lucene.content.None is at the incorrect indent level: Expected column 9 but was 5 |
Search.groovy | UnnecessaryGString | 3 | 91 | [SRC]termQuery = new TermQuery(new Term("feature", value)) [MSG]The String 'feature' can be wrapped in single quotes instead of double quotes |
Search.groovy | Indentation | 3 | 94 | [SRC]combQuery.add(featureQuery.build(), featuresRequired) [MSG]The statement on line 94 in class org.apache.ofbiz.lucene.content.None is at the incorrect indent level: Expected column 9 but was 5 |
Search.groovy | UnnecessaryGString | 3 | 106 | [SRC]contentId = doc.get("contentId") [MSG]The String 'contentId' can be wrapped in single quotes instead of double quotes |
Search.groovy | UnnecessaryGString | 3 | 107 | [SRC]content = from("Content").where("contentId", contentId)...).queryOne() [MSG]The String 'Content' can be wrapped in single quotes instead of double quotes |
Search.groovy | UnnecessaryGString | 3 | 107 | [SRC]content = from("Content").where("contentId", contentId)...).queryOne() [MSG]The String 'contentId' can be wrapped in single quotes instead of double quotes |
SearchProducts.groovy | ConsecutiveBlankLines | 3 | 20 | [MSG]File SearchProducts.groovy has consecutive blank lines |
SearchProducts.groovy | UnnecessaryGString | 3 | 42 | [SRC]DirectoryReader reader = DirectoryReader.open(FSDirector..).toPath())) [MSG]The String 'products' can be wrapped in single quotes instead of double quotes |
SearchProducts.groovy | UnnecessaryGString | 3 | 50 | [SRC]QueryParser parser = new QueryParser("fullText", analyzer) [MSG]The String 'fullText' can be wrapped in single quotes instead of double quotes |
SearchProducts.groovy | SpaceAfterCatch | 3 | 55 | [SRC]} catch(ParseException pe) { [MSG]The catch keyword within class org.apache.ofbiz.lucene.content.None is not followed by a single space |
SearchProducts.groovy | UnnecessaryGString | 3 | 68 | [SRC]product = from("Product").where("productId", productId)...).queryOne() [MSG]The String 'Product' can be wrapped in single quotes instead of double quotes |
SearchProducts.groovy | UnnecessaryGString | 3 | 68 | [SRC]product = from("Product").where("productId", productId)...).queryOne() [MSG]The String 'productId' can be wrapped in single quotes instead of double quotes |
SearchSalesReps.groovy | UnnecessaryGString | 3 | 21 | [SRC]context.salesReps = from("PartyRoleNameDetail").where("r...queryList() [MSG]The String 'PartyRoleNameDetail' can be wrapped in single quotes instead of double quotes |
SearchSalesReps.groovy | UnnecessaryGString | 3 | 21 | [SRC]context.salesReps = from("PartyRoleNameDetail").where("r...queryList() [MSG]The String 'roleTypeId' can be wrapped in single quotes instead of double quotes |
SearchSalesReps.groovy | UnnecessaryGString | 3 | 21 | [SRC]context.salesReps = from("PartyRoleNameDetail").where("r...queryList() [MSG]The String 'SALES_REP' can be wrapped in single quotes instead of double quotes |
SearchSalesReps.groovy | UnnecessaryGString | 3 | 21 | [SRC]context.salesReps = from("PartyRoleNameDetail").where("r...queryList() [MSG]The String 'lastName' can be wrapped in single quotes instead of double quotes |
SearchSalesReps.groovy | UnnecessaryGString | 3 | 21 | [SRC]context.salesReps = from("PartyRoleNameDetail").where("r...queryList() [MSG]The String 'firstName' can be wrapped in single quotes instead of double quotes |
SearchSalesReps.groovy | UnnecessaryGString | 3 | 23 | [SRC]shoppingCart = session.getAttribute("shoppingCart") [MSG]The String 'shoppingCart' can be wrapped in single quotes instead of double quotes |
SetServiceParameters.groovy | ConsecutiveBlankLines | 3 | 99 | [MSG]File SetServiceParameters.groovy has consecutive blank lines |
ShipSettings.groovy | NoWildcardImports | 3 | 21 | [SRC]import org.apache.ofbiz.entity.* [MSG]Wildcard (star) import |
ShipSettings.groovy | NoWildcardImports | 3 | 22 | [SRC]import org.apache.ofbiz.entity.util.* [MSG]Wildcard (star) import |
ShipSettings.groovy | NoWildcardImports | 3 | 23 | [SRC]import org.apache.ofbiz.base.util.* [MSG]Wildcard (star) import |
ShipSettings.groovy | NoWildcardImports | 3 | 24 | [SRC]import org.apache.ofbiz.order.shoppingcart.* [MSG]Wildcard (star) import |
ShipSettings.groovy | NoWildcardImports | 3 | 25 | [SRC]import org.apache.ofbiz.party.contact.* [MSG]Wildcard (star) import |
ShipSettings.groovy | NoWildcardImports | 3 | 26 | [SRC]import org.apache.ofbiz.product.catalog.* [MSG]Wildcard (star) import |
ShipSettings.groovy | UnnecessaryGString | 3 | 28 | [SRC]cart = session.getAttribute("shoppingCart") [MSG]The String 'shoppingCart' can be wrapped in single quotes instead of double quotes |
ShipSettings.groovy | UnnecessaryGString | 3 | 33 | [SRC]request.removeAttribute("_EVENT_MESSAGE_") [MSG]The String '_EVENT_MESSAGE_' can be wrapped in single quotes instead of double quotes |
ShipSettings.groovy | UnnecessaryGString | 3 | 35 | [SRC]if (partyId && !"_NA_".equals(partyId)) { [MSG]The String '_NA_' can be wrapped in single quotes instead of double quotes |
ShipSettings.groovy | UnnecessaryGString | 3 | 36 | [SRC]party = from("Party").where("partyId", partyId).queryOne() [MSG]The String 'Party' can be wrapped in single quotes instead of double quotes |
ShipSettings.groovy | UnnecessaryGString | 3 | 36 | [SRC]party = from("Party").where("partyId", partyId).queryOne() [MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes |
ShipSettings.groovy | UnnecessaryGString | 3 | 37 | [SRC]person = party.getRelatedOne("Person", false) [MSG]The String 'Person' can be wrapped in single quotes instead of double quotes |
ShipSettings.groovy | UnnecessaryGString | 3 | 44 | [SRC]shippingPartyContactDetail = from("PartyContactDetailByP..queryFirst() [MSG]The String 'PartyContactDetailByPurpose' can be wrapped in single quotes instead of double quotes |
ShipSettings.groovy | UnnecessaryGString | 3 | 44 | [SRC]shippingPartyContactDetail = from("PartyContactDetailByP..queryFirst() [MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes |
ShipSettings.groovy | UnnecessaryGString | 3 | 44 | [SRC]shippingPartyContactDetail = from("PartyContactDetailByP..queryFirst() [MSG]The String 'contactMechId' can be wrapped in single quotes instead of double quotes |
ShipSettings.groovy | UnnecessaryGString | 3 | 51 | [SRC]fullAddressBuf.append(", ") [MSG]The String ', ' can be wrapped in single quotes instead of double quotes |
ShipSettings.groovy | UnnecessaryGString | 3 | 54 | [SRC]fullAddressBuf.append(", ") [MSG]The String ', ' can be wrapped in single quotes instead of double quotes |
ShipSettings.groovy | UnnecessaryGString | 3 | 56 | [SRC]fullAddressBuf.append(", ") [MSG]The String ', ' can be wrapped in single quotes instead of double quotes |
ShipmentStatus.groovy | UnusedImport | 3 | 21 | [SRC]import org.apache.ofbiz.base.util.UtilMisc [MSG]The [org.apache.ofbiz.base.util.UtilMisc] import is never referenced |
ShipmentStatus.groovy | UnusedImport | 3 | 22 | [SRC]import org.apache.ofbiz.entity.Delegator [MSG]The [org.apache.ofbiz.entity.Delegator] import is never referenced |
ShipmentStatus.groovy | NoWildcardImports | 3 | 23 | [SRC]import org.apache.ofbiz.entity.* [MSG]Wildcard (star) import |
ShipmentStatus.groovy | NoWildcardImports | 3 | 24 | [SRC]import org.apache.ofbiz.entity.condition.* [MSG]Wildcard (star) import |
ShipmentStatus.groovy | NoWildcardImports | 3 | 25 | [SRC]import org.apache.ofbiz.entity.util.* [MSG]Wildcard (star) import |
ShipmentStatus.groovy | UnnecessaryGString | 3 | 29 | [SRC]shipment = from("Shipment").where("shipmentId", shipmentId).queryOne() [MSG]The String 'Shipment' can be wrapped in single quotes instead of double quotes |
ShipmentStatus.groovy | UnnecessaryGString | 3 | 29 | [SRC]shipment = from("Shipment").where("shipmentId", shipmentId).queryOne() [MSG]The String 'shipmentId' can be wrapped in single quotes instead of double quotes |
ShipmentStatus.groovy | UnnecessaryGString | 3 | 30 | [SRC]shipmentItems = from("ShipmentItem").where("shipmentId",...queryList() [MSG]The String 'ShipmentItem' can be wrapped in single quotes instead of double quotes |
ShipmentStatus.groovy | UnnecessaryGString | 3 | 30 | [SRC]shipmentItems = from("ShipmentItem").where("shipmentId",...queryList() [MSG]The String 'shipmentId' can be wrapped in single quotes instead of double quotes |
ShipmentStatus.groovy | UnnecessaryGString | 3 | 33 | [SRC]orderShipmentInfoSummaryList = select("shipmentId", "shi..ackingCode") [MSG]The String 'shipmentId' can be wrapped in single quotes instead of double quotes |
ShipmentStatus.groovy | UnnecessaryGString | 3 | 33 | [SRC]orderShipmentInfoSummaryList = select("shipmentId", "shi..ackingCode") [MSG]The String 'shipmentRouteSegmentId' can be wrapped in single quotes instead of double quotes |
ShipmentStatus.groovy | UnnecessaryGString | 3 | 33 | [SRC]orderShipmentInfoSummaryList = select("shipmentId", "shi..ackingCode") [MSG]The String 'shipmentPackageSeqId' can be wrapped in single quotes instead of double quotes |
ShipmentStatus.groovy | UnnecessaryGString | 3 | 33 | [SRC]orderShipmentInfoSummaryList = select("shipmentId", "shi..ackingCode") [MSG]The String 'carrierPartyId' can be wrapped in single quotes instead of double quotes |
ShipmentStatus.groovy | UnnecessaryGString | 3 | 33 | [SRC]orderShipmentInfoSummaryList = select("shipmentId", "shi..ackingCode") [MSG]The String 'trackingCode' can be wrapped in single quotes instead of double quotes |
ShipmentStatus.groovy | UnnecessaryGString | 3 | 34 | [SRC].from("OrderShipmentInfoSummary") [MSG]The String 'OrderShipmentInfoSummary' can be wrapped in single quotes instead of double quotes |
ShipmentStatus.groovy | UnnecessaryGString | 3 | 35 | [SRC].where("shipmentId", shipmentId) [MSG]The String 'shipmentId' can be wrapped in single quotes instead of double quotes |
ShipmentStatus.groovy | UnnecessaryGString | 3 | 36 | [SRC].orderBy("shipmentId", "shipmentRouteSegmentId", "shipme..ckageSeqId") [MSG]The String 'shipmentId' can be wrapped in single quotes instead of double quotes |
ShipmentStatus.groovy | UnnecessaryGString | 3 | 36 | [SRC].orderBy("shipmentId", "shipmentRouteSegmentId", "shipme..ckageSeqId") [MSG]The String 'shipmentRouteSegmentId' can be wrapped in single quotes instead of double quotes |
ShipmentStatus.groovy | UnnecessaryGString | 3 | 36 | [SRC].orderBy("shipmentId", "shipmentRouteSegmentId", "shipme..ckageSeqId") [MSG]The String 'shipmentPackageSeqId' can be wrapped in single quotes instead of double quotes |
ShowCart.groovy | UnusedImport | 3 | 21 | [SRC]import org.apache.ofbiz.base.util.UtilMisc [MSG]The [org.apache.ofbiz.base.util.UtilMisc] import is never referenced |
ShowCart.groovy | NoWildcardImports | 3 | 26 | [SRC]import org.apache.ofbiz.entity.condition.* [MSG]Wildcard (star) import |
ShowCart.groovy | UnnecessaryGString | 3 | 38 | [SRC]product = from("Product").where("productId", add_product..).queryOne() [MSG]The String 'Product' can be wrapped in single quotes instead of double quotes |
ShowCart.groovy | UnnecessaryGString | 3 | 38 | [SRC]product = from("Product").where("productId", add_product..).queryOne() [MSG]The String 'productId' can be wrapped in single quotes instead of double quotes |
ShowCart.groovy | UnnecessaryGString | 3 | 43 | [SRC]allgiftWraps = from("ProductFeature").where("productFeat...queryList() [MSG]The String 'ProductFeature' can be wrapped in single quotes instead of double quotes |
ShowCart.groovy | UnnecessaryGString | 3 | 43 | [SRC]allgiftWraps = from("ProductFeature").where("productFeat...queryList() [MSG]The String 'productFeatureTypeId' can be wrapped in single quotes instead of double quotes |
ShowCart.groovy | UnnecessaryGString | 3 | 43 | [SRC]allgiftWraps = from("ProductFeature").where("productFeat...queryList() [MSG]The String 'GIFT_WRAP' can be wrapped in single quotes instead of double quotes |
ShowCart.groovy | UnnecessaryGString | 3 | 43 | [SRC]allgiftWraps = from("ProductFeature").where("productFeat...queryList() [MSG]The String 'defaultSequenceNum' can be wrapped in single quotes instead of double quotes |
ShowCart.groovy | UnnecessaryGString | 3 | 48 | [SRC]allShoppingLists = from("ShoppingList").where(EntityCond..in.partyId), [MSG]The String 'ShoppingList' can be wrapped in single quotes instead of double quotes |
ShowCart.groovy | UnnecessaryGString | 3 | 48 | [SRC]allShoppingLists = from("ShoppingList").where(EntityCond..in.partyId), [MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes |
ShowCart.groovy | UnnecessaryGString | 3 | 49 | [SRC]EntityCondition.makeCondition("listName", EntityOperator...queryList() [MSG]The String 'listName' can be wrapped in single quotes instead of double quotes |
ShowCart.groovy | UnnecessaryGString | 3 | 49 | [SRC]EntityCondition.makeCondition("listName", EntityOperator...queryList() [MSG]The String 'auto-save' can be wrapped in single quotes instead of double quotes |
ShowCart.groovy | UnnecessaryGString | 3 | 49 | [SRC]EntityCondition.makeCondition("listName", EntityOperator...queryList() [MSG]The String 'listName' can be wrapped in single quotes instead of double quotes |
ShowCart.groovy | SpaceAfterIf | 3 | 62 | [SRC]if(shoppingCartItems) { [MSG]The if keyword within class org.apache.ofbiz.ecommerce.cart.None is not followed by a single space |
ShowCart.groovy | UnnecessaryGString | 3 | 72 | [SRC]productCategoryMembers = from("ProductCategoryMember").w...queryList() [MSG]The String 'ProductCategoryMember' can be wrapped in single quotes instead of double quotes |
ShowCart.groovy | UnnecessaryGString | 3 | 72 | [SRC]productCategoryMembers = from("ProductCategoryMember").w...queryList() [MSG]The String 'productId' can be wrapped in single quotes instead of double quotes |
ShowCart.groovy | UnnecessaryGString | 3 | 75 | [SRC]productCategory = productCategoryMember.getRelatedOne("P..ory", false) [MSG]The String 'ProductCategory' can be wrapped in single quotes instead of double quotes |
ShowCart.groovy | UnusedImport | 3 | 21 | [SRC]import org.apache.ofbiz.base.util.UtilValidate; [MSG]The [org.apache.ofbiz.base.util.UtilValidate] import is never referenced |
ShowCart.groovy | UnnecessarySemicolon | 3 | 21 | [SRC]import org.apache.ofbiz.base.util.UtilValidate; [MSG]Semicolons as line endings can be removed safely |
ShowCart.groovy | UnnecessarySemicolon | 3 | 22 | [SRC]import org.apache.ofbiz.webpos.WebPosEvents; [MSG]Semicolons as line endings can be removed safely |
ShowCart.groovy | UnusedImport | 3 | 23 | [SRC]import org.apache.ofbiz.webpos.session.WebPosSession; [MSG]The [org.apache.ofbiz.webpos.session.WebPosSession] import is never referenced |
ShowCart.groovy | UnnecessarySemicolon | 3 | 23 | [SRC]import org.apache.ofbiz.webpos.session.WebPosSession; [MSG]Semicolons as line endings can be removed safely |
ShowCart.groovy | UnnecessarySemicolon | 3 | 25 | [SRC]webPosSession = WebPosEvents.getWebPosSession(request, null); [MSG]Semicolons as line endings can be removed safely |
ShowCart.groovy | UnnecessarySemicolon | 3 | 27 | [SRC]shoppingCart = webPosSession.getCart(); [MSG]Semicolons as line endings can be removed safely |
ShowCart.groovy | UnnecessarySemicolon | 3 | 28 | [SRC]context.isManager = webPosSession.isManagerLoggedIn(); [MSG]Semicolons as line endings can be removed safely |
ShowCart.groovy | UnnecessarySemicolon | 3 | 29 | [SRC]context.transactionId = webPosSession.getCurrentTransact..sactionId(); [MSG]Semicolons as line endings can be removed safely |
ShowCart.groovy | UnnecessarySemicolon | 3 | 30 | [SRC]context.userLoginId = webPosSession.getUserLoginId(); [MSG]Semicolons as line endings can be removed safely |
ShowCart.groovy | UnnecessarySemicolon | 3 | 31 | [SRC]context.drawerNumber = webPosSession.getCurrentTransacti..werNumber(); [MSG]Semicolons as line endings can be removed safely |
ShowCart.groovy | UnnecessarySemicolon | 3 | 32 | [SRC]context.totalDue = webPosSession.getCurrentTransaction()..tTotalDue(); [MSG]Semicolons as line endings can be removed safely |
ShowCart.groovy | UnnecessarySemicolon | 3 | 33 | [SRC]context.totalQuantity = webPosSession.getCurrentTransact..lQuantity(); [MSG]Semicolons as line endings can be removed safely |
ShowCart.groovy | UnnecessarySemicolon | 3 | 34 | [SRC]context.isOpen = webPosSession.getCurrentTransaction().isOpen(); [MSG]Semicolons as line endings can be removed safely |
ShowCart.groovy | TrailingWhitespace | 3 | 35 | [SRC] [MSG]Line ends with whitespace characters |
ShowCart.groovy | UnnecessarySemicolon | 3 | 36 | [SRC]context.person = null; [MSG]Semicolons as line endings can be removed safely |
ShowCart.groovy | UnnecessaryGString | 3 | 38 | [SRC]placingCustomerParty = from("PartyAndPerson").where("par...queryOne(); [MSG]The String 'PartyAndPerson' can be wrapped in single quotes instead of double quotes |
ShowCart.groovy | UnnecessaryGString | 3 | 38 | [SRC]placingCustomerParty = from("PartyAndPerson").where("par...queryOne(); [MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes |
ShowCart.groovy | UnnecessarySemicolon | 3 | 38 | [SRC]placingCustomerParty = from("PartyAndPerson").where("par...queryOne(); [MSG]Semicolons as line endings can be removed safely |
ShowCart.groovy | UnnecessaryGString | 3 | 40 | [SRC]context.person = placingCustomerParty.lastName + " " + p..y.firstName; [MSG]The String ' ' can be wrapped in single quotes instead of double quotes |
ShowCart.groovy | UnnecessarySemicolon | 3 | 40 | [SRC]context.person = placingCustomerParty.lastName + " " + p..y.firstName; [MSG]Semicolons as line endings can be removed safely |
ShowCart.groovy | UnnecessarySemicolon | 3 | 44 | [SRC]shoppingCart = null; [MSG]Semicolons as line endings can be removed safely |
ShowCart.groovy | UnnecessarySemicolon | 3 | 47 | [SRC]context.cashAmount = BigDecimal.ZERO; [MSG]Semicolons as line endings can be removed safely |
ShowCart.groovy | UnnecessarySemicolon | 3 | 48 | [SRC]context.checkAmount = BigDecimal.ZERO; [MSG]Semicolons as line endings can be removed safely |
ShowCart.groovy | UnnecessarySemicolon | 3 | 49 | [SRC]context.giftAmount = BigDecimal.ZERO; [MSG]Semicolons as line endings can be removed safely |
ShowCart.groovy | UnnecessarySemicolon | 3 | 50 | [SRC]context.creditAmount = BigDecimal.ZERO; [MSG]Semicolons as line endings can be removed safely |
ShowCart.groovy | UnnecessarySemicolon | 3 | 51 | [SRC]context.totalPay = BigDecimal.ZERO; [MSG]Semicolons as line endings can be removed safely |
ShowCart.groovy | UnnecessarySemicolon | 3 | 54 | [SRC]context.shoppingCartSize = shoppingCart.size(); [MSG]Semicolons as line endings can be removed safely |
ShowCart.groovy | UnnecessarySemicolon | 3 | 55 | [SRC]payments = shoppingCart.selectedPayments(); [MSG]Semicolons as line endings can be removed safely |
ShowCart.groovy | UnnecessarySemicolon | 3 | 57 | [SRC]paymentInfo = shoppingCart.getPaymentInfo(i); [MSG]Semicolons as line endings can be removed safely |
ShowCart.groovy | UnnecessarySemicolon | 3 | 59 | [SRC]amount = paymentInfo.amount; [MSG]Semicolons as line endings can be removed safely |
ShowCart.groovy | UnnecessaryGString | 3 | 61 | [SRC]if ("CASH".equals(paymentInfo.paymentMethodTypeId)) { [MSG]The String 'CASH' can be wrapped in single quotes instead of double quotes |
ShowCart.groovy | UnnecessarySemicolon | 3 | 62 | [SRC]context.cashAmount = new BigDecimal((context.cashAmount).add(amount)); [MSG]Semicolons as line endings can be removed safely |
ShowCart.groovy | UnnecessaryGString | 3 | 64 | [SRC]else if ("PERSONAL_CHECK".equals(paymentInfo.paymentMethodTypeId)) { [MSG]The String 'PERSONAL_CHECK' can be wrapped in single quotes instead of double quotes |
ShowCart.groovy | UnnecessarySemicolon | 3 | 65 | [SRC]context.checkAmount = new BigDecimal((context.checkAmoun..dd(amount)); [MSG]Semicolons as line endings can be removed safely |
ShowCart.groovy | UnnecessaryGString | 3 | 67 | [SRC]else if ("GIFT_CARD".equals(paymentInfo.paymentMethodTypeId)) { [MSG]The String 'GIFT_CARD' can be wrapped in single quotes instead of double quotes |
ShowCart.groovy | UnnecessarySemicolon | 3 | 68 | [SRC]context.giftAmount = new BigDecimal((context.giftAmount).add(amount)); [MSG]Semicolons as line endings can be removed safely |
ShowCart.groovy | UnnecessaryGString | 3 | 70 | [SRC]else if ("CREDIT_CARD".equals(paymentInfo.paymentMethodTypeId)) { [MSG]The String 'CREDIT_CARD' can be wrapped in single quotes instead of double quotes |
ShowCart.groovy | UnnecessarySemicolon | 3 | 71 | [SRC]context.creditAmount = new BigDecimal((context.creditAmo..dd(amount)); [MSG]Semicolons as line endings can be removed safely |
ShowCart.groovy | UnnecessarySemicolon | 3 | 73 | [SRC]context.totalPay = new BigDecimal((context.totalPay).add(amount)); [MSG]Semicolons as line endings can be removed safely |
ShowCart.groovy | UnnecessarySemicolon | 3 | 77 | [SRC]context.shoppingCart = shoppingCart; [MSG]Semicolons as line endings can be removed safely |
ShowCart.groovy | UnnecessarySemicolon | 3 | 79 | [SRC]context.shoppingCartSize = 0; [MSG]Semicolons as line endings can be removed safely |
ShowCart.groovy | SpaceAroundMapEntryColon | 3 | 82 | [SRC]context.paymentCash = from("PaymentMethodType").where(...queryOne(); [MSG]The colon for the literal Map entry for key [paymentMethodTypeId] within class org.apache.ofbiz.webpos.cart.None is not preceded by a match for regular expression [\S] |
ShowCart.groovy | UnnecessaryGString | 3 | 82 | [SRC]context.paymentCash = from("PaymentMethodType").where(...queryOne(); [MSG]The String 'PaymentMethodType' can be wrapped in single quotes instead of double quotes |
ShowCart.groovy | UnnecessaryGString | 3 | 82 | [SRC]context.paymentCash = from("PaymentMethodType").where(...queryOne(); [MSG]The String 'paymentMethodTypeId' can be wrapped in single quotes instead of double quotes |
ShowCart.groovy | UnnecessaryGString | 3 | 82 | [SRC]context.paymentCash = from("PaymentMethodType").where(...queryOne(); [MSG]The String 'CASH' can be wrapped in single quotes instead of double quotes |
ShowCart.groovy | UnnecessarySemicolon | 3 | 82 | [SRC]context.paymentCash = from("PaymentMethodType").where(...queryOne(); [MSG]Semicolons as line endings can be removed safely |
ShowCart.groovy | SpaceAroundMapEntryColon | 3 | 83 | [SRC]context.paymentCheck = from("PaymentMethodType").where(...queryOne(); [MSG]The colon for the literal Map entry for key [paymentMethodTypeId] within class org.apache.ofbiz.webpos.cart.None is not preceded by a match for regular expression [\S] |
ShowCart.groovy | UnnecessaryGString | 3 | 83 | [SRC]context.paymentCheck = from("PaymentMethodType").where(...queryOne(); [MSG]The String 'PaymentMethodType' can be wrapped in single quotes instead of double quotes |
ShowCart.groovy | UnnecessaryGString | 3 | 83 | [SRC]context.paymentCheck = from("PaymentMethodType").where(...queryOne(); [MSG]The String 'paymentMethodTypeId' can be wrapped in single quotes instead of double quotes |
ShowCart.groovy | UnnecessaryGString | 3 | 83 | [SRC]context.paymentCheck = from("PaymentMethodType").where(...queryOne(); [MSG]The String 'PERSONAL_CHECK' can be wrapped in single quotes instead of double quotes |
ShowCart.groovy | UnnecessarySemicolon | 3 | 83 | [SRC]context.paymentCheck = from("PaymentMethodType").where(...queryOne(); [MSG]Semicolons as line endings can be removed safely |
ShowCart.groovy | SpaceAroundMapEntryColon | 3 | 84 | [SRC]context.paymentGift = from("PaymentMethodType").where(...queryOne(); [MSG]The colon for the literal Map entry for key [paymentMethodTypeId] within class org.apache.ofbiz.webpos.cart.None is not preceded by a match for regular expression [\S] |
ShowCart.groovy | UnnecessaryGString | 3 | 84 | [SRC]context.paymentGift = from("PaymentMethodType").where(...queryOne(); [MSG]The String 'PaymentMethodType' can be wrapped in single quotes instead of double quotes |
ShowCart.groovy | UnnecessaryGString | 3 | 84 | [SRC]context.paymentGift = from("PaymentMethodType").where(...queryOne(); [MSG]The String 'paymentMethodTypeId' can be wrapped in single quotes instead of double quotes |
ShowCart.groovy | UnnecessaryGString | 3 | 84 | [SRC]context.paymentGift = from("PaymentMethodType").where(...queryOne(); [MSG]The String 'GIFT_CARD' can be wrapped in single quotes instead of double quotes |
ShowCart.groovy | UnnecessarySemicolon | 3 | 84 | [SRC]context.paymentGift = from("PaymentMethodType").where(...queryOne(); [MSG]Semicolons as line endings can be removed safely |
ShowCart.groovy | SpaceAroundMapEntryColon | 3 | 85 | [SRC]context.paymentCredit = from("PaymentMethodType").where(...queryOne(); [MSG]The colon for the literal Map entry for key [paymentMethodTypeId] within class org.apache.ofbiz.webpos.cart.None is not preceded by a match for regular expression [\S] |
ShowCart.groovy | UnnecessaryGString | 3 | 85 | [SRC]context.paymentCredit = from("PaymentMethodType").where(...queryOne(); [MSG]The String 'PaymentMethodType' can be wrapped in single quotes instead of double quotes |
ShowCart.groovy | UnnecessaryGString | 3 | 85 | [SRC]context.paymentCredit = from("PaymentMethodType").where(...queryOne(); [MSG]The String 'paymentMethodTypeId' can be wrapped in single quotes instead of double quotes |
ShowCart.groovy | UnnecessaryGString | 3 | 85 | [SRC]context.paymentCredit = from("PaymentMethodType").where(...queryOne(); [MSG]The String 'CREDIT_CARD' can be wrapped in single quotes instead of double quotes |
ShowCart.groovy | UnnecessarySemicolon | 3 | 85 | [SRC]context.paymentCredit = from("PaymentMethodType").where(...queryOne(); [MSG]Semicolons as line endings can be removed safely |
ShowForum.groovy | ImportFromSamePackage | 3 | 21 | [SRC]import org.apache.ofbiz.ecommerce.forum.ForumEvents |
ShowForum.groovy | SpaceAfterComma | 3 | 26 | [SRC]context.put("viewSize",result.get("viewSize")) [MSG]The parameter result.get(viewSize) in the call to method put within class org.apache.ofbiz.ecommerce.forum.None is not preceded by a space or whitespace |
ShowForum.groovy | UnnecessaryGString | 3 | 26 | [SRC]context.put("viewSize",result.get("viewSize")) [MSG]The String 'viewSize' can be wrapped in single quotes instead of double quotes |
ShowForum.groovy | UnnecessaryGString | 3 | 26 | [SRC]context.put("viewSize",result.get("viewSize")) [MSG]The String 'viewSize' can be wrapped in single quotes instead of double quotes |
ShowForum.groovy | UnnecessaryGString | 3 | 27 | [SRC]context.put("forumMessages", result.get("forumMessages")) [MSG]The String 'forumMessages' can be wrapped in single quotes instead of double quotes |
ShowForum.groovy | UnnecessaryGString | 3 | 27 | [SRC]context.put("forumMessages", result.get("forumMessages")) [MSG]The String 'forumMessages' can be wrapped in single quotes instead of double quotes |
ShowForum.groovy | UnnecessaryGString | 3 | 28 | [SRC]context.put("viewIndex", result.get("viewIndex")) [MSG]The String 'viewIndex' can be wrapped in single quotes instead of double quotes |
ShowForum.groovy | UnnecessaryGString | 3 | 28 | [SRC]context.put("viewIndex", result.get("viewIndex")) [MSG]The String 'viewIndex' can be wrapped in single quotes instead of double quotes |
ShowForum.groovy | UnnecessaryGString | 3 | 29 | [SRC]context.put("listSize", result.get("listSize")) [MSG]The String 'listSize' can be wrapped in single quotes instead of double quotes |
ShowForum.groovy | UnnecessaryGString | 3 | 29 | [SRC]context.put("listSize", result.get("listSize")) [MSG]The String 'listSize' can be wrapped in single quotes instead of double quotes |
ShowForum.groovy | UnnecessaryGString | 3 | 30 | [SRC]context.put("lowIndex", result.get("lowIndex")) [MSG]The String 'lowIndex' can be wrapped in single quotes instead of double quotes |
ShowForum.groovy | UnnecessaryGString | 3 | 30 | [SRC]context.put("lowIndex", result.get("lowIndex")) [MSG]The String 'lowIndex' can be wrapped in single quotes instead of double quotes |
ShowForum.groovy | UnnecessaryGString | 3 | 31 | [SRC]context.put("highIndex", result.get("highIndex")) [MSG]The String 'highIndex' can be wrapped in single quotes instead of double quotes |
ShowForum.groovy | UnnecessaryGString | 3 | 31 | [SRC]context.put("highIndex", result.get("highIndex")) [MSG]The String 'highIndex' can be wrapped in single quotes instead of double quotes |
ShowPromoText.groovy | UnusedImport | 3 | 21 | [SRC]import org.apache.ofbiz.base.util.UtilMisc [MSG]The [org.apache.ofbiz.base.util.UtilMisc] import is never referenced |
ShowPromoText.groovy | UnnecessaryGString | 3 | 35 | [SRC]if (promoText && !"N".equals(productPromo.showToCustomer)) { [MSG]The String 'N' can be wrapped in single quotes instead of double quotes |
ShowPromoText.groovy | UnnecessaryPackageReference | 3 | 48 | [SRC]randomIndex = Math.round(java.lang.Math.random() * (prod..- 1)) as int [MSG]Specifying the package name is not necessary for java.lang.Math |
SideDeepCategory.groovy | UnnecessaryGString | 3 | 24 | [SRC]CategoryWorker.getRelatedCategories(request, "topLevelLi..est)), true) [MSG]The String 'topLevelList' can be wrapped in single quotes instead of double quotes |
SideDeepCategory.groovy | UnnecessaryGString | 3 | 25 | [SRC]curCategoryId = parameters.category_id ?: parameters.CATEGORY_ID ?: "" [MSG]The String '' can be wrapped in single quotes instead of double quotes |
SideDeepCategory.groovy | UnnecessaryGString | 3 | 26 | [SRC]request.setAttribute("curCategoryId", curCategoryId) [MSG]The String 'curCategoryId' can be wrapped in single quotes instead of double quotes |
SideDeepCategory.groovy | UnnecessaryGString | 3 | 29 | [SRC]categoryList = request.getAttribute("topLevelList") [MSG]The String 'topLevelList' can be wrapped in single quotes instead of double quotes |
SideDeepCategory.groovy | UnnecessaryGString | 3 | 37 | [SRC]request.setAttribute("topCategoryId", curCategoryId) [MSG]The String 'topCategoryId' can be wrapped in single quotes instead of double quotes |
SprintBacklogListItems.groovy | UnnecessaryGString | 3 | 30 | [SRC]if ("SPRINT_CLOSED".equals(currentStatus)) { [MSG]The String 'SPRINT_CLOSED' can be wrapped in single quotes instead of double quotes |
SprintBacklogListItems.groovy | InvertedCondition | 3 | 33 | [SRC]if ("Any" == backlogStatusId) { [MSG]Any is a constant expression on the left side of a compare equals operation |
SprintBacklogListItems.groovy | UnnecessaryGString | 3 | 33 | [SRC]if ("Any" == backlogStatusId) { [MSG]The String 'Any' can be wrapped in single quotes instead of double quotes |
SprintBacklogListItems.groovy | UnnecessaryGString | 3 | 36 | [SRC]backlogStatusId = "CRQ_REVIEWED" [MSG]The String 'CRQ_REVIEWED' can be wrapped in single quotes instead of double quotes |
SprintBacklogListItems.groovy | UnnecessaryGString | 3 | 37 | [SRC]reopenedStatusId = "CRQ_REOPENED" [MSG]The String 'CRQ_REOPENED' can be wrapped in single quotes instead of double quotes |
SprintBacklogListItems.groovy | UnnecessaryGString | 3 | 38 | [SRC]taskStatusId = "STS_CREATED" [MSG]The String 'STS_CREATED' can be wrapped in single quotes instead of double quotes |
SprintBacklogListItems.groovy | Indentation | 3 | 43 | [SRC]orCurentExprs.add(EntityCondition.makeCondition("taskCur..skStatusId)) [MSG]The statement on line 43 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 5 but was 9 |
SprintBacklogListItems.groovy | UnnecessaryGString | 3 | 43 | [SRC]orCurentExprs.add(EntityCondition.makeCondition("taskCur..skStatusId)) [MSG]The String 'taskCurrentStatusId' can be wrapped in single quotes instead of double quotes |
SprintBacklogListItems.groovy | Indentation | 3 | 44 | [SRC]orCurentExprs.add(EntityCondition.makeCondition("taskCur..NT_ACTIVE")) [MSG]The statement on line 44 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 5 but was 9 |
SprintBacklogListItems.groovy | UnnecessaryGString | 3 | 44 | [SRC]orCurentExprs.add(EntityCondition.makeCondition("taskCur..NT_ACTIVE")) [MSG]The String 'taskCurrentStatusId' can be wrapped in single quotes instead of double quotes |
SprintBacklogListItems.groovy | UnnecessaryGString | 3 | 44 | [SRC]orCurentExprs.add(EntityCondition.makeCondition("taskCur..NT_ACTIVE")) [MSG]The String 'SPRINT_ACTIVE' can be wrapped in single quotes instead of double quotes |
SprintBacklogListItems.groovy | Indentation | 3 | 48 | [SRC]orBacklogExprs.add(EntityCondition.makeCondition("backlo..ogStatusId)) [MSG]The statement on line 48 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 5 but was 9 |
SprintBacklogListItems.groovy | UnnecessaryGString | 3 | 48 | [SRC]orBacklogExprs.add(EntityCondition.makeCondition("backlo..ogStatusId)) [MSG]The String 'backlogStatusId' can be wrapped in single quotes instead of double quotes |
SprintBacklogListItems.groovy | Indentation | 3 | 51 | [SRC]orBacklogExprs.add(EntityCondition.makeCondition("backlo..edStatusId)) [MSG]The statement on line 51 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 5 but was 9 |
SprintBacklogListItems.groovy | UnnecessaryGString | 3 | 51 | [SRC]orBacklogExprs.add(EntityCondition.makeCondition("backlo..edStatusId)) [MSG]The String 'backlogStatusId' can be wrapped in single quotes instead of double quotes |
SprintBacklogListItems.groovy | Indentation | 3 | 55 | [SRC]andExprs.add(EntityCondition.makeCondition("projectId", ...projectId)) [MSG]The statement on line 55 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 5 but was 9 |
SprintBacklogListItems.groovy | UnnecessaryGString | 3 | 55 | [SRC]andExprs.add(EntityCondition.makeCondition("projectId", ...projectId)) [MSG]The String 'projectId' can be wrapped in single quotes instead of double quotes |
SprintBacklogListItems.groovy | Indentation | 3 | 57 | [SRC]andExprs.add(EntityCondition.makeCondition("projectId", ..rtParentId)) [MSG]The statement on line 57 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 5 but was 9 |
SprintBacklogListItems.groovy | UnnecessaryGString | 3 | 57 | [SRC]andExprs.add(EntityCondition.makeCondition("projectId", ..rtParentId)) [MSG]The String 'projectId' can be wrapped in single quotes instead of double quotes |
SprintBacklogListItems.groovy | Indentation | 3 | 60 | [SRC]andExprs.add(EntityCondition.makeCondition(orBacklogExpr..perator.OR)) [MSG]The statement on line 60 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 5 but was 9 |
SprintBacklogListItems.groovy | Indentation | 3 | 63 | [SRC]andExprs.add(EntityCondition.makeCondition(orCurentExprs..perator.OR)) [MSG]The statement on line 63 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 5 but was 9 |
SprintBacklogListItems.groovy | UnnecessaryGString | 3 | 65 | [SRC]andExprs.add(EntityCondition.makeCondition("sprintId", E..s.sprintId)) [MSG]The String 'sprintId' can be wrapped in single quotes instead of double quotes |
SprintBacklogListItems.groovy | UnnecessaryGString | 3 | 66 | [SRC]andExprs.add(EntityCondition.makeCondition("sprintTypeId..UM_SPRINT")) [MSG]The String 'sprintTypeId' can be wrapped in single quotes instead of double quotes |
SprintBacklogListItems.groovy | UnnecessaryGString | 3 | 66 | [SRC]andExprs.add(EntityCondition.makeCondition("sprintTypeId..UM_SPRINT")) [MSG]The String 'SCRUM_SPRINT' can be wrapped in single quotes instead of double quotes |
SprintBacklogListItems.groovy | TrailingWhitespace | 3 | 67 | [SRC] [MSG]Line ends with whitespace characters |
SprintBacklogListItems.groovy | SpaceAfterComma | 3 | 69 | [SRC]projectSprintList = from("ProjectSprintBacklogAndTask")....queryList() [MSG]The parameter custRequestId in the call to method orderBy within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
SprintBacklogListItems.groovy | SpaceAfterComma | 3 | 69 | [SRC]projectSprintList = from("ProjectSprintBacklogAndTask")....queryList() [MSG]The parameter taskTypeId in the call to method orderBy within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
SprintBacklogListItems.groovy | UnnecessaryGString | 3 | 69 | [SRC]projectSprintList = from("ProjectSprintBacklogAndTask")....queryList() [MSG]The String 'ProjectSprintBacklogAndTask' can be wrapped in single quotes instead of double quotes |
SprintBacklogListItems.groovy | UnnecessaryGString | 3 | 69 | [SRC]projectSprintList = from("ProjectSprintBacklogAndTask")....queryList() [MSG]The String 'custSequenceNum' can be wrapped in single quotes instead of double quotes |
SprintBacklogListItems.groovy | UnnecessaryGString | 3 | 69 | [SRC]projectSprintList = from("ProjectSprintBacklogAndTask")....queryList() [MSG]The String 'custRequestId' can be wrapped in single quotes instead of double quotes |
SprintBacklogListItems.groovy | UnnecessaryGString | 3 | 69 | [SRC]projectSprintList = from("ProjectSprintBacklogAndTask")....queryList() [MSG]The String 'taskTypeId' can be wrapped in single quotes instead of double quotes |
SprintBacklogListItems.groovy | UnnecessaryGString | 3 | 81 | [SRC]sprintList = from("CustRequestWorkEffort").where("workEf...queryList() [MSG]The String 'CustRequestWorkEffort' can be wrapped in single quotes instead of double quotes |
SprintBacklogListItems.groovy | UnnecessaryGString | 3 | 81 | [SRC]sprintList = from("CustRequestWorkEffort").where("workEf...queryList() [MSG]The String 'workEffortId' can be wrapped in single quotes instead of double quotes |
SprintBacklogListItems.groovy | UnnecessaryGString | 3 | 83 | [SRC]custMap = sprintMap.getRelatedOne("CustRequest", false) [MSG]The String 'CustRequest' can be wrapped in single quotes instead of double quotes |
SprintBacklogListItems.groovy | SpaceBeforeOpeningBrace | 3 | 86 | [SRC]if ("CRQ_REVIEWED".equals(custMap.statusId)){ [MSG]The opening brace for the block in class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
SprintBacklogListItems.groovy | UnnecessaryGString | 3 | 86 | [SRC]if ("CRQ_REVIEWED".equals(custMap.statusId)){ [MSG]The String 'CRQ_REVIEWED' can be wrapped in single quotes instead of double quotes |
SprintBacklogListItems.groovy | UnnecessaryGString | 3 | 92 | [SRC]workEffortList = custMap.getRelated("CustRequestWorkEffo..null, false) [MSG]The String 'CustRequestWorkEffort' can be wrapped in single quotes instead of double quotes |
SprintBacklogListItems.groovy | UnnecessaryGString | 3 | 104 | [SRC]workEffMap = taskMap.getRelatedOne("WorkEffort", false) [MSG]The String 'WorkEffort' can be wrapped in single quotes instead of double quotes |
SprintBacklogListItems.groovy | UnnecessaryGString | 3 | 105 | [SRC]if (!"SCRUM_SPRINT".equals(workEffMap.workEffortTypeId)) { [MSG]The String 'SCRUM_SPRINT' can be wrapped in single quotes instead of double quotes |
SprintBacklogListItems.groovy | SpaceBeforeOpeningBrace | 3 | 107 | [SRC]if ("STS_CREATED".equals(workEffMap.currentStatusId)){ [MSG]The opening brace for the block in class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
SprintBacklogListItems.groovy | UnnecessaryGString | 3 | 107 | [SRC]if ("STS_CREATED".equals(workEffMap.currentStatusId)){ [MSG]The String 'STS_CREATED' can be wrapped in single quotes instead of double quotes |
SprintBacklogOptions.groovy | UnnecessaryGString | 3 | 21 | [SRC]sprintStatusId = "SPRINT_CLOSED" [MSG]The String 'SPRINT_CLOSED' can be wrapped in single quotes instead of double quotes |
SprintBacklogOptions.groovy | UnnecessaryGString | 3 | 23 | [SRC]custRequestWorkEffortList = custRequestMap.getRelated("C..null, false) [MSG]The String 'CustRequestWorkEffort' can be wrapped in single quotes instead of double quotes |
SprintBacklogOptions.groovy | UnnecessaryGString | 3 | 26 | [SRC]workEffortMap = custWorkEffortMap.getRelatedOne("WorkEffort", false) [MSG]The String 'WorkEffort' can be wrapped in single quotes instead of double quotes |
SprintBacklogOptions.groovy | UnnecessaryGString | 3 | 27 | [SRC]if ("SCRUM_SPRINT".equals(workEffortMap.workEffortTypeId..StatusId)) { [MSG]The String 'SCRUM_SPRINT' can be wrapped in single quotes instead of double quotes |
SprintBacklogOptions.groovy | UnnecessaryGString | 3 | 27 | [SRC]if ("SCRUM_SPRINT".equals(workEffortMap.workEffortTypeId..StatusId)) { [MSG]The String 'SPRINT_ACTIVE' can be wrapped in single quotes instead of double quotes |
SprintBacklogOptions.groovy | UnnecessaryGString | 3 | 29 | [SRC]sprintStatusId = "SPRINT_ACTIVE" [MSG]The String 'SPRINT_ACTIVE' can be wrapped in single quotes instead of double quotes |
SprintBacklogOptions.groovy | TrailingWhitespace | 3 | 30 | [SRC]} [MSG]Line ends with whitespace characters |
SprintBacklogOptions.groovy | BlockEndsWithBlankLine | 3 | 32 | [MSG]Code block ends with a blank line. |
SprintBacklogOptions.groovy | TrailingWhitespace | 3 | 32 | [SRC] [MSG]Line ends with whitespace characters |
TaskList.groovy | SpaceAfterComma | 3 | 30 | [SRC]taskUnplanList = from("ProjectSprintBacklogTaskAndParty"...queryList() [MSG]The parameter taskCurrentStatusId in the call to method where within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
TaskList.groovy | SpaceAfterComma | 3 | 30 | [SRC]taskUnplanList = from("ProjectSprintBacklogTaskAndParty"...queryList() [MSG]The parameter custRequestTypeId in the call to method where within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
TaskList.groovy | SpaceAfterComma | 3 | 30 | [SRC]taskUnplanList = from("ProjectSprintBacklogTaskAndParty"...queryList() [MSG]The parameter RF_UNPLAN_BACKLOG in the call to method where within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
TaskList.groovy | UnnecessaryGString | 3 | 30 | [SRC]taskUnplanList = from("ProjectSprintBacklogTaskAndParty"...queryList() [MSG]The String 'ProjectSprintBacklogTaskAndParty' can be wrapped in single quotes instead of double quotes |
TaskList.groovy | UnnecessaryGString | 3 | 30 | [SRC]taskUnplanList = from("ProjectSprintBacklogTaskAndParty"...queryList() [MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes |
TaskList.groovy | UnnecessaryGString | 3 | 30 | [SRC]taskUnplanList = from("ProjectSprintBacklogTaskAndParty"...queryList() [MSG]The String 'taskCurrentStatusId' can be wrapped in single quotes instead of double quotes |
TaskList.groovy | UnnecessaryGString | 3 | 30 | [SRC]taskUnplanList = from("ProjectSprintBacklogTaskAndParty"...queryList() [MSG]The String 'STS_CREATED' can be wrapped in single quotes instead of double quotes |
TaskList.groovy | UnnecessaryGString | 3 | 30 | [SRC]taskUnplanList = from("ProjectSprintBacklogTaskAndParty"...queryList() [MSG]The String 'custRequestTypeId' can be wrapped in single quotes instead of double quotes |
TaskList.groovy | UnnecessaryGString | 3 | 30 | [SRC]taskUnplanList = from("ProjectSprintBacklogTaskAndParty"...queryList() [MSG]The String 'RF_UNPLAN_BACKLOG' can be wrapped in single quotes instead of double quotes |
TaskList.groovy | UnnecessaryGString | 3 | 30 | [SRC]taskUnplanList = from("ProjectSprintBacklogTaskAndParty"...queryList() [MSG]The String 'taskTypeId' can be wrapped in single quotes instead of double quotes |
TaskList.groovy | NoTabCharacter | 3 | 32 | [MSG]The tab character is not allowed in source files |
TaskList.groovy | Indentation | 3 | 32 | [SRC]unplanMap=[:] [MSG]The statement on line 32 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Depending on your chaining style, expected one of [5, 9, 13] or one of [19, 23, 27] columns, but was 2 |
TaskList.groovy | SpaceAroundOperator | 3 | 32 | [SRC]unplanMap=[:] [MSG]The operator "=" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
TaskList.groovy | SpaceAroundOperator | 3 | 32 | [SRC]unplanMap=[:] [MSG]The operator "=" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace |
TaskList.groovy | Indentation | 3 | 33 | [SRC]custRequestId = taskUnplanMap.custRequestId [MSG]The statement on line 33 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Depending on your chaining style, expected one of [5, 9, 13] or one of [19, 23, 27] columns, but was 2 |
TaskList.groovy | Indentation | 3 | 34 | [SRC]productlist = from("CustRequestItem").where("custRequest...queryList() [MSG]The statement on line 34 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Depending on your chaining style, expected one of [5, 9, 13] or one of [19, 23, 27] columns, but was 2 |
TaskList.groovy | UnnecessaryGString | 3 | 34 | [SRC]productlist = from("CustRequestItem").where("custRequest...queryList() [MSG]The String 'CustRequestItem' can be wrapped in single quotes instead of double quotes |
TaskList.groovy | UnnecessaryGString | 3 | 34 | [SRC]productlist = from("CustRequestItem").where("custRequest...queryList() [MSG]The String 'custRequestId' can be wrapped in single quotes instead of double quotes |
TaskList.groovy | UnnecessaryGString | 3 | 34 | [SRC]productlist = from("CustRequestItem").where("custRequest...queryList() [MSG]The String 'productId' can be wrapped in single quotes instead of double quotes |
TaskList.groovy | Indentation | 3 | 35 | [SRC]productlist.each { productMap -> [MSG]The statement on line 35 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Depending on your chaining style, expected one of [5, 9, 13] or one of [19, 23, 27] columns, but was 2 |
TaskList.groovy | Indentation | 3 | 36 | [SRC]productId = productMap.productId [MSG]The statement on line 36 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Depending on your chaining style, expected one of [9, 13, 17] or one of [17, 21, 25] columns, but was 3 |
TaskList.groovy | Indentation | 3 | 37 | [SRC]product = from("Product").where("productId", productId).queryOne() [MSG]The statement on line 37 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Depending on your chaining style, expected one of [9, 13, 17] or one of [17, 21, 25] columns, but was 3 |
TaskList.groovy | UnnecessaryGString | 3 | 37 | [SRC]product = from("Product").where("productId", productId).queryOne() [MSG]The String 'Product' can be wrapped in single quotes instead of double quotes |
TaskList.groovy | UnnecessaryGString | 3 | 37 | [SRC]product = from("Product").where("productId", productId).queryOne() [MSG]The String 'productId' can be wrapped in single quotes instead of double quotes |
TaskList.groovy | Indentation | 3 | 38 | [SRC]productName = product.internalName [MSG]The statement on line 38 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Depending on your chaining style, expected one of [9, 13, 17] or one of [17, 21, 25] columns, but was 4 |
TaskList.groovy | Indentation | 3 | 39 | [SRC]unplanMap.taskId = taskUnplanMap.taskId [MSG]The statement on line 39 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Depending on your chaining style, expected one of [9, 13, 17] or one of [17, 21, 25] columns, but was 4 |
TaskList.groovy | Indentation | 3 | 40 | [SRC]unplanMap.taskName = taskUnplanMap.taskName [MSG]The statement on line 40 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Depending on your chaining style, expected one of [9, 13, 17] or one of [17, 21, 25] columns, but was 4 |
TaskList.groovy | Indentation | 3 | 41 | [SRC]unplanMap.projectId = taskUnplanMap.projectId [MSG]The statement on line 41 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Depending on your chaining style, expected one of [9, 13, 17] or one of [17, 21, 25] columns, but was 4 |
TaskList.groovy | Indentation | 3 | 42 | [SRC]unplanMap.projectName = taskUnplanMap.projectName [MSG]The statement on line 42 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Depending on your chaining style, expected one of [9, 13, 17] or one of [17, 21, 25] columns, but was 4 |
TaskList.groovy | Indentation | 3 | 43 | [SRC]unplanMap.sprintId = taskUnplanMap.sprintId [MSG]The statement on line 43 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Depending on your chaining style, expected one of [9, 13, 17] or one of [17, 21, 25] columns, but was 4 |
TaskList.groovy | Indentation | 3 | 44 | [SRC]unplanMap.sprintName = taskUnplanMap.sprintName [MSG]The statement on line 44 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Depending on your chaining style, expected one of [9, 13, 17] or one of [17, 21, 25] columns, but was 4 |
TaskList.groovy | Indentation | 3 | 45 | [SRC]unplanMap.custRequestId = custRequestId [MSG]The statement on line 45 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Depending on your chaining style, expected one of [9, 13, 17] or one of [17, 21, 25] columns, but was 4 |
TaskList.groovy | Indentation | 3 | 46 | [SRC]unplanMap.description = taskUnplanMap.description [MSG]The statement on line 46 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Depending on your chaining style, expected one of [9, 13, 17] or one of [17, 21, 25] columns, but was 4 |
TaskList.groovy | Indentation | 3 | 47 | [SRC]unplanMap.productId = productId [MSG]The statement on line 47 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Depending on your chaining style, expected one of [9, 13, 17] or one of [17, 21, 25] columns, but was 4 |
TaskList.groovy | UnnecessaryObjectReferences | 3 | 47 | [SRC]unplanMap.productId = productId [MSG]The code could be more concise by using a with() or identity() block |
TaskList.groovy | Indentation | 3 | 48 | [SRC]unplanMap.productName = productName [MSG]The statement on line 48 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Depending on your chaining style, expected one of [9, 13, 17] or one of [17, 21, 25] columns, but was 4 |
TaskList.groovy | UnnecessaryObjectReferences | 3 | 48 | [SRC]unplanMap.productName = productName [MSG]The code could be more concise by using a with() or identity() block |
TaskList.groovy | BlockEndsWithBlankLine | 3 | 49 | [MSG]Code block ends with a blank line. |
TaskList.groovy | TrailingWhitespace | 3 | 49 | [SRC] [MSG]Line ends with whitespace characters |
TaskList.groovy | Indentation | 3 | 51 | [SRC]taskPartyList.add(taskUnplanMap) [MSG]The statement on line 51 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Depending on your chaining style, expected one of [5, 9, 13] or one of [19, 23, 27] columns, but was 2 |
TaskList.groovy | Indentation | 3 | 52 | [SRC]taskListDropdown.add(unplanMap) [MSG]The statement on line 52 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Depending on your chaining style, expected one of [5, 9, 13] or one of [19, 23, 27] columns, but was 2 |
TaskList.groovy | UnnecessaryGString | 3 | 56 | [SRC]exprBldr.add(EntityCondition.makeCondition("custRequestT..D_BACKLOG")) [MSG]The String 'custRequestTypeId' can be wrapped in single quotes instead of double quotes |
TaskList.groovy | UnnecessaryGString | 3 | 56 | [SRC]exprBldr.add(EntityCondition.makeCondition("custRequestT..D_BACKLOG")) [MSG]The String 'RF_PROD_BACKLOG' can be wrapped in single quotes instead of double quotes |
TaskList.groovy | UnnecessaryGString | 3 | 57 | [SRC]exprBldr.add(EntityCondition.makeCondition("custRequestT.._MEETINGS")) [MSG]The String 'custRequestTypeId' can be wrapped in single quotes instead of double quotes |
TaskList.groovy | UnnecessaryGString | 3 | 57 | [SRC]exprBldr.add(EntityCondition.makeCondition("custRequestT.._MEETINGS")) [MSG]The String 'RF_SCRUM_MEETINGS' can be wrapped in single quotes instead of double quotes |
TaskList.groovy | UnnecessaryGString | 3 | 59 | [SRC]andExprs.add(EntityCondition.makeCondition("taskCurrentS..S_CREATED")) [MSG]The String 'taskCurrentStatusId' can be wrapped in single quotes instead of double quotes |
TaskList.groovy | UnnecessaryGString | 3 | 59 | [SRC]andExprs.add(EntityCondition.makeCondition("taskCurrentS..S_CREATED")) [MSG]The String 'STS_CREATED' can be wrapped in single quotes instead of double quotes |
TaskList.groovy | UnnecessaryGString | 3 | 60 | [SRC]andExprs.add(EntityCondition.makeCondition("partyId", En..S, partyId)) [MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes |
TaskList.groovy | SpaceAfterComma | 3 | 64 | [SRC]taskPlanList = from("ProjectSprintBacklogTaskAndParty")....queryList() [MSG]The parameter projectId in the call to method orderBy within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
TaskList.groovy | SpaceAfterComma | 3 | 64 | [SRC]taskPlanList = from("ProjectSprintBacklogTaskAndParty")....queryList() [MSG]The parameter sprintId in the call to method orderBy within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
TaskList.groovy | UnnecessaryGString | 3 | 64 | [SRC]taskPlanList = from("ProjectSprintBacklogTaskAndParty")....queryList() [MSG]The String 'ProjectSprintBacklogTaskAndParty' can be wrapped in single quotes instead of double quotes |
TaskList.groovy | UnnecessaryGString | 3 | 64 | [SRC]taskPlanList = from("ProjectSprintBacklogTaskAndParty")....queryList() [MSG]The String 'taskTypeId' can be wrapped in single quotes instead of double quotes |
TaskList.groovy | UnnecessaryGString | 3 | 64 | [SRC]taskPlanList = from("ProjectSprintBacklogTaskAndParty")....queryList() [MSG]The String 'projectId' can be wrapped in single quotes instead of double quotes |
TaskList.groovy | UnnecessaryGString | 3 | 64 | [SRC]taskPlanList = from("ProjectSprintBacklogTaskAndParty")....queryList() [MSG]The String 'sprintId' can be wrapped in single quotes instead of double quotes |
TaskList.groovy | SpaceAroundOperator | 3 | 66 | [SRC]planMap=[:] [MSG]The operator "=" within class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
TaskList.groovy | SpaceAroundOperator | 3 | 66 | [SRC]planMap=[:] [MSG]The operator "=" within class org.apache.ofbiz.scrum.None is not followed by a space or whitespace |
TaskList.groovy | UnnecessaryGString | 3 | 67 | [SRC]if ("RF_SCRUM_MEETINGS".equals(taskPlanMap.custRequestTypeId)) { [MSG]The String 'RF_SCRUM_MEETINGS' can be wrapped in single quotes instead of double quotes |
TaskList.groovy | UnnecessaryGString | 3 | 68 | [SRC]workEffPartyAssignedList = from("WorkEffortPartyAssignme...queryList() [MSG]The String 'WorkEffortPartyAssignment' can be wrapped in single quotes instead of double quotes |
TaskList.groovy | UnnecessaryGString | 3 | 68 | [SRC]workEffPartyAssignedList = from("WorkEffortPartyAssignme...queryList() [MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes |
TaskList.groovy | UnnecessaryGString | 3 | 68 | [SRC]workEffPartyAssignedList = from("WorkEffortPartyAssignme...queryList() [MSG]The String 'workEffortId' can be wrapped in single quotes instead of double quotes |
TaskList.groovy | UnnecessaryGString | 3 | 70 | [SRC]if (!"SCAS_COMPLETED".equals(workEffPartyAssignedMap.statusId)) { [MSG]The String 'SCAS_COMPLETED' can be wrapped in single quotes instead of double quotes |
TaskList.groovy | UnnecessaryGString | 3 | 80 | [SRC]productlist = from("CustRequestItem").where("custRequest...queryList() [MSG]The String 'CustRequestItem' can be wrapped in single quotes instead of double quotes |
TaskList.groovy | UnnecessaryGString | 3 | 80 | [SRC]productlist = from("CustRequestItem").where("custRequest...queryList() [MSG]The String 'custRequestId' can be wrapped in single quotes instead of double quotes |
TaskList.groovy | UnnecessaryGString | 3 | 80 | [SRC]productlist = from("CustRequestItem").where("custRequest...queryList() [MSG]The String 'productId' can be wrapped in single quotes instead of double quotes |
TaskList.groovy | UnnecessaryGString | 3 | 81 | [SRC]product = from("Product").where("productId", productlist..).queryOne() [MSG]The String 'Product' can be wrapped in single quotes instead of double quotes |
TaskList.groovy | UnnecessaryGString | 3 | 81 | [SRC]product = from("Product").where("productId", productlist..).queryOne() [MSG]The String 'productId' can be wrapped in single quotes instead of double quotes |
TaskList.groovy | UnnecessaryObjectReferences | 3 | 91 | [SRC]planMap.description = taskPlanMap.description [MSG]The code could be more concise by using a with() or identity() block |
TaskList.groovy | UnnecessaryObjectReferences | 3 | 92 | [SRC]planMap.productId = productlist[0].productId [MSG]The code could be more concise by using a with() or identity() block |
TaskList.groovy | UnnecessaryObjectReferences | 3 | 93 | [SRC]planMap.productName = productName [MSG]The code could be more concise by using a with() or identity() block |
TaskList.groovy | BlockEndsWithBlankLine | 3 | 97 | [MSG]Code block ends with a blank line. |
TaskList.groovy | SpaceBeforeOpeningBrace | 3 | 100 | [SRC]if (taskPartyList){ [MSG]The opening brace for the block in class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
TaskList.groovy | Indentation | 3 | 101 | [SRC]context.taskPartyList = taskPartyList [MSG]The statement on line 101 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 5 but was 2 |
TaskList.groovy | SpaceBeforeOpeningBrace | 3 | 103 | [SRC]if (taskListDropdown){ [MSG]The opening brace for the block in class org.apache.ofbiz.scrum.None is not preceded by a space or whitespace |
TaskList.groovy | Indentation | 3 | 104 | [SRC]context.taskListDropdown = taskListDropdown [MSG]The statement on line 104 in class org.apache.ofbiz.scrum.None is at the incorrect indent level: Expected column 5 but was 2 |
UpdateManager.groovy | ImportFromSamePackage | 3 | 21 | [SRC]import org.apache.ofbiz.webtools.labelmanager.LabelManagerFactory |
UpdatedEbayOrders.groovy | UnnecessaryGString | 3 | 21 | [SRC]if (session.getAttribute("orderList")) { [MSG]The String 'orderList' can be wrapped in single quotes instead of double quotes |
UpdatedEbayOrders.groovy | UnnecessaryGString | 3 | 22 | [SRC]session.removeAttribute("orderList") [MSG]The String 'orderList' can be wrapped in single quotes instead of double quotes |
UpdatedEbayOrders.groovy | UnnecessaryGString | 3 | 23 | [SRC]return "success" [MSG]The String 'success' can be wrapped in single quotes instead of double quotes |
ViewImage.groovy | ImportFromSamePackage | 3 | 21 | [SRC]import org.apache.ofbiz.order.order.OrderContentWrapper |
ViewPrep.groovy | UnnecessaryGroovyImport | 3 | 21 | [SRC]import java.util.ArrayList |
ViewPrep.groovy | UnusedImport | 3 | 21 | [SRC]import java.util.ArrayList [MSG]The [java.util.ArrayList] import is never referenced |
ViewPrep.groovy | UnnecessaryGroovyImport | 3 | 22 | [SRC]import java.util.Collection |
ViewPrep.groovy | UnusedImport | 3 | 22 | [SRC]import java.util.Collection [MSG]The [java.util.Collection] import is never referenced |
ViewPrep.groovy | UnnecessaryGroovyImport | 3 | 23 | [SRC]import java.util.HashMap |
ViewPrep.groovy | UnusedImport | 3 | 23 | [SRC]import java.util.HashMap [MSG]The [java.util.HashMap] import is never referenced |
ViewPrep.groovy | UnnecessaryGroovyImport | 3 | 24 | [SRC]import java.util.Iterator |
ViewPrep.groovy | UnusedImport | 3 | 24 | [SRC]import java.util.Iterator [MSG]The [java.util.Iterator] import is never referenced |
ViewPrep.groovy | UnnecessaryGroovyImport | 3 | 25 | [SRC]import java.util.LinkedList |
ViewPrep.groovy | UnusedImport | 3 | 25 | [SRC]import java.util.LinkedList [MSG]The [java.util.LinkedList] import is never referenced |
ViewPrep.groovy | UnnecessaryGroovyImport | 3 | 26 | [SRC]import java.util.List |
ViewPrep.groovy | UnusedImport | 3 | 26 | [SRC]import java.util.List [MSG]The [java.util.List] import is never referenced |
ViewPrep.groovy | UnnecessaryGroovyImport | 3 | 27 | [SRC]import java.util.Map |
ViewPrep.groovy | UnusedImport | 3 | 27 | [SRC]import java.util.Map [MSG]The [java.util.Map] import is never referenced |
ViewPrep.groovy | UnnecessaryGroovyImport | 3 | 28 | [SRC]import java.util.Set |
ViewPrep.groovy | UnusedImport | 3 | 28 | [SRC]import java.util.Set [MSG]The [java.util.Set] import is never referenced |
ViewPrep.groovy | UnnecessaryGroovyImport | 3 | 29 | [SRC]import java.util.TreeSet |
ViewPrep.groovy | UnusedImport | 3 | 29 | [SRC]import java.util.TreeSet [MSG]The [java.util.TreeSet] import is never referenced |
ViewPrep.groovy | NoWildcardImports | 3 | 31 | [SRC]import org.apache.ofbiz.base.util.* [MSG]Wildcard (star) import |
ViewPrep.groovy | NoWildcardImports | 3 | 32 | [SRC]import org.apache.ofbiz.entity.* [MSG]Wildcard (star) import |
ViewPrep.groovy | NoWildcardImports | 3 | 33 | [SRC]import org.apache.ofbiz.security.* [MSG]Wildcard (star) import |
ViewPrep.groovy | NoWildcardImports | 3 | 34 | [SRC]import org.apache.ofbiz.service.* [MSG]Wildcard (star) import |
ViewPrep.groovy | NoWildcardImports | 3 | 35 | [SRC]import org.apache.ofbiz.entity.model.* [MSG]Wildcard (star) import |
ViewPrep.groovy | NoWildcardImports | 3 | 36 | [SRC]import org.apache.ofbiz.securityext.login.* [MSG]Wildcard (star) import |
ViewPrep.groovy | NoWildcardImports | 3 | 37 | [SRC]import org.apache.ofbiz.common.* [MSG]Wildcard (star) import |
ViewPrep.groovy | UnusedImport | 3 | 38 | [SRC]import org.apache.ofbiz.content.content.ContentWorker [MSG]The [org.apache.ofbiz.content.content.ContentWorker] import is never referenced |
ViewPrep.groovy | NoWildcardImports | 3 | 41 | [SRC]import javax.servlet.* [MSG]Wildcard (star) import |
ViewPrep.groovy | NoWildcardImports | 3 | 42 | [SRC]import javax.servlet.http.* [MSG]Wildcard (star) import |
ViewPrep.groovy | UnnecessaryGString | 3 | 64 | [SRC]nodeTrailCsv = ContentManagementWorker.getFromSomewhere(..st, context) [MSG]The String 'nodeTrailCsv' can be wrapped in single quotes instead of double quotes |
ViewPrep.groovy | UnnecessaryGString | 3 | 66 | [SRC]contentId = ContentManagementWorker.getFromSomewhere("co..st, context) [MSG]The String 'contentId' can be wrapped in single quotes instead of double quotes |
ViewPrep.groovy | UnnecessaryGString | 3 | 70 | [SRC]forumId = ContentManagementWorker.getFromSomewhere("foru..st, context) [MSG]The String 'forumId' can be wrapped in single quotes instead of double quotes |
ViewProductionRun.groovy | ImportFromSamePackage | 3 | 24 | [SRC]import org.apache.ofbiz.manufacturing.jobshopmgt.ProductionRun |
ViewProfile.groovy | NoWildcardImports | 3 | 21 | [SRC]import java.lang.* [MSG]Wildcard (star) import |
ViewProfile.groovy | UnnecessaryGroovyImport | 3 | 21 | [SRC]import java.lang.* |
ViewProfile.groovy | NoWildcardImports | 3 | 22 | [SRC]import java.util.* [MSG]Wildcard (star) import |
ViewProfile.groovy | UnnecessaryGroovyImport | 3 | 22 | [SRC]import java.util.* |
ViewProfile.groovy | NoWildcardImports | 3 | 23 | [SRC]import org.apache.ofbiz.base.util.* [MSG]Wildcard (star) import |
ViewProfile.groovy | NoWildcardImports | 3 | 24 | [SRC]import org.apache.ofbiz.entity.* [MSG]Wildcard (star) import |
ViewProfile.groovy | NoWildcardImports | 3 | 25 | [SRC]import org.apache.ofbiz.entity.util.* [MSG]Wildcard (star) import |
ViewProfile.groovy | NoWildcardImports | 3 | 26 | [SRC]import org.apache.ofbiz.entity.condition.* [MSG]Wildcard (star) import |
ViewProfile.groovy | UnnecessaryGString | 3 | 35 | [SRC]profiledefs = from("PartyProfileDefault").where("partyId..).queryOne() [MSG]The String 'PartyProfileDefault' can be wrapped in single quotes instead of double quotes |
ViewProfile.groovy | UnnecessaryGString | 3 | 35 | [SRC]profiledefs = from("PartyProfileDefault").where("partyId..).queryOne() [MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes |
ViewProfile.groovy | UnnecessaryGString | 3 | 35 | [SRC]profiledefs = from("PartyProfileDefault").where("partyId..).queryOne() [MSG]The String 'productStoreId' can be wrapped in single quotes instead of double quotes |
ViewProfile.groovy | UnnecessaryGString | 3 | 37 | [SRC]showOld = "true".equals(parameters.SHOW_OLD) [MSG]The String 'true' can be wrapped in single quotes instead of double quotes |
ViewProfile.groovy | UnnecessaryGString | 3 | 49 | [SRC]shipAddress = from("PostalAddress").where("contactMechId..).queryOne() [MSG]The String 'PostalAddress' can be wrapped in single quotes instead of double quotes |
ViewProfile.groovy | UnnecessaryGString | 3 | 49 | [SRC]shipAddress = from("PostalAddress").where("contactMechId..).queryOne() [MSG]The String 'contactMechId' can be wrapped in single quotes instead of double quotes |
ViewProfile.groovy | UnnecessaryGString | 3 | 56 | [SRC]profileSurveys = ProductStoreWorker.getProductSurveys(de..ER_PROFILE") [MSG]The String 'CUSTOMER_PROFILE' can be wrapped in single quotes instead of double quotes |
ViewProfile.groovy | UnnecessaryGString | 3 | 59 | [SRC]exprs = [EntityCondition.makeCondition("partyId", Entity..S, partyId)] [MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes |
ViewProfile.groovy | UnnecessaryGString | 3 | 60 | [SRC]exprs.add(EntityCondition.makeCondition("roleStatusId", ..ROLE_READ")) [MSG]The String 'roleStatusId' can be wrapped in single quotes instead of double quotes |
ViewProfile.groovy | UnnecessaryGString | 3 | 60 | [SRC]exprs.add(EntityCondition.makeCondition("roleStatusId", ..ROLE_READ")) [MSG]The String 'COM_ROLE_READ' can be wrapped in single quotes instead of double quotes |
ViewProfile.groovy | UnnecessaryGString | 3 | 61 | [SRC]messages = from("CommunicationEventAndRole").where(exprs...queryList() [MSG]The String 'CommunicationEventAndRole' can be wrapped in single quotes instead of double quotes |
ViewProfile.groovy | UnnecessaryGString | 3 | 61 | [SRC]messages = from("CommunicationEventAndRole").where(exprs...queryList() [MSG]The String '-entryDate' can be wrapped in single quotes instead of double quotes |
ViewProfile.groovy | UnnecessaryGString | 3 | 65 | [SRC]partyContent = from("ContentRole").where("partyId", part...queryList() [MSG]The String 'ContentRole' can be wrapped in single quotes instead of double quotes |
ViewProfile.groovy | UnnecessaryGString | 3 | 65 | [SRC]partyContent = from("ContentRole").where("partyId", part...queryList() [MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes |
ViewProfile.groovy | UnnecessaryGString | 3 | 65 | [SRC]partyContent = from("ContentRole").where("partyId", part...queryList() [MSG]The String 'roleTypeId' can be wrapped in single quotes instead of double quotes |
ViewProfile.groovy | UnnecessaryGString | 3 | 65 | [SRC]partyContent = from("ContentRole").where("partyId", part...queryList() [MSG]The String 'OWNER' can be wrapped in single quotes instead of double quotes |
ViewProfile.groovy | UnnecessaryGString | 3 | 68 | [SRC]mimeTypes = from("MimeType").orderBy("description", "mim...queryList() [MSG]The String 'MimeType' can be wrapped in single quotes instead of double quotes |
ViewProfile.groovy | UnnecessaryGString | 3 | 68 | [SRC]mimeTypes = from("MimeType").orderBy("description", "mim...queryList() [MSG]The String 'description' can be wrapped in single quotes instead of double quotes |
ViewProfile.groovy | UnnecessaryGString | 3 | 68 | [SRC]mimeTypes = from("MimeType").orderBy("description", "mim...queryList() [MSG]The String 'mimeTypeId' can be wrapped in single quotes instead of double quotes |
ViewProfile.groovy | UnnecessaryGString | 3 | 71 | [SRC]partyContentTypes = from("PartyContentType").orderBy("de...queryList() [MSG]The String 'PartyContentType' can be wrapped in single quotes instead of double quotes |
ViewProfile.groovy | UnnecessaryGString | 3 | 71 | [SRC]partyContentTypes = from("PartyContentType").orderBy("de...queryList() [MSG]The String 'description' can be wrapped in single quotes instead of double quotes |
ViewProfile.groovy | SpaceAroundMapEntryColon | 3 | 76 | [SRC]result = runService('getOrderedSummaryInformation', [par.. userLogin]) [MSG]The colon for the literal Map entry for key [partyId] within class org.apache.ofbiz.ecommerce.customer.None is not preceded by a match for regular expression [\S] |
ViewProfile.groovy | SpaceAroundMapEntryColon | 3 | 76 | [SRC]result = runService('getOrderedSummaryInformation', [par.. userLogin]) [MSG]The colon for the literal Map entry for key [roleTypeId] within class org.apache.ofbiz.ecommerce.customer.None is not preceded by a match for regular expression [\S] |
ViewProfile.groovy | SpaceAroundMapEntryColon | 3 | 76 | [SRC]result = runService('getOrderedSummaryInformation', [par.. userLogin]) [MSG]The colon for the literal Map entry for key [orderTypeId] within class org.apache.ofbiz.ecommerce.customer.None is not preceded by a match for regular expression [\S] |
ViewProfile.groovy | SpaceAroundMapEntryColon | 3 | 76 | [SRC]result = runService('getOrderedSummaryInformation', [par.. userLogin]) [MSG]The colon for the literal Map entry for key [statusId] within class org.apache.ofbiz.ecommerce.customer.None is not preceded by a match for regular expression [\S] |
ViewProfile.groovy | SpaceAroundMapEntryColon | 3 | 76 | [SRC]result = runService('getOrderedSummaryInformation', [par.. userLogin]) [MSG]The colon for the literal Map entry for key [monthsToInclude] within class org.apache.ofbiz.ecommerce.customer.None is not preceded by a match for regular expression [\S] |
ViewProfile.groovy | SpaceAroundMapEntryColon | 3 | 76 | [SRC]result = runService('getOrderedSummaryInformation', [par.. userLogin]) [MSG]The colon for the literal Map entry for key [userLogin] within class org.apache.ofbiz.ecommerce.customer.None is not preceded by a match for regular expression [\S] |
ViewProfile.groovy | UnnecessaryGString | 3 | 76 | [SRC]result = runService('getOrderedSummaryInformation', [par.. userLogin]) [MSG]The String 'PLACING_CUSTOMER' can be wrapped in single quotes instead of double quotes |
ViewProfile.groovy | UnnecessaryGString | 3 | 76 | [SRC]result = runService('getOrderedSummaryInformation', [par.. userLogin]) [MSG]The String 'SALES_ORDER' can be wrapped in single quotes instead of double quotes |
ViewProfile.groovy | UnnecessaryGString | 3 | 76 | [SRC]result = runService('getOrderedSummaryInformation', [par.. userLogin]) [MSG]The String 'ORDER_COMPLETED' can be wrapped in single quotes instead of double quotes |
ViewProfile.groovy | UnnecessaryGString | 3 | 81 | [SRC]contactListPartyList = from("ContactListParty").where("p...queryList() [MSG]The String 'ContactListParty' can be wrapped in single quotes instead of double quotes |
ViewProfile.groovy | UnnecessaryGString | 3 | 81 | [SRC]contactListPartyList = from("ContactListParty").where("p...queryList() [MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes |
ViewProfile.groovy | UnnecessaryGString | 3 | 81 | [SRC]contactListPartyList = from("ContactListParty").where("p...queryList() [MSG]The String '-fromDate' can be wrapped in single quotes instead of double quotes |
ViewProfile.groovy | UnnecessaryGString | 3 | 85 | [SRC]publicContactLists = from("ContactList").where("isPublic...queryList() [MSG]The String 'ContactList' can be wrapped in single quotes instead of double quotes |
ViewProfile.groovy | UnnecessaryGString | 3 | 85 | [SRC]publicContactLists = from("ContactList").where("isPublic...queryList() [MSG]The String 'isPublic' can be wrapped in single quotes instead of double quotes |
ViewProfile.groovy | UnnecessaryGString | 3 | 85 | [SRC]publicContactLists = from("ContactList").where("isPublic...queryList() [MSG]The String 'Y' can be wrapped in single quotes instead of double quotes |
ViewProfile.groovy | UnnecessaryGString | 3 | 85 | [SRC]publicContactLists = from("ContactList").where("isPublic...queryList() [MSG]The String 'contactListName' can be wrapped in single quotes instead of double quotes |
ViewProfile.groovy | UnnecessaryGString | 3 | 88 | [SRC]partyAndContactMechList = from("PartyAndContactMech").wh...queryList() [MSG]The String 'PartyAndContactMech' can be wrapped in single quotes instead of double quotes |
ViewProfile.groovy | UnnecessaryGString | 3 | 88 | [SRC]partyAndContactMechList = from("PartyAndContactMech").wh...queryList() [MSG]The String 'partyId' can be wrapped in single quotes instead of double quotes |
ViewProfile.groovy | UnnecessaryGString | 3 | 88 | [SRC]partyAndContactMechList = from("PartyAndContactMech").wh...queryList() [MSG]The String '-fromDate' can be wrapped in single quotes instead of double quotes |
ViewProfile.groovy | TrailingWhitespace | 3 | 90 | [SRC] [MSG]Line ends with whitespace characters |
ViewProfile.groovy | UnnecessaryGString | 3 | 96 | [SRC]countryGeo = postalAddress.getRelatedOne("CountryGeo", false) [MSG]The String 'CountryGeo' can be wrapped in single quotes instead of double quotes |
ViewProfile.groovy | UnnecessaryGString | 3 | 97 | [SRC]if (countryGeo) it.countryGeoName = countryGeo.getString("geoName") [MSG]The String 'geoName' can be wrapped in single quotes instead of double quotes |
ViewProfile.groovy | UnnecessaryGString | 3 | 98 | [SRC]stateProvinceGeo = postalAddress.getRelatedOne("StatePro..Geo", false) [MSG]The String 'StateProvinceGeo' can be wrapped in single quotes instead of double quotes |
ViewProfile.groovy | UnnecessaryGString | 3 | 99 | [SRC]if (stateProvinceGeo) it.stateProvinceGeoName = statePro..g("geoName") [MSG]The String 'geoName' can be wrapped in single quotes instead of double quotes |
ViewProfile.groovy | BlockEndsWithBlankLine | 3 | 100 | [MSG]Code block ends with a blank line. |
ViewProfile.groovy | TrailingWhitespace | 3 | 100 | [SRC] [MSG]Line ends with whitespace characters |
ViewReferences.groovy | ImportFromSamePackage | 3 | 21 | [SRC]import org.apache.ofbiz.webtools.labelmanager.LabelManagerFactory |
ViewReferences.groovy | ImportFromSamePackage | 3 | 22 | [SRC]import org.apache.ofbiz.webtools.labelmanager.LabelReferences |
ViewSurveyResponses.groovy | ImportFromSamePackage | 3 | 21 | [SRC]import org.apache.ofbiz.content.survey.SurveyWrapper |
WebPosMenus.groovy | ImportFromSamePackage | 3 | 21 | [SRC]import org.apache.ofbiz.webpos.WebPosEvents |
WebPosMenus.groovy | UnusedImport | 3 | 22 | [SRC]import org.apache.ofbiz.webpos.session.WebPosSession [MSG]The [org.apache.ofbiz.webpos.session.WebPosSession] import is never referenced |
WebPosMenus.groovy | UnusedImport | 3 | 23 | [SRC]import org.apache.ofbiz.webpos.transaction.WebPosTransaction [MSG]The [org.apache.ofbiz.webpos.transaction.WebPosTransaction] import is never referenced |
WebPosSetup.groovy | UnnecessaryGString | 3 | 40 | [SRC]globalContext.checkLoginUrl = LoginWorker.makeLoginUrl(r..checkLogin") [MSG]The String 'checkLogin' can be wrapped in single quotes instead of double quotes |
WorkWithShipmentPlans.groovy | ImportFromSamePackage | 3 | 21 | [SRC]import org.apache.ofbiz.manufacturing.jobshopmgt.ProductionRun |
# | Rule Name | Description |
---|---|---|
1 | AbstractClassName | Verifies that the name of an abstract class matches a regular expression specified in the regex property. If that property is null or empty, then this rule is not applied (i.e., it does nothing). It defaults to null, so this rule must be explicitly configured to be active. This rule ignores interfaces. |
2 | AbstractClassWithPublicConstructor | Checks for abstract classes that define a public constructor, which is useless and confusing. |
3 | AbstractClassWithoutAbstractMethod | The abstract class does not contain any abstract methods. An abstract class suggests an incomplete implementation, which is to be completed by subclasses implementing the abstract methods. If the class is intended to be used as a base class only (not to be instantiated direcly) a protected constructor can be provided prevent direct instantiation. |
4 | AddEmptyString | Finds empty string literals which are being added. This is an inefficient way to convert any type to a String. |
5 | AssertWithinFinallyBlock | Checks for assert statements within a finally block. An assert can throw an exception, hiding the original exception, if there is one. |
6 | AssignCollectionSort | The Collections.sort() method mutates the list and returns the list as a value. If you are assigning the result of sort() to a variable, then you probably don't realize that you're also modifying the original list as well. This is frequently the cause of subtle bugs. |
7 | AssignCollectionUnique | The Collections.unique() method mutates the list and returns the list as a value. If you are assigning the result of unique() to a variable, then you probably don't realize that you're also modifying the original list as well. This is frequently the cause of subtle bugs. |
8 | AssignmentInConditional | An assignment operator (=) was used in a conditional test. This is usually a typo, and the comparison operator (==) was intended. |
9 | AssignmentToStaticFieldFromInstanceMethod | Checks for assignment to a static field from an instance method. |
10 | BigDecimalInstantiation | Checks for calls to the BigDecimal constructors that take a double parameter, which may result in an unexpected BigDecimal value. |
11 | BitwiseOperatorInConditional | Checks for bitwise operations in conditionals, if you need to do a bitwise operation then it is best practice to extract a temp variable. |
12 | BlankLineBeforePackage | Makes sure there are no blank lines before the package declaration of a source code file. |
13 | BlockEndsWithBlankLine | Checks that code blocks such as method bodies, closures and control structure bodies do not end with an empty line. |
14 | BlockStartsWithBlankLine | Checks that code blocks such as method bodies, closures and control structure bodies do not start with an empty line. |
15 | BooleanGetBoolean | This rule catches usages of java.lang.Boolean.getBoolean(String) which reads a boolean from the System properties. It is often mistakenly used to attempt to read user input or parse a String into a boolean. It is a poor piece of API to use; replace it with System.properties['prop']. |
16 | BooleanMethodReturnsNull | Method with Boolean return type returns explicit null. A method that returns either Boolean.TRUE, Boolean.FALSE or null is an accident waiting to happen. This method can be invoked as though it returned a value of type boolean, and the compiler will insert automatic unboxing of the Boolean value. If a null value is returned, this will result in a NullPointerException. |
17 | BracesForClass | Checks the location of the opening brace ({) for classes. By default, requires them on the same line, but the sameLine property can be set to false to override this. |
18 | BracesForForLoop | Checks the location of the opening brace ({) for for loops. By default, requires them on the same line, but the sameLine property can be set to false to override this. |
19 | BracesForIfElse | Checks the location of the opening brace ({) for if statements. By default, requires them on the same line, but the sameLine property can be set to false to override this. |
20 | BracesForMethod | Checks the location of the opening brace ({) for constructors and methods. By default, requires them on the same line, but the sameLine property can be set to false to override this. |
21 | BracesForTryCatchFinally | Checks the location of the opening brace ({) for try statements. By default, requires them on the line, but the sameLine property can be set to false to override this. |
22 | BrokenNullCheck | Looks for faulty checks for null that can cause a NullPointerException. |
23 | BrokenOddnessCheck | The code uses x % 2 == 1 to check to see if a value is odd, but this won't work for negative numbers (e.g., (-5) % 2 == -1). If this code is intending to check for oddness, consider using x & 1 == 1, or x % 2 != 0. |
24 | BuilderMethodWithSideEffects | A builder method is defined as one that creates objects. As such, they should never be of void return type. If a method is named build, create, or make, then it should always return a value. |
25 | BusyWait | Busy waiting (forcing a Thread.sleep() while waiting on a condition) should be avoided. Prefer using the gate and barrier objects in the java.util.concurrent package. |
26 | CatchArrayIndexOutOfBoundsException | Check the size of the array before accessing an array element rather than catching ArrayIndexOutOfBoundsException. |
27 | CatchError | Catching Error is dangerous; it can catch exceptions such as ThreadDeath and OutOfMemoryError. |
28 | CatchIllegalMonitorStateException | Dubious catching of IllegalMonitorStateException. IllegalMonitorStateException is generally only thrown in case of a design flaw in your code (calling wait or notify on an object you do not hold a lock on). |
29 | CatchIndexOutOfBoundsException | Check that an index is valid before accessing an indexed element rather than catching IndexOutOfBoundsException. |
30 | CatchNullPointerException | Catching NullPointerException is never appropriate. It should be avoided in the first place with proper null checking, and it can mask underlying errors. |
31 | CatchRuntimeException | Catching RuntimeException is often too broad or general. It should usually be restricted to framework or infrastructure code, rather than application code. |
32 | CatchThrowable | Catching Throwable is dangerous; it can catch exceptions such as ThreadDeath and OutOfMemoryError. |
33 | ChainedTest | A test method that invokes another test method is a chained test; the methods are dependent on one another. Tests should be isolated, and not be dependent on one another. |
34 | ClassEndsWithBlankLine | Check whether the class ends with a blank line.By default, it enforces that there must be a blank line before the closing class brace, except if the class is empty and is written in a single line. A blank line is defined as any line that does not contain any visible characters. |
35 | ClassForName | Using Class.forName(...) is a common way to add dynamic behavior to a system. However, using this method can cause resource leaks because the classes can be pinned in memory for long periods of time. |
36 | ClassName | Verifies that the name of a class matches a regular expression. By default it checks that the class name starts with an uppercase letter and is followed by zero or more word characters (letters, numbers or underscores). The regex property specifies the regular expression used to validate the class name. |
37 | ClassNameSameAsFilename | Reports files containing only one top level class / enum / interface which is named differently than the file. |
38 | ClassNameSameAsSuperclass | Checks for any class that has an identical name to its superclass, other than the package. This can be very confusing. |
39 | ClassSize | Checks if the size of a class exceeds the number of lines specified by the maxLines property (1000). |
40 | ClassStartsWithBlankLine | Check whether the class starts with a blank line By default, it enforces that there must be a blank line after the opening class brace, except if the class is empty and is written in a single line. A blank line is defined as any line that does not contain any visible characters. |
41 | CloneableWithoutClone | A class that implements java.lang.Cloneable should define a clone() method. |
42 | CloseWithoutCloseable | If a class defines a "void close()" then that class should implement java.io.Closeable or java.lang.AutoCloseable. |
43 | ClosureAsLastMethodParameter | If a method is called and the last parameter is an inline closure then it can be declared outside of the method call brackets. |
44 | ClosureStatementOnOpeningLineOfMultipleLineClosure | Checks for closure logic on first line (after ->) for a multi-line closure. |
45 | CollectAllIsDeprecated | collectAll{} is deprecated since Groovy 1.8.1. Use collectNested instead{}. |
46 | CompareToWithoutComparable | If you implement a compareTo method then you should also implement the Comparable interface. |
47 | ComparisonOfTwoConstants | Checks for expressions where a comparison operator or equals() or compareTo() is used to compare two constants to each other or two literals that contain only constant values., e.g.: 23 == 67, Boolean.FALSE != false, 0.17 <= 0.99, "abc" > "ddd", [a:1] <=> [a:2], [1,2].equals([3,4]) or [a:false, b:true].compareTo(['a':34.5, b:Boolean.TRUE]. |
48 | ComparisonWithSelf | Checks for expressions where a comparison operator or equals() or compareTo() is used to compare a variable to itself, e.g.: x == x, x != x, x <=> x, x < x, x =>= x, x.equals(x) or x.compareTo(x), where x is a variable. |
49 | ConfusingClassNamedException | This class is not derived from another exception, but ends with 'Exception'. This will be confusing to users of this class. |
50 | ConfusingMethodName | Checks for confusing method names. The referenced methods have names that differ only by capitalization. This is very confusing because if the capitalization were identical then one of the methods would override the other. |
51 | ConfusingMultipleReturns | Multiple return values can be used to set several variables at once. To use multiple return values, the left hand side of the assignment must be enclosed in parenthesis. If not, then you are not using multiple return values, you're only assigning the last element. |
52 | ConfusingTernary | In a ternary expression avoid negation in the test. For example, rephrase: "(x != y) ? diff : same" as: "(x == y) ? same : diff". Consistent use of this rule makes the code easier to read. Also, this resolves trivial ordering problems, such as "does the error case go first?" or "does the common case go first?". |
53 | ConsecutiveBlankLines | Makes sure there are no consecutive lines that are either blank or whitespace only. |
54 | ConsecutiveLiteralAppends | Violations occur when method calls to append(Object) are chained together with literals as parameters. The chained calls can be joined into one invocation. |
55 | ConsecutiveStringConcatenation | Catches concatenation of two string literals on the same line. These can safely by joined. |
56 | ConstantAssertExpression | Checks for assert statements where the assert boolean condition expression is a constant or literal value. |
57 | ConstantIfExpression | Checks for if statements with a constant value for the if expression, such as true, false, null, or a literal constant value. |
58 | ConstantTernaryExpression | Checks for ternary expressions with a constant value for the boolean expression, such as true, false, null, or a literal constant value. |
59 | ConstantsOnlyInterface | An interface should be used only to model a behaviour of a class: using an interface as a container of constants is a poor usage pattern. |
60 | CouldBeElvis | Catch an if block that could be written as an elvis expression. |
61 | CouldBeSwitchStatement | Checks for multiple if statements that could be converted to a switch |
62 | CoupledTestCase | This rule finds test cases that are coupled to other test cases, either by invoking static methods on another test case or by creating instances of another test case. If you require shared logic in test cases then extract that logic to a new class where it can properly be reused. |
63 | CrapMetric | Checks the CRAP (Change Risk Anti-Patterns) score for methods/classes. The CRAP metric score is based on the cyclomatic complexity and test coverage for individual methods. A method with a CRAP value greater than the maxMethodCrapScore property (30) causes a violation. Likewise, a class that has an (average method) CRAP value greater than the maxClassAverageMethodCrapScore property (30) causes a violation. |
64 | DeadCode | Dead code appears after a return statement or an exception is thrown. If code appears after one of these statements then it will never be executed and can be safely deleted. |
65 | DirectConnectionManagement | The J2EE standard requires that applications use the container's resource management facilities to obtain connections to resources. Every major web application container provides pooled database connection management as part of its resource management framework. Duplicating this functionality in an application is difficult and error prone, which is part of the reason it is forbidden under the J2EE standard. |
66 | DoubleCheckedLocking | This rule detects double checked locking, where a 'lock hint' is tested for null before initializing an object within a synchronized block. Double checked locking does not guarantee correctness and is an anti-pattern. |
67 | DoubleNegative | There is no point in using a double negative, it is always positive. For instance !!x can always be simplified to x. And !(!x) can as well. |
68 | DuplicateCaseStatement | Check for duplicate case statements in a switch block, such as two equal integers or strings. |
69 | DuplicateImport | Duplicate import statements are unnecessary. |
70 | DuplicateMapKey | A map literal is created with duplicated key. The map entry will be overwritten. |
71 | DuplicateSetValue | A Set literal is created with duplicate constant value. A set cannot contain two elements with the same value. |
72 | ElseBlockBraces | Use braces for else blocks, even for a single statement. By default, braces are not required for an else if it is followed immediately by an if. Set the bracesRequiredForElseIf property to true to require braces is that situation as well. |
73 | EmptyCatchBlock | In most cases, exceptions should not be caught and ignored (swallowed). |
74 | EmptyClass | Reports classes without methods, fields or properties. Why would you need a class like this? |
75 | EmptyElseBlock | Empty else blocks are confusing and serve no purpose. |
76 | EmptyFinallyBlock | Empty finally blocks are confusing and serve no purpose. |
77 | EmptyForStatement | Empty for statements are confusing and serve no purpose. |
78 | EmptyIfStatement | Empty if statements are confusing and serve no purpose. |
79 | EmptyInstanceInitializer | An empty class instance initializer was found. It is safe to remove it. |
80 | EmptyMethod | A method was found without an implementation. If the method is overriding or implementing a parent method, then mark it with the @Override annotation. |
81 | EmptyMethodInAbstractClass | An empty method in an abstract class should be abstract instead, as developer may rely on this empty implementation rather than code the appropriate one. |
82 | EmptyStaticInitializer | An empty static initializer was found. It is safe to remove it. |
83 | EmptySwitchStatement | Empty switch statements are confusing and serve no purpose. |
84 | EmptySynchronizedStatement | Empty synchronized statements are confusing and serve no purpose. |
85 | EmptyTryBlock | Empty try blocks are confusing and serve no purpose. |
86 | EmptyWhileStatement | Empty while statements are confusing and serve no purpose. |
87 | EnumCustomSerializationIgnored | Checks for enums that define writeObject() or writeReplace() methods, or declare serialPersistentFields or serialVersionUID fields, all of which are ignored for enums. |
88 | EqualsAndHashCode | If either the boolean equals(Object) or the int hashCode() methods are overridden within a class, then both must be overridden. |
89 | EqualsOverloaded | The class has an equals method, but the parameter of the method is not of type Object. It is not overriding equals but instead overloading it. |
90 | ExceptionExtendsError | Errors are system exceptions. Do not extend them. |
91 | ExceptionExtendsThrowable | Checks for classes that extend java.lang.Throwable. Custom exception classes should subclass java.lang.Exception or one of its descendants. |
92 | ExceptionNotThrown | Checks for an exception constructor call without a throw as the last statement within a catch block. |
93 | ExplicitArrayListInstantiation | This rule checks for the explicit instantiation of an ArrayList using the no-arg constructor. In Groovy, it is best to write new ArrayList() as [], which creates the same object. |
94 | ExplicitCallToAndMethod | This rule detects when the and(Object) method is called directly in code instead of using the & operator. A groovier way to express this: a.and(b) is this: a & b |
95 | ExplicitCallToCompareToMethod | This rule detects when the compareTo(Object) method is called directly in code instead of using the <=>, >, >=, <, and <= operators. A groovier way to express this: a.compareTo(b) is this: a <=> b, or using the other operators. |
96 | ExplicitCallToDivMethod | This rule detects when the div(Object) method is called directly in code instead of using the / operator. A groovier way to express this: a.div(b) is this: a / b |
97 | ExplicitCallToEqualsMethod | This rule detects when the equals(Object) method is called directly in code instead of using the == or != operator. A groovier way to express this: a.equals(b) is this: a == b and a groovier way to express : !a.equals(b) is : a != b |
98 | ExplicitCallToGetAtMethod | This rule detects when the getAt(Object) method is called directly in code instead of using the [] index operator. A groovier way to express this: a.getAt(b) is this: a[b] |
99 | ExplicitCallToLeftShiftMethod | This rule detects when the leftShift(Object) method is called directly in code instead of using the << operator. A groovier way to express this: a.leftShift(b) is this: a << b |
100 | ExplicitCallToMinusMethod | This rule detects when the minus(Object) method is called directly in code instead of using the - operator. A groovier way to express this: a.minus(b) is this: a - b |
101 | ExplicitCallToModMethod | This rule detects when the mod(Object) method is called directly in code instead of using the % operator. A groovier way to express this: a.mod(b) is this: a % b |
102 | ExplicitCallToMultiplyMethod | This rule detects when the minus(Object) method is called directly in code instead of using the * operator. A groovier way to express this: a.multiply(b) is this: a * b |
103 | ExplicitCallToOrMethod | This rule detects when the or(Object) method is called directly in code instead of using the | operator. A groovier way to express this: a.or(b) is this: a | b |
104 | ExplicitCallToPlusMethod | This rule detects when the plus(Object) method is called directly in code instead of using the + operator. A groovier way to express this: a.plus(b) is this: a + b |
105 | ExplicitCallToPowerMethod | This rule detects when the power(Object) method is called directly in code instead of using the ** operator. A groovier way to express this: a.power(b) is this: a ** b |
106 | ExplicitCallToPutAtMethod | Detects when the putAt(Object, Object) method is called directly in code instead of using the [] index operator. A groovier way to express this: map.putAt(k, v) is this: map[k] = v. |
107 | ExplicitCallToRightShiftMethod | This rule detects when the rightShift(Object) method is called directly in code instead of using the >> operator. A groovier way to express this: a.rightShift(b) is this: a >> b |
108 | ExplicitCallToXorMethod | This rule detects when the xor(Object) method is called directly in code instead of using the ^ operator. A groovier way to express this: a.xor(b) is this: a ^ b |
109 | ExplicitGarbageCollection | Calls to System.gc(), Runtime.getRuntime().gc(), and System.runFinalization() are not advised. Code should have the same behavior whether the garbage collection is disabled using the option -Xdisableexplicitgc or not. Moreover, "modern" jvms do a very good job handling garbage collections. If memory usage issues unrelated to memory leaks develop within an application, it should be dealt with JVM options rather than within the code itself. |
110 | ExplicitHashMapInstantiation | This rule checks for the explicit instantiation of a HashMap using the no-arg constructor. In Groovy, it is best to write new HashMap() as [:], which creates the same object. |
111 | ExplicitHashSetInstantiation | This rule checks for the explicit instantiation of a HashSet using the no-arg constructor. In Groovy, it is best to write new HashSet() as [] as Set, which creates the same object. |
112 | ExplicitLinkedHashMapInstantiation | This rule checks for the explicit instantiation of a LinkedHashMap using the no-arg constructor. In Groovy, it is best to write new LinkedHashMap() as [:], which creates the same object. |
113 | ExplicitLinkedListInstantiation | This rule checks for the explicit instantiation of a LinkedList using the no-arg constructor. In Groovy, it is best to write new LinkedList() as [] as Queue, which creates the same object. |
114 | ExplicitStackInstantiation | This rule checks for the explicit instantiation of a Stack using the no-arg constructor. In Groovy, it is best to write new Stack() as [] as Stack, which creates the same object. |
115 | ExplicitTreeSetInstantiation | This rule checks for the explicit instantiation of a TreeSet using the no-arg constructor. In Groovy, it is best to write new TreeSet() as [] as SortedSet, which creates the same object. |
116 | FieldName | Verifies that the name of each field matches a regular expression. By default it checks that non-'final' field names start with a lowercase letter and contains only letters or numbers, and 'final' field names start with an uppercase letter and contain only uppercase letters, numbers and underscores. The regex property specifies the default regular expression used to validate field names. The finalRegex property specifies the regular expression to validate 'final' field names. The staticRegex property specifies the regular expression to validate 'static' field names. The staticFinalRegex property specifies the regular expression to validate 'static final' field names. The ignoreFieldNames property (serialVersionUID)can specify field names that should be ignored, optionally containing wildcard characters ('*' or '?'). |
117 | FieldTypeRequired | Checks that field types are explicitly specified (and not using def). |
118 | FileCreateTempFile | The File.createTempFile() method is insecure, and has been deprecated by the ESAPI secure coding library. It has been replaced by the ESAPI Randomizer.getRandomFilename(String) method. |
119 | FileEndsWithoutNewline | Makes sure the source code file ends with a newline character. |
120 | FinalClassWithProtectedMember | This rule finds classes marked final that contain protected methods. If a class is final then it may not be subclassed, and there is therefore no point in having a method with protected visibility. Either the class should not be final or the method should be private or protected. |
121 | ForLoopShouldBeWhileLoop | A for loop without an init and update statement can be simplified to a while loop. |
122 | ForStatementBraces | Use braces for for statements, even for a single statement. |
123 | GStringAsMapKey | A GString should not be used as a map key since its hashcode is not guaranteed to be stable. Consider calling key.toString(). |
124 | GStringExpressionWithinString | Check for regular (single quote) strings containing a GString-type expression (${...}). |
125 | GetterMethodCouldBeProperty | If a class defines a public method that follows the Java getter notation, and returns a constant, then it is cleaner to provide a Groovy property for the value rather than a Groovy method. |
126 | GrailsDomainHasEquals | Checks that Grails domain classes redefine equals(). |
127 | GrailsDomainHasToString | Checks that Grails domain classes redefine toString() |
128 | GrailsDomainReservedSqlKeywordName | Forbids usage of SQL reserved keywords as class or field names in Grails domain classes. Naming a domain class (or its field) with such a keyword causes SQL schema creation errors and/or redundant table/column name mappings. |
129 | GrailsDomainStringPropertyMaxSize | String properties in Grails domain classes have to define maximum size otherwise the property is mapped to VARCHAR(255) causing runtime exceptions to occur |
130 | GrailsDomainWithServiceReference | Checks that Grails domain classes do not have service classes injected. |
131 | GrailsDuplicateConstraint | Check for duplicate entry in domain class constraints |
132 | GrailsDuplicateMapping | Check for duplicate name in a domain class mapping |
133 | GrailsMassAssignment | Untrusted input should not be allowed to set arbitrary object fields without restriction. |
134 | GrailsServletContextReference | Checks for references to the servletContext object from within Grails controller and taglib classes. |
135 | GrailsStatelessService | Checks for fields on Grails service classes. Grails service classes are singletons, by default, and so they should be reentrant and typically stateless. The ignoreFieldNames property (dataSource,scope,sessionFactory,transactional,*Service,grailsApplication) specifies one or more field names that should be ignored. The ignoreFieldTypes property (null) specifies one or more field type names that should be ignored. Both can optionally contain wildcard characters ('*' or '?'). |
136 | GroovyLangImmutable | The groovy.lang.Immutable annotation has been deprecated and replaced by groovy.transform.Immutable. Do not use the Immutable in groovy.lang. |
137 | HardCodedWindowsFileSeparator | This rule finds usages of a Windows file separator within the constructor call of a File object. It is better to use the Unix file separator or use the File.separator constant. |
138 | HardCodedWindowsRootDirectory | This rule find cases where a File object is constructed with a windows-based path. This is not portable, and using the File.listRoots() method is a better alternative. |
139 | HashtableIsObsolete | The java.util.Hashtable class is effectively obsolete. Use the Java Collections Framework classes instead, including HashMap or ConcurrentHashMap. See the JDK javadoc. |
140 | IfStatementBraces | Use braces for if statements, even for a single statement. |
141 | IfStatementCouldBeTernary | Checks for if statements where both the if and else blocks contain only a single return statement with a constant or literal value |
142 | IllegalClassMember | Checks for classes containing fields/properties/methods matching configured illegal member modifiers or not matching any of the configured allowed member modifiers. |
143 | IllegalClassReference | Checks for reference to any of the classes configured in classNames. |
144 | IllegalPackageReference | Checks for reference to any of the packages configured in packageNames. |
145 | IllegalRegex | Checks for a specified illegal regular expression within the source code. The regex property specifies the regular expression to check for. It is required and cannot be null or empty. |
146 | IllegalString | Checks for a specified illegal string within the source code. |
147 | IllegalSubclass | Checks for classes that extend one of the specified set of illegal superclasses configured in superclassNames. |
148 | ImplementationAsType | Checks for use of a predefined set of concrete classes (e.g. ArrayList, Hashtable, ConcurrentHashMap) when specifying the type of a method parameter, closure parameter, constructor parameter, method return type or field type. The associated interfaces should be used to specify the type instead. |
149 | ImportFromSamePackage | An import of a class that is within the same package is unnecessary. |
150 | ImportFromSunPackages | Avoid importing anything from the 'sun.*' packages. These packages are not portable and are likely to change. |
151 | InconsistentPropertyLocking | Class contains similarly-named get and set methods where one method of the pair is marked either @WithReadLock or @WithWriteLock and the other is not locked at all. |
152 | InconsistentPropertySynchronization | Class contains similarly-named get and set methods where the set method is synchronized and the get method is not, or the get method is synchronized and the set method is not. |
153 | Indentation | Check indentation for class and method declarations, and initial statements. |
154 | InsecureRandom | Reports usages of java.util.Random, which can produce very predictable results. If two instances of Random are created with the same seed and sequence of method calls, they will generate the exact same results. Use java.security.SecureRandom instead, which provides a cryptographically strong random number generator. SecureRandom uses PRNG, which means they are using a deterministic algorithm to produce a pseudo-random number from a true random seed. SecureRandom produces non-deterministic output. |
155 | IntegerGetInteger | This rule catches usages of java.lang.Integer.getInteger(String, ...) which reads an Integer from the System properties. It is often mistakenly used to attempt to read user input or parse a String into an Integer. It is a poor piece of API to use; replace it with System.properties['prop']. |
156 | InterfaceName | Verifies that the name of an interface matches a regular expression specified in the regex property. If that property is null or empty, then this rule is not applied (i.e., it does nothing). It defaults to null, so this rule must be explicitly configured to be active. |
157 | InterfaceNameSameAsSuperInterface | Checks for any interface that has an identical name to its super-interface, other than the package. This can be very confusing. |
158 | InvertedCondition | An inverted condition is one where a constant expression is used on the left hand side of the equals comparision. Such conditions can be confusing especially when used in assertions where the expected value is by convention placed on the right hand side of the comparision. |
159 | InvertedIfElse | An inverted if-else statement is one in which there is a single if statement with a single else branch and the boolean test of the if is negated. For instance if (!x) false else true. It is usually clearer to write this as if (x) true else false. |
160 | JUnitAssertAlwaysFails | Checks for JUnit assert() method calls with constant arguments such that the assertion always fails. This includes: assertTrue(false), assertFalse(true) and assertNull(CONSTANT). |
161 | JUnitAssertAlwaysSucceeds | Checks for JUnit assert() method calls with constant arguments such that the assertion always succeeds. This includes: assertTrue(true), assertFalse(false) and assertNull(null). |
162 | JUnitFailWithoutMessage | This rule detects JUnit calling the fail() method without an argument. For better error reporting you should always provide a message. |
163 | JUnitLostTest | Checks for classes that import JUnit 4 classes and contain a public, instance, void, no-arg method named test* that is not annotated with @Test. |
164 | JUnitPublicField | Checks for public field on a JUnit test class |
165 | JUnitPublicNonTestMethod | Checks if a JUnit test class contains public methods other than standard test methods, JUnit framework methods or methods with JUnit annotations. |
166 | JUnitPublicProperty | Checks for public properties defined on JUnit test classes. There should be no need to expose a public property on a test class. |
167 | JUnitSetUpCallsSuper | Checks that if the JUnit setUp() method is defined, that it includes a call to super.setUp(). |
168 | JUnitStyleAssertions | This rule detects calling JUnit style assertions like assertEquals, assertTrue, assertFalse, assertNull, assertNotNull. Groovy ships with a feature called the "power assert", which is an assert statement with better error reporting. This is preferable to the JUnit assertions. |
169 | JUnitTearDownCallsSuper | Checks that if the JUnit tearDown() method is defined, that it includes a call to super.tearDown(). |
170 | JUnitTestMethodWithoutAssert | This rule searches for test methods that do not contain assert statements. Either the test method is missing assert statements, which is an error, or the test method contains custom assert statements that do not follow a proper assert naming convention. Test methods are defined as public void methods that begin with the work test or have a @Test annotation. By default this rule applies to the default test class names, but this can be changed using the rule's applyToClassNames property. |
171 | JUnitUnnecessarySetUp | Checks for JUnit setUp() methods that contain only a call to super.setUp(). |
172 | JUnitUnnecessaryTearDown | Checks for JUnit tearDown() methods that contain only a call to super.tearDown(). |
173 | JUnitUnnecessaryThrowsException | Check for throws clauses on JUnit test methods. That is not necessary in Groovy. |
174 | JavadocConsecutiveEmptyLines | Checks for javadoc comments with more than one consecutive empty line. |
175 | JavadocEmptyAuthorTag | Checks for empty @author tags within javadoc. |
176 | JavadocEmptyExceptionTag | Checks for empty @exception tag within javadoc. |
177 | JavadocEmptyFirstLine | Check for javadoc comments with an empty top line. |
178 | JavadocEmptyLastLine | Check for javadoc comments with an empty line at the bottom. |
179 | JavadocEmptyParamTag | Checks for empty @param tags within javadoc. |
180 | JavadocEmptyReturnTag | Checks for empty @return tags within javadoc. |
181 | JavadocEmptySeeTag | Checks for empty @see tags within javadoc. |
182 | JavadocEmptySinceTag | Checks for empty @since tags within javadoc. |
183 | JavadocEmptyThrowsTag | Checks for empty @throws tag within javadoc |
184 | JavadocEmptyVersionTag | Checks for empty @version tags within javadoc. |
185 | JavadocMissingExceptionDescription | Checks for missing description within @exception javadoc tags. |
186 | JavadocMissingParamDescription | Checks for missing description within @param javadoc tags. |
187 | JavadocMissingThrowsDescription | Checks for missing description within @throws javadoc tags. |
188 | JdbcConnectionReference | Check for direct use of java.sql.Connection, which is discouraged and almost never necessary in application code. |
189 | JdbcStatementReference | Check for direct use of java.sql.Statement, java.sql.PreparedStatement, or java.sql.CallableStatement, which is not necessary if using the Groovy Sql facility or an ORM framework such as Hibernate. |
190 | LineLength | Checks the maximum length for each line of source code. It checks for number of characters, so lines that include tabs may appear longer than the allowed number when viewing the file. The maximum line length can be configured by setting the length property, which defaults to 120. |
191 | LocaleSetDefault | Checks for calls to Locale.setDefault(), which sets the Locale across the entire JVM. |
192 | LoggerForDifferentClass | Checks for instantiating a logger (Log4J, SLF4J, Logback, Apache Commons Logging or Java Util Logging) for a class other than the current class. |
193 | LoggerWithWrongModifiers | Logger objects should be declared private, static and final. If subclasses should have access to a Logger in a parent class then the Logger should be declared protected, non-static and final. This rule find loggers that are not declared with these modifiers. |
194 | LoggingSwallowsStacktrace | If you are logging an exception then the proper API is to call error(Object, Throwable), which will log the message and the exception stack trace. If you call error(Object) then the stacktrace may not be logged. |
195 | LongLiteralWithLowerCaseL | In Java and Groovy, you can specify long literals with the L or l character, for instance 55L or 24l. It is best practice to always use an uppercase L and never a lowercase l. This is because 11l rendered in some fonts may look like 111 instead of 11L. |
196 | MethodCount | A class with too many methods is probably a good suspect for refactoring, in order to reduce its complexity and find a way to have more fine grained objects.The maxMethods property (30) specifies the threshold. |
197 | MethodName | Verifies that the name of each method matches a regular expression. By default it checks that the method name starts with a lowercase letter. The regex property specifies the regular expression to check the method name against. The ignoreMethodNames property (null) can specify method names that should be ignored, optionally containing wildcard characters ('*' or '?'). |
198 | MethodParameterTypeRequired | Checks that method parameters are not dynamically typed, that is they are explicitly stated and different than def. |
199 | MethodReturnTypeRequired | Checks that method return types are not dynamic, that is they are explicitly stated and different than def. |
200 | MisorderedStaticImports | Static imports should never be declared after nonstatic imports. |
201 | MissingBlankLineAfterImports | Makes sure there is a blank line after the imports of a source code file. |
202 | MissingBlankLineAfterPackage | Makes sure there is a blank line after the package statement of a source code file. |
203 | MissingNewInThrowStatement | A common Groovy mistake when throwing exceptions is to forget the new keyword. For instance, "throw RuntimeException()" instead of "throw new RuntimeException()". If the error path is not unit tested then the production system will throw a Method Missing exception and hide the root cause. This rule finds constructs like "throw RuntimeException()" that look like a new keyword was meant to be used but forgotten. |
204 | MultipleLoggers | This rule catches classes that have more than one logger object defined. Typically, a class has zero or one logger objects. |
205 | MultipleUnaryOperators | Checks for multiple consecutive unary operators. These are confusing, and are likely typos and bugs. |
206 | NestedForLoop | Reports classes with nested for loops. |
207 | NestedSynchronization | Nested synchronized statements should be avoided. Nested synchronized statements are either useless (if the lock objects are identical) or prone to deadlock. |
208 | NoDef | def should not be used. You should replace it with concrete type. |
209 | NoDouble | Checks for use of the double or Double types, in fields, variables, method parameters and method return types. |
210 | NoFloat | Checks for use of the float or Float types, in fields, variables, method parameters and method return types. |
211 | NoJavaUtilDate | Do not use java.util.Date. Prefer the classes in the java.time.* packages. |
212 | NoTabCharacter | Checks that all source files do not contain the tab character |
213 | NoWildcardImports | Wildcard imports, static or otherwise, should not be used. |
214 | NonFinalPublicField | Finds code that violates secure coding principles for mobile code by declaring a member variable public but not final. |
215 | NonFinalSubclassOfSensitiveInterface | The permissions classes such as java.security.Permission and java.security.BasicPermission are designed to be extended. Classes that derive from these permissions classes, however, must prohibit extension. This prohibition ensures that malicious subclasses cannot change the properties of the derived class. Classes that implement sensitive interfaces such as java.security.PrivilegedAction and java.security.PrivilegedActionException must also be declared final for analogous reasons. |
216 | ObjectFinalize | The finalize() method should only be called by the JVM after the object has been garbage collected. |
217 | ObjectOverrideMisspelledMethodName | Verifies that the names of the most commonly overridden methods of Object: equals, hashCode and toString, are correct. |
218 | PackageName | Verifies that the package name for a class matches a regular expression. By default it checks that the package name consists of only lowercase letters, separated by periods. The regex property specifies the regular expression used to validate the package name. The packageNameRequired property indicates whether a package name declaration is required for all classes. |
219 | PackageNameMatchesFilePath | A package source file's path should match the package itself. To find the package-relevant subpath in the file path the groupId needs to be configured. It is expected in every package declaration. |
220 | ParameterName | Verifies that the name of each parameter matches a regular expression. This rule applies to method parameters, constructor parameters and closure parameters. By default it checks that parameter names start with a lowercase letter and contains only letters or numbers. The regex property specifies the default regular expression used to validate the parameter name. The ignoreParameterNames property (null) can specify parameter names that should be ignored, optionally containing wildcard characters ('*' or '?'). |
221 | PrintStackTrace | Checks for calls to printStackTrace(). |
222 | Println | Checks for calls to this.print(), this.println() or this.printf(). |
223 | PrivateFieldCouldBeFinal | Checks for private fields that are only set within a constructor or field initializer. Such fields can safely be made final. |
224 | PropertyName | Verifies that the name of each property matches a regular expression. By default it checks that property names other than 'static final' start with a lowercase letter and contains only letters or numbers, and 'static final' property names start with an uppercase letter and contain only uppercase letters, numbers and underscores. The regex property specifies the default regular expression used to validate property names. The finalRegex property specifies the regular expression to validate 'final' property names. The staticRegex property specifies the regular expression to validate 'static' property names. The staticFinalRegex property specifies the regular expression to validate 'static final' property names. The ignorePropertyNames property (null) can specify property names that should be ignored, optionally containing wildcard characters ('*' or '?'). |
225 | PublicFinalizeMethod | Creates a violation when the program violates secure coding principles by declaring a finalize() method public. |
226 | PublicInstanceField | Using public fields is considered to be a bad design. Use properties instead. |
227 | PublicMethodsBeforeNonPublicMethods | Enforce that all public methods are above protected and private methods. |
228 | RandomDoubleCoercedToZero | The Math.random() method returns a double result greater than or equal to 0.0 and less than 1.0. If you coerce this result into an Integer or int, then it is coerced to zero. Casting the result to int, or assigning it to an int field is probably a bug. |
229 | RemoveAllOnSelf | Don't use removeAll to clear a collection. If you want to remove all elements from a collection c, use c.clear, not c.removeAll(c). Calling c.removeAll(c) to clear a collection is less clear, susceptible to errors from typos, less efficient and for some collections, might throw a ConcurrentModificationException. |
230 | RequiredRegex | Checks for a specified regular expression that must exist within the source code. The regex property specifies the regular expression to check for. It is required and cannot be null or empty. |
231 | RequiredString | Checks for a specified text string that must exist within the source code. The string property specifies the String to check for. It is required and cannot be null or empty. |
232 | ReturnFromFinallyBlock | Returning from a finally block is confusing and can hide the original exception. |
233 | ReturnNullFromCatchBlock | Returning null from a catch block often masks errors and requires the client to handle error codes. In some coding styles this is discouraged. |
234 | ReturnsNullInsteadOfEmptyArray | Consider returning a zero length array rather than null. It is often a better design to return a length zero array rather than a null reference to indicate that there are no results (i.e., an empty list of results). This way, no explicit check for null is needed by clients of the method. |
235 | ReturnsNullInsteadOfEmptyCollection | Consider returning a zero length collection rather than null. It is often a better design to return a length zero collection rather than a null reference to indicate that there are no results (i.e., an empty list of results). This way, no explicit check for null is needed by clients of the method. |
236 | SerialPersistentFields | To use a Serializable object's serialPersistentFields correctly, it must be declared private, static, and final. |
237 | SerialVersionUID | A serialVersionUID is normally intended to be used with Serialization. It needs to be of type long, static, and final. Also, it should have a visibility modifier such as public or private. Providing no modifier creates a Property and Groovy generates a getter, which is probably not intended. |
238 | SerializableClassMustDefineSerialVersionUID | Classes that implement Serializable should define a serialVersionUID. If you don't define serialVersionUID, the system will make one by hashing most of your class's features. Then if you change anything, the UID will change and Java won't let you reload old data. |
239 | SimpleDateFormatMissingLocale | Be sure to specify a Locale when creating a new instance of SimpleDateFormat; the class is locale-sensitive. If you instantiate SimpleDateFormat without a Locale parameter, it will format the date and time according to the default Locale. Both the pattern and the Locale determine the format. For the same pattern, SimpleDateFormat may format a date and time differently if the Locale varies. |
240 | SpaceAfterCatch | Check that there is exactly one space (blank) after the catch keyword and before the opening parenthesis. |
241 | SpaceAfterClosingBrace | Check that there is at least one space (blank) or whitespace after each closing brace ("}") for method/class/interface declarations, closure expressions and block statements. |
242 | SpaceAfterComma | Checks that there is at least one space or whitespace following each comma. That includes checks for method and closure declaration parameter lists, method call parameter lists, Map literals and List literals. |
243 | SpaceAfterFor | Check that there is exactly one space (blank) after the for keyword and before the opening parenthesis. |
244 | SpaceAfterIf | Check that there is exactly one space (blank) after the if keyword and before the opening parenthesis. |
245 | SpaceAfterOpeningBrace | Check that there is at least one space (blank) or whitespace after each opening brace ("{") for method/class/interface declarations, closure expressions and block statements. |
246 | SpaceAfterSemicolon | Checks that there is at least one space or whitespace following each semicolon separating multiple statements on a single line or the clauses within a classic for loop. |
247 | SpaceAfterSwitch | Check that there is exactly one space (blank) after the switch keyword and before the opening parenthesis. |
248 | SpaceAfterWhile | Check that there is exactly one space (blank) after the while keyword and before the opening parenthesis. |
249 | SpaceAroundClosureArrow | Checks that there is whitespace around the closure arrow (->) symbol |
250 | SpaceAroundMapEntryColon | Check for configured formatting of whitespace around colons for literal Map entries. The characterBeforeColonRegex and characterAfterColonRegex properties specify a regular expression that must match the character before/after the colon. |
251 | SpaceAroundOperator | Check that there is at least one space (blank) or whitespace around each binary operator. |
252 | SpaceBeforeClosingBrace | Check that there is at least one space (blank) or whitespace before each closing brace ("}") for method/class/interface declarations, closure expressions and block statements. |
253 | SpaceBeforeOpeningBrace | Check that there is at least one space (blank) or whitespace before each opening brace ("{") for method/class/interface declarations, closure expressions and block statements. |
254 | SpockIgnoreRestUsed | If Spock's @IgnoreRest appears on any method, all non-annotated test methods are not executed. This behaviour is almost always unintended. It's fine to use @IgnoreRest locally during development, but when committing code, it should be removed. |
255 | StatelessClass | Checks for fields on classes that should remain "stateless" and reentrant. The ignoreFieldNames property (null) specifies one or more field names that should be ignored. The ignoreFieldTypes property specifies one or more field type names that should be ignored. Both can optionally contain wildcard characters ('*' or '?'). |
256 | StatelessSingleton | There is no point in creating a stateless Singleton because there is nothing within the class that needs guarding and no side effects to calling the constructor. Just create new instances of the object or write a Utility class with static methods. |
257 | StaticCalendarField | Calendar objects should not be used as static fields. Calendars are inherently unsafe for multihtreaded use. Sharing a single instance across thread boundaries without proper synchronization will result in erratic behavior of the application. |
258 | StaticConnection | Creates violations when a java.sql.Connection object is used as a static field. Database connections stored in static fields will be shared between threads, which is unsafe and can lead to race conditions. |
259 | StaticDateFormatField | DateFormat objects should not be used as static fields. DateFormat are inherently unsafe for multithreaded use. Sharing a single instance across thread boundaries without proper synchronization will result in erratic behavior of the application. |
260 | StaticFieldsBeforeInstanceFields | Enforce that all static fields are above all instance fields within a class |
261 | StaticMatcherField | Matcher objects should not be used as static fields. Matcher instances are inherently unsafe for multithreaded use. Sharing a single instance across thread boundaries without proper synchronization will result in erratic behavior of the application. |
262 | StaticMethodsBeforeInstanceMethods | Enforce that all static methods are above all instance methods within a class |
263 | StaticSimpleDateFormatField | SimpleDateFormat objects should not be used as static fields. SimpleDateFormat are inherently unsafe for multi-threaded use. Sharing a single instance across thread boundaries without proper synchronization will result in erratic behavior of the application. |
264 | SwallowThreadDeath | Checks for code that catches ThreadDeath without re-throwing it. |
265 | SynchronizedMethod | This rule reports uses of the synchronized keyword on methods. Synchronized methods are the same as synchronizing on 'this', which effectively make your synchronization policy public and modifiable by other objects. To avoid possibilities of deadlock, it is better to synchronize on internal objects. |
266 | SynchronizedOnBoxedPrimitive | The code synchronizes on a boxed primitive constant, such as an Integer. Since Integer objects can be cached and shared, this code could be synchronizing on the same object as other, unrelated code, leading to unresponsiveness and possible deadlock |
267 | SynchronizedOnGetClass | Synchronization on getClass rather than class literal. This instance method synchronizes on this.getClass(). If this class is subclassed, subclasses will synchronize on the class object for the subclass, which isn't likely what was intended. |
268 | SynchronizedOnReentrantLock | Synchronizing on a ReentrantLock field is almost never the intended usage. A ReentrantLock should be obtained using the lock() method and released in a finally block using the unlock() method. |
269 | SynchronizedOnString | Synchronization on a String field can lead to deadlock because Strings are interned by the JVM and can be shared. |
270 | SynchronizedOnThis | This rule reports uses of the synchronized blocks where the synchronization reference is 'this'. Doing this effectively makes your synchronization policy public and modifiable by other objects. To avoid possibilities of deadlock, it is better to synchronize on internal objects. |
271 | SynchronizedReadObjectMethod | Catches Serializable classes that define a synchronized readObject method. By definition, an object created by deserialization is only reachable by one thread, and thus there is no need for readObject() to be synchronized. If the readObject() method itself is causing the object to become visible to another thread, that is an example of very dubious coding style. |
272 | SystemErrPrint | Checks for calls to System.err.print(), System.err.println() or System.err.printf(). |
273 | SystemExit | Web applications should never call System.exit(). A call to System.exit() is probably part of leftover debug code or code imported from a non-J2EE application. |
274 | SystemOutPrint | Checks for calls to System.out.print(), System.out.println() or System.out.printf(). |
275 | SystemRunFinalizersOnExit | Method calls to System.runFinalizersOnExit() should not be allowed. This method is inherently non-thread-safe, may result in data corruption, deadlock, and may effect parts of the program far removed from it's call point. It is deprecated, and it's use strongly discouraged. |
276 | TernaryCouldBeElvis | Checks for ternary expressions where the boolean and true expressions are the same. These can be simplified to an Elvis expression. |
277 | ThisReferenceEscapesConstructor | Reports constructors passing the 'this' reference to other methods. This equals exposing a half-baked objects and can lead to race conditions during initialization. For reference, see Java Concurrency Gotchas by Alex Miller and Java theory and practice: Safe construction techniques by Brian Goetz. |
278 | ThreadLocalNotStaticFinal | ThreadLocal fields should be static and final. In the most common case a java.lang.ThreadLocal instance associates state with a thread. A non-static non-final java.lang.ThreadLocal field associates state with an instance-thread combination. This is seldom necessary and often a bug which can cause memory leaks and possibly incorrect behavior. |
279 | ThreadYield | Method calls to Thread.yield() should not be allowed. This method has no useful guaranteed semantics, and is often used by inexperienced programmers to mask race conditions. |
280 | ThrowError | Checks for throwing an instance of java.lang.Error. |
281 | ThrowException | Checks for throwing an instance of java.lang.Exception. |
282 | ThrowExceptionFromFinallyBlock | Throwing an exception from a finally block is confusing and can hide the original exception. |
283 | ThrowNullPointerException | Checks for throwing an instance of java.lang.NullPointerException. |
284 | ThrowRuntimeException | Checks for throwing an instance of java.lang.RuntimeException. |
285 | ThrowThrowable | Checks for throwing an instance of java.lang.Throwable. |
286 | ToStringReturnsNull | Checks for toString() methods that return null. |
287 | TrailingWhitespace | Checks that no lines of source code end with whitespace characters. |
288 | UnnecessaryBigDecimalInstantiation | It is unnecessary to instantiate BigDecimal objects. Instead just use the decimal literal or the 'G' identifier to force the type, such as 123.45 or 123.45G. |
289 | UnnecessaryBigIntegerInstantiation | It is unnecessary to instantiate BigInteger objects. Instead just use the literal with the 'G' identifier to force the type, such as 8G or 42G. |
290 | UnnecessaryBooleanExpression | Checks for unnecessary boolean expressions, including ANDing (&&) or ORing (||) with true, false, null, or a Map/List/String/Number literal. Also checks for negation (!) of true, false, null, or a Map/List/String/Number literal. |
291 | UnnecessaryBooleanInstantiation | Use Boolean.valueOf() for variable values or Boolean.TRUE and Boolean.FALSE for constant values instead of calling the Boolean() constructor directly or calling Boolean.valueOf(true) or Boolean.valueOf(false). |
292 | UnnecessaryCallForLastElement | This rule checks for excessively verbose methods of accessing the last element of an array or list. For instance, it is possible to access the last element of an array by performing array[array.length - 1], in Groovy it is simpler to either call array.last() or array[-1]. The same is true for lists. This violation is triggered whenever a get, getAt, or array-style access is used with an object size check. |
293 | UnnecessaryCallToSubstring | Calling String.substring(0) always returns the original string. This code is meaningless. |
294 | UnnecessaryCast | Checks for unnecessary cast operations |
295 | UnnecessaryCatchBlock | Violations are triggered when a catch block does nothing but throw the original exception. In this scenario there is usually no need for a catch block, just let the exception be thrown from the original code. This condition frequently occurs when catching an exception for debugging purposes but then forgetting to take the catch statement out. |
296 | UnnecessaryCollectCall | Some method calls to Object.collect(Closure) can be replaced with the spread operator. For instance, list.collect { it.multiply(2) } can be replaced by list*.multiply(2). Warning: if a collection is null, collect will return an empty list, while *. will return null. |
297 | UnnecessaryCollectionCall | Useless call to collections. This call doesn't make sense. For any collection c, calling c.containsAll(c) should always be true, and c.retainAll(c) should have no effect. |
298 | UnnecessaryConstructor | This rule detects when a constructor is not necessary; i.e., when there's only one constructor, it's public, has an empty body, and takes no arguments. |
299 | UnnecessaryDefInFieldDeclaration | If a field has a visibility modifier or a type declaration, then the def keyword is unneeded. For instance, 'static def constraints = {}' is redundant and can be simplified to 'static constraints = {}. |
300 | UnnecessaryDefInMethodDeclaration | If a method has a visibility modifier or a type declaration, then the def keyword is unneeded. For instance 'def private method() {}' is redundant and can be simplified to 'private method() {}'. |
301 | UnnecessaryDefInVariableDeclaration | If a variable has a visibility modifier or a type declaration, then the def keyword is unneeded. For instance 'def private n = 2' is redundant and can be simplified to 'private n = 2'. |
302 | UnnecessaryDotClass | To make a reference to a class, it is unnecessary to specify the '.class' identifier. For instance String.class can be shortened to String. |
303 | UnnecessaryDoubleInstantiation | It is unnecessary to instantiate Double objects. Instead just use the double literal or the 'D' identifier to force the type, such as 123.45d or 0.42d. |
304 | UnnecessaryElseStatement | When an if statement block ends with a return statement the else is unnecessary. The logic in the else branch can be run without being in a new scope. |
305 | UnnecessaryFail | In a unit test, catching an exception and immediately calling Assert.fail() is pointless and hides the stack trace. It is better to rethrow the exception or not catch the exception at all. |
306 | UnnecessaryFinalOnPrivateMethod | A private method is marked final. Private methods cannot be overridden, so marking it final is unnecessary. |
307 | UnnecessaryFloatInstantiation | It is unnecessary to instantiate Float objects. Instead just use the float literal with the 'F' identifier to force the type, such as 123.45F or 0.42f. |
308 | UnnecessaryGString | String objects should be created with single quotes, and GString objects created with double quotes. Creating normal String objects with double quotes is confusing to readers. |
309 | UnnecessaryGroovyImport | A Groovy file does not need to include an import for classes from java.lang, java.util, java.io, java.net, groovy.lang and groovy.util, as well as the classes java.math.BigDecimal and java.math.BigInteger. |
310 | UnnecessaryIfStatement | Checks for if statements where the if and else blocks (or subsequent fall-through to a return) are merely returning true and false constants. These cases can be replaced by a simple return statement. |
311 | UnnecessaryInstanceOfCheck | This rule finds instanceof checks that cannot possibly evaluate to true. For instance, checking that (!variable instanceof String) will never be true because the result of a not expression is always a boolean. |
312 | UnnecessaryInstantiationToGetClass | Avoid instantiating an object just to call getClass() on it; use the .class public member instead. |
313 | UnnecessaryIntegerInstantiation | It is unnecessary to instantiate Integer objects. Instead just use the literal with the 'I' identifier to force the type, such as 8I or 42i. |
314 | UnnecessaryLongInstantiation | It is unnecessary to instantiate Long objects. Instead just use the literal with the 'L' identifier to force the type, such as 8L or 42L. |
315 | UnnecessaryModOne | Any expression mod 1 (exp % 1) is guaranteed to always return zero. This code is probably an error, and should be either (exp & 1) or (exp % 2). |
316 | UnnecessaryNullCheck | Groovy contains the safe dereference operator, which can be used in boolean conditional statements to safely replace explicit "x == null" tests. |
317 | UnnecessaryNullCheckBeforeInstanceOf | There is no need to check for null before an instanceof; the instanceof keyword returns false when given a null argument. |
318 | UnnecessaryObjectReferences | Violations are triggered when an excessive set of consecutive statements all reference the same variable. This can be made more readable by using a with or identity block. |
319 | UnnecessaryOverridingMethod | The overriding method merely calls the same method defined in a superclass |
320 | UnnecessaryPackageReference | Checks for explicit package reference for classes that Groovy imports by default, such as java.lang.String, java.util.Map and groovy.lang.Closure. |
321 | UnnecessaryParenthesesForMethodCallWithClosure | If a method is called and the only parameter to that method is an inline closure then the parentheses of the method call can be omitted. |
322 | UnnecessaryPublicModifier | The 'public' modifier is not required on methods or classes. |
323 | UnnecessarySafeNavigationOperator | Check for the safe navigation operator (?.) applied to constants and literals, which can never be null. |
324 | UnnecessarySelfAssignment | Method contains a pointless self-assignment to a variable or property. |
325 | UnnecessarySemicolon | Semicolons as line terminators are not required in Groovy: remove them. Do not use a semicolon as a replacement for empty braces on for and while loops; this is a confusing practice. |
326 | UnnecessaryStringInstantiation | Use a String literal (e.g., "...") instead of calling the corresponding String constructor (new String("..")) directly. |
327 | UnnecessaryTernaryExpression | Checks for ternary expressions where the conditional expression always evaluates to a boolean and the true and false expressions are merely returning true and false constants. Also checks for ternary expressions where both expressions are the same constant or variable. |
328 | UnnecessaryToString | Checks for unnecessary calls to toString(). |
329 | UnnecessaryTransientModifier | The field is marked as transient, but the class isn't Serializable, so marking it as transient has no effect. |
330 | UnsafeArrayDeclaration | Triggers a violation when an array is declared public, final, and static. Secure coding principles state that, in most cases, an array declared public, final and static is a bug because arrays are mutable objects. |
331 | UnusedArray | Checks for array allocations that are not assigned or used, unless it is the last statement within a block. |
332 | UnusedImport | Imports for a class that is never referenced within the source file is unnecessary. |
333 | UnusedMethodParameter | This rule finds instances of method parameters not being used. It does not analyze private methods (that is done by the UnusedPrivateMethodParameter rule) or methods marked @Override. |
334 | UnusedObject | Checks for object allocations that are not assigned or used, unless it is the last statement within a block |
335 | UnusedPrivateField | Checks for private fields that are not referenced within the same class. |
336 | UnusedPrivateMethod | Checks for private methods that are not referenced within the same class. |
337 | UnusedPrivateMethodParameter | Checks for parameters to private methods that are not referenced within the method body. |
338 | UnusedVariable | Checks for variables that are never referenced. The ignoreVariableNames property (null) specifies one or more variable names that should be ignored, optionally containing wildcard characters ('*' or '?'). |
339 | UseAssertEqualsInsteadOfAssertTrue | This rule detects JUnit assertions in object equality. These assertions should be made by more specific methods, like assertEquals. |
340 | UseAssertFalseInsteadOfNegation | In unit tests, if a condition is expected to be false then there is no sense using assertTrue with the negation operator. For instance, assertTrue(!condition) can always be simplified to assertFalse(condition) |
341 | UseAssertNullInsteadOfAssertEquals | This rule detects JUnit calling assertEquals where the first or second parameter is null. These assertion should be made against the assertNull method instead. |
342 | UseAssertSameInsteadOfAssertTrue | This rule detects JUnit calling assertTrue where the first or second parameter is an Object#is() call testing for reference equality. These assertion should be made against the assertSame method instead. |
343 | UseAssertTrueInsteadOfAssertEquals | This rule detects JUnit calling assertEquals where the first parameter is a boolean. These assertions should be made by more specific methods, like assertTrue or assertFalse. |
344 | UseAssertTrueInsteadOfNegation | In unit tests, if a condition is expected to be true then there is no sense using assertFalse with the negation operator. For instance, assertFalse(!condition) can always be simplified to assertTrue(condition) |
345 | UseCollectMany | In many case collectMany() yields the same result as collect{}.flatten(). It is easier to understand and more clearly conveys the intent. |
346 | UseCollectNested | Instead of nested collect{}-calls use collectNested{} |
347 | UseOfNotifyMethod | This code calls notify() rather than notifyAll(). Java monitors are often used for multiple conditions. Calling notify() only wakes up one thread, meaning that the thread woken up might not be the one waiting for the condition that the caller just satisfied. |
348 | VariableName | Verifies that the name of each method matches a regular expression. By default it checks that non-'final' variable names start with a lowercase letter and contains only letters or numbers, and 'final' variable names start with an uppercase letter and contain only uppercase letters, numbers and underscores. The regex property specifies the default regular expression used to validate a non-'final' variable name. The finalRegex property specifies the regular expression used to validate 'final' variable names. The ignoreVariableNames property (null) can specify variable names that should be ignored, optionally containing wildcard characters ('*' or '?'). |
349 | VariableTypeRequired | Checks that variable types are explicitly specified in declarations (and not using def) |
350 | VectorIsObsolete | The java.util.Vector class is effectively obsolete. Use the Java Collections Framework classes instead, including ArrayList or Collections.synchronizedList(). See the JDK javadoc. |
351 | VolatileArrayField | Volatile array fields are unsafe because the contents of the array are not treated as volatile. Changing the entire array reference is visible to other threads, but changing an array element is not. |
352 | VolatileLongOrDoubleField | Long or double fields should not be declared as volatile. Java specifies that reads and writes from such fields are atomic, but many JVM's have violated this specification. Unless you are certain of your JVM, it is better to synchronize access to such fields rather than declare them volatile. This rule flags fields marked volatile when their type is double or long or the name of their type is "Double" or "Long". |
353 | WaitOutsideOfWhileLoop | Calls to Object.wait() must be within a while loop. Consider using the Java concurrency utilities instead of wait() and notify(). |
354 | WhileStatementBraces | Use braces for while statements, even for a single statement. |