Static code analysis
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.
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.