Programming is hard by Stephan Schmidt

Metrics and Google Guice

I’m currently working on some code measurement software, as a plugin for Reposita. As a test object I use Google Guice. The measurement tool called Meaxure not only calculates metrics but checks licenses and checking Google Guice it has found 86 times the Apache 2 Licenese and one unknown license. Taking a deeper look reveals that crazy OutOfScopeException.java in Guice has no license at all ;-)

If you liked this post, subscribe to my free full RSS feed.
Filed under: Java

You can share this post!
Do you want to tell others about this article? Use the social bookmark icons to submit this artice to the service of your choice. Thanks.

Get free updates by email

If you did like this article you can get free updates with your RSS reader, you can follow me on Twitter or get free update to new posts by email. Enter your email:

 
About the author: Stephan has been working as a head of development and CTO. He has experiences in different technologies since 20 years including Java, Rails and Python. Stephans main field of interest is maintainablity and productivity in software development. Want to know more? All views are only his own.

Comments

annoyed

What was the point of this blog entry? So what if one class has no license? That’s not a metric.

This entry looks like spam to me. You are now blocked.

stephan

Dear annoyed,

obviously the number of files with no license is a metric, which might reveal a problem with the source or a problem with your QA. Not in the Guice case, but when you’re a company developing software.

Leave a Reply