https://github.com/barrettotte/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.
https://github.com/barrettotte/codebase-scanner
cfc cfscript code-scan coldfusion scanner
Last synced: 9 months ago
JSON representation
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.
- Host: GitHub
- URL: https://github.com/barrettotte/codebase-scanner
- Owner: barrettotte
- License: mit
- Created: 2018-07-22T17:55:07.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-09-23T02:54:35.000Z (over 7 years ago)
- Last Synced: 2025-02-03T13:13:26.023Z (11 months ago)
- Topics: cfc, cfscript, code-scan, coldfusion, scanner
- Language: ColdFusion
- Homepage:
- Size: 11.7 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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
``` ColdFusion
local.scanner = createObject('component', 'Code-Scanner').init();
local.basePath = 'c:\source\cfmx\wwwroot\test\barrett\';
local.scanOptions = {
scanTitle: '
ColdFusion Test
',
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

## ColdFusion Scan Results
