From: Ondřej Surý Date: Wed, 22 Apr 2020 13:56:17 +0000 (+0200) Subject: Add configuration for LGTM.com static code analyzer X-Git-Tag: v9.17.2~128^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=fea3fe999615d28005889756f2d47ca695efe4b6;p=thirdparty%2Fbind9.git Add configuration for LGTM.com static code analyzer --- diff --git a/.lgtm.yml b/.lgtm.yml new file mode 100644 index 00000000000..faf16513fa8 --- /dev/null +++ b/.lgtm.yml @@ -0,0 +1,35 @@ +extraction: + cpp: + prepare: + packages: + - "libxml2-dev" + - "libjson-c-dev" + - "libssl-dev" + - "zlib1g-dev" + - "libcmocka-dev" + - "pkg-config" + - "libcap2-dev" + - "libedit-dev" + - "libidn2-dev" + - "libmaxminddb-dev" + - "libuv1-dev" + configure: + command: + - "autoreconf -fi" + - "CFLAGS=\"-Og -g\" ./configure --enable-developer" +path_classifiers: + test: + - "lib/*/tests/" + - "bin/tests/" + docs: + - "**/*.xml" + - "**/*.docbook" + - "**/*.html" + - "**/*.1" + - "**/*.5" + - "**/*.8" +queries: + - exclude: libltdl/ + - exclude: fuzz/ + - exclude: "bin/tests/system/*/ans*/*.py" + - exclude: cpp/use-of-goto