GSoC/GCI Archive
Google Code-in 2014 Wikimedia Foundation

Huggle: Generic cleanup of exceptions

completed by: Evan McIntire

mentors: Petr Bena

Huggle is a fast diff browser application intended for dealing with vandalism on Wikimedia projects, written in C++ (C++11 with Qt framework). More information: and

Source code is available at and can be compiled on Linux, Windows and MacOS.

Some exceptions have hardcoded function names or use generic Huggle::Exception instead of NullPointerException class for cases where we throw them in case there is NULL (or nullptr) in a pointer. These should be fixed, either by changing the exception type, replacing the function name with new macro BOOST_FUNCTION_NAME or clarifying the exception text. See example:

Students are required to read Wikimedia's general instructions at first.