Closed ThomasErgin closed 4 years ago
Hi @ThomasKempfle,
Unfortunately, the code pal for ABAP is not a standard tool provided by SAP. This is an open-source project.
The reason why it has some "duplicated" checks is that in code pal for ABAP:
Besides, it is up to the user to decide if he/she wants to use the code pal for ABAP checks or the SAP standard ones.
Regards, Lucas & Eugen
Besides, code pal was newly developed with A better (not to say state-of-the-art) OO Programming. What is not the case regarding these old checks you have mentioned.
Thank you for this information. Can anybody tell me, if the Code Pal checks will somehow become reflected to the SAP standard?
Code pal for ABAP started in SAP (internally) by some developers to support internal team needs, and we figured out that would be helpful for people out of SAP. Therefore, we converted it into an open-source project, so everyone can use, improve, and support it. Currently, this is not an official SAP tool or replacement for code inspector tool.
Enhancing, code pal for ABAP is a initially developed by SAP and placed in the SAP Open Source Developer Hub. Although no official SAP Support (e.g.: translation) is offered for the tool, we are coordinating it and further developing it together with the OS Community.
I noticed, that several Code Pal checks are already covered from SAP standard checks. E.g. the Code Pal checks "Number of attributes", "Number of methods", "Number of public Attributes" is already integrated in the SAP standard check class "OO Size metrices". The Code Pal check "Nesting depth" is included in the SAP standard check "Program complexity Test" and so on. What is the reason for that? Users of Code Pal and SAP standard checks have to consider, which one of the checks is the better or more accurate one. If both checks are activated at the same time, they might produce redundant or even contradictory messages and the repository of the system (superfluously) increased. My recommendation would be, to remove any check classes from the Code Pal, that is already covered from the SAP standard.