Code Monkeyism

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 ;-)

About the author: Stephan Schmidt is currently a team manager at ImmobilienScout24 in Berlin. Stephan has been working as a head of development and CTO. He has used a lot of different technologies in the last 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.

If you did like this article but you don't want to subscribe to new articles with your reader, you can follow me on Twitter or subscribe to new posts with your email:

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