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 6 years ago.
Improve this question
I'm looking for tools that will let me measure and compare the amount of garbage generated by certain code on the JVM.
I'm aware that tools like YourKit will allow tracking of allocations, but using that tool is very clicky-clicky. (Change code, run with agent, enable tracking, run actual code, take snapshot, etc) It requires a lot of my time/work per iteration.
I'm ideally looking for something like a microbenchmark suite, where it's easy to tweak something and take a new measurement. But instead of measuring speed, I'm interested in measuring allocations.
Related
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 hours ago.
Improve this question
I'd like to be able to log what code is being executed in a JVM down to the method level and even the individual lines that are being executed. This would be a handy capability for QA purposes. I know that this is possible because Jacoco already does something similar to report on code coverage. However, it's not clear to me how this is done and I'm not sure I want to use their agent. Has anyone had experience logging this type of data? Are there any tools that can help?
So you want to log information not for functional checks but more for code coverage and performance analyis.
Rather than creating the solution from scratch and inside your application you might want to look into Application Performance Monitoring tools that can easily be attached to any application and thus are reusable. Here is a noncomplete list of such tools.
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 7 years ago.
Improve this question
Is there any tool sort of thing, from where we can see, for a given java source code, where variables, references, objects, static fields resides in JVM.
You can see the variable and a lot more in jvisualvm - Java Virtual Machine Monitoring, Troubleshooting, and Profiling Tool. You can see threads, garbage collection, heap memory and more. Give it a try!
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 7 years ago.
Improve this question
we started with static code analysis and I would like to see how we compare with other projects. Now I am aware I could go out and run tools for different OS projects, but I was curious if there is a repository for this data. such as
cyclomatic complexity, code coverage, size of methods, size of classes, scope nesting, etc
thanks
almir
For Java OS projects a free monitoring system with some metrics is available here: http://opensource.quality-gate.com/
Ohloh.net has a few of the metrics you mentioned
FLOSS Metrics may have some
FLOSSmole - includes data from the now-defunct SourceKibitzer though it's a little old (2007), as well as the same metrics run on Debian packages in 2011
Sourcerer may have some
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 8 years ago.
Improve this question
Is there anything out there which is similar to this tool? I'm hoping to do some verification of our caching setup with Hibernate.
I found TPTP, but it seems that the project is dead.
Is there any other good profiling tool out there to verify Hibernate Caching configurations?
You could try jvisualvm, it is bundled with the jvm since 1.6_10.
It should enable you to inspect the heap and stack, even against jvm's that are running on a remote host.
Have you tried yourkit? In J2EE mode it can show you the Database calls you app does. If you dont implement caching properly it will show you the extra calls. It has a free 30 day trial. Should be enough for a one off test
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 8 years ago.
Improve this question
Can I get recommendations of free and easy tool(s) that can generate JUnit tests based on existing code?
Either as a stand-alone application or pref. an Eclipse-plugin.
Well, depends on what do you need your tests for...
If just to have tests coverage and basic behavior tested - then yes, use can use test generators.
If you are serious about the project and plan to expend it, see the future of the project - then it would be really better to create good unit tests in traditional way.