Barrasmara

MrPLC Member
  • Content count

    3
  • Joined

  • Last visited

Community Reputation

0 Neutral

1 Follower

About Barrasmara

  • Rank
    Hi, I am New!

Profile Information

  • Country United Kingdom
  1. For a university project I built a tool which measures a suite of common software metrics for ladder logic code. Metrics calculated include cyclomatic complexity, Halstead volume, difficulty and effort as well as many others at various points in the control hierarchy; Routines, Programs, Controllers and multiple files. All results are exported as an xml file which can then be imported in to Excel. I'd like to increase the robustness of the tool. I've already tested it with 1.5million lines of code from a car manufacturer but it still needs more refining. If anyone is interested in using this tool to assess the quality of their code or is prepared to let me loose on their source code (I'll sign any NDA if that is an issue) then please let me know.
  2. Siemens Vs Allen Bradley

    I am in much the same position as Noely, recently forced to use a Siemens PLC as opposed to my preferred ControlLogix. One of the things I loved about the Allen-Bradley software is the ability to import and export projects in the L5K format. This was a massive boon to me because I could do clever things like generate quantities of L5K code from models, calculate software metrics like cyclomatic complexity and the Halstead metrics, and could even detect cloned code. Is there a Siemens equivalent to L5K? Some way to export and import PLC code as a text file?