Home Applications objectscript-donts

objectscript-donts

This application is not supported by InterSystems Corporation. Please be notified that you use it at your own risk.
5
0 reviews
0
Awards
202
Views
0
IPM installs
4
0
Details
Releases
Reviews
Issues
Articles  (2)
What you shouldn't do in objectscript

What's new in this version

ObjectScript Analysis with initial set of rules

objectscript donts

InterSystems ObjectScript is a script programming language which is stated in the name.
It has the the compiler which compiles ObjectScript to an obj-code and controls some constraints.
But sometimes we can compile code, which contains possible bugs or doesn’t meet companies code guidlines.

This repository contains a class with set of “Donts” which compiler compiles successfully.
The cases we could meet in ObjectScript projects but really don’t want.

ObjectScriptQ Static Code analyzer

Lite Solutions’ ObjectScript Quality tool can check for the cases stated here.
Here is the report for the class with problems which were found by ObjectScriptQ.

Lite Solutions provides a free-of-charge service for ObjectScript Quality for Open Source projects.
If you want to add this control service to your ObjectScript project just add the following github actions workflow file to .github/workflows directory of you project and find your analysis here.
Here is the the [currrent set of rules] for InterSystems ObjectScript you can analyze your code with.

Contribution

If you know other cases which should and could be controlled in ObjectScript please submit an issue to this repository or make a Pull Request.

Made with
Version
1.0.025 May, 2020
Category
Developer Environment
Works with
CachéEnsembleHealthShareInterSystems IRISInterSystems IRIS for Health
First published
25 May, 2020
Last checked by moderator
27 Jun, 2023Works