OpenStreetMap

Today we reached the 10,000th commit in JOSM source code repository, suddenly adding a 5th digit to our version number!

This symbolic milestone occurs a few weeks after the 10th birthday of JOSM 1.0, which was released on January 22nd, 2006 (yep, back in time, JOSM used real version numbers. The current versioning scheme was introduced in early 2008 for practical reasons). If you’re curious about how many versions of JOSM have been released since, check out the release log.

To celebrate these two events, we have “rebuilt” JOSM development history by using a nice open source tool (SonarQube). You can check the results here.

This allows to see how JOSM evolved over time. For example, how the source code increased: Lines of code Lines of code

Each dot represents a tested version.

It does not only compute code volumetry, we use it mainly to measure code quality. Here are some interesting charts showing how JOSM evolves behind the scene, as we constantly improve code quality and unit test coverage:

Duplicated lines Duplicated lines (%)

Code coverage Code coverage (%)

Public documented API (%) Public documented API (%)

Technical Debt (days) Technical Debt (days), as computed by SonarQube

Unit tests Number of unit tests

As you can see, we’re putting a lot of effort to increase unit tests coverage lately. JOSM is tested automatically after each modification by our continuous integration system (powered by another great open source software: Jenkins). We’re testing several Java versions (JDK 7, 8, and early access snapshots of JDK 9).

Remember we will soon drop support for Java 7 and begin to use new features of Java 8, that will be the next big step in JOSM development!

Discussion

Comment from aseerel4c26 on 16 March 2016 at 22:04

I just saw that version number in JOSM’s startup page, and thought that some congrats are really needed .. and found this post!

All JOSM contributors, thank you very much for your efforts! It is very nice to see the quality improvements and steps forward (like dropping java 7 support). :-)

Comment from PierZen on 16 March 2016 at 22:31

Eh, Great number.

Bravo to the JOSM developpers who contributed since 2006 to the JOSM Core and the various plugins.

Comment from Felis Pimeja on 17 March 2016 at 07:31

That was a long way. Many thanks to all the developers!

Comment from dieterdreist on 17 March 2016 at 09:10

A huge THANK YOU to all the people involved in the development! JOSM is by far the best editor for OSM, the richness of its feature set is uncontested and the workflow perfectly adapted to the actual needs of the mappers.

Comment from pedrito1414 on 17 March 2016 at 09:15

Kudos! I’m a big fan….

Comment from nebulon42 on 24 March 2016 at 20:38

JOSM is a great editor, which is a pleasure to use. Thanks!

Log in to leave a comment