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

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!