-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature/review #36
Feature/review #36
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Salesforce Code Analyzer identified 5 rule violations in your changes with severity as high as 3.
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Salesforce Code Analyzer identified 5 rule violations in your changes with severity as high as 3.
@@ -14,6 +14,7 @@ public with sharing class InvestmentStatisticsJob implements Database.Batchable< | |||
InvestmentStatisticsService stats = new InvestmentStatisticsService(investment.Id, this.startDate); | |||
stats.process(); | |||
stats.save(); | |||
System.debug('test'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Avoid debug statements since they impact on performance (pmd - AvoidDebugStatements - Severity: 3)
@@ -14,6 +14,7 @@ public with sharing class InvestmentStatisticsJob implements Database.Batchable< | |||
InvestmentStatisticsService stats = new InvestmentStatisticsService(investment.Id, this.startDate); | |||
stats.process(); | |||
stats.save(); | |||
System.debug('test'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Calls to System.debug should specify a logging level. (pmd - DebugsShouldUseLoggingLevel - Severity: 3)
@@ -14,6 +14,7 @@ public with sharing class InvestmentStatisticsJob implements Database.Batchable< | |||
InvestmentStatisticsService stats = new InvestmentStatisticsService(investment.Id, this.startDate); | |||
stats.process(); | |||
stats.save(); | |||
System.debug('test'); | |||
} | |||
} | |||
public void finish(Database.BatchableContext bc) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Avoid empty block statements. (pmd - EmptyStatementBlock - Severity: 3)
@@ -31,6 +31,7 @@ public with sharing class InvestmentStatisticsService { | |||
|
|||
Decimal previousTotal; | |||
while (weekNumber <= lastWeekNumber) { | |||
System.debug('test'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Avoid debug statements since they impact on performance (pmd - AvoidDebugStatements - Severity: 3)
@@ -31,6 +31,7 @@ public with sharing class InvestmentStatisticsService { | |||
|
|||
Decimal previousTotal; | |||
while (weekNumber <= lastWeekNumber) { | |||
System.debug('test'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Calls to System.debug should specify a logging level. (pmd - DebugsShouldUseLoggingLevel - Severity: 3)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Salesforce Code Analyzer did not find any rule violations
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Salesforce Code Analyzer did not find any rule violations
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Salesforce Code Analyzer identified 1 rule violations in your changes with severity as high as 1.
@@ -2,6 +2,7 @@ | |||
public without sharing class TA_InvestmentUpdate_SetCurrency implements packocz.TriggerAction.BeforeInsert { | |||
@namespaceAccessible | |||
public void beforeInsert(List<InvestmentUpdate__c> newList) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Source Type: TA_InvestmentUpdate_SetCurrency, Source Method: beforeInsert, Sink File: invest-app/main/default/classes/TA_InvestmentUpdate_SetCurrency.cls: 11 ### FLS validation is missing for [READ] operation on [Investment__c] with field(s) [CurrencyIsoCode]. (sfge - ApexFlsViolationRule - Severity: 1)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Salesforce Code Analyzer identified 1 rule violations in your changes with severity as high as 1.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Salesforce Code Analyzer identified 9 rule violations in your changes with severity as high as 3.
@@ -2,6 +2,7 @@ | |||
public without sharing class TA_InvestmentUpdate_SetCurrency implements packocz.TriggerAction.BeforeInsert { | |||
@namespaceAccessible | |||
public void beforeInsert(List<InvestmentUpdate__c> newList) { | |||
System.debug('test'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Avoid debug statements since they impact on performance (pmd - AvoidDebugStatements - Severity: 3)
@@ -2,6 +2,7 @@ | |||
public without sharing class TA_InvestmentUpdate_SetCurrency implements packocz.TriggerAction.BeforeInsert { | |||
@namespaceAccessible | |||
public void beforeInsert(List<InvestmentUpdate__c> newList) { | |||
System.debug('test'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Calls to System.debug should specify a logging level. (pmd - DebugsShouldUseLoggingLevel - Severity: 3)
@@ -1,3 +1,4 @@ | |||
trigger InvestmentUpdate on InvestmentUpdate__c(before insert, after insert, after update, after delete) { | |||
System.debug('test'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Avoid debug statements since they impact on performance (pmd - AvoidDebugStatements - Severity: 3)
@@ -1,3 +1,4 @@ | |||
trigger InvestmentUpdate on InvestmentUpdate__c(before insert, after insert, after update, after delete) { | |||
System.debug('test'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Calls to System.debug should specify a logging level. (pmd - DebugsShouldUseLoggingLevel - Severity: 3)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Salesforce Code Analyzer identified 9 rule violations in your changes with severity as high as 3.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Salesforce Code Analyzer identified 9 rule violations in your changes with severity as high as 3.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Salesforce Code Analyzer identified 9 rule violations in your changes with severity as high as 3.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Salesforce Code Analyzer identified 9 rule violations in your changes with severity as high as 3.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Salesforce Code Analyzer did not find any rule violations
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Salesforce Code Analyzer did not find any rule violations
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Salesforce Code Analyzer identified 9 rule violations in your changes with severity as high as 3.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Salesforce Code Analyzer identified 9 rule violations in your changes with severity as high as 3.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Salesforce Code Analyzer identified 9 rule violations in your changes with severity as high as 3.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Salesforce Code Analyzer identified 9 rule violations in your changes with severity as high as 3.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Salesforce Code Analyzer identified 9 rule violations in your changes with severity as high as 3.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Salesforce Code Analyzer identified 9 rule violations in your changes with severity as high as 3.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Salesforce Code Analyzer identified 9 rule violations in your changes with severity as high as 3.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Salesforce Code Analyzer identified 9 rule violations in your changes with severity as high as 3.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Salesforce Code Analyzer identified 9 rule violations in your changes with severity as high as 3.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Salesforce Code Analyzer identified 9 rule violations in your changes with severity as high as 3.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Salesforce Code Analyzer identified 9 rule violations in your changes with severity as high as 99.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Salesforce Code Analyzer identified 9 rule violations in your changes with severity as high as 99.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Salesforce Code Analyzer did not find any rule violations
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Salesforce Code Analyzer did not find any rule violations
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Salesforce Code Analyzer did not find any rule violations
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Salesforce Code Analyzer identified 9 rule violations in your changes with severity as high as 99.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Salesforce Code Analyzer identified 9 rule violations in your changes with severity as high as 99.
8bafc5c
to
48a2f33
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Salesforce Code Analyzer identified 7 rule violations in your changes with severity as high as 99.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Salesforce Code Analyzer identified 7 rule violations in your changes with severity as high as 99.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Salesforce Code Analyzer identified 7 rule violations in your changes with severity as high as 99.
48a2f33
to
deece17
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Salesforce Code Analyzer identified 5 rule violations in your changes with severity as high as 99.
No description provided.