From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: "J-P. Rosen" Newsgroups: comp.lang.ada Subject: Re: [Ann] AdaControl 1.18r8 released Date: Sat, 5 Nov 2016 13:44:51 +0100 Organization: A noiseless patient Spider Message-ID: References: <0ff97519-ae71-4c27-8654-b6eab0ca4f96@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Date: Sat, 5 Nov 2016 12:44:31 -0000 (UTC) Injection-Info: mx02.eternal-september.org; posting-host="63f665184168e0813dbc63123c5e3ca0"; logging-data="26158"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19x0aQzQyxwPoUtIq/AZFDB" User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 In-Reply-To: <0ff97519-ae71-4c27-8654-b6eab0ca4f96@googlegroups.com> Cancel-Lock: sha1:8ZoSPez9LqsHv0CrnyuDLSxPY0k= Xref: news.eternal-september.org comp.lang.ada:32251 Date: 2016-11-05T13:44:51+01:00 List-Id: Le 05/11/2016 à 11:28, artium@nihamkin.com a écrit : > Sometimes a developer decides to try these tools on an already existing codebase. This will lead to thouthands of violations. > > Fixing them is not acceptable in a field tested code. > > The developer would like to know only about the violations in the newly added code. > > Allowing this requires integration with source control tools and the ability to parse the analysis tool's log in a smart way (for example adding a line of code in the beginning of the file, will cause all the lines of the violations to increase by one) > > > It is interesting to hear your thoughts about this, and if you are aware of any solutions used by AdaControl users. > A semantic tool, especially one using ASIS like AdaControl, can work only on compilable compilation units. OTOH, you can apply AdaControl to selected units, not necessarily a whole project. My opinion is that if you modify a unit, then it's a good opportunity to fix any violation to coding rules. So my recommandation would be to include AdaControl in the process of entering a modified unit into the SCM. -- J-P. Rosen Adalog 2 rue du Docteur Lombard, 92441 Issy-les-Moulineaux CEDEX Tel: +33 1 45 29 21 52, Fax: +33 1 45 29 25 00 http://www.adalog.fr