Twitter open sourced ‘Diffy’, a code quality tool

0
1004
photo by Scott Beale / Laughing Squid This photo is licensed under a Creative Commons license. If you use this photo within the terms of the license or make special arrangements to use the photo, please list the photo credit as "Scott Beale / Laughing Squid" and link the credit to http://laughingsquid.com.
Learn on Udemy Today!

Twitter open sourced ‘Diffy’, a new tool for developer to identify bugs in their service implementation.

Twitter used this tool in their development process for many years. Since this has been open sourced, now we all can use and benefited from the tool.

As a developer we have used lots of code quality tools like Findbugs, PMD and Checkstyle etc… Then why we need an another tool to spot the potential bugs in our code?

Diffy is NOT a tool which will run through our code and identify the bugs. Instead it will act as a proxy in between our client and server, and hit the different versions of our application.

Finally the Diffy will compare the responses returned from our application running in different containers (For example v1 and v2) and provide the feedback. If the responses are not different then Diffy will assume there won’t be any potential impact with our latest code. Otherwise it will show the difference identified in the response and warn the developers.

Feeling good? Yeah this will definitely reduce our time for finding the bugs in our latest code.

Please visit https://github.com/twitter/diffy for more informations.

SHARE
Previous articleTime saving hacks for webservice development
Next articleRESTful Java 101
Thamizharasu is a Java developer living in India. He is writing about Java programming, RESTful web services and frameworks. He also loves working with Web API, Elastic search and Firebase. Currently he is a Madras JUG lead and you can follow him on Twitter @zarub2k