Cargando…
Static Code Analysis with Gitlab-CI
Static Code Analysis is a simple but efficient way to ensure that application’s source code is free from known flaws and security vulnerabilities. Although such analysis tools are often coming with more advanced code editors, there are a lot of people who prefer less complicated environments. The ea...
Autor principal: | |
---|---|
Lenguaje: | eng |
Publicado: |
2016
|
Materias: | |
Acceso en línea: | http://cds.cern.ch/record/2210418 |
_version_ | 1780951801502105600 |
---|---|
author | Datko, Szymon Tomasz |
author_facet | Datko, Szymon Tomasz |
author_sort | Datko, Szymon Tomasz |
collection | CERN |
description | Static Code Analysis is a simple but efficient way to ensure that application’s source code is free from known flaws and security vulnerabilities. Although such analysis tools are often coming with more advanced code editors, there are a lot of people who prefer less complicated environments. The easiest solution would involve education – where to get and how to use the aforementioned tools. However, counting on the manual usage of such tools still does not guarantee their actual usage. On the other hand, reducing the required effort, according to the idea “setup once, use anytime without sweat” seems like a more promising approach. In this paper, the approach to automate code scanning, within the existing CERN’s Gitlab installation, is described. For realization of that project, the Gitlab-CI service (the “CI” stands for "Continuous Integration"), with Docker assistance, was employed to provide a variety of static code analysers for different programming languages. This document covers the general system architecture as well as introduces its configuration and usage examples. |
id | cern-2210418 |
institution | Organización Europea para la Investigación Nuclear |
language | eng |
publishDate | 2016 |
record_format | invenio |
spelling | cern-22104182019-09-30T06:29:59Zhttp://cds.cern.ch/record/2210418engDatko, Szymon TomaszStatic Code Analysis with Gitlab-CIComputing and ComputersStatic Code Analysis is a simple but efficient way to ensure that application’s source code is free from known flaws and security vulnerabilities. Although such analysis tools are often coming with more advanced code editors, there are a lot of people who prefer less complicated environments. The easiest solution would involve education – where to get and how to use the aforementioned tools. However, counting on the manual usage of such tools still does not guarantee their actual usage. On the other hand, reducing the required effort, according to the idea “setup once, use anytime without sweat” seems like a more promising approach. In this paper, the approach to automate code scanning, within the existing CERN’s Gitlab installation, is described. For realization of that project, the Gitlab-CI service (the “CI” stands for "Continuous Integration"), with Docker assistance, was employed to provide a variety of static code analysers for different programming languages. This document covers the general system architecture as well as introduces its configuration and usage examples.CERN-STUDENTS-Note-2016-126oai:cds.cern.ch:22104182016-08-26 |
spellingShingle | Computing and Computers Datko, Szymon Tomasz Static Code Analysis with Gitlab-CI |
title | Static Code Analysis with Gitlab-CI |
title_full | Static Code Analysis with Gitlab-CI |
title_fullStr | Static Code Analysis with Gitlab-CI |
title_full_unstemmed | Static Code Analysis with Gitlab-CI |
title_short | Static Code Analysis with Gitlab-CI |
title_sort | static code analysis with gitlab-ci |
topic | Computing and Computers |
url | http://cds.cern.ch/record/2210418 |
work_keys_str_mv | AT datkoszymontomasz staticcodeanalysiswithgitlabci |