KohaAloha/koha-qa-tools — pull request #3 by KohaAloha (2012-08-25 21:51:50+00:00)
Title: Introduces OOP in QohA

- Adds inheritance (File::XML, File::Perl, File::Template)
- Now each file is processed on the previous branch and on the current
branch. Before this patch the idea was to change branch batween each
tests.
It decreases the execution time:
before:
koha-qa.pl -c 5 -v 2 4,95s user 0,34s system 98% cpu 5,392 total
with this patch:
koha-qa.pl -c 5 -v 2 7,99s user 0,77s system 155% cpu 5,641 total
- Introduces a forbidden patterns check (ie. IFNULL, <<<<<<<, etc.).
This can increase the execution time. We want to think about this
utilisation. Is it really useful ?

It is a wip and cannot be executed safely !
To FIX: the check_critic does not work on new file (Is it already the
case on master ?)
TODO: POD and unit tests !