12-11-2019 10:18 AM
Hello.
I am currently working with the transaction /SDF/CD_CCA. There's a function to get the ABAP code metrics from the current or active Version of a report, class,... Now I want to evaluate the code metric for the first version of every of these objects. Does anyone has an idea how to accomplish this? I want to do this for all the custom code in the system so I can compare how the metrics changed between the versions.
I also know the Code Inspector offers some metrics too but I don't know how to do this with it neither.
I would be thankful for any suggestion or idea you have.
Thank you!
12-13-2019 5:32 PM
I doubt this is possible. Also consider that other objects that were used in the previous versions could've also changed, so such metrics would be of limited use. You could probably intelligently compare only very recent versions and only of specific object types.
Maybe it's something abapGit could help with but I don't know. CC lars.hvam
12-17-2019 2:16 AM
Still some way to go, but I'd recommend:
A: implement https://github.com/larshp/abapGit/issues/3123
B: do the metrics with abaplint, already got some running at https://stats.abaplint.org/ for open source
12-17-2019 1:26 PM