Code Insight

Available for: Java, Kotlin, PHP, JavaScript and Python

Static code analysis

Upsource is designed to make code reviews as efficient as possible by giving developers the same smart features they are accustomed to using in their IDEs. Having IntelliJ IDEA in its core, Upsource boasts in-depth knowledge of Java, JavaScript, PHP, Python, and Kotlin code. Specifically, it can execute server-side static code analysis. Similar to JetBrains IDEs, Upsource shows a code analysis status indicator, which is green when Upsource finds no code issues in the changed file, yellow when warnings are detected, or red when the file contains compilation errors.

Find Usages & usages diff

Not only can you search for code usages in a given revision, but you can also compare code usages between revisions in a side-by-side diff view. Upsource will look for usages in both revisions and indicate which were added, which were removed, and which remain unchanged between the two revisions.

Code-aware navigation

In addition to code analysis, Upsource provides code-aware navigation and search for usages. This gives development teams much-needed additional context when reviewing code changes. They can quickly see whether and how changed code is used throughout the project, and get hints from code analysis as to whether a revision potentially introduces dangerous changes.

External Code Analysisnew

Upsource is renowned for having a built-in IntelliJ IDEA engine that we use, among other things, to show inspections in code. However, there are a lot of other code analysis tools on the market and we don’t want to limit you just to inspections from IntelliJ. That’s why Upsource supports external inspection runners, like SonarQube, as well as ReSharper inspections bundled with TeamCity. The analysis is performed on your CI server and the results are presented right in Upsource UI.

ReSharper Code Inspections