kan-qi / UMLx

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

No results shown after uploading apk file #612

Open roaminggypsy opened 5 years ago

roaminggypsy commented 5 years ago

Problem Description: After the model file is uploaded, there's no analysis result shown on the page.

Besides, the drop-down list becomes un-clickable.

image

Analysis scripts.js: 364: console.log(response); the response is just the html of home page, nothing else.

scripts.js 365: $("#estimation-result-panel-body").html(response); the html is added.

scripts.js 366: var estimationModel = $(response).data("estimation-model"); since the response is just some html, estimationModel is not assigned to anything

scripts.js 368 'console.log('#'+estimationModel+'-estimation-results-charts');'

undefined-estimation-results-charts is printed.

which means estimationModel is undefined

So basically, no estimationModel is returned.

kan-qi commented 5 years ago

The expected output after uploading xml file:

image