quick varScoper update

Version 1.21 of varscoper is now available to download . This is a minor update that fixes some of the CF6, CF7, and *nix issues that were reported when I released 1.20.

Additionally, there was a minor fix to cfscript parsing when using a function inside a struct set. Something similar to this...

mystruct[someFunction()] = "";

varScoper 1.20 - critical update

Version 1.20 of varscoper is now out on RIAForge. It's also available directly from the download link.

Many thanks to Pat Santora for this release. The majority of the content in this release is a direct result of his hard work.

Updates

  • Improvements to cfscript parsing engine
    • RIAForge issues 6,7,8,9,10,11 are fixed
    • Improved handling of script comments
  • Ability to exclude files/folders
    • configured through properties.xml
    • Ability to exclude individual files or directories from your search
  • Integrated Unit Testing
    • testCaseCFC.cfc now includes positive/negative test cases for all reported issues
    • Currently still reporting 2 known issues that will be addressed in a future release
  • Improvements to parsing engine
    • Fix for Ray's cffeed bug (also fixes cfprocparam)
    • More agressive var scope checking (re-run against all your code, we found 2 new unscoped vars at Planitax)

Minor update to varscoper

I just released a 1.12 update to my varscoper tool.  I've added new tags to the parsing engine, added XML output support, and fixed some bugs related to directory parsing in CF6.  Thanks to Kola Oyedegi for help with XML output and Dmitriy Goltseker for fixing directory processing.  Thanks to everyone who helped to refine the list of tags that create variables.  The additions are below.  You can also download 1.12 here , or get it via SVN on riaforge.

  • cfhttp:result
  • cfquery:result
  • cfimage:name
  • cfmail:query
  • cffeed:name
  • cffeed:query
  • cfftp:name
  • cfwddx:output
  • cfobject:name
  • cfsearch:name
  • cfprocresult:name
  • cfpop:name
  • cfregistry:name
  • cfreport:name
  • cfdbinfo:name
  • cfdocument:name
  • cfexecute:variable
  • cfNtAuthenticate:result
  • cfcollection:name
  • cfpdf:name
  • cfxml:variable
  • cfzip:name
  • cfldap:name

Can you name all the tags that create variables?

As part of the development effort on my var-scoping tool I have been trying to identify all of the tags that can create variables.   I have yet to find a comprehensive listing of tags, so I'm hoping that people can leave comments here to expand the list.

Here's my partial list to start with (yes I know it's small), along with the parameter that specifies the variable name.  Please comment on my blog and add on any that I've missed.

cfloop:index
cfloop:item
cfquery:name
cfinvoke:returnvariable
cfdirectory:name
cffile:variable
cfparam:name
cfsavecontent:variable
cfform:name
cfstoredproc:name
cfprocparam:variable

More Entries

BlogCFC was created by Raymond Camden. This blog is running version 5.9.002. Contact Blog Owner