Menu

#1487 [java] DFA dont search to the end of large functions

New Tickets
open
nobody
DFA (8)
PMD
3-Major
Bug
4.3.7
2017-01-27
2016-05-24
No

To fix https://sourceforge.net/p/pmd/bugs/1393/, (https://github.com/pmd/pmd/commit/0f48fd501d350570f6d285042e1f858b42c4a04b), there is a loop limit count in DFA of 100.

This cause to stop on some cases without getting end of large fucntions (I guest more than 100 lines long).

A more reasonable value, at least for my source code, would be MAX_LOOPS = 1000;

Discussion

  • Andreas Dangel

    Andreas Dangel - 2016-12-18
    • labels: --> DFA
     
  • Andreas Dangel

    Andreas Dangel - 2017-01-27
    • summary: DFA dont search to the end of large functions --> [java] DFA dont search to the end of large functions
     

Log in to post a comment.

MongoDB Logo MongoDB