I was looking for a code analysis tool that can be used with PB2017 R3?
- You are here:
- Home
- Q&A
- Q&A
- PowerBuilder
- PB Code Analysis Tool
- Timme Buffington
- PowerBuilder
- Wednesday, 22 May 2019 13:47 PM UTC
- Wednesday, 22 May 2019 14:08 PM UTC
- PowerBuilder
- # 1
If you have LOT$ of $$$money$$$ then look at the Novalys product "Visual Expert".
In fact, there's a PowerBuilder TV presentation on this product tomorrow:
http://www.powerbuildertv.com/index.php/en
Olan
- Wednesday, 22 May 2019 22:46 PM UTC
- PowerBuilder
- # 2
Hi Timme,
One option is SonarQube (https://www.sonarqube.org).
Monday at German PB user group conference (https://pbugg.de/en/agenda-2019/) Uwe from Eventim showcased using SonarQube for code analysis.
Unfortunately SonarQube doesn't support PowerScript out of the box, However, they have a recent hire fresh of college who wrote a PowerScript grammer as plugin for SonarQube. Voilá! SonarQube supports PowerScript.
HTH /Michael
- iliyan iliev
- Monday, 16 November 2020 15:42 PM UTC
-
Helpful Loading... Helpful 0
- Michael Kramer
- Monday, 16 November 2020 16:38 PM UTC
-
Helpful Loading... Helpful 0
- Michael Kramer
- Monday, 16 November 2020 16:40 PM UTC
-
Helpful Loading... Helpful 0
- Thursday, 23 May 2019 05:32 AM UTC
- PowerBuilder
- # 3
Hi Timme,
depending what results you are expecting you can also write your own code analyzer with PowerBuilder using Classdefinition object.
I wrote such a simple tool in a few days that can
- check for duplicate objects
- check for objects without a library comment
- check naming convention for objects
- check expected inheritance for objects
- check for script header
- check naming convention for functions and variables
- check for unused local variables
- check datawindow SQL against the database
- check datawindow column datatypes against the database
- Tobias Roth
- Thursday, 23 May 2019 05:57 AM UTC
would it be possible to get some examples for that checks? Thanks
Tobi
-
Helpful Loading... Helpful 0
- René Ullrich
- Thursday, 23 May 2019 06:02 AM UTC
what do you want to see as an example?
-
Helpful Loading... Helpful 0
- Thursday, 23 May 2019 12:17 PM UTC
- PowerBuilder
- # 4
Actually, code review is one way of leveraging the static analysis of the code.
You can also explore dependencies, generate diagrams or documentation, compare code, analyse code performance, etc. (here is a list for PowerBuilder , Oracle or SQL Server).
Christophe
- Page :
- 1
However, you are not allowed to reply to this question.