Quantcast
Channel: ABAP Development
Viewing all articles
Browse latest Browse all 948

Code visualization using Moose

$
0
0

It is now possible to extract model information from a SAP system to analyze it using Moose in a Pharo virtual machine.

 

Pharo is a kind of Smalltalk and heavily used by specialists who develop techniques for code visualization especially for refactoring. The SAP model data is extracted using FAMIX, this allows a more detailed analysis as would be possible using UML. This is now possible due to a new open source extractor.

 

Currently extracted are for instance:
- Accesses to attributes of class

- Invocations of class methods

- Accesses to database tables

 

It is planned to add other objects like reports, functions, DSO and InfoCubes of SAP BW ...

 

Examples for diagrams are:

https://raw.githubusercontent.com/RainerWinkler/Moose-FAMIX-SAP-Extractor/master/wiki_pictures/Packages_with_classes_and_usages.png

 

https://raw.githubusercontent.com/RainerWinkler/Moose-FAMIX-SAP-Extractor/master/wiki_pictures/Classes_with_method_attr_usage.png

https://raw.githubusercontent.com/RainerWinkler/Moose-FAMIX-SAP-Extractor/master/wiki_pictures/Classes_with_names_and_method_usages_SABP_RTTI.png

This diagrams are not just images but it is possible to move the parts around, to see the names using mouse over or to explore it in detail by clicking on it.

 

You find details in this blog in "Custom Code Management":

 

http://scn.sap.com/community/abap/custom-code-management/blog/2016/03/13/solving-sap-problems-without-reading-code--extract-a-famix-model-to-moose

 

The coding to extract and other informations are available on the github project page: https://github.com/RainerWinkler/Moose-FAMIX-SAP-Extractor


Viewing all articles
Browse latest Browse all 948

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>