This topic complements the scan tracking and statistics capabilities provided by MyBatis/iBATIS assessment. For file input, dynamic SQL processing, and commands, see Assess SQL statement compatibility.
Scan Audit Ledger
Mapper tasks record the scanned audit directories. You can view the paths in the CLI summary, and the report also uses this audit information. Prioritize checking the following files.
File |
Purpose |
|---|---|
summary.csv |
Summary of Scanned Items and Assessable Logical Statements |
files.csv、namespaces.csv |
File and Namespace Registration |
mapper-tags.csv |
Mapper Tag List |
statements.csv |
Number of Logical Statements and Their Variants |
branch-points.csv、branches.csv |
Dynamic Points and Retained Branches |
issues.csv |
Scan and Expand Issues |
manual-rescan-required.csv |
Projects Requiring Manual Processing and Rescan |
sql-parser-diagnostics.csv、sql-parse-errors.csv |
Analysis, diagnostics and error details |
sql-parse-evidence.csv |
Analysis Evidence |
analysis-classification.csv |
Assessment Category |
evaluation-summary.csv |
Assessment Summary |
statement-status.csv |
Duplicated Errors and Warnings by Logical Statement |
unverified-object-dependencies.csv |
Dependencies of the object to be verified |
Different stages generate different files; do not expect to have a complete assessment ledger only after collection is complete. When encountering missing references, partially expanded items, XML parsing issues, or discarded variants, first process the list manually according to issues.csv and then evaluate the scan coverage.
Logical Statements and SQL Variants
One Mapper tag may expand into multiple SQL variants. The number of variants, logical statements, and issues represent different dimensions and cannot be directly added or used as a common denominator.
The CLI's Mapper summary groups by logical statement status, with errors prioritized over warnings. For a complete description of the statistical metrics, see SQL execution verification.