Eclipse metrics plugin suggestion [closed] - eclipse

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
I'm looking for a tool to give me some code metrics (total LOCs, LOC/Class, # of external references/class, etc...).
Does anyone know a good eclipse plugin that could provide me some some code metrics?

CodePro AnalytiX originally form Instantiations is now free at Google:
http://code.google.com/javadevtools/download-codepro.html

here is one called Metrics.
edit:
i put together a short program for this screenshot in eclipse 3.3.1.1:
Edit 2
Metrics New version Thanks #mpartel for the link

Sorry for the necropost but it seems like the right thing to do since this was my starting point. Try Metrics2, its a fork of the original metrics plugin and is built for Eclipse 3.5.

There is an updated version of the Metrics plug-in described above that should do what you need. It can aggregate some of the measurements (e.g. add up the LOC of classes in a package to give you the LOC of the package) and export the measurements to XML. Some time in the near future, it should also export them to a relational database.

If you want LOC only then use locmetric http://www.locmetrics.com/ . and if you want check metric and code coverage usse SONAR or Eclips CodePro Analytix plugin.
i suggest to use https://developers.google.com/java-dev-tools/codepro/doc/ it has Automated tools measure quality of Java source code and code coverage

A search for eclipse code+metrics turns up http://eclipse-metrics.sourceforge.net/, which looks good.

I also recommend the eclipse-metrics plugin.
It is capable of exporting the metrics into html, and is capable of doing this from an ant task (at least according to the documentation, I have never tried it).
The plugin works even in Eclipse 3.5 fine.

Sonar seems worth to look at: http://docs.codehaus.org/display/SONAR/Installing+Sonar+in+Eclipse

Another good project is the projectusus, which shows you not only the metrics but also whether you are respecting the standards or not and gives you a hint of what should be refactored

Related

Eclipse plugin for TypeScript? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
The new Microsoft TypeScript language (typed superset of JavaScript) seems very interesting, is there any alpha / incubator project that attempts to support it in Eclipse? Or is it too early to even wish for it
Check this open source plugin which is build by palantir.
This question was asked the day TypeScript was released, so as of today (Oct 2nd 2012), there is no support. Having said that, the XText team -- a team responsible for rapidly creating DSLs -- is aware of TypeScript and I wouldn't be surprised if they do something.
Another place to look is Microsoft. Depending on what their motivation is with TypeScript, they may push for an Eclipse project (although I doubt it).
Orion (the web based eclipse ide) would be a good fit. It is already using nodejs, so it would be easier to incorporate tsc and the language services. Right now they already support Javascript including some type inference. I understood typescript is on their radar.
Looks like the beta of an Eclipse Typescript plugin was uploaded on Aug 7 2013. I haven't had a chance to try it out yet but it looks promising.
http://marketplace.eclipse.org/content/typescript#.UgfEuD9IG-V
https://github.com/palantir/eclipse-typescript
Until a specific plugin is implemented, if you are adventurous enough, you might try and just use JSDT and associate *.ts files with the JavaScript editor. If you get JavaScript validation errors, disable the JavaScript Validator under Project > Properties > Builders. For automatic TypeScript compiling, you can set up an external builder as described here or here.
My settings:
Main
Location: /usr/local/bin/tsc
Working directory: ${build_project}
Arguments: ${build_files:f}
Refresh
Refresh resources upon completion: checked
The folder containing the selected resource
Environment
PATH = /user/local/bin
Build Options
Allocate console: checked
Run the builder: During auto builds
Specify Resources: a folder that contains *.ts files

What UI mockup tools can be used to produce Eclipse UI "screenshots"? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
What UI mockup tools exist that could be used to produce designs that look like Eclipse UI? Perhaps there is an Eclipse project available for this? (http://www.eclipse.org/projects/listofprojects.php doesn't make it easy to browse through all the projects and learn about them.) I would consider tools for any platform.
They are wireframe sketches rather than Eclipse-UI like mockups, but I find http://wireframesketcher.com/ or http://marketplace.eclipse.org/content/wireframesketcher very useful.
It's quick and easy to use, see the feature list here:
http://wireframesketcher.com/features.html
One thing they don't seem to mention there is their SWT Spy plugin which "allows you to convert your existing SWT UI into a wireframe that you can edit and revise afterwards" (their words from the help content of the wireframe sketcher feature).
They have a 14 day trial.
I ended up buying SwordSoft Layout in the Mac OS X App Store. It's inexpensive ($6.99) and easy to use. While it doesn't have Eclipse-specific templates, it wasn't hard to create mockups that looked close enough to what I'm proposing.
We use balsamiq Balsamiq site. You can use their web version for free. Web version
However, the web version doesn't save. So you need to manually store the xml. Use export as xml and copy paste to a local file and use again import as xml to restart.
You can take a look at ForeUI, which can help creating UI mockup with various styles (Handdrawn, Wireframe, Windows xp, Mac OS X and Windows 7), and allows you to define behavior of your mockup then run HTML5 simulation in web browser.
For reference, Eclipse has a project
http://eclipse.org/windowbuilder/
that actually can be used for constructing plugin mockups and to start off the plugin project through generating much of the UI stuff. Since it is an Eclipse project using all Eclipse artefacts as they show in Eclipse, there's probably no better tool at the moment.
You can use MockupUI. It is a desktop user interface mockup software. Not using Eclipse, but it lets you draw high fidelity UI screens with a native Windows 7,8 or 10 look and feel.

Recommended NetBeans UML plugins [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
It appears that the NetBeans UML plugin has been discontinued, as per a discussion on the NetBeans forums. This was a great, free tool with nice model->code and code->model generation.
There are a number of other UML NetBeans plugins out there. However, I've never used any of them. Any suggestions?
I had also a problem with installing UML for my NetBeans 6.8. Most of solutions proposed in the Web doesn't seem to work. Today I have finally find how to install UML plugin on NetBeans 6.8.
Step by step explanation of the process of installation of the plugin:
Go to
http://dlc.sun.com.edgesuite.net/netbeans/updates/6.7.1/uc/final/beta/modules/uml6/
and download all .nbm files from there.
Open NetBeans and go to Tools->Plugins->Downloaded
Click on Add plugins… button
Select all .nbm files you have downloaded from the source mentioned above.
Follow step by step wizard of NetBeans to install plugins
Hope that helps you also. As for me I am enjoying UML in NetBeans starting from today. Good luck.
So after reading a bunch of the internet, the team responsible for the NeatBeans UML plugin is working on it, but it isn't done yet. They have decided to start over because the old code is unsustainable, which is why it doesn't work with 7.x.
Nevertheless, as this post points out, people want UML Diagrams, so below is a link to my blog, which provides a way of getting UML Diagrams of your classes from NetBeans 7.x.
http://imagine.kicbak.com/blog/?p=58
You cannot generate code from diagrams with my solution, but you CAN generate UML Diagrams in your JavaDocs from your classes in your project. This is a Code -> Model solution only. Hope it helps.
Check this :
Generating UML From the NetBeans IDE
SDE for NetBeans (CE) for Windows 6.0
If you switch over to Eclipse, there are plenty of them.
Recommended Eclipse plugins to generate UML from Java code
Good free UML tool for Java/Eclipse?
UML editor for Java
The bundled UML plugin was removed from 7.0 and is undergoing a rewrite as EidosUML. The community edition of Visual Paradigm's Smart Development Environment works with Netbeans 7.0 afaik

[Aptana/Eclipse]: Which one is better? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
I want to know which one is stable, fast and easy to use?
I installed the Aptana Studio Eclipse plugin this year when I was playing with Rails for fun. Eclipse was never the same again. Suddenly it took two or three times as long to load any Java or Haskell project, Eclipse started crashing intermittently and it completely messed up my layout. It wouldn't let me uninstall it and "manually" uninstalling it seemed to make it worse!
Rails was fun to play with but I had to learn to live with the Aptana plugin. I eventually got rid of it by totally deleting Eclipse and starting over. It wouldn't have been so bad if it didn't seem to take over Eclipse in a Cthulu-like way. I really liked the integration with Rails which was done well, and it seemed to be have a lot of features that would be useful on larger systems.
Aptana is built on eclipse.
Aptana can also be installed as an eclipse plugin if you already have a well set-up eclipse environment.
If you mean "which is better PDT, or aptana?" I'd have to go with Aptana. If only because it also does lots of other things well. The PHP support isn't significantly different from PDT to make it worth the added weight Aptana brings with it. However, you're probably also looking for a good css editor, Javascript editor, etc, and Aptana does those well.
I use Eclipse for all my work, have done for years. Perfectly happy with it.
Must admit I've not done any detailed comparisons with other IDEs. I fear that getting objective comparisons between IDEs may be quite tricky. I think that the vi v emacs wars still rumble on on some areas.
Another Happy Eclipse User here.
My personal opinion. I use it for mainly Java and PHP.
If you write PHP codes in Aptana i do not suggest it. Because Aptana 2.0 does not provide PHP plug in. It installs Eclipse as a plug in. So install Eclipse (actually PDT) and use it for PHP development will be better choice.

Which is the best RCP platform [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I am building a desktop application. Our analysis says it would be better built with a RCP. Should I use the eclipse or netbeans platform to build my application . Some of the factors to consider are
Performance
Look and Feel
Popularity among target users (developers/testers)
License (has to be some FOSS)
The application will be having things like text editor, grid views, block diagrams and graph visualizations.
I already have experience with netbeans development, but learning eclipse won't hurt. any other options would be welcome too.
I've used Eclipse to build an RCP text editors, multiple views and graph diagrams (lacking only the block diagrams you mention). The environment was pretty good as well as the support in the community for getting help (it was my first Eclipse RCP experience - nearly all my questions had been answered at one point or another in the eclipse forums. When not - I got great feedback.)
The platform was pretty lightweight and handled memory well generally speaking. Some problems that you might run into, you'll likely run into on any platform you choose.
I would look at Netbeans. Netbeans is based on Swing while Eclipse uses SWT. Sun has put a lot of effort into Netbeans over the past few years and it's quite good.
There are some tutorials on the Netbeans site for plugins and platform.
http://www.netbeans.org/kb/trails/platform.html
This of course is a bit of a religious question. You will find it debated repeatedly on the web. Here are a couple of interesting threads.
http://www.nabble.com/Choosing-Netbeans-platform-or-Eclipse-RCP-td16012394.html
http://www.javalobby.org/java/forums/t103146.html
My vote is for Netbeans. Many of its shortcomings have been corrected in the 5 and 6 releases. The community is smaller, but certainly just as helpful.
Another option is the Swing Application Framework (JSR-296) which provides a very lightweight framework for building Swing applications. It provides some of the basic plumbing such as an Application context to share data and basic status and worker components. It doesn't provide any complex components, so it may be too lightweight for what you need.
I suggest using Eclipse RCP, as far as I can see, it has many useful aspects like action and command mechanism, Eclipse Forms, data binding, etc. You can use GEF and Zest for graph based visualization and visual editors. Also Window builder is a convenient choice for drag and drop ui creation. Also there are many sources for learning Eclipse4 RCP, vogella.de is a good starting point. cheers...
Eclipse RCP is powerfull. I have used it for one of my projects. Yes It has some bugs but it has lots of documents and it is faster than Netbeans RCP I think.
Do you have to choose only between Eclipse and Netbeans?
I heard Spring is good
Eclipse has bugs especialy with the text editors. Netbeans on the other hand sucks RAM worse that Crysis