Language Selection

English French German Italian Portuguese Spanish

How Open Source Comments (by Programming Language)

Filed under
OSS

We recently looked at the commenting practice of active working open source projects. It is quite impressive: The average comment density of open source is around 19%. (Comment density = comment lines / (comment lines + source code lines)). That is much more documentation than most people thought!

However, such a rough number needs discussion. Here, I look at the comment density on a programming language basis. As it turns out, the comment density of active open source projects varies by programming language. Java is leading the bunch, but that needs further discussion.

Below, for six major programming languages, you can see the average comment density as well as its distribution (cast as a histogram).

More Here




More in Tux Machines

LibreOffice 5.1 Officially Released with Redesigned User Interface, New Features

Today, February 10, The Document Foundation non-profit organization has proudly announced the release and immediate availability for download of the LibreOffice 5.1 open-source and cross-platform office suite for all supported platforms. Read more Also: LibreOffice 5.1: The premier open-source office suite just keeps getting better LibreOffice 5.1 Officially Released As The Best Open-Source Office Suite

Ubuntu 16.04 LTS Is Now Using the Latest Linux Kernel 4.4.1

The Ubuntu kernel team has upgraded the Linux kernel for Ubuntu 16.04 LTS (Xenial Xerus) to version 4.4.1 and is also tracking future updates for this branch. Read more

Putin's New Internet Czar Wants Apple and Google to Pay More Taxes

Microsoft, Google and other U.S. companies “reached the point of no return” when they complied with sanctions over Putin’s annexation of Crimea by halting all business with the peninsula, according to Klimenko. As a result, it’s “inevitable” Russia will switch state networks from Windows to an open-source system based on Linux, a move 22,000 municipal governments are prepared to make immediately, he said. Read more