Skip to content
TwinCAT static code analysis script and program
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
CodeAnalysisDemoTcLibrary
TcStaticAnalysisLoader
.gitignore
LICENSE
README.md

README.md

TcStaticCodeAnalysisLoader

TwinCAT static code analysis script and program.

Details about this project are available in a series of posts I've made about continous integration/continous delivery (CI/CD) with TwinCAT available at:

It's strongly recommended to read these four documents to get an introduction and vital background information to this software.

This repository includes the following content:

CodeAnalysisDemoTcLibrary

A TwinCAT PLC project that is to be analysed for static code analysis. This also includes the windows batch-script to be executed by a Jenkins job when a GIT repository change has been detected in the TwinCAT PLC project. This BAT-script launches the TwinCAT static code analysis program described below (TcStaticAnalysisLoader).

TcStaticAnalysisLoader

A C# .NET program that does the static code analysis using Beckhoffs TE1200 product and reports the result back to the caller as either ERROR, UNSTABLE or SUCCESSFUL which can be used for instance in a Jenkins build slave. The static code analysis is filtered out from the TwinCAT build procedure. This program is used together with the batch-script from the CodeAnalysisDemoTcLibrary folder.

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.