Quality Check & CtrlPPCheck

€ 0,00 / Year
Subscription
License Type: per PC / Site
A collection of various Code Quality checks that are easy to use.
With the SloopTools Quality Checks, we want to improve the Code Quality of WinCC OA projects and offer a comprehensive service.
FREE version of CtrlPPCheck included in DEMO version!
Get more information below at the detailed description.
Category:
Engineering
Tags:
Quality Code Analysis Static Code Analysis Quality Assurance
Software:
SW-Vers.:
WinCC OA 3.16 WinCC OA 3.15 WinCC OA 3.17
OS Systems:
Microsoft Windows 7 Microsoft Windows 8.1 Microsoft Windows 10 Microsoft Windows Server 2012 R2 Microsoft Windows Server 2016
Item Nr.:
00089-00001
Latest Vers.:
2.0.1 - Bugfix (2020-11-13)
Quality Score:
900 / 900
Price: € 0,00
per Year Once
License
Services
Features

Features

Name Description Type Price Y/N per Year Once
CtrlPPCheck CtrlPPCheck is a static code analysis like the well-known cppCheck but understands WinCC OA CTRL and CTRL++. license-period € 999 € 999
*"Upgrade / Year" entitles to download and use all versions of the add-on including minor and major features in the paid period. It will be automatically calculated based on the total price. Charged per Year.
**"Upgrade once" entitles to download and use the latest versions of the add-on including minor and major features. It will be automatically calculated based on the total price. Activated manually at a later point of time via the order page. Charged after activation.

Product details

The add-on Quality Check & CtrlPPCheck by SloopTools deals with Code Quality. Overall, code quality is important to software quality. And quality influences how safe and reliable your codebase is. High quality is of critical importance to many development teams today. This is particularly important for those who develop safety-critical applications, ie SCADA or HMI.

The add-on is divided into two major parts:

Quality Checks

    • The SloopTools Quality Gates within the GEDI
    • These check the code based on the following checks:
      • Mc Cabe Complexity
      • Code lines per script / Libs
      • Code lines per function
      • Number of function per script / libs
      • Number of functions per panel
      • Number of parameters per function
      • Number of properties per panel
      • Number of files per folder
      • and other ...
    • Furthermore, the integrity of the project is checked with the following checks:
      • Pictures used in the project
      • Overloaded files from the version, for maintenance purposes

CtrlPPCheck

    • Static code analysis ala cppCheck for WinCC OA CTRL in the GEDI
    • Included are, among many others, these checks:
      • Undefined variables
      • Unused variables
      • unused functions
      • Dead code
      • Comparison is always true / false
      • Return value of a specific function is not used
        • e.g. return from dpExists ()
      • and other ...

GEDI Integration

With the SloopTools Quality Checks we want to improve the Code Quality of WinCC OA projects and offer a comprehensive service. The seamless integration into the development environment of WinCC OA (GEDI) was very important to us. The integration into the GEDI was carried out in the following places:

  • Drop-Down menu in the GEDI menu bar
  • Dock-Module for the GEDI with results
  • Script check via button in the script editor

Licensing

Since this additional feature brings a lot of quality into the code as well as many potential programming errors and we will continue to evolve it but give everyone the opportunity to test, we provide 3 levels of licensing:

  • FREE version
    • CtrlPPCheck for script files and recursive project check are included. Limitations: Max. 1 error per error ID will be shown. For full functionality, buy the CtrlPPCheck feature in the SloopTools Store
  • DEMO version
    • CtrlPPCheck for script files and recursive project check are included. Limitations: Max. 1 error per error ID will be shown. For full functionality, buy the CtrlPPCheck feature in the SloopTools Store
  • FULL version
    • Script files with unlimited lines and an unlimited amount of files for recursive project check are included. All errors will be shown.
    • This version requires a FREE license with the additional feature "CtrlPPCheck" from the SloopTools Store. This must be purchased and activated via the installer.

Roadmap

  • WinCC OA CTRL Library Check (available since version 1.0.2)
    • All missing CTRL functions will be configured to check the number of arguments and return value
  • Complete panel check - (available since version 1.1.0)
    • Including Ctrl + E and Scope-Lib
  • Linux support (available since version 1.1.0)
    • on request
  • Single Site License - (available since version 1.1.0)
  • Customizable limits for quality checks - (available since version 1.2.0)
    • e.g. lines of code per function, lines of code per file, ...
  • Variable Naming Check - (available since version 1.2.0)
    • e.g. variable always has a prefix "xy_"
  • Own libraries check- (next on list)
    • Be able to configure and check arguments and return values ​​from own libraries
    Create a report
    • HTML or PDF report for your quality assurance
  • ...

See complete documentation with all Limitations and the complete Roadmap on our documentation page:

Prerequisite:

For the quality checks, the tool Python must be installed. At least in version 3.6

Open Source Information

The following tools are included with the add-on:



Ratings and FAQs

Thank you for your rating!

2019-08-20
very useful developer tool - kilian.vonpflugk@innovis-kg.de
see more Ratings
1
Question:
Can I change the limits of the quality checks (e.g. lines per function, count of sub directories, …)?
Answer:
Currently not but this is one of the features on our roadmap.
1
Question:
Can I train my own libraries so they will be included into the check?
Answer:
Currently not but it’s one of the features on our roadmap
1
Question:
Why CTRL functions in libs will marked as not used but it’s right because I just define them there to use somewhere else?
Answer:
Yes, that a current limitation and is on our roadmap
1
Question:
Why are some CTRL functions are not checked or marked as wrong but I am use I use them in a correct way?
Answer:
That could be because at the current time we don’t have configured all WinCC OA CTRL functions. This will be updates asap.
1
Question:
Is this working on Linux?
Answer:
Due to some technical reasons the SloopTools store currently doesn’t support Linux but if you want to use it on Linux, please get in contact with us. We can send it to you directly.
1
Question:
For what WinCC OA versions I can use it?
Answer:
It works for WinCC OA 3.15, 3.16 and 3.17.
1
Question:
There are some errors reported that are not really errors in my code. Can I hide them?
Answer:
Yes, you can hide a complete type of error or severity or make inline suppression for some specific lines. See more details in our documentation https://docu.slooptools.com
1
Question:
Can I start the check via command line for nightly builds or similar?
Answer:
Yes, please have a look to our documentation and the chapter “CtrlPPCheck command line”
1
Question:
Which WinCC OA files I can check?
Answer:
You can check all CTRL files (scripts, libs and panels). On panels you can check each event script of a panel on his own. To check the whole panel in the Script Editor (e.g.: Strg-E) is one of the features on our roadmap.
1
Question:
Is the CtrlPPCheck included in the FREE or DEMO version?
Answer:
Yes, you can try the CtrlPPCheck with some limitations in the DEMO version. For more detailed see the part licenses in the detailed description above.
see more FAQs

Versions

Name Description Score SW-Ver. OS-System Date
2.0.1 - Bugfix Fixed crashes when checking complex ctrl++ classes 900 3.153.163.17 Microsoft Windows 7 Microsoft Windows 8.1 Microsoft Windows 10 Microsoft Windows Server 2012 R2 Microsoft Windows Server 2016 2020-11-13
2.0.0 - Refactoring Refactoring (All WinCC OA CTRL types, addGlobal support, CTRL++ detection improvements, ...), V3.17 support & minor fixes - more details on docu.slooptools.com ChangeLog 900 3.153.163.17 Microsoft Windows 7 Microsoft Windows 8.1 Microsoft Windows 10 Microsoft Windows Server 2012 R2 Microsoft Windows Server 2016 2020-04-07
1.2.0 - Limits & Naming Check Roadmap updates (Limits, Variable Naming Check) & minor fixes - more details on docu.slooptools.com ChangeLog 900 3.153.16 Microsoft Windows 7 Microsoft Windows 8.1 Microsoft Windows 10 Microsoft Windows Server 2012 R2 Microsoft Windows Server 2016 2019-12-10
1.1.0 Updates & Single Site License Roadmap updates (Complete panel check, Single Site License,. ..) & minor fixes - more details on docu.slooptools.com ChangeLog 900 3.163.15 Microsoft Windows 7 Microsoft Windows 10 Microsoft Windows Server 2012 R2 Microsoft Windows Server 2016 2019-10-15
1.0.2 - Updates & new demo Roadmap item "WinCC OA CTRL Library Check" included - New DEMO license mechanism (customer feedback) 900 3.153.16 Microsoft Windows 7 Microsoft Windows 10 Microsoft Windows Server 2012 R2 Microsoft Windows Server 2016 2019-07-01
1.0.1 - First Release First Release - for details see online documentation. 900 3.153.16 Microsoft Windows 7 Microsoft Windows 10 Microsoft Windows Server 2012 R2 Microsoft Windows Server 2016 2019-06-19
0.0.9 - Release Candidate Release Candidate 900 3.153.16 Microsoft Windows 7 Microsoft Windows 10 Microsoft Windows Server 2012 R2 Microsoft Windows Server 2016 2019-06-14