# статический анализ

Published articles for статический анализ.

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## Зачем CI/CD тестировщикам?

DevFeed: [Зачем CI/CD тестировщикам?](<https://devfeed.tech/articles/ci-cd-23951.md>)

Original publisher: [Read original article](<https://habr.com/ru/companies/JetBrains/articles/650757/>)

Author: alexpshe (JetBrains)

Published: 2022-02-10T11:18:13Z

Content type: tutorial

Language: ru

Sources: [JetBrains RU](<https://devfeed.tech/sources/jetbrains-ru.md>)

Topics: [CI/CD](<https://devfeed.tech/topics/cicd.md>), [ci](<https://devfeed.tech/topics/ci.md>), [Code](<https://devfeed.tech/topics/code.md>)

Tags: [ci](<https://devfeed.tech/tags/ci.md>), [ci-cd](<https://devfeed.tech/tags/ci-cd.md>), [code](<https://devfeed.tech/tags/code.md>), [code-style](<https://devfeed.tech/tags/code-style.md>), [qa](<https://devfeed.tech/tags/qa.md>), [quality](<https://devfeed.tech/tags/quality.md>), [quality-control](<https://devfeed.tech/tags/quality-control.md>), [qualitygates](<https://devfeed.tech/tags/qualitygates.md>), [tag-9ec75300b635](<https://devfeed.tech/tags/tag-9ec75300b635.md>), [tag-e932065bc8da](<https://devfeed.tech/tags/tag-e932065bc8da.md>), [testops](<https://devfeed.tech/tags/testops.md>)

### AI overview

This article explains why CI/CD is useful to QA engineers and TestOps. It discusses automatic test execution and quality gates that prevent features from reaching product code until required checks pass, including builds, code style, and static analysis.

### Source excerpt

Сейчас компетентность в сфере TestOps является таким же базовым требованием к QA-инженерам, как и написание автоматизированных тестов. Причина -- в активном развитии CI/CD в проектах и необходимости QA-инженерам работать с пайплайнами (читать как "последовательность этапов в CI/CD") и даже внедрять свои. Так почему же CI/CD -- отличный инструмент контроля качества? Давайте разбираться. Читать далее

## Making Kotlin Constant-Expression Analysis Useful in IntelliJ IDEA

DevFeed: [Making Kotlin Constant-Expression Analysis Useful in IntelliJ IDEA](<https://devfeed.tech/articles/article-23941.md>)

Original publisher: [Read original article](<https://habr.com/ru/companies/JetBrains/articles/586890/>)

Author: tagir\_valeev (JetBrains)

Published: 2021-11-02T10:18:04Z

Content type: article

Language: ru

Sources: [JetBrains RU](<https://devfeed.tech/sources/jetbrains-ru.md>)

Topics: [IntelliJ IDEA](<https://devfeed.tech/topics/intellij-idea.md>), [Kotlin](<https://devfeed.tech/topics/kotlin.md>), [Java](<https://devfeed.tech/topics/java.md>)

Tags: [idea](<https://devfeed.tech/tags/idea.md>), [intellij](<https://devfeed.tech/tags/intellij.md>), [intellij-idea](<https://devfeed.tech/tags/intellij-idea.md>), [java](<https://devfeed.tech/tags/java.md>), [kotlin](<https://devfeed.tech/tags/kotlin.md>), [tag-9ec75300b635](<https://devfeed.tech/tags/tag-9ec75300b635.md>), [tag-c5a1967375ea](<https://devfeed.tech/tags/tag-c5a1967375ea.md>)

### AI overview

The article discusses the development of constant-expression inspection for Kotlin in IntelliJ IDEA 2021.3. The inspection reuses the Java analyzer's data-flow analysis to identify expressions that always evaluate to the same value, while reducing warnings that are technically correct but unhelpful in normal code.

### Source excerpt

Одна из проблем статического анализа в том, что его легко сделать умнее, чем надо. В результате он начинает выдавать предупреждения в таком коде, который человеку кажется нормальным. И так и хочется сказать анализатору "Отстань, зануда! Сильно умный что ли?" Я в очередной раз почувствовал вкус всего этого, когда работал над поиском константных выражений для Kotlin. Ранее такой анализ был для Java, но для Kotlin он впервые появится только в следующей версии IntelliJ IDEA 2021.3. Инспекция базируется на анализе потока данных и находит в коде выражения, которые всегда равны одному и тому же. Изначально такая инспекция на Java сообщала только о логических выражениях, которые всегда равны true или false. Потом мы осторожно расширили её, и она стала сообщать ещё и о выражениях, которые всегда равны null или 0. Было решено проделать тот же путь для Kotlin. Читать дальше ->