Repository navigation
🇩🇪 Deutsche Fassung · 🇫🇷 Version française
Full release notes: docs/releases/v0.9.19.md
(deutsch).
- reDelphix: repair a finding where you read it. This new feature
of SCA offers quick-fixes for 96 rules in the light bulb and the finding's
context menu, plus nine code actions at the caret, in English, German
and French. Every action re-checks the editor buffer first and writes
one undo step, never into a file. The Setup always installs it with the
plugin, for Delphi 12 and for the 32-bit and 64-bit IDE of Delphi 13. - GetIt is suspended for 0.9.19: if you use GetIt, take the Setup. The
Setup now installs a set of four packages per IDE instead of one BPL,
and that set cannot be installed through GetIt. Run the new Setup over
v0.9.18: it removes the old plugin, also a GetIt install, and says so.
Its folder goes to the front of the IDE's PATH setting; uninstalling
removes only that entry. reDelphix comes along, so an installed plugin
keeps its quick-fixes andCtrl+Alt+F. - Sonar settings and the connection check are gone. SCA writes the
file,sonar-scannersends it. The switches--sonar-test,
--sonar-init,--sonar-host,--sonar-token,--sonar-project,
--sonar-branch,--sonar-insecureand--sonar-configare removed,
so a pipeline call with one of them fails.sonar-scan.ps1and
sonar-upload.ps1are gone too: callsonar-scanneryourself, see
sonarHowto.md.[Sonar]and[SonarTokens]in
analyser.iniare ignored and can be deleted. - Lazarus and Free Pascal are a real scan target.
--dialect=fpcor
auto,.pp/.lprunits,.lfmforms,.lpi/.lpk/.lpgas
project scope,[Scan] Dialectinanalyser.ini. - Baselines count. Each entry covers at most one finding, and the
CLI, GUI and IDE mark the same findings as new. Breaking for CI
gates: findings that one entry used to hide show up as new. - A mistyped profile stops the run. An unknown name in
--profile
or[Rules] Profileends the CLI with exit 99 instead of silently
running all rules. A custom profile must exist in theprofiles.json
of the account that runs the CLI, also on a build agent. - Seven new rules, 205 in total: wrong
ParamByNamenames, hardcoded
IP addresses in code and.inifiles,notandandbefore a
comparison, aforloop one index too far, and a function name used
in place ofResult. SCA202, SCA203 and SCA205 can report Error. - Rules read more and claim less. SCA001 gets the
proven-leaklevel
as its only Error, SCA007 really runs in the CLI, SCA125 reports for
the first time, SCA005 and SCA059 check everyFormatcall, and forms
withPopupMenu = dm.Popare no longer skipped. SCA108 drops to
Warning, and SCA108 and SCA136 no longer claim more than the code can
cause. - German and French throughout. The long descriptions of all 205
rules exist in German and French, the user interface was reviewed in
both languages, fixed finding messages appear in the UI language (SARIF,
reports and baselines keep the English text), and HTML reports are
labelled in the language they were generated in. - Reports you can rely on. SARIF URIs are valid URIs, CSV fields are
safe against formula injection, report files are written atomically,
and--diff/--branchalways write the requested report. - Sonar export that fits the server. Every issue matches a file and
a line SonarQube knows, and capped findings are exported. The impact
of a rule follows the findings of the run. Existing projects see
issues appear and move. - In the IDE: new installations open the overlay below the finding
line (an existinganalyser.inifrom the template still says
OverlayPosition=sameline; change it tobelow), and the action menu
is half as wide with nothing lost. - CLI and custom rules: a relative
--pathworks with
--branch/--diff, output redirected from cmd.exe reaches its
target, and custom rules show theirfix-hint. - Documentation follows the code. README and manuals lost dead paths,
keyboard shortcuts that no longer exist and outdated numbers, and the
examples on the rule pages report what they show. The pre-commit hook
and the MSBuild example let failing scans through: replace copied
versions.
Downloads
| File | What it is |
|---|---|
StaticCodeAnalyserSetup-0.9.19.0.exe |
Setup for the IDE plugin incl. reDelphix - Delphi 12 (32-bit IDE) and Delphi 13 (32-bit and 64-bit IDE). Run it over v0.9.18; it removes the old plugin, also a GetIt install. |
StaticCodeAnalyser-v0.9.19-Win64.zip |
Standalone EXE and CLI, 64-bit, with rules/ |
StaticCodeAnalyser-v0.9.19-Win32.zip |
Standalone EXE and CLI, 32-bit, with rules/ |
StaticCodeAnalyser-v0.9.19-docs-scripts.zip |
Documentation, examples and CI scripts |
StaticCodeAnalyser-v0.9.19-source.zip |
Source code at tag v0.9.19 |
Full changelog: CHANGELOG.md