
圖 1.? 標明測試階段的V模型
在[7]中,作者使用三種常見的靜態分析工具,對AUTOSAR軟件組件的可測試性進行了研究。然而,他們只評估了有關C語言編程的常見錯誤,而沒有評估與AUTOSAR配置有關的錯誤。因此,最近提出了專門為測試AUTOSAR項目設計的靜態測試方法。? 在教育背景下,為學習者提供一種簡單易懂的方式來評估他們自己的表現或進步也很重要。此外,還需要一個指標來比較相互競爭的實施方案,以便選擇應該被看好的解決方案進行進一步測試。因此,在本文中提出了一個在汽車軟件工程教育背景下的AUTOSAR項目的靜態分析方法。與一般用途的提示器一樣,這種方法提供了質量指標和可能的錯誤檢測,但以AUTOSAR特定的方式,使其對汽車領域的學習者和開發者更加有用。此外,還會根據檢測到的問題提供糾正建議。本文展示了如何利用這些靜態分析來評估和提高AUTOSAR項目的質量。



其結果是一個單一的值,它提供了一個簡明的方法來快速評估AUTOSAR項目在標準一致性方面的質量。在下一節中,將展示如何使用一致性值和級別來提高資源利用率和開發人員在基于AUTOSAR的汽車開發和測試基礎設施中的反饋。
IV.應用和用例






右邊的條形圖顯示了運行靜態分析后的CL值。可以看出,在開發過程中,不同架構層的組合獲得了最大的改善。這一階段對學生來說往往是一個挑戰,因為它需要對整個標準有深刻的了解,包括其方法和異質的AUTOSAR工具鏈。
V.結論和未來的工作
參考文獻:
[1]? S. Mathur and S. Malik, “Advancements in the v-model,” International?Journal of Computer Applications, vol. 1, no. 12, 2010.
[2]? B. Hardung, T. K?lzow, and A. Krüger, “Reuse of software in distributed?embedded? automotive? systems,”? in? Proceedings? of? the? fourth? ACM international conference on Embedded software - EMSOFT '04.? ? ACM Press, 2004.
[3]? K. Juhnke, M. Tichy, and F. Houdek, “Challenges concerning test case?speci?cations in automotive? software testing: assessment of frequency and criticality,” Software Quality Journal, nov 2020.
[4]? N. Englisch, R. Bergelt,? and W. Hardt,? “An Educational Platform? for?Automotive Software Development and Test,” in 2020 IEEE 32nd Confer- ence on Software Engineering Education and Training (CSEE&T).? IEEE, nov 2020.
[5]? A. Leitner, R. Mader, C. Kreiner, C. Steger, and R. Weiss, “A development?methodology for variant-rich automotive software architectures,” e? &? i Elektrotechnik und Informationstechnik, vol. 128, pp. 222–227, 2011.
[6]? P. Louridas, “Static code analysis,” IEEE Software, vol. 23, no. 4, pp.58–61, jul 2006.
[7]? A. Imparato, R. R. Maietta, S. Scala, and V. Vacca, “A comparative study?of static analysis tools for AUTOSAR automotive software components development,” in 2017 IEEE International Symposium on Software Reli- ability Engineering Workshops (ISSREW).? ?IEEE, oct 2017.
[8]? I.? Gomes,? P.? Morgado,? T.? Gomes,? and? R.? Moreira,? “An? overview? on?the static code analysis approach insoftware development,” Faculdade de Engenharia da Universidade do Porto, Tech. Rep., 2009.
[9]? R.? van? Megen? and? D.? B.? Meyerhoff,? “Costs? and? bene?ts? of? early?defect? detection:? experiences? from? developing? client? server? and? host applications,” Software Quality Journal, vol. 4, pp. 247–256, dec 1995.
[10]? J. Westland, “The cost of errors in software development: evidence from?industry,” Journal of Systems and Software, vol. 62, pp. 1–9, 2002.
[11]? P. Vitharana, “Defect propagation at the project-level: results and a post-hoc analysis on inspection ef?ciency,” Empirical Software Engineering, vol. 22, no. 1, pp. 57–79, nov 2015.
[12]? M. Kulenovic and D. Donko, “A survey of static code analysis methods?for security vulnerabilities detection,” in 2014 37th International? Con- vention on Information and Communication Technology, Electronics and Microelectronics (MIPRO).? ?IEEE, may 2014.
[13]? M. Courrier, H. Clergeau, A. Calvy, P. Favrais, and M. Lecat, “Autosar
bsw? in? real? life:? A? summary? of? the? last? years? starting? and? putting projects into production,” in Embedded RealTime Software and Systems (ERTS2012), Toulouse, France, Feb. 2012.
[14]? N. Englisch, R. Mittag, F. H?nchen, O. Khan, A. Masrur, and W. Hardt,
“Ef?cient Static Testing of AUTOSAR Software supported by an auto- matically created Knowledge Base,” in Proceedings of the 7th Conference on Simulation and Testing for Vehicle Technology, May 2016, pp. 87–97.
[15]? H.? Venkitachalam,? K.? A.? Powale,? C.? Granrath,? and? J.? Richenhagen,
“Automated Continuous Evaluation of AUTOSAR Software Architecture for Complex Powertrain Systems,” in INFORMATIK 2017, 15. GI Work- shop Automotive? Software Engineering, M. Eibl and M. Gaedke, Eds. Gesellschaft für Informatik, Bonn, 2017, pp. 1563– 1574.
[16]? D. Diekhoff, “AUTOSAR Basic Software for Complex Control Units,” in
Proceedings of the Conference on Design, Automation and Test in Europe, ser. DATE ’10.? ?3001 Leuven, Belgium, Belgium: European Design and Automation Association, 2010, pp. 263–266.
[17]? N. Englisch, A. Heller, U. Tudevdagva, J. Tonndorf-Martini, L. Gaitzsch,
and? W.? Hardt,? “Adaptive? Learning? System? in? Automotive? Software Engineering,” in Proceedings? of? the? 27th International? Conference? on Software, Telecommunications and Computer Networks (SoftCOM), 2019.
[18]? N.? Englisch,? F.? H?nchen,? F.? Ullmann,? A.? Masrur,? and? W.? Hardt,
“Application-Driven Evaluation of AUTOSAR Basic Software on Modern ECUs,” in Proceedings of the 13th IEEE/IFIP International Conference on Embedded and Ubiquitous Computing (EUC), October 2015, pp. 60– 67.
[19]? N. Englisch, O. Khan, R. Mittag, F. H?nchen, A. Heller, and W. Hardt,
“YellowCar Automotive MultiECU Demonstrator Platform,” in 15.? GI Workshop Automotive Software Engineering, 2017, pp. 1517– 1522.
分享不易,懇請點個【??】和【在看】