Abstract: Petri nets are used for a graphical representation to model industrial controllers. The model parts are then mapped to OO classes whose software performances are evaluated using encapsulation, inheritance, coupling and polymorphism metrics.