Hello Jean-Pierre, Amazing result with just a dozen of rules :-)
Few comments on result: - gnoga-types-colors.adb:10:1: Error: HEADER_COMMENTS: line does not match pattern "^-- Copyright \(C\) 2014 David Botton --$" In the header, the year and author name should be any value - gnoga-types-colors.adb:47:7: Error: NAMING_CONVENTION: Name does not follow naming rule for "all": "aliceblue" Enumeration names should not follow type rule. - Is it possible to check "_Type" suffix only for record or tagged record type? What is the command line for adacontrol? Thanks, Pascal. http://blady.pagesperso-orange.fr > Le 12 nov. 2016 à 17:39, Jean-Pierre Rosen <ro...@adalog.fr> a écrit : > > Le 11/11/2016 à 12:02, Pascal a écrit : >> Hello, >> >> Gnoga coding guidelines proposal and an extract of mailing list >> comments (as discussion paragraphs) have been gathered on : >> >> https://sourceforge.net/p/gnoga/wiki/Coding-Guidelines/ > Just for the fun of it, I translated these guidelines into AdaControl. > > Attached is the rules file (with associated header comment file), and > the result of running it; 345 violations is not that bad for a first > automatic checking ;-) > > Looking at the violations is also a good mean of refining the rules... > > > -- > 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 > <gnoga.aru><gnoga_header.txt><result.txt>------------------------------------------------------------------------------ > Developer Access Program for Intel Xeon Phi Processors > Access to Intel Xeon Phi processor-based developer platforms. > With one year of Intel Parallel Studio XE. > Training and support from Colfax. > Order your platform today. > http://sdm.link/xeonphi_______________________________________________ > Gnoga-list mailing list > Gnoga-list@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gnoga-list ------------------------------------------------------------------------------ Developer Access Program for Intel Xeon Phi Processors Access to Intel Xeon Phi processor-based developer platforms. With one year of Intel Parallel Studio XE. Training and support from Colfax. Order your platform today. http://sdm.link/xeonphi _______________________________________________ Gnoga-list mailing list Gnoga-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gnoga-list