How to install Scertify™ Refactoring E...

How to install Scertify™ Refactoring Eclipse Plugin

Posted by Tocea in Scertify™ Code Downloads on December 17, 2012 with Comments Off









In order to start tackling Technical Debt through Code Refactoring with with Scertify™, please follow the installation steps described below.

*** IMPORTANT NOTICE ***
Trials for this product are temporarily unavailable, since a major version is coming soon. Stay tuned!.

1. Install Scertify™ Refactoring Eclipse plugin

NOTE: In order to ensure the best experience with our products, you’ll need Eclipse Juno to proceed to Scertify Eclipse plugins installation.

To install Scertify™ Refactoring Eclipse plugin, simply install the new update site (in Eclipse menu Help →
Install new software → Add) :

● Name: Scertify Refactoring plugin
● Location: http://dl.tocea.fr/refactoring/update_site/repository/

Click to enlarge

If you have already installed the Scertify™ Eclipse plugin in your Eclipse you can simply update it by clicking on (Help → Check for update to obtain the update).

In some cases, a warning message might prompt about authenticity of the software. Click OK to continue the installation.

Once plugin is installed and your Eclipse restarted, go to the Scertify™ preferences (menu Window → Preferences → Scertify Refactoring).

IMPORTANT: If you have an internet connection through a proxy, be sure to have it well configured in Eclipse.

2. Get your license key

In order to get your Scertify™ license key, you need to create an account in http://cloud.tocea.com. If you already have created your account to try other products, please skip this step and go to step #2.

Click to enlarge

Fill the registration form with your information. Once you submit the form, 2 emails will be sent to you:

  • The first one (“Your license key for product Scertify demo”) contains your trial license key that will be used for the trial version of Scertify™
  • The second one contains login/password for your account at cloud.tocea.com.
    Think about checking your spam folder if you did not get these messages within 5 minutes.

3. Authentification

Add your login/password for the Tocea cloud account :

● Login: the e-mail address used when creating your account to Cloud.Tocea.com
● Password: the Scertify™ trial license key you received (“Your license key for product Scertify demo”)

Specify Local Scertify’s url to: http://cloud.tocea.com/ScertifyDL/api/install/demo/

Click to enlarge

4. Performing a Code Refactoring

To perform a code refactoring of a file or set of files, right-click on a file (or Shift+Click on files, then right-click) in the Package Explorer view, → Scertify Refactoring → Refactor My Code.

Click to enlarge

Select the programming rules you wish to apply for code refactoring. In the trial version, 4 refactoring rules are available:

  • PositionLiteralsFirstInComparisons

    In case of String comparison with a literal, place the literal first. e.g:

  • InefficientNumberConstructor

    Replace new Integer(value) by Integer.valueOf(value)

  • IfElseStmtsMuseUseBraces

    Add braces to conditions not using ones

  • LocalVariablesCouldBeFinal

    Add a final to local variable

Click to enlarge

For a given code statement, only one rule is applied at a time. So, if a code statement needs two corrections, you need to perform two refactoring.

Requirements

In order to ensure the best experience with our products, you’ll need Eclipse Juno to proceed to Scertify Eclipse plugins installation.

Licenses

Before using Scertify™, please read our license agreement.

If you’re using Checkstyle and PMD rule repositories, please refer to their license agreement listed below:

Give us your feedback








  • Verification


    Comments are closed.

    Your cart

    • No products in the cart.
    Scertify™ is a suite of tools dedicated to development teams, designed to continuously track and eliminate software-related risks, through code quality & architecture compliance monitoring associated with computer-aided refactoring capabilities.
    » Get your trial version!

    Who we are?

    Tocea provides Development Teams with innovative solutions enabling them to continuously control and improve the quality and integrity of their applications. We support developers, architects and project managers in their permanent effort to tackle IT debt and costs, by providing them with unique information on Code & Architecture Quality and some exclusive computer-aided refactoring features.

    LoadingRetrieving latest tweet...

    Back to Top

    2013 © All rights reserved. Tocea SA. Legal Notice