http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8244

Jared Camins-Esakov <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #10374|0                           |1
        is obsolete|                            |

--- Comment #8 from Jared Camins-Esakov <[email protected]> ---
Created attachment 10542
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=10542&action=edit
Bug 8244: New script xt/find-undefined-subroutines.pl

This script tends to detect if Koha scripts use subroutines that are not
correctly exported by modules. This can happen when we have circular
dependencies between modules.
This script does mainly two things:
 - It rebuilds the hierarchy of Koha Perl modules and replace all the code
   within subroutines by tests (using Test::More). For each subroutine called
   in a subroutine, a test is done on if the called subroutine is defined.
   If it's defined, then it's called (Tested subroutines are only those
   available in Koha Perl modules, not external modules subroutines).
   It does almost the same work with Koha Perl scripts, replacing all the
   code by tests and calling the subroutines if defined.
 - Launch prove on all created Perl scripts.
This results in a summary where failed tests are subroutines that are not
exported, but called without the module name prepended.

Signed-off-by: Jared Camins-Esakov <[email protected]>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to