Release RMC-06.02
(2024-04-29)
|
ContentsDescriptionDescriptionThis section describes some basic development aspects of GBS.Choice of LanguageGBS is written in Perl.I needed a language that will execute exactly the same on various computers (at that time Windows and UNIX), without being depended on installed libraries. When I started developing GBS in 2001 the best choice was Perl. Should I start developing now I would probably chose Python. Quality AssuranceperlcriticRunning perlcritic yields the following results for this version:---- 335 files. 5,603 subroutines/methods. 80,795 statements. 139,611 lines, consisting of: 15,423 blank lines. 36,049 comment lines. 68 data lines. 85,725 lines of Perl code. 2,346 lines of POD. Average McCabe score of subroutines was 3.25. 0 violations. Violations per file was 0.000. Violations per statement was 0.000. Violations per line of code was 0.000. ---- I do use function prototypes, but only with $ and @. Never with \. ChecksSome proprietary programs (perlxref and perlcheck) are used to detect:
HelpCommand help (--help) and Help File All Commands are created directly from the code so there is no mismatch.Design Considerations
|