Slides from my presentation at the Gerrit User Summit 2019 in Gothenburg, Sweden, where I showed how Softagram's automated patch set analysis can make code review easier and more enjoyable by visualizing dependency relations, pointing out impact areas, and more.
2. Impact visualizationArchitectural checks Code change insights
Gerrit User Summit 2019
Gothenburg, Sweden
Softagram is a DevOps tool which analyzes patch sets, and visualizes its
impact, checks for any architectural violations it may have introduced,
and provides some insights on the code change.
We also offer a desktop application which may be useful especially for archi-
tects who would like to browse an always up-to-date graphical representation
of their code base.
All this information is provided in an "impact report" which is posted
directly into the Gerrit change log.
3. Gerrit User Summit 2019
Gothenburg, Sweden
code review events each day
Roughly 100 Million pull request created yearly
based on GitHub/Bitbucket
One of our core values at Softagram is maintaining a good
balance between work and personal life. As developers it's
easy to see how fragile this balance can be - and how can it
not be fragile, when there are over 1 million code review
events worldwide each day?
4. Gerrit User Summit 2019
Gothenburg, Sweden
Automatically
to every patch set
Softagram automatically analyzes the changes introduced
by your patch set, and sends a visualized report directly to
your change log. The impact report includes valuable
information on your patch set's overarching effect on your
code base in the form of an easy-to-read dependency
graph.
5. Gerrit User Summit 2019
Gothenburg, Sweden
Automated
architecture checks
These red exclamation marks ! represent
architectural violations
The project administrator(s) can define dependency
rules, which must be followed by new changes. If
rules are not followed, the reviewer is notified.
Insights like
co-change file alert
Based on Git history, we determine if elements typi-
cally change together and look for possible 'hidden"
dependencies - that is, there might be no in- or out-
bound dependency relation between the elements,
but they might both be changed at the same time.
Co-change alerts make sure you haven't forgotten
to update hidden dependencies
Lets you know about hidden, logical dependencies.
Coming soon to the Gerrit integration:
+/- 1 reviews depending on whether a dependency
rule has been violated
Visualization of the
dependency changes
New elements and dependencies
Changed elements, can be basically any of kind of
change, even if in- or outbound dependencies
remain unaltered
A unique feature to Softagram, which shows
impacted areas. Even if code has not changed in
these areas, a code change somewhere else has
likely had an impact.
The detached box to the left represents a separated
repository - Softagram supports cross-repository
dependencies, as long as both repositories are
added to the same Softagram project.
Softagram also recognizes cross-language and
REST API dependencies through e.g. Spring and
Swagger annotations for Java and Flask for Python
(we can add support for other annotation systems,
just let us know what you would like to see!)
These impact areas are important areas to check
during code review, and Softagram presents them
to you without you having to hunt them down
yourself.
Removed elements and dependencies
(check previous slide)
6. Gerrit User Summit 2019
Gothenburg, Sweden
What this could mean for your organization?
Maybe you're at a company with 100 developers could easily have 1000-2000 code review events each
month. Or maybe you're part of a smaller team with only a few developers, but everyone needs to do some
code review for each other, without anyone being able to dedicate large portions of time to review.
Either way, Softagram allows your team to put more focus on development and maintaining your release
cycle, without having to compromise on your product's quality or on their personal lives,
which keeps your developers happy.
"Great milk comes from happy cows, and great code comes from happy developers"
7. Michael Watkins
michael.watkins@softagram.com
Softagram Open Source
As a friend of the open-source community, we are
proud to offer free automated impact
reports for open-source projects at no charge. There is
currently no open registration for our open-source ser-
vice, but if you would like to enable impact reports for
your project, contact us at support@softagram.com
and we will help you get started.
Softagram Cloud & Entreprise
Try out Softagram Cloud for free at
softagram.com. If you would like to trial our
on-premises enterprise solution, please contact
us at support@softagram.com.