#debugging #finder #pipeline #salesforce #cli

app debug_finder

CI/CD Debug Parser - Currently For Salesforce only with Package.xml

10 releases

0.3.1 Dec 4, 2019
0.3.0 Dec 3, 2019
0.2.4 Dec 3, 2019
0.2.3 Nov 27, 2019
0.1.2 Nov 27, 2019

#4 in #salesforce

MIT license

17KB
272 lines

Debug Finder

File Parser for CI/CD to serach for unnecessary Debugs/Console Log - Currently For Salesforce only with Package.xml

Requirements

  • Rust
  • Salesforce Project must contain Package.xml.

Usage

Dev Enviorment

cargo install debug_finder
debug_finder main -d .

Prod Enviorment

cargo install debug_finder
debug_finder main -r .

Dev Enviorment With Exact Path

cargo install debug_finder
debug_finder main -d "C:\Project"

Prod Enviorment With Exact Path

cargo install debug_finder
debug_finder main -r "C:\Project"
  • . => is relative path.
  • "{Your_Path}" => is exact path.

Last Changes - v. 0.3.1

    • FIle Counter.
    • Structurizer creates JSON file.
    • New Command -> clean-run - Which recreates JSON file on every run.
    • Narrow down 'console' to 'console.log' and 'system.debug' to not include 'err', 'deploy', 'error'

Roadmap

  • Support Salesforce Project w/o Package.xml.
  • Support for Package.xml with asterisk.
  • Support Other types of Project like Angular/React/VueJS.
  • Add Config which will be needed in Project to prepare best and fastest parsing of files inside.
  • Better final visualisation.

Dependencies

~2.5–3.5MB
~44K SLoC