Hi ridley97,
Sometime ago, I started a Java project to analyze PDB files, in the same way that PHP analyzer does, but showing much more information (see:
https://www.pokerth.net/community/forum/15-features-request/12533-log-file-analyzer
)
Unfortunately, I started the project but I didn't have enough time to build something useful.
I just upload it to github all I did, which is not a lot:
https://github.com/albmed/PTHAnalyzer.git
GUI app has nothing to show... just a basic structure, using SWT.
The only thing that could be useful (somehow), are tests:
- TestStats, prints out a lot of information, in a similar way that PHP Analyzer does, but it show much more information, especially those necessary to print charts.
- TestGraphs, builds the same charts that PHP: Pot, Stack & Cash.
Results are pretty similar than PHP Analyzer, but sometimes are different (I don't remember why).
If you run tests, make sure you overwrite variables for output paths (for graphs) and file input locations (PDB files), which are hard-coded.
I attach an example of both tests and original PDB file:
This attachment is hidden for guests.
Please log in or register to see it.
If you have Java skills, you can compare results either using PHP analyzer and this small app, to look for bugs. Feel free to do whatever you want with Java code, and let me know.
Requirements:
You'll need Java 8 to compile & run (it uses lambda expressions) and sqlite4java, log4j, jfreechart & jcommon libraries. If you what to try GUI app (main/MainWindow), you'll also need SWT.
Code may have a lot of bugs, and it would need a complete re-design
Regards,
tahr.