Araştırma Makalesi

Code Quality Analysis Engine with Codes Written in Typescript

Cilt: 1 Sayı: 1 31 Mayıs 2022
PDF İndir
TR EN

Code Quality Analysis Engine with Codes Written in Typescript

Öz

In this study, an automatic software based on basic known software quality parameters, which can apply static code analysis on code files written with the new generation TypeScript programming language, which is made available by Google instead of Javascript, measure compliance with the defined standards and as a result calculate a quality index value for the code file. quality analysis engine has been developed. The software developed as a web application, where users can perform the analysis process through the application interface by making the necessary configuration changes, access the analysis results, the calculated quality index value and the list of situations that cause this value to decrease, has been arranged. In the study, it is aimed to help software developers using TypeScript language to work in accordance with quality code development standards and to enable these standards to be followed more easily by embodying them with the help of a measurable metric. For this purpose, a web-based software was developed using node.js and Angular libraries, rules were defined for the TypeScript language in this software, and it was possible to calculate a quality index value according to the results obtained by running these rules on the analyzed file with the help of the configuration determined by the users. As a result of the study, different scenarios of the rules were created and the TypeScript files of these scenarios were tested with the developed web application and the performance criteria were evaluated. A success of 62% was achieved in the first results obtained, and the developers evaluated that the system could be used.

Anahtar Kelimeler

Kaynakça

  1. [1] Y. Fain and A. Moiseev, “Angular Development with TypeScript,” 2nd. Manning, NY, 2018.
  2. [2] R. Bellairs, “What Is Code Quality? And How to Improve Code Quality.” perforce.com. https://www.perforce.com/blog/sca/whatcode-quality-and-how-improve-code-quality (accessed Apr 4 2022).
  3. [3] V. Raychev, "Learning to Find Bugs and Code Quality Problems-What Worked and What not?." in 2021 International Conference on Code Quality (ICCQ). IEEE, 2021, pp.1-5.
  4. [4] “ESLint About.” eslint.org. https://eslint.org/docs/about/ (accessed Apr 4 2022)
  5. [5] “SonarQube Documentation.” sonarqube.org. https://docs.sonarqube.org/latest/ (accessed Apr 10. 2022)
  6. [6] “First Line Outsourcing, Static Analysis of JavaScript applications with SonarQube” medium.com. https://medium.com/firstlineoutsourcing/static-analysis-of-javascript-applications-withsonarqube-1aacdf11d4ac (accessed Apr 5 2022)
  7. [7] D. Stefanović, D. Nikolić, S. Havzi, T. Lolić and D. Dakić, "Static Code Analysıs Tools: A Systematic Literature Review." in Proc. of the 31st DAAAM International Symposium, B. Katalinic(ed.) Published by DAAAM International, 2020, pp. 565-573.
  8. [8] E. Thoren and F. Brännlund Stål, "Usage of Angular from developer’s perspective: Based on a literature and empirical study." B.S. Dissertation, Faculty of Computing Blekinge Institute of Technology, Karlskrona, Sweden, 2017.

Ayrıntılar

Birincil Dil

İngilizce

Konular

Yazılım Mühendisliği

Bölüm

Araştırma Makalesi

Yazarlar

Fatih Koç Bu kişi benim
Türkiye

Yayımlanma Tarihi

31 Mayıs 2022

Gönderilme Tarihi

13 Nisan 2022

Kabul Tarihi

-

Yayımlandığı Sayı

Yıl 2022 Cilt: 1 Sayı: 1

Kaynak Göster

APA
Göktürk, M., & Koç, F. (2022). Code Quality Analysis Engine with Codes Written in Typescript. Türk Mühendislik Araştırma ve Eğitimi Dergisi, 1(1), 1-7. https://izlik.org/JA39MB85LA
AMA
1.Göktürk M, Koç F. Code Quality Analysis Engine with Codes Written in Typescript. TMAED. 2022;1(1):1-7. https://izlik.org/JA39MB85LA
Chicago
Göktürk, Mehmet, ve Fatih Koç. 2022. “Code Quality Analysis Engine with Codes Written in Typescript”. Türk Mühendislik Araştırma ve Eğitimi Dergisi 1 (1): 1-7. https://izlik.org/JA39MB85LA.
EndNote
Göktürk M, Koç F (01 Mayıs 2022) Code Quality Analysis Engine with Codes Written in Typescript. Türk Mühendislik Araştırma ve Eğitimi Dergisi 1 1 1–7.
IEEE
[1]M. Göktürk ve F. Koç, “Code Quality Analysis Engine with Codes Written in Typescript”, TMAED, c. 1, sy 1, ss. 1–7, May. 2022, [çevrimiçi]. Erişim adresi: https://izlik.org/JA39MB85LA
ISNAD
Göktürk, Mehmet - Koç, Fatih. “Code Quality Analysis Engine with Codes Written in Typescript”. Türk Mühendislik Araştırma ve Eğitimi Dergisi 1/1 (01 Mayıs 2022): 1-7. https://izlik.org/JA39MB85LA.
JAMA
1.Göktürk M, Koç F. Code Quality Analysis Engine with Codes Written in Typescript. TMAED. 2022;1:1–7.
MLA
Göktürk, Mehmet, ve Fatih Koç. “Code Quality Analysis Engine with Codes Written in Typescript”. Türk Mühendislik Araştırma ve Eğitimi Dergisi, c. 1, sy 1, Mayıs 2022, ss. 1-7, https://izlik.org/JA39MB85LA.
Vancouver
1.Mehmet Göktürk, Fatih Koç. Code Quality Analysis Engine with Codes Written in Typescript. TMAED [Internet]. 01 Mayıs 2022;1(1):1-7. Erişim adresi: https://izlik.org/JA39MB85LA