[QGIS-Developer] Increasing QGIS stability (clazy)

Alessandro Pasotti apasotti at gmail.com
Tue Nov 5 02:40:45 PST 2019


On Tue, Nov 5, 2019 at 10:55 AM Matthias Kuhn <matthias at opengis.ch> wrote:

> Hi Paolo
>
> The reference is available under the link in my first mail,
> https://github.com/KDE/clazy/blob/master/README.md
>
> In general, developers will notice if travis tells them that it cannot be
> merged.
>

Is that the same tool that is available in Qt creator in debug view under
"Clang-Tidy and Clazy"?

I wonder if it can be easily integrated in my normal development build
workflow.



> Matthias
> On 11/5/19 10:18 AM, Paolo Cavallini wrote:
>
> Great news, thanks Matthias, and thanks to all the donors.
> Is there more documentation to help others developers not falling in these
> traps?
> Cheers.
>
> On 5 November 2019 10:11:38 CET, Matthias Kuhn <matthias at opengis.ch>
> <matthias at opengis.ch> wrote:
>>
>> Hi,
>>
>> As you all know, Qt is heavily used by QGIS. Qt has some non-standard C++
>> concepts like signals and slots. These are very powerful but also bear some
>> risks when not used properly. And it's not always easy to see what
>> "properly" means.
>>
>> Thanks to the folks at KDE, there is a tool named clazy
>> <https://github.com/KDE/clazy#clazy-v17>, that can detect many of these
>> risks at compile time. We have recently corrected a number of issues
>> reported by clazy, which will result in an increased stability of QGIS.
>>
>> We have also integrated clazy on our CI infrastructure (travis) which
>> will help the stability of QGIS in the long run by disallowing risky code
>> to enter the QGIS codebase.
>>
>> Best regards
>>
>>
>> This work has been sponsored by the OPENGIS.ch Sustainability Initiative
>> <https://www.opengis.ch/qgis-sustainability-initiative/>.
>> --
>> Matthias Kuhn
>> matthias at opengis.ch
>> +41 (0)76 435 67 63 <+41764356763>
>> [image: OPENGIS.ch Logo] <http://www.opengis.ch>
>>
>
> --
> Please excuse my brevity.
>
> _______________________________________________
> QGIS-Developer mailing list
> QGIS-Developer at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer



-- 
Alessandro Pasotti
w3:   www.itopen.it
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20191105/45a144e6/attachment.html>


More information about the QGIS-Developer mailing list