EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  <20202021  2022  2023  2024  Index 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  <20202021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Results from analyzing Codacy issues
From: "Konrad, Martin via Core-talk" <core-talk at aps.anl.gov>
To: "core-talk at aps.anl.gov" <core-talk at aps.anl.gov>
Date: Wed, 12 Feb 2020 09:28:51 +0000
Hi Karl,
I haven't looked into the details of your findings, yet.

> 1)      Is this time well spent?
I'm seeing quite a few compiler warnings when I compile EPICS Base with
GCC 9.2. I wish we could bring this number down to zero as this makes
new issues quite hard to spot. I guess the issues reported by my GCC are
a subset of the issues reported by Codacy. Anything we can do to make
these issues more visible to the guys using older tool-chains is useful.
Fixing the issues that already exist is certainly helpful as well.

BTW: I would also consider sloppy tests a problem. For example return
codes should be evaluated in tests as well. In many cases a simple
"assert" should be sufficient to make the tools happy and to make the
tests more robust at the same time.

-Martin

-- 
Martin Konrad
Facility for Rare Isotope Beams
Michigan State University
640 South Shaw Lane
East Lansing, MI 48824-1321, USA
Tel. 517-908-7253
Email: konrad at frib.msu.edu

Navigate by Date:
Prev: Results from analyzing Codacy issues Karl Vestin via Core-talk
Next: [Bug 1862916] [NEW] Possible null pointer dereferencing in modules/ca/src/client/udpiiu.cpp Karl Vestin via Core-talk
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  <20202021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Results from analyzing Codacy issues Konrad, Martin via Core-talk
Next: [Bug 1862916] [NEW] Possible null pointer dereferencing in modules/ca/src/client/udpiiu.cpp Karl Vestin via Core-talk
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  <20202021  2022  2023  2024 
ANJ, 12 Feb 2020 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·