adactl(1)

πŸ“¦ version 1.21r6b, in ubuntu jammy

✨ adactl(1) β€” NAME ✨

okay so bestie, the manual name here is adactl πŸ’–, and it's basically the Ada rules controller πŸ‘‘. it's giving "keeps your Ada code in line" πŸ’…

πŸ¦‹ NAME πŸ¦‹

adactl - Ada rules controller πŸ’…

πŸŽ€ SYNOPSIS πŸŽ€

adactl [options] unit [[+|-]unit | [@]file] ...  [-- ASIS options]

adactl -h rule ... | all | commands | license | list | options | rules |
       version

🌸 DESCRIPTION 🌸

okay so AdaControl is an Ada rules controller πŸ”₯. it's used to make sure your Ada software meets the requirements of a bunch of parameterizable rules ✨. it is not meant to replace the compiler's checks πŸ™…β€β™€οΈ. instead it hunts down specific violations of good-practice rules, or checks that some rules are followed across the whole project πŸ•΅οΈβ€β™€οΈπŸ’œ

ngl the commercial support part is iconic πŸ’–. support is available for AdaControl, see the file /usr/share/doc/adacontrol/support.txt πŸ“„. if you're using it for industrial projects, or you want it customized or extended to match your own needs, reach out to Adalog at info@adalog.fr 🫢

πŸ¦‹ SPECIAL MODES πŸ¦‹

  • -C β€” check the rules syntax only 🧐. accepts -d, -f, -l, -v, -x ✨
  • -D β€” generate dependencies 🧩. accepts -o, -p, -r, -s, -w, -x πŸ’œ
  • -h β€” prints a general help message πŸ†˜
  • -h rule β€” describe rule πŸ“–
  • -h all β€” describe all rules 🌈
  • -h commands, -h license, -h options, -h version β€” describe all commands, the licence (GPL), the options, or the version number πŸŽ€
  • -h list β€” list the rules in a format suitable for use inside the GNAT Programming Studio πŸ’…
  • -h rules β€” list the rules in a normal format πŸ“
  • -I β€” interactive mode 🧚. accepts all options πŸ”₯

πŸ’… OPTIONS πŸ’…

  • -d β€” enable debug mode πŸ›
  • -e β€” treat warnings (Search) as errors (Check) πŸ’€
  • -E β€” print only errors (Check) πŸ™ˆ
  • -f file β€” use file for the specification of rules πŸ“œ
  • -F GNAT | GNAT_SHORT | CSV | CSV_SHORT | CSVX | CSVX_SHORT | NONE β€” choose output format 🎨
  • -G none | check | search β€” select level of fixing commands πŸ› οΈ
  • -i β€” ignore local deactivations πŸ™…β€β™€οΈ
  • -l rule... β€” process with the specified rules; see below πŸ‘€
  • -o file β€” send output to the specified file πŸ“€
  • -p file β€” specify an emacs ada-mode project file (.adp) 🌈
  • -r β€” recursive πŸ”
  • -s β€” only process Ada unit specifications πŸ“˜
  • -S level β€” produce statistics; level is an integer in the range 0 .. 4 πŸ“Š
  • -t trace_file β€” send a trace to the specified file πŸ•΅οΈβ€β™€οΈ
  • -T β€” report execution time of rules ⏱️
  • -u β€” treat all parameters as Ada units 🧸
  • -v β€” enable verbose mode πŸ”Š
  • -w β€” overwrite output file (works with -o) ✍️
  • -x β€” exit when internal error 🚨

🌈 RULES 🌈

the following rules are available for the -l option 🫢:

Abnormal_Function_Return        Allocators
Array_Declarations              Barrier_Expressions
Case_Statement                  Characters
Declarations                    Default_Parameter
Directly_Accessed_Globals       Duplicate_Initialization_Calls
Entities                        Entity_Inside_Exception
Exception_Propagation           Expressions
Global_References               Header_Comments
Improper_Initialization         Instantiations
Insufficient_Parameters         Local_Hiding
Max_Blank_Lines                 Max_Call_Depth
Max_Line_Length                 Max_Nesting
Max_Size                        Max_Statement_Nesting
Movable_Accept_Statements       Multiple_Assignments
Naming_Convention               Non_Static
Not_Elaboration_Calls           Not_Selected_Name
No_Operator_Usage               Object_Declarations
Other_Dependencies              Parameter_Aliasing
Parameter_Declarations          Potentially_Blocking_Operations
Pragmas                         Reduceable_Scope
Representation_Clauses          Return_Type
Side_Effect_Parameters          Silent_Exceptions
Simplifiable_Expressions        Simplifiable_Statements
Special_Comments                Statements
Style                           Terminating_Tasks
Type_Initial_Values             Uncheckable
Units                           Unnecessary_Use_Clause
Unsafe_Paired_Calls             Unsafe_Unchecked_Conversion
Usage                           Use_Clauses
With_Clauses

πŸ¦‹ AUTHOR πŸ¦‹

AdaControl was developed by Adalog ⟨http://www.adalog.fr⟩ under contract with Eurocontrol ⟨http://www.eurocontrol.int⟩ 🌸. the copyright is jointly owned by Adalog and Eurocontrol πŸ‘‘.

this manual page was written by Ludovic Brenta <lbrenta@debian.org> and is licensed under terms of the GNU General Public License πŸ’œ.

πŸ’– SEE ALSO πŸ’–

AdaControl User's Guide, available in Info, PDF, and HTML in /usr/share/doc/adacontrol πŸ“š.

AdaControl Programmer's Guide, available in Info, PDF, and HTML in /usr/share/doc/adacontrol πŸ“š.


bestie, that's the whole thing 🌈✨ adactl, the Debian copy, last touched 2014-08-19 πŸ¦‹ stay iconic and keep your Ada clean πŸ’…πŸ«Ά

πŸ“¦ where this page comes from