forcedotcom / sfdx-scanner

MIT License
214 stars 49 forks source link

[BUG] InternalExecutionError : Path evaluation timed out after 9000000 ms while running DFA scan #1424

Open NetsutraSF opened 6 months ago

NetsutraSF commented 6 months ago

When running the command below; sfdx scanner:run:dfa --sfgejvmargs "-Xmx20g" --format=csv --outfile=CodeAnalyzerDFA.csv --target="./" --projectdir="./" --category="Security" --rule-thread-timeout 9000000

Getting following error for 2 classes: InternalExecutionError : Path evaluation timed out after 9000000 ms

Steps to reproduce the behavior: Open VS Code Execute the command

Expected behavior No errors since the apex class compiles and is deployed without error.

Desktop OS:Windows 11 Scanner Version 3.21.0

Urgency We have to submit package for security review.

Attaching log zip file and classes please have a look and advise. sfgelog.zip ProcessTransactions.txt GetTransactions.txt

jfeingold35 commented 6 months ago

@NetsutraSF , you can document these failures the way you'd document any other false positive when you submit for security review, so this isn't a blocker on security review. That said, have you tried the troubleshooting steps or consulted our guide to writing graph engine-friendly code?