How LibreOffice’s quality has improved thanks to automated tools and the volunteer contribution of security specialists

Last Coverity Scan metrics about LibreOffice, with 0 outstanding defects on 6 million lines of code. Kudos to our developers.

Berlin, July 25, 2018 – The Document Foundation celebrates five years of improvements to LibreOffice’s source code under Red Hat’s leadership, thanks to the adoption of automated tools such as Coverity Scan and Google OSS-Fuzz, and to the key contributions in the area of source code fuzzing of security specialists such as Antti Levomäki and Christian Jalio of Forcepoint.

“The combination of Coverity Scan, Google OSS-Fuzz and dedicated fuzzing by security specialists at Forcepoint has allowed us to catch bugs – which could have turned into security issues – before a release,” says Red Hat’s Caolán McNamara, a senior developer and the leader of the security team at LibreOffice.

Since 2013, Coverity Scan has helped to reduce the number of issues by several orders of magnitude (from 0.93 to 0.00093 per 1,000 lines of code). The score is significantly better than the FOSS software average of 0.65 and the proprietary software average of 0.71.

LibreOffice defect density score during the last two years

The Coverity Scan score is related to a static analysis to find source code defects and vulnerabilities. In static analysis, the code under examination is not executed. As such, the score does not represent an absolute value about quality and security of the software when executed on end user desktops.

More recently, developers have implemented fuzzing or fuzz testing, a technique that involves providing invalid, unexpected or random data as inputs to a program, which is then monitored for exceptions such as crashes or failing built-in code assertions, or for potential memory leaks. Fuzzing is able to catch issues just a few hours after they appear in the upstream source code repository, and help to solve bugs and potential security issues before they reach the end user.

#abetterlibreoffice

LibreOffice talks and presentations at FOSDEM 2018

FOSDEM is a major event in the free and open source software world – thousands of FOSS supporters get together to discuss new features, work on bugs, make new contacts, and just have a great time.

This year, many members of the LibreOffice community were there too, and gave talks and presentations in the Open Document Editors devroom. We’ve added the videos to a playlist, embedded below, so enjoy browsing through them to see what’s to come in LibreOffice! (Click the button in the top-left to switch between videos in the playlist.)

Please confirm that you want to play a YouTube video. By accepting, you will be accessing content from YouTube, a service provided by an external third party.

YouTube privacy policy

If you accept this notice, your choice will be saved and the page will refresh.

The LibreOffice Mardi Gras Party for Help: What’s new and fun in online Help?

Starting with the recent release of the 6.0 family, LibreOffice has now a brand new online help system. Unlike the previous version – based on the transfer of help content to the Mediawiki framework hosted by The Document Foundation – the new help is a direct transformation of the help XML files into simple HTML files, with additions of some JavaScript magic and CSS wizardry.

But how do I get this new help online? Actually it is quite easy. Either you navigate in your browser to https://help.libreoffice.org/6.0/ from your desktop or smartphone or you just don’t install the local help packages in your computer. When the local help is not installed, LibreOffice calls the online help, passing parameters that includes the dialog box identification or UNO command, operating system language and version. Your default browser will open the correct page at the right line position.

What is new in this help online? By working on the XML transformation targeted at modern browsers, LibreOffice developers were able to insert many nice features in the pages. Here are a few, just for a start:

The top header contains two drop-down lists, one to select the module and the second to select the language of the pages. These two lists are there to let you navigate in all help domains. If you want to read the help content in another language, just select the language in the list. There are as many as 50 languages available (not every Help page is fully translated in some languages). (more…)

Sunday Marketing #5

On Friday, we have announced LibreOffice 5.4.5 and LibreOffice 6.0.1. In both cases, it has been an earlier than scheduled – and expected – release, to solve a couple of issues which were considered significant enough to change the usually predictable release schedule. The first issue was related to security, and we decided to release a patched version to reduce the risk for LibreOffice users (details are available on dedicated channels). The second issue was related to the increase of crashes on Windows of the just announced LibreOffice 6.0.

The chart on the left shows the increase of crashes after January 31 announcement and the subsequent decrease after February 9 announcement (right-clicking on the image will allow opening the original image, which is easier to read). It is important to underline the fact that the chart is generated by our test system, which is stressing the software, and does not reflect the actual number of crashes experienced by end users. On the other hand, we received several reports of unexpected crashes, which confirmed data provided by the test system.

Although both issues were reported while a large number of developers and other community members were in Brussels for FOSDEM and for a series of internal meetings, they were immediately tackled by developers – who provided the patches – and triggered a new release process: production of the binaries for the different operating systems, test of the binaries to verify that issues were solved, upload of the binaries on mirrors, preparation of web pages relevant for the announcement (changelogs on the wiki, and download pages on websites), and draft of the announcement text for the announce mailing list, the blog post and the press release distribution. From the decision to the release, the entire process was completed in less than two days, confirming the maturity of the LibreOffice project in front of unexpected events.

Sunday Marketing #4

Document classification is one of LibreOffice 6.0 improved features. As the concept of classification is not well known outside enterprises and large organizations, to help marketing the feature we have produced this graphic to help community members with presentations. Of course, we have used LibreOffice Draw, and you are invited to localize the ODG file embedded into the attached Hybrid PDF file. The graphic complements the background, which provides additional information about classification.

Call for Papers Open Document Editors DevRoom at FOSDEM 2018

FOSDEM is one of the largest gatherings of Free Software contributors in the world and happens each year in Brussels (Belgium) at the ULB Campus Solbosch. In 2018, it will be held on Saturday, February 3, and Sunday, February 4.

As usual, the Open Document Editors DevRoom will be jointly organized by Apache OpenOffice and LibreOffice, on Saturday, February 3 (from 10:30AM to 6:30PM, room AW1.120). The shared devroom gives every project in this area a chance to present ODF related developments and innovations.

We are now inviting proposals for talks about Open Document Editors or the ODF standard document format, on topics such as code, localization, QA, UX, extensions, tools and adoption related cases. This is a unique opportunity to show new ideas and developments to a wide technical audience. Please do keep in mind, though, that product pitches are not allowed at FOSDEM.

Length of talks should be limited to a maximum of 30 minutes, as we would like to have questions after each presentation and to fit as many presenters as possible in the schedule. Exceptions must be explicitly requested and justified. You may be assigned LESS time than you request.

All submissions have to be made in the Pentabarf event planning tool: https://penta.fosdem.org/submission/FOSDEM18.

While filing your proposal, please provide the title of your talk, a short abstract (one or two paragraphs), some information about yourself (name, bio and photo, but please do remember that your profile might be already stored at Pentabarf).

To submit your talk, click on “Create Event”, then make sure to select the “Open Document Editors” devroom as the “Track”. Otherwise, your talk will not be even considered for any devroom at all.

If you already have a Pentabarf account from a previous year, even if your talk was not accepted, please reuse it. Create an account if, and only if, you don’t have one from a previous year. If you have any issues with Pentabarf, please contact ode-devroom-manager@fosdem.org.

The deadline is Monday, December 4th, 2017. Accepted speakers will be notified by Monday, December 11th, 2017. The schedule will be published by Friday, December 15, 2017.

Recording Permission

The talks in the Open Document Editors DevRoom will be audio and video recorded, and possibly streamed live too.

In the “Submission notes” field, please indicate that you agree to have your presentation recorded and published under the same license as all FOSDEM content (CC-BY). For example: “If my speech is accepted for FOSDEM, I hereby agree to be recorded and to have recordings – including slides and other presentation-related documents – published under the Creative Commons Attribution (CC-BY) 4.0 International License. Sincerely, Name”.