Skip to content

Create MyClass.cls#4

Open
smsalah wants to merge 1 commit intoMBranchfrom
CBranch
Open

Create MyClass.cls#4
smsalah wants to merge 1 commit intoMBranchfrom
CBranch

Conversation

@smsalah
Copy link
Owner

@smsalah smsalah commented Jul 18, 2023

No description provided.

Comment on lines +1 to +6
global Class MyClass {
public String unused = 'hello there';
public MyClass(){
System.debug('I think this class Has some issues');
}
}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Attribute Value
Engine pmd
Category Best Practices
Rule AvoidGlobalModifier
Severity 3
Type Warning
Message Avoid using global modifier
File MyClass.cls

Comment on lines +3 to +5
public MyClass(){
System.debug('I think this class Has some issues');
}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Attribute Value
Engine pmd
Category Documentation
Rule ApexDoc
Severity 3
Type Warning
Message Missing ApexDoc comment
File MyClass.cls

Comment on lines +4 to +5
System.debug('I think this class Has some issues');
}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Attribute Value
Engine pmd
Category Performance
Rule AvoidDebugStatements
Severity 3
Type Warning
Message Avoid debug statements since they impact on performance
File MyClass.cls

Comment on lines +4 to +5
System.debug('I think this class Has some issues');
}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Attribute Value
Engine pmd
Category Best Practices
Rule DebugsShouldUseLoggingLevel
Severity 3
Type Warning
Message Calls to System.debug should specify a logging level.
File MyClass.cls

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant