Refactoring-Aware-Commit-Review is a useful tool that visualizes refactoring information directly on GitHub.

Latest Version

Version
2.0.8
Update
November 13, 2024
Size
117KiB
Developer
Category
Users
405
Rating
3.6 ★
Manifest Version
3
Web Store Status
Languages Support
English
See more
Permissions
Storage
See more

Refactoring Aware Commit Review Extension

This extension integrates refactoring information into GitHub repositories commits written in Java.

The extension was created to provide more advanced visualization of the refactoring changes and to make the inspection of source code changes easier for developers to improve their productivity.

USER GUIDE:

• open a GitHub commit webpage on Chrome browser (ex: github.com/user/project/commit/id or github.com/user/project/pull/id/commits/id)

(first-time use only: right-click on the extension icon on the top right of the browser, select \"options\", then set the waiting-time you want).

• got to the commit page and click on the extension icon. You should see a loading spinning circle.

• upon getting the result, you will see a button at the bottom of the page, indicating whether or not there's any refactoring been made to the commit.

IF YES, then these are some hints:

• hover the mouse over the \"Refactoring\" button; you will see all Refactoring types that are applied in the commit, with an accessible link that takes you to the exact location of the corresponding Refactoring method in the code.

• on the left side of the page, you will see a navigation bar with colored bubbles; each colored bubble indicates the existence of its type (i.e. its meaning; you can see what each bubble means by hovering over it).

• for \"same code\" methods (those in blue), you can see where they are exactly extracted to/from by: either clicking on the code itself in the commit, or clicking the link inside the Refactoring links at the bottom. A corresponding arrow will appear and direct you to the exact location of the extracted method.

• every colored method has a toolbar that appears on top of it just upon hovering over the code, indicating the type of the method. Moreover, Yellow code is an indication for a method call, so its toolbar is an accessible link that will take you (when it's pressed) to the Refactoring method it's calling.


Acknowledgments and Credits:

The integrated refactoring information used are obtained from:
RefactoringMiner (https://github.com/tsantalis/RefactoringMiner).

The extension was a project funded by The Natural Sciences and Engineering Research Council of Canada (NSERC) and the Department of Computer Science and Software Engineering of Concordia University.

Questions/Recommendations:
The project is currently maintained by Victor Veloso (Ph.D. Concordia University)
Please send us an email at: [email protected] or [email protected]
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx", "name": "Refactoring Aware Commit Review", "version": "2.0.8", "description": "Refactoring-Aware-Commit-Review is a useful tool that visualizes refactoring information directly on GitHub.", "permissions": [ "storage" ], "host_permissions": [ "https://github.com/*" ], "options_page": "options.html", "background": { "service_worker": "service-worker.js" }, "content_scripts": [ { "matches": [ "https://github.com/*/*/commit/*", "https://github.com/*/*/pull/*/commits/*" ], "js": [ "content.js" ] } ], "web_accessible_resources": [ { "resources": [ "script.js", "style.js", "pin.png", "unpin.png" ], "matches": [ "*://*/*" ] } ], "action": { "default_icon": "refactoring.png" }, "manifest_version": 3}
Read more

How to download and manually install Refactoring Aware Commit Review extension for Chrome

Looking for a way to install Refactoring Aware Commit Review extensions for Chrome, you can search for them in the Chrome Web Store, clicking the "Add to Chrome" button, and following the straightforward process.

However, you may need to install Refactoring Aware Commit Review extensions manually, this article outlines two simple methods to effortlessly install Refactoring Aware Commit Review extensions, whether they come as unpacked folders in compressed formats like .zip or as .crx files.

Method 1: Download Refactoring Aware Commit Review extension and manually install through Drag &Drop

If you ever need to manually install a Refactoring Aware Commit Review extension for Chrome, don't worry, it's a simple process. Just follow these easy steps, and you will have your extension ready to use in no time.

Step 1: Download the Refactoring Aware Commit Review Extension by clicking the "Download CRX" button on the website.

Look for the Refactoring Aware Commit Review extension you wish to install. Go to the website and download the Refactoring Aware Commit Review extension package, which is usually a .CRX file and comes in a zipped file. Here ".crx" file is the format for Refactoring Aware Commit Review extension that contains all the data.

Step 2: Extract &Arrange Files

Once the file is downloaded, extract that file into its own folder. Similarly, give that extension files a permanent home. In other words, keep it in a folder that you don't accidentally delete it because these files will be needed to make that extension work.

Step 3: Go to the Chrome Extensions Page

Open Google Chrome and in the address bar, type chrome://extensions; it will open the Google Chrome extensions page. Make sure that "My extensions" is selected in the sidebar.

Step 4: Drag and Drop the Extension

Now, go to the folder where you extracted the Refactoring Aware Commit Review extension and drag &drop the extension file from there anywhere onto the extension page within Google Chrome.

Step 5: Complete the Installation

Once you drag and drop the extension file, follow the steps that Google Chrome takes you through. Similarly, if the extension file is of .crx file format, you will be required to review the permissions and then add the extension.

Now, you can manage that added extension as you would like to with any other Chrome extension that you added through Chrome Webstore. Its icon will also appear in the Google Chrome Menu on the right side of the address bar once you activate it.

Method 2: Download Refactoring Aware Commit Review extension for Chrome and install in Developer Mode

This is another method to install Refactoring Aware Commit Review extension manually, but the twist is that here, you install by enabling the developer mode option provided in Google Chrome. This mode is commonly used for testing extensions or running unpublished tools.

Step 1: Download the Refactoring Aware Commit Review extension file

Select and download the Refactoring Aware Commit Review extension by clicking the 'Download CRX' button on the website.

Step 2: Extract the downloaded contents

Convert the file to a ZIP file if it is in CRX format then extract the Refactoring Aware Commit Review extension zip file or folder that you downloaded. Make sure you extract it using the same folder name and keep it safely in another folder, so you don't delete it by mistake. The extracted folder will be needed to keep your Refactoring Aware Commit Review extension running.

Step 3: Open Chrome Extension Setting Page

In the address bar of Google Chrome, type chrome://extensions and open the Chrome Extension Page.

Step 4: Enable Developer Mode

After opening the Chrome Extension page, look at the top right side, and you will find the toggle option of "Developer mode."Simply enable that developer mode option.

Step 5: Load the Unpacked Extension

Once you enable the developer mode option, you will see the menu of Load Unpacked, Pack Extensions and Update. From that, select the option "Load unpacked."

Step 6: Select the Extension Folder

Once the pop-up opens upon clicking Load unpacked, select the Refactoring Aware Commit Review extension directory and click on the "Select Folder "button.

Step 7: Confirm and Install

After you select an extension folder of a Google Chrome extension you're installing manually, confirm its installation for the final time and let the installation complete.

Conclusion

Here we've made a step-by-step guide on How to manually install Refactoring Aware Commit Review extension in 2 ways. We hope this guide proves helpful.

Similar Extensions

icon

Kurrant.ai Extension · Productivity 405 1 ★ 2.29MiB

icon

GitRev Game Extension · Developer Tools 405 1 ★ 1.29MiB

icon

A-Tree - Github review helper Extension · Developer Tools 405 4 ★ 573KiB

icon

UFCGPro Extension · Productivity 405 14 ★ 441KiB

icon

Babel x Discord Plugin Extension · Productivity 405 2 ★ 6.18KiB

icon

Dream100 Extension · Productivity 405 7 ★ 2.02MiB

icon

Open ISBN Extension · Productivity 405 0 ★ 45.68KiB

icon

Google Quick Create Matrix Extension · Productivity 405 3 ★ 94.83KiB

icon

RAID: Refactoring-aware and Intelligent Diffs Extension · Developer Tools 405 0 ★ 320KiB

icon

GitHub Gloc Extension · Developer Tools 405 53 ★ 955KiB

icon

Semantic Code Reviews Extension · Developer Tools 405 1 ★ 287KiB

icon

Academist Extension · Productivity 405 6 ★ 5.0MiB

icon

Math Suite Extension · Productivity 405 0 ★ 2.45MiB

icon

Localise Times Extension · Productivity 405 9 ★ 62.84KiB

icon

Feedly Enhancer Extension · Productivity 405 3 ★ 157KiB

icon

MuukTest Test Automation App Extension · Developer Tools 405 5 ★ 1.88MiB

icon

Wing Scholar summary add-on Extension · Productivity 405 1 ★ 435KiB

icon

Course Champ Extension · Productivity 405 11 ★ 1.43MiB

icon

Omnibang Extension · Accessibility 405 2 ★ 9.33KiB

icon

Add Search to Google Fonts in Webflow Extension · Accessibility 405 4 ★ 13.87KiB

icon

Copy X Extension · Productivity 405 2 ★ 1.69MiB

icon

MentiPlus Extension · Social & Communication 405 0 ★ 1.93MiB

icon

Sherlock Holmes Book PDF Extension · Productivity 405 0 ★ 660KiB

icon

Gradepeek Extension · Productivity 405 9 ★ 1.48MiB

User reviews

icon

John Myers (ID: 00000031b39089af) Voted 1 ★ - Updated 09/17/2022 Tool is broken/abandoned. Calls into backing Concordia server timeout.

icon

Z Z (ID: 00000021df2576fa) Voted 2 ★ - Updated 04/07/2022 I'm confused on how to use it for a commit at https://github.com/apache/kafka/commit/322a065b9055649c713baf43f154052d45cd1588 When I select to click on the extension, I could not see any message on what's going on. Besides it also not giving me a result. I wish there could be a more clear instruction on how to use it

icon

Olexandre Melnyk (ID: 00000028f3ad876c) Voted 5 ★ - Updated 10/12/2019 everything is new like side bubbles, arrows, links, different colors...much better

icon

Batoul Farhat (ID: 0000004b57905253) Voted 5 ★ - Updated 10/03/2019 I like it. It works perfectly with my commits. As I see, it supports only commits that are written in Java (which is great, and most of my commits are java-based), but is it possible to upgrade it so that it works with javascript commits (and even Python) as well? Thanks.

icon

mike mike (ID: 0000004bd1d45d61) Voted 5 ★ - Updated 10/03/2019 Very helpful, saved me a lot of time understanding a huge code I've written a year ago!