SAP UI5 lietotņu pirmkoda automatizētas pārstrādes rīka izstrāde
Author
Fridrihsone, Laura
Co-author
Latvijas Universitāte. Datorikas fakultāte
Advisor
Zandersons, Oskars
Date
2018Metadata
Show full item recordAbstract
Kvalifikācijas darbā tika izstrādāts rīks SAP UI5 lietotņu pirmkoda automatizētai pārveidei, kas veic SAP UI5 JavaScript koda analīzi un aizvieto novecojušās un mazāk efektīvās sinhronās moduļu ielādes metodes ar aktuālajām un tīmekļa kontekstā efektīvākām asinhronajām moduļu ielādes metodēm, kā arī veic koda izmaiņas, kuru nepieciešamība izriet no iepriekšminētās metožu aizvietošanas. Izstrādātā rīka mērķis ir padarīt automātisku, ātru un pabeigtu, bez cilvēciskām kļūdām, šādas pārstrādes procesu tām lietotnēm un projektiem, kuru izstrāde ir aizsākusies pietiekami sen, lai kodu būtu nepieciešams šādi aktualizēt. Rīks tika izstrādāts izmantojot SAP UI5 ietvaru lietotāja saskarnes pusē, NodeJS izpildes vidi un ExpressJS ietvaru izpildāmās daļas pusē un darbam ar failu sistēmu, kā arī JSCodeShift rīku JavaScript koda atpazīšanai, sintakses koka izveidei, analīzei un izmaiņu veikšanai tajā. DEVELOPMENT OF AUTOMATED REFACTORING TOOL FOR SAP UI5 The qualification paper developed an automated conversion tool for SAP UI5 applications that perform an analysis of the SAP UI5 JavaScript code and replaces outdated and less efficient synchronous modules loading methods with the most actual and more Internet-loaded asynchronous load loading methods, as well as code changes that result from the above methods substitution The purpose of the tool developed is to make it automatic, fast and complete without any human errors in the process of computing for those applications and projects whose creation has begun long enough to update the code. The issue was developed using the SAP UI5 framework on the UI side, the NodeJS execution environment, and the ExpressJS framework on the executable side and the file system, as well as the JSCodeShift tool for identifying, syntax, analyzing, and modifying JavaScript code.