The Linux Application Checker Composition
From ISP_RAS
[edit]
AppChecker Structure
Linux Application Checker consists of the following components (see links to sources at the bottom):
- User Interface and Control Scripts:
- webui/* - an embedded simple web server and user interface pages (Perl files).
- bin/app-checker-start.pl, bin/app-checker-stop.pl - start and stop scripts.
- config/app-checker-server.conf.default - sample configuration file (copy to config/app-checker-server.conf to customize).
- utils/run_tests.pl, utils/stop_tests.pl - internal scripts for running the test sequence.
- utils/pkg-scripts.pl - script for getting pre/post-(un)install scripts from RPM/DEB packages.
- utils/upload.pl - script for uploading test results to the Linux Foundation server.
- utils/report.pl - journal parser and HTML report generator.
- Low-level Analysis Tools:
- utils/apptodb.pl, utils/Common.pm, utils/Distros.pm, utils/componenttodb.pl, utils/known_commands, utils/interpreted languages/* - data collection and preliminary processing.
- utils/analysis.pl, utils/Analysis.pm - compatibility analysis (based on the intermediate results produced by the scripts from the previous point).
- LSB Database Snapshots:
- utils/*_<arch> - snapshot data.
- utils/Update.pm - module used for online updating.
- LSB Checkers:
- bin/lsbappchk - LSB tests for ELF binaries.
- bin/lsbpkgchk - LSB tests for RPM packages.
- bin/lsbappchk.pl - LSB tests for Perl scripts.
- share/appchk/perldeps.pl - Perl script parser for getting module dependencies.
- share/appchk/lsb-perl-modules.list - list of LSB standardized Perl modules.
- bin/lsbappchk.py - LSB tests for Python scripts.
- share/appchk/tetj.py - module for generating TET report journals.
- share/lsb_dis.py, share/lsb_modulefinder.py, share/lsb_opcode.py, share/lsb_types.py - additional modules used for parsing.
- share/lsb-python-modules.list - list of LSB standardized Python modules.
- bin/lsbappchk-sh.pl - LSB tests for Shell scripts.
- share/appchk/ShParser.pm - Shell language parser.
- share/appchk/List/MoreUtils.pm - additional module used by the parser.
- share/appchk/sh-cmdlist-* - lists of LSB standardized Shell commands.
- share/appchk/* - data files for LSB checkers.
[edit]
Source Files
- app-checker - Web UI and Low-level Analysis Tools
- misc-test - lsbappchk and lsbpkgchk (for ELF and RPM checks)
- lsbappchk-perl - LSB tests for Perl scripts
- lsbappchk-python - LSB tests for Python scripts
- lsbappchk-sh - LSB tests for Shell scripts