Slide 1

Slide 1 text

OPAR Package Verification

Slide 2

Slide 2 text

● Automatisiertes Testen von OTRS-Erweiterungen – Statische Analyse – Laufzeittest ● Ziele – Sicherheitslücken (nahezu) ausschließen – Getestete Module – Usern mehr Informationen zum Modul liefern – Performancefresser identifizieren

Slide 3

Slide 3 text

No content

Slide 4

Slide 4 text

No content

Slide 5

Slide 5 text

No content

Slide 6

Slide 6 text

# prepare connection to VM-Server my $jiffy = VM::JiffyBox->new(token => $auth_token); my $new_box = $jiffy->create_vm( name => $clone_name, planid => $plan_id, distribution => $os, password => $root_password, );

Slide 7

Slide 7 text

use Net::OpenSSH; my $ssh = Net::OpenSSH->new($host); $ssh->error and die "Couldn't establish SSH connection: ". $ssh->error; $ssh->system("wget http://test.tld/setup.pl") or die "remote command failed: " . $ssh->error; $ssh->system("perl setup.pl") or die "remote command failed: " . $ssh->error;

Slide 8

Slide 8 text

No content

Slide 9

Slide 9 text

No content

Slide 10

Slide 10 text

● Statische Analyse – Validität Dateien – Perl::Critic::OTRS – Template-Überprüfung (Trennung HTML ↔ CSS, …) – Dokumentation vorhanden – Prüfung Lizenz

Slide 11

Slide 11 text

● Laufzeitanalyse – Dateiänderungen prüfen – DB-Änderungen prüfen – Prüfen, welche „Kommunikation“ nach außen geht – Syntaxcheck – Unittests

Slide 12

Slide 12 text

No content