RAID: Refactoring-aware and Intelligent Diffs

Adds refactoring annotations to GitHub diff

RAID: Refactoring-aware and Intelligent Diffs - Chrome Extension

RAID: Refactoring-aware and Intelligent Diffs is a Chrome extension that enriches GitHub code review by adding refactoring annotations to the diff results. It seamlessly communicates the reason behind the added/removed lines of code, enhancing diff understanding and increasing the efficiency of code review.
Install from Chrome Web Store

Extension stats

Users: 23
-4
Version: 0.0.26 (Last updated: 2021-01-03)
Creation date: 2020-07-04
Risk impact: High risk impact
Risk likelihood:
Manifest version: 2
Permissions:
  • tabs
  • storage
  • activeTab
  • https://github.com/*
  • https://api.github.com/*
  • https://refdiff.brito.com.br/*
Size: 327.68K

Other platforms

Not available on Android
Not available on Firefox
Not available on Edge
Want to check extension ranking and stats more quickly for other Chrome extensions? Install Chrome-Stats extension to view Chrome-Stats data as you browse the Chrome Web Store.

Extension summary

Code review is a key practice in modern software development. Currently, this practice is performed using textual diff tools, such as the one provided by GitHub. However, diff results can easily become complex and hard to understand. Refactorings, for example, are not represented at all in diff results. This increases diff understanding because reviewers need to infer themselves that a given group of added and removed lines of code represent, for example, an extract method.

RAID is a tool pipeline that seamlessly enriches GitHub diff results with refactoring information. This pipeline has three key components:

  • RefDiff: a tool to detect refactoring operations in commits. In our architecture, we rely on GitHub actions to automatically execute RefDiff after each Pull Request.
  • An external server, that collects the list of refactorings produced by RefDiff.
  • A Chrome plug-in that seamlessly annotates diff chunks associated to refactorings. As we described, the goal is to easily communicate to developers the reason behind the added/removed lines of code.

Source Code: https://github.com/rodrigo-brito/refactoring-aware-diff

INSTALLATION

  • Install Refactoring-Aware Review Chrome Extension
  • Include Refactoring-Aware Diff Action in GitHub CI (Available in Github description)
  • Submit a new Pull Request to test the extension
See more

Extension safety

Risk impact

RAID: Refactoring-aware and Intelligent Diffs requires some sensitive permissions that could impact your browser and data security. Exercise caution before installing.

Risk likelihood

RAID: Refactoring-aware and Intelligent Diffs has earned a fairly good reputation and likely can be trusted.

Upgrade to see risk analysis details

Promo images

RAID: Refactoring-aware and Intelligent Diffs small promo image
Small promo image

Similar extensions

Here are some Chrome extensions that are similar to RAID: Refactoring-aware and Intelligent Diffs: