Item logo image for RAID: Refactoring-aware and Intelligent Diffs

RAID: Refactoring-aware and Intelligent Diffs

ExtensionDeveloper Tools27 users
Item media 3 screenshot
Item media 1 screenshot
Item media 2 screenshot
Item media 3 screenshot
Item media 1 screenshot
Item media 1 screenshot
Item media 2 screenshot
Item media 3 screenshot

Overview

Adds refactoring annotations to GitHub diff

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 An example of Pull Request with extracted refactorings can be viewed here: https://github.com/rodrigo-brito/refactoring-aware-diff/pull/5/commits BUG REPORTS: https://github.com/rodrigo-brito/refactoring-aware-diff/issues

0 out of 5No ratings

Google doesn't verify reviews. Learn more about results and reviews.

Details

  • Version
    0.0.26
  • Updated
    January 3, 2021
  • Offered by
    Rodrigo Brito
  • Size
    320KiB
  • Languages
    English
  • Developer
    Email
    rodrigo_brito@live.com
  • Non-trader
    This developer has not identified itself as a trader. For consumers in the European Union, please note that consumer rights do not apply to contracts between you and this developer.

Privacy

RAID: Refactoring-aware and Intelligent Diffs has disclosed the following information regarding the collection and usage of your data.

RAID: Refactoring-aware and Intelligent Diffs handles the following:

User activity

This developer declares that your data is

  • Not being sold to third parties, outside of the approved use cases
  • Not being used or transferred for purposes that are unrelated to the item's core functionality
  • Not being used or transferred to determine creditworthiness or for lending purposes
Google apps