4 ms·
Show HN: Graffiti – jar analyser
- ge0rg 10y agoVery interesting approach. Could you please provide a hosted version of the demo, that can be viewed on mobile clients?
- gaurs 10y agoYou can click on the Web Version button for a working demo. The same will allow you to upload a jar and will generate the output as a zip file available for download.
- ge0rg 10y agoI was looking for a web view of the demo zip, so I could see what it does without uploading or downloading files.
- gaurs 10y agoYou can click on the demo link http://graffiti.gaurs.io/downloadDemo; http://graffiti.gaurs.io/downloadDemo; This points to already processed commons-lang3-3.5.jar
- blauditore 10y agoThere's a typo: "bootsrap" -> "bootstrap" Also, the demo download link seems to point nowhere.
- DogRunner 10y agoAt least you can try the online version. It looks pretty interesting.
- blauditore 10y agoIs there an online version of an already processed jar, or do you mean the the online analyzer? Because I don't have a jar at hand right now.
- gaurs 10y agoYou can click on the demo link http://graffiti.gaurs.io/downloadDemo; http://graffiti.gaurs.io/downloadDemo; This points to already processed commons-lang3-3.5.jar
- gaurs 10y agoor you can upload a jar containing .class files (and not the source jar) using the Web Version button.
- userbinator 10y agoYou could run it on itself.
- gaurs 10y agoThanks for pointing this. The same will be taken care at the earliest.
- sonnyg 10y agoAlso executablble should be executable.
- gaurs 10y agoGraffiti is a core java based tool used to analyse jar files. It generates minimal bootstrap based html files with all the required statistics of the jar file. It is NOT a UML diagram generation tool. Note : Please use the WebVersion link to upload jars containing .class files and not the source .java files
- aegnor 10y agoI don't really see when I would use the this. When I have JAR with unknown contents and I want to see version and dependencies of it?
- shakna 10y agoAt a guess, may be useful when: * Working with old enterprise libraries ("just use the jar!") * Optimisation when dealing with a compile to JVM language like Closure or Scala * Research, such as reverse engineering badly behaved jars.
- haggy 10y agoNot really sure why this would be helpful only with Scala in this case. Scala is not transpiled, it's compiled directly to bytecode just like Java so if it was helpful with Scala it should be helpful with Java as well.
- orless 10y agoSome time ago I've started a maven-storyteller-plugin (a version can be found here: https://github.com/highsource/storyteller-maven-plugin https://github.com/highsource/storyteller-maven-plugin). This plugin was intended to solve a simple task: given a Maven project, which dependencies do you really need and which not? What can (or should) you remove or exclude? maven-storyteller-pluging analyzed the dependency structure of the project (JARs), dependencies of classes, build a large graph of what-needs-what and then could conclude, which dependencies you really need and which not. I also used graphviz for vizualization. I still thing this would be a handy tool but never had time to finish and release the plugin.
- reitanqild 10y agoKickstarter anyone?
- glastra 10y agoFrom the downloadable example: > org.apache.commons.lang3.AnnotationUtils > The class is part of java.lang.Object package [...] Interesting package name :)
- gaurs 10y agoOops. Will take care of that.