<div dir="ltr"><div><div>Congratulations to everyone.<br><br>Code quality is something that matters on the long run. Since QGIS only gets better, I envision a big marathon :P.<br><br></div>Anyone who develops software and understands what these metrics mean know they are significant, so congratulations again.<br><br></div>George<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Feb 11, 2015 at 9:29 AM, Nathan Woodrow <span dir="ltr"><<a href="mailto:madmanwoo@gmail.com" target="_blank">madmanwoo@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><span class="">> <span style="font-size:13.1999998092651px;line-height:19.7999992370605px">Thanks to Jürgen and Martin's assistance <br></span><br></span><div>And yours of course. This is some great stabilization to the product. </div><div><br></div><div>- Natahn </div></div><div class="HOEnZb"><div class="h5"><br><div class="gmail_quote">On Wed Feb 11 2015 at 9:13:32 PM Nyall Dawson <<a href="mailto:nyall.dawson@gmail.com" target="_blank">nyall.dawson@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all,<br>
<br>
If you've been following recent git commits, you'll have noticed a lot<br>
of "Coverity" related commits, and may be wondering what these are all<br>
about.<br>
<br>
Coverity Scan ( <a href="https://scan.coverity.com/" target="_blank">https://scan.coverity.com/</a> ) is a powerful automated<br>
static code analyser which is able to detect a large number of code<br>
errors, such as memory leaks and potential crashes, and even things<br>
like accidental copy/paste errors. It's a well respected service and<br>
fortunately offers free testing of open source projects (it's quite<br>
expensive for commercial software).<br>
<br>
When we first ran Coverity over the QGIS codebase about 2 weeks ago it<br>
picked up just over 1000 potential issues, with a defect density of<br>
about 1 error per 1000 lines of code. Apparently the standard for<br>
"good" software is a defect density of 1. For comparison, python sits<br>
at 0.08, and the Linux kernel at 0.53. Libreoffice's latest release<br>
hit 0.02, and they used this as a big highlight of their press release<br>
[1].<br>
<br>
Thanks to Jürgen and Martin's assistance we're now down to a defect<br>
density of 0.26. I'm hoping that with a bit more work we can smash<br>
this down even further and possibly even reach the coveted "Coverity<br>
Clean" status [2] for 2.8. In any case this is a great demonstration<br>
that we are serious about code quality and stable releases, and is a<br>
good selling point for our first LTS release (alongside the expanding<br>
test suite and Travis CI testing).<br>
<br>
Unfortunately we can't automate submission to Coverity via Travis<br>
builds due to the compilation time required to build QGIS using<br>
Coverity exceeding Travis' limits, so I'm currently manually<br>
submitting builds to Coverity on a semi-regular schedule.<br>
<br>
The full Coverity defect reports are available by invitation only. If<br>
you're a developer and want to view them, let me know and I'll add you<br>
to the group.<br>
<br>
Nyall<br>
<br>
<br>
[1] <a href="http://blog.documentfoundation.org/2015/01/29/libreoffice-4-4-the-most-beautiful-libreoffice-ever/" target="_blank">http://blog.<u></u>documentfoundation.org/2015/<u></u>01/29/libreoffice-4-4-the-<u></u>most-beautiful-libreoffice-<u></u>ever/</a><br>
[2] Why is this important? well... I really want to beat MapInfo<br>
there! <a href="http://www.pb.com/pbs-voc/product-improvements.shtml" target="_blank">http://www.pb.com/pbs-voc/<u></u>product-improvements.shtml</a><br>
______________________________<u></u>_________________<br>
Qgis-developer mailing list<br>
<a href="mailto:Qgis-developer@lists.osgeo.org" target="_blank">Qgis-developer@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" target="_blank">http://lists.osgeo.org/<u></u>mailman/listinfo/qgis-<u></u>developer</a></blockquote></div>
</div></div><br>_______________________________________________<br>
Qgis-developer mailing list<br>
<a href="mailto:Qgis-developer@lists.osgeo.org">Qgis-developer@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature"><div dir="ltr">George R. C. Silva<br>SIGMA Consultoria<div>----------------------------<br><div><a href="http://www.consultoriasigma.com.br/" target="_blank">http://www.consultoriasigma.com.br/</a><div style="padding:0px;margin-left:0px;margin-top:0px;overflow:hidden;word-wrap:break-word;color:black;font-size:10px;text-align:left;line-height:130%"></div><div style="padding:0px;margin-left:0px;margin-top:0px;overflow:hidden;word-wrap:break-word;color:black;font-size:10px;text-align:left;line-height:130%"></div><div style="padding:0px;margin-left:0px;margin-top:0px;overflow:hidden;word-wrap:break-word;color:black;font-size:10px;text-align:left;line-height:130%"></div></div></div></div></div>
</div>