{"id":290,"date":"2011-09-19T16:11:25","date_gmt":"2011-09-19T14:11:25","guid":{"rendered":"http:\/\/misto.ch\/?p=290"},"modified":"2011-09-19T16:11:25","modified_gmt":"2011-09-19T14:11:25","slug":"tag-cloud-visualization-for-source-code","status":"publish","type":"post","link":"https:\/\/misto.ch\/de\/2011\/09\/19\/tag-cloud-visualization-for-source-code\/","title":{"rendered":"Tag Cloud Visualization for Source Code"},"content":{"rendered":"<p>I&#8217;ve always been a huge fan of Wordle, so when I saw\u00a0Fabian Steeg&#8217;s <a href=\"http:\/\/fsteeg.com\/2011\/09\/07\/cloudio-swt-based-tag-cloud-visualization-for-zest\/\">announcement of Cloudio<\/a>\u00a0\u2013 the SWT-based tag cloud visualization for Zest \u2013 I knew I wanted to do something with it, so I created <strong>Sourcecloud<\/strong> (suggestions for a better name are welcome).<\/p>\n<p>Sourcecloud is an Eclipse plug-in that lets you create tag clouds of your source code.\u00a0The idea for this project came from <a href=\"https:\/\/twitter.com\/#!\/kevlinhenney\">Kevlin Henney<\/a>, who used such tag clouds in a presentation at Jazoon 2010 (if I remember correctly). Luckily for me, Cloudio comes with an example application, from which I was able to reuse most of the parts, so all the credits go to Cloudio&#8217;s creator\u00a0<a href=\"https:\/\/twitter.com\/#!\/sschwieb\">Stephan Schwiebert<\/a>.<\/p>\n<p><strong>Why would you want to make tag clouds for source code?<\/strong> It can give you a quick first impression of the quality of a code base. Ideally, you should see many names of the project&#8217;s domain. On the other hand, if you see lots of\u00a0<code>nulls<\/code>,\u00a0<code>ints<\/code>\u00a0and\u00a0<code>Strings<\/code>, chances are that the code will be hard to understand because there are not many domain specific types in it.<\/p>\n<p>You can install Sourcecloud from the\u00a0<a href=\"http:\/\/scala.ifs.hsr.ch\/hudson\/job\/Sourcecloud\/ws\/ch.misto.sourcecloud.update\/target\/site\/\">update site for integration builds<\/a>\u00a0into Eclipse Indigo. And here&#8217;s how\u00a0the result looks:<\/p>\n<p style=\"text-align: center;\"><a href=\"https:\/\/misto.ch\/wp-content\/uploads\/2011\/09\/untyped.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-292 aligncenter\" title=\"untyped\" src=\"https:\/\/misto.ch\/wp-content\/uploads\/2011\/09\/untyped.png\" alt=\"\" width=\"547\" height=\"431\" srcset=\"https:\/\/misto.ch\/wp-content\/uploads\/2011\/09\/untyped.png 608w, https:\/\/misto.ch\/wp-content\/uploads\/2011\/09\/untyped-300x236.png 300w\" sizes=\"auto, (max-width: 547px) 100vw, 547px\" \/><\/a><\/p>\n<p style=\"text-align: center;\">And here&#8217;s a screenshot of the Eclipse view:<a href=\"https:\/\/misto.ch\/wp-content\/uploads\/2011\/09\/sourcecloud_screenshot.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-296\" title=\"sourcecloud_screenshot\" src=\"https:\/\/misto.ch\/wp-content\/uploads\/2011\/09\/sourcecloud_screenshot.png\" alt=\"\" width=\"566\" height=\"400\" srcset=\"https:\/\/misto.ch\/wp-content\/uploads\/2011\/09\/sourcecloud_screenshot.png 1011w, https:\/\/misto.ch\/wp-content\/uploads\/2011\/09\/sourcecloud_screenshot-300x212.png 300w, https:\/\/misto.ch\/wp-content\/uploads\/2011\/09\/sourcecloud_screenshot-768x542.png 768w\" sizes=\"auto, (max-width: 566px) 100vw, 566px\" \/><\/a><\/p>\n<p>The source code is on <a href=\"https:\/\/github.com\/misto\/Sourcecloud\">GitHub<\/a>, so if you want to add or change something, fork it and send me a pull request!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;ve always been a huge fan of Wordle, so when I saw\u00a0Fabian Steeg&#8217;s announcement of Cloudio\u00a0\u2013 the SWT-based tag cloud visualization for Zest \u2013 I knew I wanted to do something with it, so I created Sourcecloud (suggestions for a better name are welcome). Sourcecloud is an Eclipse plug-in that lets you create tag clouds [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26,27],"tags":[30,39],"class_list":["post-290","post","type-post","status-publish","format-standard","hentry","category-infoq","category-scala","tag-eclipse","tag-software-engineering"],"_links":{"self":[{"href":"https:\/\/misto.ch\/de\/wp-json\/wp\/v2\/posts\/290","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/misto.ch\/de\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/misto.ch\/de\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/misto.ch\/de\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/misto.ch\/de\/wp-json\/wp\/v2\/comments?post=290"}],"version-history":[{"count":0,"href":"https:\/\/misto.ch\/de\/wp-json\/wp\/v2\/posts\/290\/revisions"}],"wp:attachment":[{"href":"https:\/\/misto.ch\/de\/wp-json\/wp\/v2\/media?parent=290"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/misto.ch\/de\/wp-json\/wp\/v2\/categories?post=290"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/misto.ch\/de\/wp-json\/wp\/v2\/tags?post=290"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}