Skip to content

Scans ColdFusion(cftag and cfscript) and Javascript files for declared functions. Outputs in html and/or text file the total functions found, files scanned, lines scanned.

License

barrettotte/Codebase-Scanner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Codebase-Scanner

  • Scans ColdFusion(cftag and cfscript) and Javascript files for declared functions.
  • Outputs in html and/or text file the total functions found, files scanned, lines scanned.
  • Two sample text scans are found in index.cfm.
  • The javascript one has been changed to keep company information out of it.

To Do

  • Create some javascript test files
  • Finish javascript files --- nested js functions are giving me a little trouble
  • Add a 'GENERAL' scan to give description of codebase by each file extension (.cfc, .cfm, .css, .txt)
  • Cleanup cftag function output

Usage

 local.scanner = createObject('component', 'Code-Scanner').init();
 local.basePath = 'c:\source\cfmx\wwwroot\test\barrett\'; 

 local.scanOptions = {
   scanTitle: '<h2>ColdFusion Test</h2>',
   scanType: 'ColdFusion',
   outPath: local.basePath & 'Code-Scanner\resultsCF',
   scanTarget: [
       'C:\source\cfmx\wwwroot\test\barrett\'
   ],
   excludeContaining: [
       '_combined'
   ],
   showHtml: true,
   sizeUnits: 'Bytes'
 };
 local.scanResults = local.scanner.scan(local.scanOptions);

Screenshots

ColdFusion Scan In Progress

screenshots

ColdFusion Scan Results

screenshots02

About

Scans ColdFusion(cftag and cfscript) and Javascript files for declared functions. Outputs in html and/or text file the total functions found, files scanned, lines scanned.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published