Home » Java, Wicket

8.47% is a Resource: statistics about Wicket

2 December 2008 3 Comments
If you're new here, you
may want to subscribe
to the RSS feed.
Thanks for visiting!
This article is part of the 'Java Project Statistics' series.

Wicket 1.3.3 statistics class cloudFrameworks are growing with every release. Classes are changed, removed and added. In this series I zoom in on some well known projects and analyze their class names with completely meaningless statistics. Now up: Wicket 1.3.3!

To get these statistics, I wrote a script that analyzed all classes. They get chopped up on word boundaries, so for ContextAwareFactoryBean the words Context, Aware, Factory and Bean are counted. From the output I generated a class cloud.

Wicket likes Requests for Pages or Resources

8.47% of the total number of classes in Wicket contain the word Resource. In absolute numbers, 68 classes (of a total of 802) have this word in their name. This is quite a low percentage for the top result, compared to the Spring statistics where the top result Bean is present in 12.31% of all classes.

From the top ten, it’s easy to spot that Wicket is a web framework, with Pages, Web, Ajax and Resources in many class names.

Wicket loves Wicket

A bit remarkable regarding Wicket statistics: about 4.24% of all classes have the string ‘Wicket’ in their name. Relative to the number of Spring classes that have Spring in their name, this is 2.3 times as much!

In general, the class names of Wicket are well distributed. This probably originates in the fact that Wicket is very specialized on one subject and is not a general purpose platform.

Class Cloud (click to enlarge)

Wicket 1.3.3 statistics Class Cloud

Top 10 of partial class names

Wicket 1.3.3 statistics bar chart

  • Resource: 68
  • Request: 62
  • Page: 56
  • Abstract: 42
  • Target: 37
  • Stream: 36
  • Validator: 36
  • Web: 36
  • Component: 34
  • Ajax: 34

Longest class name

The grand prize goes to: BookmarkablePageRequestTargetUrlCodingStrategy, with 46 characters!

The BookmarkablePageRequestTargetUrlCodingStrategy encodes and decodes mounts for a single bookmarkable page class (source).

Stay tuned for more useless statistics for other well known projects! If you have suggestions for which projects you want to see, please let me know in the comments!

This article is a part of the 'Java Project Statistics' series

Here are all the articles in this series:
  1. 1942 classes: statistics about Spring 2.5
  2. 8.47% is a Resource: statistics about Wicket
  3. 37 Factories: statistics about Tomcat 6
  4. 76 Events: statistics about Hibernate 3.2.2

3 Comments »

  • Erik van Oosten said:

    I’d like to see useless statistics on Tomcat!

  • Daan (author) said:

    @Erik Working on it!

  • Cemal said:

    … sounds rather narcissistic to me!
    Drop me a line when you get a chance so we can start planning/go over your “Scala and Wicket” talk for our next London Wicket Event.

Leave your response!

Add your comment below, or trackback from your own site. You can also subscribe to these comments via RSS.