Home Applications Code-Scanner

Code-Scanner

InterSystems does not provide technical support for this project. Please contact its developer for the technical assistance.
5
2 reviews
0
Awards
174
Views
0
IPM installs
1
0
Details
Releases (3)
Reviews (2)
Issues
This app has a demo View
Find Strings in any kind of ObjectScript

What's new in this version

  • replace broken webterminal with iterm
  • clean docker-compose

Code-Scanner

This routine is built to work in Caché/Ensemble/.. and IRIS without any changes
The original code was used to prepare the migration of an installation to IRIS
that was grown over decades.
This dual-sided compatibility was achieved by using pure ObjectScript without
any special features. It scans CLS,MAC,INT,INC for any kind of text.

Prerequisites

Make sure you have git and Docker desktop installed.

Installation

Clone/git pull the repo into any local directory

git clone https://github.com/r-cemper/Code-Scanner.git

To build and start the container run:

$ docker compose up -d && docker compose logs -f

To open IRIS Terminal do:

$ docker-compose exec iris iris session iris
USER>

or using iTerm in browser

http://localhost:42773/iterm/

To access IRIS System Management Portal

http://localhost:42773/csp/sys/UtilHome.csp

How to use it

log into any terminal session

USER>do ^rcc.find
  • Next enter some string to be searched
  • Verbose allows you to see matches in detail
  • Force UpperCase is useful to make scan case insensitive
  • Code type allows splitting scan into several steps
  • Namespace defines where the scan is executed
    %-routines and %-classes are always excluded for
    namespaces other than %SYS
    UPDATE triggered by a recent request
    running across ALL Namspaces was added.

Practical hint

  • run a scan over ALL non-verbose to find affected code types
  • next run over INC and apply the required changes
  • then run CLS and apply the required changes
  • then run over MAC and apply the required changes
  • most likely there is no need for any fix in INT

Article 1 in DC
Article 2 in DC
Article en français
Video

Demo Server SMP
Demo Server WebTerminal

Made with
Install
zpm install rcc-find download archive
Version
0.0.626 Jul, 2025
Ideas portal
Category
Technology Example
Works with
InterSystems IRISCachéEnsemble
First published
11 Sep, 2024
Last edited
26 Jul, 2025