Code Analysis: WL Katalogsøk 3.5.9

Function Rating Maintainability Complexity Lines of code
File_MARC_Lint::getRawRules()
D
16
1 3,056
mikromarc_sok()
D
9
91 322
KohaSru::search()
D
10
87 303
bibliofil_sok()
D
12
80 286
Bibliofil::search()
D
12
79 284
mikromarc_sok()
D
12
78 288
bibliofil_sok()
D
12
78 282
alma_sok()
D
12
77 285
alma_sok()
D
12
76 285
Alma::search()
D
12
76 285
tidemann_sok()
D
14
69 258
tidemann_sok()
D
15
68 258
LibrarySearchController::startSearch()
D
22
53 168
File_MARC_Lint::check245()
D
29
40 125
getStockInformationByStatusCode()
D
41 35 42
LibrarySearchController::printResults()
C
30 26 110
File_MARC_Lint::checkArticle()
C
30 20 122
BokHyllaSearchController::printResults()
B
32 20 96
File_MARC::_decode()
B
34 20 89
EbookSearchController::printResults()
B
36 18 74
File_MARC_Lint::standardFieldChecks()
B
42 18 50
File_MARC_List::insertNode()
B
40 17 65
File_MARC_Lint::check020()
A
44 16 44
MBShortcode::searchCatalog()
A
39 15 59
WL_Ajax::search()
A
43 14 46
OpenLibrarySearchController::printResults()
A
42 11 51
krydre_some()
A
42 10 54
File_MARC_Record::toXML()
A
43 10 50
hente_omslag()
A
49 11 28
WL_Search::runQuery()
A
43 9 48
_is()
A
54 10 22
WL_Booking::setUrl()
A
51 9 30
WL_Search::getSinglePost()
A
46 7 40
Bokhylla::search()
A
42 6 51
File_MARC_Lint::checkSubfields()
A
53 8 20
WL_CommonSearch::buildQuery()
A
55 8 20
bokhylla_sok()
A
43 6 49
bokhylla_sok()
A
43 6 49
LibrarySearchController::setPagination()
A
49 7 31
File_MARC_Lint::check041()
A
49 7 31
FilmbibSearchController::printResults()
S
49 7 30
WL_Search::setAdvancedQueryUrl()
S
52 7 24
File_MARC_Lint::processRuleGroup()
S
48 6 33
WL_Search::sanitizeQuery()
S
57 7 18
File_MARC_Record::toJSONHash()
S
49 6 31
File_MARC_Record::getFields()
S
59 7 14
File_MARC_Record::toJSON()
S
50 6 28
Bibliofil::sanitizeQuery()
S
54 6 20
File_MARC_Lint::getHumanReadableIndicatorValues()
S
55 6 20
File_MARC_Lint::checkIndicators()
S
55 6 18
WL_Search::getItemInfoFromBokkilden()
S
55 6 18
File_MARC_Field::formatField()
S
57 6 15
MBAssets::enqueueAssets()
S
58 6 14
File_MARC_Record::deleteFields()
S
59 6 14
MBShortcode::showSingleItem()
S
51 5 27
File_MARC_Record::getField()
S
61 6 12
WL_Search::setItemArray()
S
52 5 23
File_MARCXML::_decode()
S
52 5 23
File_MARC_List::deleteNode()
S
57 5 18
File_MARC_Lint::parseRules()
S
59 5 15
File_MARCXML::next()
S
59 5 15
File_MARC_Lint::check043()
S
59 5 14
LibrarySearchController::__construct()
S
50 4 26
WL_Booking::buildMikromarkUrl()
S
54 4 21
Koha::search()
S
47 3 35
koha_sok()
S
47 3 35
File_MARCXML::__construct()
S
54 4 20
koha_sok()
S
47 3 34
File_MARC::__construct()
S
55 4 19
WL_Search::getItemInfoFromNationalLibraryByIsbn()
S
56 4 18
WL_ILS_Widget::widget()
S
56 4 18
File_MARC_Record::setLeaderLengths()
S
56 4 17
WL_Search::getItemInfoFromNationalLibraryByTitle()
S
57 4 16
KohaSru::setQueryUrl()
S
57 4 16
EbookSearchController::runQuery()
S
59 4 16
File_MARC::nextRaw()
S
60 4 13
File_MARC_Data_Field::getSubfields()
S
62 4 13
WL_Booking::__construct()
S
62 4 12
File_MARC_Data_Field::isEmpty()
S
64 4 11
File_MARC_Record::_buildDirectory()
S
53 3 24
OpenLibrarySearchController::__construct()
S
55 3 18
Mikromarc::sanitizeQuery()
S
56 3 18
WL_Booking::buildBibliofilUrl()
S
57 3 17
File_MARC_Data_Field::insertSubfield()
S
59 3 15
File_MARC_Data_Field::setIndicator()
S
58 3 15
_log()
S
66 4 9
Tidemann::sanitizeQuery()
S
63 4 10
File_MARC_Record::insertField()
S
60 3 14
url_exists()
S
60 3 14
File_MARC_Data_Field::addSubfields()
S
63 3 12
File_MARC_Data_Field::getIndicator()
S
62 3 11
BokHyllaSearchController::__construct()
S
54 2 22
File_MARC_Data_Field::toRaw()
S
64 3 9
File_MARC_List::key()
S
67 3 8
File_MARC_Record::__toString()
S
65 3 9
File_MARC_Data_Field::_validateIndicator()
S
64 3 9
File_MARC_Data_Field::getSubfield()
S
68 3 8
trunc()
S
69 3 6
trunc()
S
69 3 6
Koha::setQueryUrl()
S
61 2 12
File_MARC_Data_Field::prependSubfield()
S
63 2 12
File_MARC_Lint::checkRecord()
S
63 2 11
WL_CommonSearch::query()
S
63 2 11
BokHyllaSearchController::getResultItemTemplate()
S
56 1 19
MBAdmin::registerSettings()
S
57 1 18
MBAssets::wlkatalogsok_styles_and_scripts()
S
59 1 17
EbookSearchController::getResultItemTemplate()
S
57 1 17
OpenLibrarySearchController::getResultItemTemplate()
S
58 1 16
FilmbibSearchController::getResultItemTemplate()
S
58 1 16
Bibliofil::countResults()
S
65 2 9
WL_Booking::buildTidemannUrl()
S
67 2 8
File_MARC_Record::__construct()
S
65 2 9
MBAdmin::get()
S
69 2 8
MBAdmin::showOptionsPage()
S
70 2 6
KohaSru::sanitizeQuery()
S
65 2 9
MBAdmin::showSubmenuPage()
S
70 2 6
wl_is_plugin_active()
S
66 2 9
BokHyllaSearchController::runQuery()
S
71 2 6
File_MARC::next()
S
68 2 8
EbookSearchController::__construct()
S
63 2 10
FilmbibSearchController::__construct()
S
66 2 8
File_MARC_Data_Field::__construct()
S
66 2 9
getLibraryById()
S
66 2 9
File_MARC_Field::isControlField()
S
71 2 6
mikromarc_getCountItems()
S
72 2 5
wptuts_add_color_picker()
S
75 2 5
getSingleItemUrl()
S
68 2 8
getBase64ItemInfo()
S
65 2 9
mikromarc_antalltreff()
S
70 2 6
getLibraryNameById()
S
69 2 7
File_MARC_Field::isDataField()
S
71 2 6
File_MARC_Data_Field::__toString()
S
64 2 9
File_MARC_Field::__construct()
S
67 2 7
File_MARC_Control_Field::isEmpty()
S
80 2 3
File_MARC_Subfield::setCode()
S
69 2 8
File_MARC_Lint::checkMissing245()
S
70 2 6
File_MARC_Subfield::isEmpty()
S
72 2 6
WL_CommonSearchController::setResponse()
S
64 2 10
WL_Booking::buildKohaUrl()
S
67 2 8
KohaSru::countResults()
S
65 2 9
WL_Search::getLibraryValue()
S
68 2 8
File_MARC_Exception::formatError()
S
69 2 6
Koha::countResults()
S
69 2 7
WL_ILS_Widget::__construct()
S
59 1 15
File_MARC_Field::isEmpty()
S
73 2 6
OpenLibrarySearchController::runQuery()
S
66 2 8
File_MARC_Lint::checkDuplicate1xx()
S
65 2 9
Koha::sanitizeQuery()
S
65 2 9
MBAssets::wlkatalogsok_admin_styles_and_scripts()
S
62 1 14
File_MARC_Lint_CodeData::__construct()
S
61 1 12
get_content()
S
62 1 11
get_content()
S
62 1 11
WL_ILS_Widget::widget_textdomain()
S
77 1 3
File_MARC_Subfield::__toString()
S
75 1 4
WL_Booking::set()
S
82 1 3
tidemann_antalltreff()
S
66 1 8
KohaSru::setItemId()
S
77 1 4
Koha::__construct()
S
69 1 7
bestandsinfo()
S
80 1 3
getTemplatePath()
S
79 1 3
File_MARC_List::appendNode()
S
73 1 5
MBAdmin::__construct()
S
70 1 6
wlils_ribbon()
S
70 1 6
File_MARC_Lint::warn()
S
80 1 3
WL_Search::setLibrarySystem()
S
76 1 4
File_MARC_List::getPosition()
S
83 1 3
File_MARC_Control_Field::getData()
S
82 1 3
rop()
S
80 1 3
File_MARCBASE::toXMLFooter()
S
75 1 5
File_MARC_Control_Field::delete()
S
83 1 3
File_MARC_Record::setLeader()
S
78 1 4
File_MARC_Record::addWarning()
S
80 1 3
bibliofil_antalltreff()
S
66 1 8
domp()
S
75 1 5
hent_enkeltpost()
S
79 1 3
WL_Search::setLibraryIndex()
S
82 1 3
Alma::countResults()
S
71 1 6
File_MARC_Subfield::setData()
S
77 1 4
WL_ILS_Widget::form()
S
63 1 10
Alma::getItem()
S
69 1 6
File_MARC_Lint::__construct()
S
77 1 4
File_MARC_Record::toRaw()
S
71 1 5
WL_Ajax::sanitizeQuery()
S
68 1 7
WL_ILS_Widget::flush_widget_cache()
S
80 1 3
File_MARC_Field::toRaw()
S
83 1 3
cleanIsbn()
S
72 1 5
File_MARC_Data_Field::deleteSubfield()
S
82 1 3
WL_ILS_Widget::update()
S
68 1 7
WL_Search::_get()
S
83 1 3
rop()
S
80 1 3
File_MARC_Control_Field::__destruct()
S
77 1 4
bokhylla_antalltreff()
S
68 1 7
domp()
S
75 1 5
Bibliofil::getItem()
S
69 1 6
File_MARC_Control_Field::setData()
S
77 1 4
alma_antalltreff()
S
71 1 6
mikromarc_antalltreff()
S
71 1 6
getTemplateUrl()
S
79 1 3
File_MARC_Record::getWarnings()
S
82 1 3
KohaSru::__construct()
S
69 1 7
facebook_ikon()
S
80 1 3
wl_katalogsok_func()
S
81 1 3
File_MARC_Data_Field::__destruct()
S
72 1 6
File_MARC_Field::__toString()
S
81 1 3
File_MARC_Subfield::__destruct()
S
75 1 5
File_MARC_Subfield::getPosition()
S
83 1 3
File_MARC_Record::prependField()
S
78 1 4
WL_Search::getLibraryIndex()
S
83 1 3
Tidemann::getItem()
S
69 1 6
WL_CommonSearchController::__construct()
S
83 1 3
File_MARC_Control_Field::__construct()
S
77 1 4
WL_Search::getItemInfoFromNationalLibrary()
S
72 1 5
File_MARC_Subfield::getData()
S
82 1 3
Bokhylla::countResults()
S
67 1 7
File_MARC_Subfield::toRaw()
S
76 1 4
File_MARC_Record::appendField()
S
78 1 4
WL_Search::__construct()
S
69 1 7
WL_CommonSearch::buildQueryParameter()
S
78 1 3
WL_Booking::buildOrderButton()
S
69 1 6
getConfigPath()
S
79 1 3
FilmbibSearchController::runQuery()
S
63 1 10
Bibliofil::__construct()
S
77 1 4
WL_ILS_Widget::registerWidget()
S
80 1 3
File_MARC_List::prependNode()
S
79 1 3
File_MARC_List::setPosition()
S
82 1 3
MBAdmin::getSinglePagePosts()
S
72 1 5
tidemann_antalltreff()
S
66 1 8
File_MARC_Field::__destruct()
S
82 1 3
WL_Booking::get()
S
83 1 3
getIconUrl()
S
79 1 3
File_MARC_Subfield::setPosition()
S
82 1 3
File_MARC_Data_Field::appendSubfield()
S
82 1 3
WL_Search::getLibrarySystem()
S
81 1 3
File_MARC_Field::setTag()
S
77 1 4
cleanValue()
S
79 1 3
bokhylla_antalltreff()
S
68 1 7
koha_antalltreff()
S
70 1 6
bibliofil_antalltreff()
S
66 1 8
koha_antalltreff()
S
70 1 6
bibnr_to_name()
S
81 1 3
File_MARC_Field::getTag()
S
82 1 3
File_MARC_Subfield::delete()
S
83 1 3
LibrarySearchController::getStatusBox()
S
78 1 3
MBAdmin::addSubmenuPage()
S
78 1 3
File_MARCBASE::toXMLHeader()
S
73 1 5
Bokhylla::sanitizeQuery()
S
70 1 6
File_MARC_Record::__destruct()
S
78 1 4
LibrarySearchController::get()
S
83 1 3
File_MARC_Control_Field::__toString()
S
79 1 3
WL_ILS_Widget::get_widget_slug()
S
82 1 3
File_MARC_Subfield::__construct()
S
77 1 4
File_MARC_Data_Field::delete()
S
83 1 3
File_MARCBASE::__construct()
S
73 1 5
File_MARC_Subfield::getCode()
S
82 1 3
File_MARC_Record::getLeader()
S
82 1 3
alma_antalltreff()
S
71 1 6
MBAdmin::addOptionsPage()
S
78 1 3
wlkatalogsok_load_textdomain()
S
78 1 3
File_MARCBASE::getXMLWriter()
S
83 1 3
File_MARC_Control_Field::toRaw()
S
80 1 3
twitter_ikon()
S
81 1 3