28
Looking at WordPress through the eyes of a Software Researcher Jordi Cabot Javier Cánovas & Valerio Cosentino

Looking at WordPress through the eyes of a Software Researcher

Embed Size (px)

Citation preview

Looking at WordPress through the eyes of a Software Researcher

Jordi Cabot Javier Cánovas & Valerio Cosentino

http://pixgood.com/mr-hyde-sketch.html

http://pixgood.com/mr-hyde-sketch.html

With a little help from my friends

Flickr/ShenanPeruma

See last slide for a full list of tools/articles

used in the preparation of this

talk

http://slideshare.net/jcabot/looking-at-wordpress-through-the-eyes-of-a-software-researcher

1.Measuring WordPress

Flickr/ SeanMacEntee

“You cannot fix what you cannot measure

Temporal Evolution

File Evolution

2.ImprovingWordPress

Flickr/JDHancock

“The best way to start

contributing to an OSS is by using a static analyzer

Errors in the WordPress core

Errors in the WordPress core

PluginInterferen

ceHook interferences

(WP + Top 10 plugins)

Flickr/ RobertDavies

Actions Filters Shortcodes

38 43 2

3.WordPress Community

Flickr/JamesCridland

“Power to

the people

© Apple Records

Internal vs. External Collaborators

Top 5 Committers

Bus Factor

Number of WordPress developers who would

need to be killed to make the project

unable to proceed

Flickr/ ThomasHawk

Bus Factor Evolution

Bus Factor Evolution

64.43%

12.58%

Label Analysis Label Usage

Label AnalysisUser Involvement

Explicit Governance Model

******

Explicit Governance Model

******

Explicit Governance Model

******

All bugs and feature requests will be accepted or rejected with no deadline by the leader of the project…

http://atlanmod.github.io/governance/#/generate/2010000000500000000001

Verbalization

Permalink

And much more...

http://matt.might.net/articles/phd-school-in-pictures

Let’s work

[email protected]

@softmodeling

Flickr/ StasluTomczak

List of references◎ WP Codebase metrics calculated with Gitana, a sql-based Git inspector:

https://github.com/SOM-Research/Gitana

◎ Error detection thanks to static PHP analyzers by JetBrains (https://www.jetbrains.com/), SSVChecker (http://ssvchecker.sourceforge.net) and Weverca (http://perun.ms.mff.cuni.cz/weverca)

◎ Results on plugin interference taken from:L. Mousavi Eshkevari, G. Antoniol, J.R. Cordy, M. Di Penta: Identifying and locating interference issues in PHP applications: the case of WordPress. ICPC 2014: 157-167

◎ Read more about the bus factor of a software project and how to calculate it on:http://modeling-languages.com/whats-bus-factor-software-project/

◎ Label analysis thanks to GiLA:https://github.com/SOM-Research/gila

◎ Governance proposal for OSS described in:J.L Canovas, J. Cabot: Enabling the Definition and Enforcement of Governance Rules in Open Source Systems, ICSE SEIS, 2015

Except where otherwise noted, content on this site is licensed under a Creative Commons Attribution 3.0 License.