Abstract
The RPG programming language is a popular language employed widely in IBM i mainframes nowadays. Legacy mainframe systems that evolved and survived the past decades usually data intensive and even business critical applications. Recent, state of the art quality assurance tools are mostly focused on popular languages like Java, C++ or Python. In this work we compare two source code based quality management tools for the RPG language. The study is focused on the data obtained using static analysis, which is then aggregated to higher level quality attributes. SourceMeter is a command line tool-chain capable to measure various source attributes like metrics and coding rule violations. SonarQube is a quality management platform with RPG language support. To facilitate the objective comparison, we used the SourceMeter for RPG plugin for SonarQube, which seamlessly integrates into the framework extending its capabilities. The evaluation is built on analysis success and depth, source code metrics, coding rules and code duplications. We found that SourceMeter is more advanced in analysis depth, product metrics and finding duplications, while their performance of coding rules and analysis success is rather balanced. Since both tools were presented recently on the market of quality assurance tools, we expect additional releases in the future with more mature analyzers.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
References
Basili, V.R., Briand, L.C., Melo, W.L.: A validation of object-oriented design metrics as quality indicators. IEEE Transactions on Software Engineering 22(10), 751–761 (1996)
Bruntink, M., Van Deursen, A.: Predicting class testability using object-oriented metrics. In: Fourth IEEE International Workshop on Source Code Analysis and Manipulation, 2004, pp. 136–145. IEEE (2004)
Canfora, G., De Lucia, A., Di Lucca, G.A.: An incremental object-oriented migration strategy for rpg legacy systems. International Journal of Software Engineering and Knowledge Engineering 9(01), 5–25 (1999)
Chidamber, S.R., Kemerer, C.F.: A metrics suite for object oriented design. IEEE Transactions on Software Engineering 20(6), 476–493 (1994)
De Lucia, A., Francese, R., Scanniello, G., Tortora, G.: Developing legacy system migration methods and tools for technology transfer. Softw. Pract. Exper 38, 1333–1364 (2008)
Ferenc, R., Siket, I., Gyimothy, T.: Extracting facts from open source software. In : Proceedings 20th IEEE International Conference on Software Maintenance, 2004, pp. 60–69, september 2004
Gyimothy, T., Ferenc, R., Siket, I.: Empirical validation of object-oriented metrics on open source software for fault prediction. IEEE Transactions on Software Engineering 31(10), 897–910 (2005)
Hartman, S.D.: A counting tool for rpg. In: ACM SIGMETRICS Performance Evaluation Review, vol. 11, pp. 86–100. ACM (1982)
Hegedűs, P.: A probabilistic quality model for c#-an industrial case study. Acta Cybern. 21(1), 135–147 (2013)
ISO/IEC. ISO/IEC 9126. Software Engineering - Product quality. ISO/IEC (2001)
ISO/IEC. ISO/IEC 25000:2005. Software Engineering - Software product Quality Requirements and Evaluation (SQuaRE) - Guide to SQuaRE. ISO/IEC (2005)
Ladányi, G., Tóth, Z., Ferenc, R., Keresztesi, T.: A software quality model for rpg. In: Proceedings of the 22nd IEEE International Conference on Software Analysis, Evolution, and Reengineering (SANER 2015), pp. 91–100. IEEE, March 2015
Lanza, M., Marinescu, R.: Object-oriented metrics in practice: using software metrics to characterize, evaluate, and improve the design of object-oriented systems. Springer Science & Business Media (2007)
Nagy, C., Vidács, L., Ferenc, R., Gyimóthy, T., Kocsis, F., Kovács, I.: Magister: Quality assurance of magic applications for software developers and end users. In: IEEE International Conference on Software Maintenance (ICSM 2010), pp. 1–6. IEEE, September 2010
Nagy, C., Vidács, L., Ferenc, R., Gyimóthy, T., Kocsis, F., Kovács, I.: Complexity measures in 4GL environment. In: Murgante, B., Gervasi, O., Iglesias, A., Taniar, D., Apduhan, B.O. (eds.) ICCSA 2011, Part V. LNCS, vol. 6786, pp. 293–309. Springer, Heidelberg (2011)
Naib, F.A.: An application of software science to the quantitative measurement of code quality. In: ACM SIGMETRICS Performance Evaluation Review, vol. 11, pp. 101–128. ACM (1982)
Piattini, M., Calero, C., Genero, M.: Table oriented metrics for relational databases. Software Quality Control 9(2), 79–97 (2001)
QualityGate quality management platform http://www.quality-gate.com (2015)
SonarQube quality management platform (2015). http://www.sonarqube.org
SourceMeter (2015). http://www.sourcemeter.com
Suntiparakoo, K., Limpiyakorn, Y.: Flowchart knowledge extraction on rpg legacy code. Advanced Science and Technology Letters 29, 258–263 (2013)
Witting, G.E., Finnie, G.R.: Using artificial neural networks and function points to estimate 4GL software development effort. Australasian Journal of Information Systems 1(2) (1994)
Xenos, M., Stavrinoudis, D., Zikouli, K., Christodoulakis, D.: Object-oriented metrics-a survey. In: Proceedings of the FESMA, pp. 1–10 (2000)
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2015 Springer International Publishing Switzerland
About this paper
Cite this paper
Tóth, Z., Vidács, L., Ferenc, R. (2015). Comparison of Static Analysis Tools for Quality Measurement of RPG Programs. In: Gervasi, O., et al. Computational Science and Its Applications -- ICCSA 2015. ICCSA 2015. Lecture Notes in Computer Science(), vol 9159. Springer, Cham. https://doi.org/10.1007/978-3-319-21413-9_13
Download citation
DOI: https://doi.org/10.1007/978-3-319-21413-9_13
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-319-21412-2
Online ISBN: 978-3-319-21413-9
eBook Packages: Computer ScienceComputer Science (R0)