Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Code Decay Measurements for ABAP Coding

Former Member
0 Likes
441

Hi,

With pc development languages eg. Java / MS C# etc, various Code Decay Indices (CDIs) exist to allow for measurement of code deterioration.

The CDIs use things like number of non-commented lines, experience of the developer, complexity etc.

Formulas have been defined using the CDIs so that (ultimately) a 'measured' approach can be used by a developer to decide when code may need to be re-developed, or aid with work estimation. This could be after continual maintenance has eroded the code to such an extent that it takes longer to fix than it should, maybe longer than re-develoment itself. My investigations are part of an OU course.

Does anyone know if SAP use CDIs? Do they have their own? Do they use the generic CDIs? Or don't they use them at all?

I appreciate that for most developers it's a gut feel as to whether to re-develop or not, but for my project I need to have something more formal.

Please can anyone help me?

Thank you,

Ian Lawrence

1 REPLY 1
Read only

HermannGahm
Product and Topic Expert
Product and Topic Expert
0 Likes
416

Hi Ian,

have you had a look at the SAP Code Inspector (transaction SCI / SCII)  metrics?

not exactly what you want but a start i guess... the i button offers some help about the checks.

Kind regards,


Hermann