kan-qi / UMLx

Analyze software architecture and generate insights about software development complexities, risks, and costs.
3 stars 0 forks source link

Parsing Android Apks for the screen information #644

Open kan-qi opened 4 years ago

kan-qi commented 4 years ago

Here are the steps for what to do:

The Android analysis tool would generate a package, for example, in the attachment. There is a xml file (below) which provide information about the composition of the Apps. The goal is to provide a table to show how the project effort is decompose to the component.

image

For example

image

The steps for development:

  1. parse the xml files to identify the "Activity" elements. image 1.1 we already have some code to parse the file, what need to be done is to add a function or some lines of code to parse the required entities.

image image

1.2 the information that is parsed from the xml files can be write to the "json" file. image

There already are some lines of code writing attributes to the file. Only need to add the attributes to the existing code:

image