Based on the Clean ABAP, this tool contains a set of rules to support Clean ABAP adherence.
Together, we both support you in writing a clean ABAP code.
❣️ It's free and open-source.
- Supports local and remote inspections;
- Supports SAP GUI and Eclipse (ADT);
- Supports ABAP Test Cockpit (ATC) and Code Inspector (SCI);
- Skips generated code;
- Allows exemptions;
- Allows configuration based on:
- Rule validity;
- Rule severity (priority);
- Rule threshold;
- Rule relevance for productive and test codes;
- Rule relevance for objects created since a specific date;
- Rule relevance for new child objects;
- Rule relevance for exemptions.
- Avoid DEFAULT KEY
- Boolean Input Parameter
- CALL Method Usage
- Chain Declaration Usage
- CHECK Statement Position
- CHECK in LOOP
- COLLECT restriction
- Combination of Output Parameters
- Comment Position
- Comment Type
- Comment Usage
- Constants Interface
- Cyclomatic Complexity
- CX_ROOT Usage
- Database Access in Unit-Test
- Deprecated Classes
- Deprecated Key Word
- Empty Catch
- Empty IF Branches
- Empty Procedure
- Equals Sign Chaining
- External Call in Unit Test
- FORM Routine Usage
- FUNCTION Module Usage
- Magic Number Usage
- Message Easy To Find
- Message Translation
- Method Return Bool
- Missing Interface
- Nesting Depth
- Non-Class Exception Usage
- Number of Attributes
- Number of Events
- Number of Executable Statements
- Number of Interfaces
- Number of Methods
- Number of Public Attributes
- Number of Output Parameter
- Prefer CASE to ELSEIF
- Prefer RETURNING to EXPORTING
- Prefer IS NOT to NOT IS
- Prefer LINE_EXISTS or LINE_INDEX to READ TABLE or LOOP AT
- Prefer NEW to CREATE OBJECT
- Prefer Pragmas to Pseudo Comments
- Pseudo Comment Usage
- Omit Optional EXPORTING
- Optional Parameters
- READ TABLE with Subsequent Memory Assignment
- RECEIVING Statement Usage
- Returning Name
- Scope of Variable
- Self-Reference
- TEST-SEAM Statement Usage
- Text Assembly
- Unit-Test Coverages (Statement, Branch and Procedure)
- Unit-Test Assert Validator
- SAP NetWeaver 7.50 or higher
- SAP Note 2527903 - Remote analysis (for check system)
- abapGit