Java development tool for optimalization of the code

I'm searching for a program, that would detect not used variables, methods, etc. in Java code. Can you help me to find such?

Why do you want a program to cover up poor program design?
The best solution to your problem is: don't declare variables you don't use, and don't write methods you don't use.
Additionally, you shouldn't copy and paste other code. If you must, read other people's code to get a good idea of how it works, then do it for yourself, if not just for the sake of keeping organized and not having any unused stuff.
As far as speed optimization goes (I know that's not what your question was about, but, for your information), you can compile with the -O option to take care of that. If you are worried about class file size, you can compile with the -g:none option to remove debugging information.
Jason

Similar Messages

  • Suggestions for the Oracle Developer Tools for VS2005

    I'd like to start a thread for constructive feedback of the Beta version of these Oracle Developer Tools for VS2005.
    First off, check the known issues here before posting:
    http://www.oracle.com/technology/software/tech/dotnet/odt10202rn.html
    So, here are my issues:
    - In the Oracle Explorer, when you right click on a large table and click "Retrieve Data..." it hangs the IDE until an apparent timeout value of 30 seconds, then shows a message box stating that "The query is taking a long time. Would you like to continue" ...waiting? I think the better approach here is to follow MS. In Menu Tools -> Options -> Database Tools -> DataConnections, there is a setting to limit SQL results to x number of rows. I think ODT should do one of the following. 1. Read this value and apply it. OR 2. Hardcode a value of 100 - 500 rows. 3. Add a setting similar to MS in the Options...
    - In the Oracle Explorer, when you right-click on a view and click "Design..." the code for the view opens, but is not very readable because the line breaks are interpreted a little boxes. After dumping it into a hex editor, you can see the little box characters are Linefeeds (Char(10)). If these are all replaced with Carriage Return+Linefeed (Chr(13) + Char(10)), and pasted back into the editor in VS2005, it works perfectly. Note: My Oracle 9i Server is running on the Linux platform.
    - I know this is a known issue, but this one's a biggie for me. Drag and drop is not supported from Oracle Explorer to the XML Schema Designer. Will Drag-and-Drop of tables generate TableAdapters as well with the Fill methods?
    - Pre-existing Triggers don't seem to be visible in the Oracle Explorer.
    Thanks,
    -Tony

    Hi
    I am new to Oracle but not to VS. I have downloaded and installed the newest tools for Developer, having first tried the install for VS2003.net (which refused to install on my VS 2005.) I got the beta download and installed it, but my oracle explorer shows nothing. Any attempt to add a connection results in an error ORA-12560:TNS:protocol adaptor error. I had the full install of 10g r2 on my notebook, but removed it and opted for the XE version. I removed the Oracle_Home environment variable prior to installing XE. I am trying to connect to the HR database, and the account is unlocked. I saw a reference to the tnsfiles file, and that seems to be the problem, but I don't know what to do about it. Thanks in advance to anyone who can offer help.
    Bruce
    [email protected]

  • Java Development Tool (JavaOne)

    Hi,
    I read on this site that Sun were going to announce a development tool for beginners to code in Java at the 2003 JavaOne conference. It is meant to be similar to VB IDEs to attract VB developers also and make it similar to MS IDEs.
    Can anyone point to a download site where I can download this tool or any links for more info.
    Thanks,
    RiZ

    Hi,
    I guess you are talking about Project Rave .
    For more information refer :
    http://wwws.sun.com/software/products/projectrave/
    -Amol

  • Are there any good tool for checking security risks, Code review, memory leakages for SharePoint projects?

    Are there any good tool for checking security risks, Code review, memory leakages for SharePoint projects?
    I found one such tool "Fortify" in the below link. Are there any such kind of tools available which supports SharePoint?
    Reference: http://www.securityresearch.at/en/development/fortify/
    Amalaraja Fernando,
    SharePoint Architect
    Please Mark As Answer if my post solves your problem or Vote As Helpful if a post has been helpful for you. This post is provided "AS IS" with no warrenties and confers no rights.

    Hi Amalaraja Fernando,
    I'm not sure that there is one more tool that combines all these features. But you may take a look at these solutions:
    SharePoint diagnostic manager
    SharePoint enterprise manager
    What is SPCop SharePoint Code Analysis?
    Dmitry
    Lightning Tools Check
    out our SharePoint tools and web parts |
    Lightning Tools Blog | Мой Блог

  • Microsoft Office Developer Tools for Visual Studio 2013 on Windows 10 Technical Preview

    Hi, I've never developed a plugin for Office before. I've downloaded the technical preview of Windows 10 and have it running via Boot Camp on my MacBook (Looks good! I'll buy it when it comes out). Obviously with this being in beta it's understandable that
    there are problems, so this is just a heads up on one particular problem. Maybe there's already a solution or workaround?
    I've downloaded Visual Studio 2013 Community Edition, brought a copy of Microsoft Office Home And Student 2013 and am currently in the process of installing Microsoft Office Developer Tools for Visual Studio 2013.
    The only problem though is that when I try to install it I get the following message:
    http://s22.postimg.org/dxh1gtra9/Install_Problem_Office_Plugin_Tools.png
    Here is the log:
    http://pastebin.com/7wWkSfjF
    I also tried to download the file directly and run that.
    http://s3.postimg.org/tj9vb660j/Install_Problem_Office_Plugin_Tools2.png
    I right clicked on the file and noticed an options called "Troubleshoot Compatibility". There was a wizard, and I ran through the wizard a number of times through different routes but none of them worked. I was unable to find the option which turned
    off compatibility mode. I then searched for answers online which told me to do some things in the regedit program but that didn't seem to solve the problem.
    Anyway, I understand that this is a beta version of Windows 10 and that there are going to be problems but thought it would be best to let you know. Perhaps I should just bite the bullet and buy Windows 8.
    Many thanks,
    Lawrence

    Hi RealByReel,
    Thanks for sharing the solution back.
    Best regards,
    Barry
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Connection Problem When Using Oracle Developer Tools for Visual Studio

    I tried to create an Oracle Connection in my Visual Studio 2008 after installing Oracle 11g, Oracle Data Access Components (ODAC) with Oracle Devleoper Tools for Vissual Studio version 11.1.0.6.20.
    I followed the directions according to "Building .NET Applications Using Oracle Developer Tools for Visual Studio, when I click Test Connection, I keep getting the error message below.
    Microsoft Visual Studio
    ORA-12170: TNS:Connect timeout occurred
    OK
    ---------------------------

    I solved the problem.
    This is what I did for the benefit of the embryonic newbe like me.
    On the Add Connection Dialog
    1.     For Data source name I selected Local Database
    2.     I clicked on the specific User Name and I typed SYSTEM
    3.     For Password, I typed orcl (the password I setup during the installation) (HR did not work for me for User name and Password according to the tutorial instructions)
    4.     For Role, I selected Default
    5.     Connection Name, I selected Local Database
    6.     Before proceeding any further went to Windows XP SP3 where I was operating from, under Start Menu, I selected Administrative Tools then Services
    a.     On the Windows Services (Local) Dialog, under name, I selected OracleServiceORCL and OracleOraDb11g_home1TNSListener. I clicked on them one at a time
    b.     On the presented Dialog, under Service Status, I Clicked on the Start Button to start the Services
    c.     Then I went back to the Add Connection Dialog. I clicked on Test Connection, it connected okay. I finally clicked on Okay to connect.

  • Which Developer Tools for Oracle Express 10g?

    Hello,
    I'm new to the area of developing .NET apps with Oracle. Till now 'Ive downloaded the Oracle Express 10g Edition and installed it.
    Now I want to install the Developer tools for .NET and I am not sure which one to install. I've seen that currently there are several downloads
    - Oracle 11g ODAC 11.1.0.6.21 with Oracle Developer Tools for Visual Studio
    - Oracle 11g ODAC 11.1.0.6.21 with Xcopy Deployment
    - Oracle 11g ODAC 11.1.0.6.21
    - Oracle Developer Tools for Visual Studio .NET with Oracle 10g Release 2 ODAC 10.2.0.2.21
    - Oracle 10g Release 2 ODAC 10.2.0.2.21
    - Oracle 10g ODAC 10.1.0.4.0
    - Oracle Developer Tools for Visual Studio .NET 10.1.0.4
    Which of those should I use? Will the latest version (11.1.0.6.21) work with the 10g Express Edition? Or should I install one of the others?
    I've got installed both VS 2005 Prof and VS 2008 Prof SP1 on my machine.
    Thanks
    P.

    Okay,
    I've just seen another thread which answers my question
    Which is the right "Oracle Developer Tools" for XE ?
    I'Ve overseen it before.
    Bye
    P.

  • Can you use developer tools to slow down the CPU speed?

    I'd like to slow down my MBP processor speeds when I'm just browsing the web and reading emails. Can you do this with the developer tools that you get with your MBP?
    I know there is an app that does this called "CoolBook." Has anybody used it?
    Mark

    Well, you can do anything with the developer tools for OSX, but there is not tool like CoolBook. If you want to find the malloc holes in NeoOffice, install the developer tools. If you want to underclock your machine, use something else.
    CoolBooks is probably a great idea (though I haven't used it). Just remember that the CPU is only part of the story and that screen brightness, airport, built-in ethernet, and peripherals play a big role in battery life. The elephant in the closet is also the GPU. I haven't ever seen anything about underclocking the GPU, but that thing takes up some serious juice as well.

  • I got a AppStore Card for Christmas but the code is unreadable, what can i do?

    I got a AppStore Card for Christmas but the code is unreadable, what can i do?

    Click here and request assistance. Include as much of the code as you can.
    (73231)

  • How can I add keywords for SEO into the code?

    How can I add keywords (for SEO) into the code of a Muse designed site?

    You might also be interested in the upcoming MuseJam on Thursday Muse Jam: Search Engine Optimization | Facebook
    Muse Jam: Search Engine Optimization
    Online May 22, 2013
    Join Principal Product Manager Dani Beaumont of the Adobe Muse team as she explores ways within the Muse application to build search engine optimized sites by way of metadata, keywords, H1 definitions, and sitemap generation. After the presentation we'll open the floor to any questions you might with the application.

  • How to install "Microsoft Office Developer Tools for Visual Studio 2012" without "Web Platform Installer"?

    I have visual studio 2012 ultimate for practice , now I want to do SharePoint 2013 development through that. Generally I should download "Microsoft Office Developer Tools for Visual Studio 2012" through
    Web Platform Installer, but for some reason I want to avoid installing "Web Platform Installer".
    Is there any way where I can download and install "Microsoft Office Developer Tools for Visual Studio 2012" without downloading "Web Platform Installer"?
    Waiting to be guided by you.

    Hi
    Use these links to use WEBPI to download files for offline installation
    http://chakkaradeep.com/index.php/downloading-office-developer-tools-for-offline-install-2/
    http://www.iis.net/learn/install/web-platform-installer/web-platform-installer-v4-command-line-webpicmdexe-rtw-release
    Please mark it as answer if it helps you solving your problem
    Amit Kotha

  • Development tools for java

    HI,
    I am new in java. i know there are tools like netbeans to develop java in Windows Mode in Linux. But i want to know is there any tools like netbeans for developing java which will work from terminal window of linux ( black screen) ??
    Like TC3 , i used to use it to develop C++ from Dos mode.
    like TC3 , is there any development tools that i can run from Black screen of linux ( Terminal service / Command prompt), because i like to use black screen of linux ( command prompt)
    I will appreciate any help from any one.
    Kind regards
    Fosiul

    I know vi and Jstar also work.
    but problem is you cant compile in vi or jstar, u have to save , then have to quit then compile from command prompt. but netbeans - you can compile in same windows. or like Tc3 , you can compile by pressing f9( i think) ,
    but jstar or vi does not give any options ,it just the text eidtor.
    thats why i am asking , if any one know , any development tools which will work as a compiler and has graphics interface like TC3 for linux command prompt.

  • Does Firefox have developer tools for debugging javascript code?

    I am learning to write javascript in web pages. I have written some code that does not work as expected. I would like to set break points and check variables as the code executes. Are there add-ons or built-in tools that provide this functionality in Firefox? Thanks for your help.

    It is not so much a matter of ODT supporting object types as it is whether ODP.NET does since ODP.NET is the underlying data access layer for ODT. Unfortunately ODP.NET does not support object types.
    Possibly leading to some confusion about this is that the "PL/SQL User's Guide and Reference" is included in the ODT documentation that integrates into Visual Studio .NET combined help collection. Chapter 5 in the User's Guide is about "Using PL/SQL Collections and Records". However, PL/SQL Associative Arrays (which are described in this chapter along with VARRAYs and nested tables) are the only supported collection you can use at this time.
    - Mark

  • Firefox version 21 What is the WEB DEVELOPER TOOL ? What are the fuctions and what is it for?

    I just want to know what all the tools do in the tools bar/ web developer
    What does each of them control?

    Current Firefox versions have a lot of built-in web developer tools including an Inspector and Style editor.
    *https://developer.mozilla.org/en/Tools
    The Web Developer toolbar has a help menu (F1) to facilitate entering commands.<br />
    You can also use this toolbar to make a full page screenshot.
    *https://developer.mozilla.org/en/Tools/GCLI
    *https://developer.mozilla.org/en/Tools/Debugger
    *https://developer.mozilla.org/en/Tools/Scratchpad
    *https://developer.mozilla.org/en/Tools/Page_Inspector
    *https://developer.mozilla.org/en/Tools/Page_Inspector/HTML_panel
    *https://developer.mozilla.org/en/Tools/Page_Inspector/Style_panel
    *https://developer.mozilla.org/en/Tools/Page_Inspector/3D_view
    *https://developer.mozilla.org/en/Tools/Style_Editor

  • Development tool for long term

    Just wondering which of the three tools:
    1. adobe air
    2. webworks
    3. upcoming native sdk
    would be a good bet to be the primary tool used over the next few years?
    Just didn't want to have to re-develop apps in case we made the wrong decision today.  Is there a general consensus which one might dominate the developer community?  Or has anyone tried the beta for the native sdk that could give their opinoin?
    thanks.
    Solved!
    Go to Solution.

    That all depends on your current skills and the type of app you are trying to develop.
    Adobe AIR: Uses ActionScript and is a higher level object-orient language.  There are tons of sites and sample code available on the net and AS3 has been around at least 7 years so it is fairly mature.  AIR applications can be ported to other platforms including iOS and Android.  AIR also allows you to create desktop applications and the sibling version (Flex) allows you to build browser applications.  Adobe AIR allows to create a wide variety of application types (basic games, business, etc.).  Most people with OO background can pick it up pretty quickly and is "similar" to Java.  The development tools are mature (Eclipse) including debuggers, profilters, remote debugging, etc. Very consistent user interface across all platforms.
    WebWorks: If you are good with JavaScript and HTML, then this would be a good tool.  WebWorks is bewer than AS3, but lots of resources to get to know JavaScript.  Probably a little faster to build basic applications than AS3.  It has the same drawbacks of developing web-based applications because of JS, but if that is what you know than it is a very good choice. Many other mobile platforms are adopting WebWorks too.  Some WebWorks GUI elements look kind of strange.
    Native SDK: Is a C++ SDK, so if you have years of C++ knowledge and need to have higher performance application for things like games (because it allows for multi-threading and OGL), then this is a very good choice. Not for the timid in dealing with C++, but you be closer to the OS level and will gain greater performance.  If you dont currently know C++, I suggest to start with AS3.  Other than games and some high performance business apps, you would have to create a strong case to use NDK over AIR or WebWorks.  NDK will be wholy QNX and BBTOS API extensions.  Not portable outside the BB/RIM for the most part.  Lots of C/C++ libraries will likely port over easily.  Unknown IDE at this point, but hopefully it is Eclipse as well.
    Hope that helps. 
    o2 interactive | FaceBook | Blog | Twitter

Maybe you are looking for

  • Data Federator 4.0

    Is there a product for Data Federator 4.0 or is it delivered as Information Design Tool in BI 4.0?  Is there an upgrade path for Data Federator 3.1? Thank you.

  • Excel file into InDesign document

    I am planning on making our price list in InDesign so I easily can make it "nicer" than in Excel. Today we have it all in an Excel file but how do I go about putting this info in InDesign? I want the Excel file to be the "origin", if I need to change

  • SFTP in Oracle EBS

    Hello All, I am trying for create a SFTP script in Oracle EBS. We need to sftp a file from oracle application hrms to Bank server. Bank is not sharing the public keys, However has provided with user/password. I have included below function in my shel

  • Question : unable to open iTunes with error code 13010

    Hi all, I recently encounter the problem with opening the iTunes software. While iTunes opening, it always fail and pop up a message something like "can not open iTunes (13010)" (I use non-English version iTunes). Even I delete the iTunes database an

  • Showing description and not key when using check tables in Web UI

    Hi, I have added an field using EEWB to Opportunity Item, and connected it to check table CRMC_CUSTGRP1. It shows fine, and we can select from the check table using the web ui. However it shows the key column and not description column from the table