Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions MyClass.cls
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
global Class MyClass {
public String unused = 'hello there';
public MyClass(){
System.debug('I think this class Has some issues');
}
Comment on lines +3 to +5

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

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

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

}
Comment on lines +1 to +6

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