Safe C++ Guidelines for Cevelop(AUTOSAR)

Puselja, Viktor and Vlasek, Gabriel (2019) Safe C++ Guidelines for Cevelop(AUTOSAR). Bachelor thesis, HSR Hochschule für Technik Rapperswil.

[img]
Preview
Text
FS 2019-BA-EP-Vlasek-Puselja-Safe C++ Guidelines for Cevelop (AUTOSAR).pdf - Supplemental Material

Download (2MB) | Preview

Abstract

CodeAnalysator is an Eclipse plug-in for improving C++ code. Its static analysis uses AST visitors for determining rule violations and notifies the users about them. Often the plug-in even proposes quick fixes to solve a problem. The plug-in features rules from many different C++ programming guidelines such as from AUTOSAR or MISRA. The plug-in was initially developed by another team. After we added a large set of rules in the previous term project, this thesis was all about improvement. By applying refactorings and rewriting code, the complexity of the project was greatly reduced and circular dependencies were removed. By introducing new concepts and improving the naming, we increased understandability and readability of the project. Using performance measuring we also improved the execution speed and responsiveness significantly, reducing the run time on our test projects from almost an hour to less than three minutes. Among many other smaller things, we also incorporated a set of new rules from the AUTOSAR guideline.

Item Type: Thesis (Bachelor)
Subjects: Topics > Software > Refactoring
Area of Application > Development Tools
Technologies > Programming Languages > C++
Metatags > IFS (Institute for Software)
Divisions: Bachelor of Science FHO in Informatik > Bachelor Thesis
Creators:
CreatorsEmail
Puselja, ViktorUNSPECIFIED
Vlasek, GabrielUNSPECIFIED
Contributors:
ContributionNameEmail
Thesis advisorSommerlad, PeterUNSPECIFIED
Depositing User: HSR Deposit User
Date Deposited: 30 Sep 2019 18:18
Last Modified: 30 Sep 2019 18:18
URI: http://eprints.hsr.ch/id/eprint/810

Actions (login required)

View Item View Item