• jSparrow 
  • Automatical Java Code Refactoring
  • Seamless Integration

REFACTORING

REFACTORING

Code refactoring is an important process to maintain existing computer code without changing external output.

jSparrow allows the advantages of code refactoring by increasing readability, effectively locate and exterminate Code Smells and Bugs, allows source-code maintainability and can apply company-standard architecture to code.

3 Reasons to refactor code and increase software quality

3 Reasons to refactor code and increase software quality

clean code

Bad code can function. However, it costs companies time and effort to work with bad code.

Getting rid of “code smells” by using coding principals, best practices and efficient formatting increases readability and therefore longevity of source code, and makes it that much easier for new developers to join development team.

jSparrow is the best refactoring investment for the future.

productivity

Our philosophy is to enable developers to work on new tasks and developments. Repetitive development tasks, that can be automated, should be automated.

Just as it is in the industry, the combination of (machine) automation and human input proofs to be very effective:

Let developers do what they are good at (coming up with individual solutions) and let computer automation do what it is good at (repetitive and precise tasks).

Use jSparrow for the refactoring and increase your developers productivity today!

code quality

Low quality code means that a technical debt has been accumulated. Making it more difficult to change software, leading to longer development cycles and therefore higher cost.

Not only that, but development has increased risk of introducing new bugs in new features. Improving code quality through refactoring means increasing maintainability and reducing the risk of introducing new bugs.

jSparrow is a powerful tool to improve code quality and reduce technical debt. See SonarQube metrics!

jSparrow is available for:

  1. Why jSparrow

    jSparrow is the only user-guided Java refactoring tool.

    By owning a license of jSparrow you can effectively apply coding conventions,
    remove code smells, improve readability of your code and
    upgrade your dated Java code to newer Java versions as well as
    the possibility for you to stay up to date with Company standards.

  2. Use Stream::Filter

    Rule:
    1. Replace For-Loop with Stream::forEach

    Enhanced For-Loops can be replaced by forEach().

    2. Use Stream::filter

    If-Statements making up the entire execution block of a Stream::forEach method can be transformed into a call to Stream::filter. This only applies if there are no other statements passed as arguments to forEach(). filter() can be used with other stream functions and improves readability.

    3. Remove Lambda Expression Parenthesis

    If the body of a Lambda statement contains only a single expression braces are optional. It can be reduced to a lambda expression by removing the parenthesis.
  3. Replace for by stream::forEach

    Rule Names:
    Replace For-Loop with Stream::forEach
    If-Statements making up the entire execution block of a Stream::forEach
    method can be transformed into a call to Stream::filter. This only applies if there
    are no other statements passed as arguments to forEach(). filter() can be used
    with other stream functions and improves readability.

    Remove Lambda Expression Parenthesis
    If the body of a Lambda statement contains only a single expression braces are
    optional. It can be reduced to a lambda expression by removing the parenthesis.

    Replace Expression Lambda with Method Reference
    This rule simplifies expression lambdas by using method reference.

  4. local var type inference

    Rule Name:
    Use Local Variable Type Inference

    Rule Description:
    Replaces the declaration type of the local variables by the ‘var’ keyword.

  5. Multicatch

    Rule Name:
    Use Multi-Catch

    Rule Description:
    Java 7 introduced the possibility to merge multiple catch clauses into a single
    multi-catch clause. Automatic merging is only possible if the catch statements
    are identical. Using this rule reduces clutter and improves readability.

  6. index of contains

    This rule replaces calls to indexOf() on instances of String or Collection with calls to the contains() method.
  7. anymatch

    Replaces occurrences of enhanced for-loops which are only used to initialize or return a boolean variable with Stream::anyMatch. The stream syntax is more concise and improves readability.


6 Reasons to install jSparrow

6 Reasons to install jSparrow

jSparrow makes it possible to select various quality aspects to improve your projects in a safe way.

Automatical Factoring

Improve automatical depricated Java Sources with better Java methods.

Reliable Code Management

Control with few clicks the source and choose the rules to apply.

Seamless Integration

Choose your preferred way, easily integrated in the Eclipse IDE or into the Maven build process.

Source Code Analyzer

Monitor Java source code quality and track your technical debt for outdated and insecure methods.

Legacy Java

Maintaining software systems up to date is essential to keep operating businesses running.

Cost Reduction

Saving time with automatic upgrades enables you to implement new features and launch interesting new projects.

47
Rules Existing
25
Favorited by People
111
Download Count Per Month
ANNUAL LICENSE

ANNUAL LICENSE

Your license include all releases of jSparrow within the period of validity.

139€ – 12 Months

Eclipse
Eclipse compatible

All Rules are appliable

SINGLE USER

150€ – 12 Months

Maven
Maven compatible

All Rules are appliable

SINGLE USER

[Buy 5 licenses or more for a discount!]

250€ – 12 Months

Maven
Maven compatible

All Rules are appliable

FLOATING LICECENSE; MULTIPLE USERS

Your jSparrow license extends automatically every year -unless you cancel the subscription.
You can correct this subscription according the terms and conditions of our trading partner.
You can get the trial version by installing the plugin via your eclipse tool.
Contact

Contact

IF YOU HAVE ANY QUESTIONS, FEEL FREE TO CONTACT US.



Headquarters
3001 Mauerbach, Hauptstraße 132
Post Office
1040 Wien, Rechte Wienzeile 37

Phone

Tel: +43 (0)1 97 11 319 / +43 (0)1 92 95 180

Fax

Fax: +43 (0)1 92 95 180

E-Mail

office@jsparrow.eu