Evolution of the Number of Functions in WordPress

A few fun and useless facts I collected while mining through 54 WordPress releases, from 0.7.1 to 3.0.1:

  • The latest version of WordPress, 3.0.1 as of publishing, has 3240 PHP functions defined.
  • The first version (0.7.1) had 309
  • Across all WordPress versions, 3920 PHP functions have been defined and used
  • On average, each ".X" release (2.1, 2.9…) introduces 225,2 new functions
  • Only one release went on a diet: version 1.2.1 had 23 functions less than its predecessor, version 1.0.2

Have a look at my Excel mad skillz showing the evolution of the total number of functions defined in WordPress:

The following graphs shows how many functions have been added (ie functions added minus functions removed) in each version.

To my surprise, the biggest evolution has been in WordPress 2.8 ; I would have predicted that the inclusion of multisite functions in 3.0 would have a larger impact.

For the curious and nitpickers: data sheet used.

(If that post sparkled some interest, be sure not to miss A journey through 5 years of WP interface, you'll like it)

5 comments

  1. Oliver Schlöbe

    Where's the "Like" button? I wanna "like" this post. I like this post!

  2. Ozh

    Oliver Schlöbe » :-) But seriously, I just don't like or use "Like" buttons :)

  3. Matt Martz

    I'd love to also see this compared to the number of deprecated functions.

  4. Ozh

    Matt Martz » yeah indeed, that would be an interesting metrics. I'll see if I can grep and parse something :)

  5. Ryan

    Didn't see another place to put this so I thought I'd comment on the only post that came up when I searched ur site for 'wordpress'

    Just found your wordpress filter plugin today and man it was exactly what I needed so I wanted to say thanks for all your work with WP development, the plugins you make etc etc. this little goodie made my day! thanks again

Comments are closed.