Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Does Adobe offer code analysis tools for Coldfusion 2021/2023?

Participant ,
Oct 02, 2024 Oct 02, 2024

Does anyone know if Adobe have a CFML code analysis tools to help us figure out/identify which code would not work with latest update level?

The reason we are looking for this is we have about 200 app that date back to 15-20 years ago that are still running, but with latest CF updates is appears that there might be some possible break changes for us.

Please advise.

735
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Oct 02, 2024 Oct 02, 2024

Yes, Adobe ColdFusion does have a CFML code analysis tool to help you figure out/identify which code would not work with latest update level. The tool is built-in within ColdFusion 2021/2023 and is called the Code Analyzer.

 

To access it, open the ColdFusion Administrator and navigate to Debugging & Logging > Code Analyzer . See image below.

BKBK_0-1727903415956.png

Here is some Adobe documentation on the Code Analyzer Beware: this documentation is a bit old. So, look at it simply as general information.

 

 

 

Translate
Community Expert ,
Oct 02, 2024 Oct 02, 2024

Yes, Adobe ColdFusion does have a CFML code analysis tool to help you figure out/identify which code would not work with latest update level. The tool is built-in within ColdFusion 2021/2023 and is called the Code Analyzer.

 

To access it, open the ColdFusion Administrator and navigate to Debugging & Logging > Code Analyzer . See image below.

BKBK_0-1727903415956.png

Here is some Adobe documentation on the Code Analyzer Beware: this documentation is a bit old. So, look at it simply as general information.

 

 

 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 02, 2024 Oct 02, 2024

I don't think the code compatibility analyzer tool in the admin will help with the changes in the recent updates. 

 

But I have blog posts in July following up on the two key updates (from March and June), and there I go over how to find and fix affected code. I also discuss workarounds that relieve you of that need...at least until cf2025. More at carehart.org/blog. 


/Charlie (troubleshooter, carehart. org)
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Oct 03, 2024 Oct 03, 2024

I am working on an update to Fixinator which is almost ready for release that has support for compatibility scanning. It will allow you to scan your code to find compatibility issues including things like:

  • Changes to default algorithms in encrypt/decrypt and hash 
  • The DateFormat uppercase D issue
  • The unscoped variable change
  • CFQueryParam cf_sql_int 
  • And more, along with several deprecated / removed features

 

Stay tuned, it should be ready very soon (a week or two).

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 03, 2024 Oct 03, 2024

Wonderful news, Pete.

 

I wasn't sure how much you'd yet shared publicly. Glad to be able to share the news more widely as we may have the chance. 🙂 


/Charlie (troubleshooter, carehart. org)
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 03, 2024 Oct 03, 2024
quote

I am working on an update to Fixinator which is almost ready for release that has support for compatibility scanning. It will allow you to scan your code to find compatibility issues ...

Stay tuned, it should be ready very soon (a week or two).


By @pete_freitag

 

Good to hear, @pete_freitag . 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Oct 03, 2024 Oct 03, 2024

@pete_freitag @Charlie Arehart @BKBK Thank you all for the information! This should help us indentify and mitigate the the changes to the old code.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Oct 04, 2024 Oct 04, 2024
LATEST

Aside from Code Analyzer in CFAdmin, Ortus Solutions, the ColdBox people, has a pretty powerful code analysis tool called, of course, Code Checker.

https://www.forgebox.io/view/CodeChecker

Basically you run it either as a standalone or as part of a CF instance. Simply point it to the code directory you want to check and it will evaluate the CF files based on a set of rules. The  categories of rules are:

  • Security
  • Performance
  • Standards
  • Maintenance

 

Well worth checking out

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources