kan-qi / UMLx

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

Decompose the project effort to the screens of Android apps #642

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

  1. after get the information of the "activities", we can add the decomposition of the project effort to the table. 2.1 the overall project effort estimate is in this variable. image

2.2 you can first assume the project effort would be decomposed to the "activities" equally, and calculate the distribution and put the information back to the variable.

2.3 render the distribution results into the web table.

Some suggestions of development:

  1. the two parts can be done simultaneously. The second part can just assume some fixed numbers first and render the table.

  2. the first part actually deal with java program "Android-toolkit" to parse the apks. So you don't actually need to upload apks from the web page to run the program to debug. You can just run the command (we discussed before) to call the functions and output data.