Code Analysis: JoomSport Predictions 3.0.2

Function Rating Maintainability Complexity Lines of code
ClassJsportPredictionKnockout::getViewResult()
D
15
84 221
JoomSportPredictionMetaRound::js_meta_matches()
D
14
47 355
classJsportUserround::loadObject()
D
20
53 184
ClassJsportPredictionKnockout::getView()
D
25
46 137
classJsportPrleaders::loadObject()
D
23
41 159
JoomsportPredictionPageSettings::action()
D
17
23 416
JoomSportPredictionMetaRound::saveMetaMatches()
D
31 38 88
JSPredictionsCalc::calculateMatch()
D
31 35 100
JSPredictionsCalc::calculateKnockRound()
D
31 33 96
classJsportUserleague::getRoundStatus()
D
34 33 81
classJsportUserleague::getFilling()
C
35 30 74
JSPredictionLeaguesNew_Plugin::view()
C
30 25 122
JSPTOutcome::getView()
B
43 24 39
JSPredictionsCalc::calculateRound()
B
38 20 66
JSPredictionsCalc::calculateWinnerRound()
B
42 20 42
JoomSportPredictionPostRound::jspred_round_filters()
A
35 12 87
jspw_recalcStartdate()
A
42 13 50
classJsportUserleague::getStartDate()
A
42 12 49
classJsportUserround::getStartDate()
A
43 12 48
JSPTScore::validateData()
A
49 13 28
JSPredictionLeaguesNew_Plugin::joomsport_gamestage_form_meta_box_handler()
A
36 9 88
JSPTOutcome::validateData()
A
49 13 27
JoomsportPredictionAjaxActions::jspred_private_league_add()
A
38 8 69
jsPredictionHelper::JsHeader()
A
48 10 31
JSPredictionsCalc::getMatch()
A
50 10 29
JoomsportPredictionAjaxActions::jspred_private_league_invite()
A
49 10 27
joomsport_prediction_mday_fire_save()
A
41 8 56
JoomSportPredictionAdminInstall::_installdb()
A
40 6 68
classJsportUserround::getPredict()
A
47 8 32
classJsportUserround::getRoundDD()
A
49 8 28
jswp_prediction_user_stat::widget()
A
45 7 39
JSPredictionLeagues_List_Table::process_bulk_action()
A
52 8 23
JoomSportPredictionMetaLeague::jswprediction_league_save_metabox()
A
53 8 23
JoomSportPredictionMetaRound::jswprediction_round_save_metabox()
A
53 8 23
jspred_filter_privatetitle()
A
53 8 20
classJsportUserround::canEditMatch()
A
55 8 17
classJsportUserround::knockoutEditable()
A
48 7 31
JoomSportPredictionMetaLeague::js_meta_points()
S
46 6 41
JoomSportPredictionMetaLeague::js_meta_outcome_points()
S
46 6 41
classJsportUserround::canViewPred()
S
56 7 17
classJsportPredictionController::execute()
S
50 6 28
JoomSportPredictionMetaLeague::js_meta_season()
S
53 6 21
JSPTScore::canEditMatch()
S
56 6 17
JSPTOutcome::canEditMatch()
S
57 6 16
JSPTScore::getView()
S
57 6 16
jswp_prediction_user_stat::form()
S
44 4 45
JSPTOutcome::getScore()
S
64 7 9
JSPredictionOpenLeagues_List_Table::column_default()
S
49 5 28
JoomSportPredictionMetaRound::output()
S
52 5 26
joomsport_prediction_fire_save()
S
55 5 18
JoomSportPredictionPostRound::joomsport_prediction_leaguemodal()
S
45 3 48
classJsportPredictionController::getModel()
S
56 5 18
JoomSportPredictionPostRound::register_post_types()
S
44 3 46
JoomsportPredictionTemplates::joomsport_content()
S
58 5 15
JoomSportPredictionPostLeague::register_post_types()
S
44 3 45
classJsportUserround::getMatchPoint()
S
58 5 14
classJsportPrleaders::__construct()
S
60 5 13
JoomSportPredictionMetaRound::saveMetaLeague()
S
61 5 12
JoomsportPredictionAjaxActions::jspred_private_update_league()
S
51 4 24
JoomSportPredictionMetaRound::js_meta_settings()
S
53 4 21
JSPredictionOpenLeagues_List_Table::process_bulk_action()
S
55 4 19
JoomsportPredictionAjaxActions::jspred_private_load_league()
S
47 3 34
classJsportUserleague::loadObject()
S
48 3 33
classJsportUserround::getWinnerPredict()
S
57 4 18
classJsportUserround::__construct()
S
57 4 17
jsPredictionHelperMail::sendInviteSiteUser()
S
49 3 31
classJsportUserleague::__construct()
S
59 4 15
JSPredictionLeaguesNew_Plugin::joomsport_gamestages_validate()
S
63 5 9
JSPTScoreWinner::getScore()
S
66 5 8
joomsport_prediction_linkjs()
S
64 5 9
classJsportUserround::getView()
S
63 4 11
jsPredictionMyLeagues::getActiveLeaguesList()
S
56 3 17
JSPredictionLeagues_List_Table::get_stages()
S
55 3 17
JoomSportPredictionPostTypes::register_post_types()
S
58 3 16
jsPredictionMyLeagues::getArchiveLeaguesList()
S
57 3 16
jsPredictionMyLeagues::getInvitedLeagues()
S
57 3 16
jswp_prediction_user_stat::update()
S
67 4 7
JSPredictionLeagues_List_Table::column_default()
S
58 3 15
JSPredictionOpenLeagues_List_Table::get_stages()
S
57 3 15
JoomSportPredictionPostRound::admin_init()
S
61 4 10
classJsportUserround::canEditWinner()
S
63 4 9
classJsportUserround::getPrevRound()
S
60 3 13
classJsportUserround::getNextRound()
S
60 3 13
jsPredictionHelperMail::sendInviteByEmail()
S
50 2 28
JSPTScore::getPrediction()
S
60 3 12
JSPredictionOpenLeagues_List_Table::join_league()
S
60 3 12
JSPredictionOpenLeagues_List_Table::join_league_mail()
S
60 3 12
JSPTOutcome::getPrediction()
S
60 3 12
jsPredictionMyLeagueActions::removeLeague()
S
52 2 26
classJsportUserround::getRoundList()
S
52 2 24
JoomsportPredictionAjaxActions::jspred_private_users()
S
54 2 20
jsPredictionHelper::JsTitleBox()
S
58 2 19
JoomsportPredictionAjaxActions::jspred_private_join()
S
55 2 18
jsPredictionMyLeagueActions::inviteSiteUsers()
S
69 3 7
classJsportUserround::cmp()
S
62 3 10
JSPredictionLeagues_List_Table::column_name()
S
57 2 15
classJsportUserround::canSave()
S
67 3 8
JSPTScoreExact::getScore()
S
68 3 7
classJsportUserround::cmpDate()
S
70 3 6
JoomSportPredictionAdminInstall::joomsport_fe_wp_head()
S
57 2 15
classJsportUserleague::cmp()
S
70 3 6
JSPredictionOpenLeagues_Plugin::screen_option()
S
60 2 13
JSPredictionLeagues_Plugin::screen_option()
S
60 2 13
classJsportPrleaders::getStartDate()
S
61 2 13
jsPredictionLeagueRow::getOwner()
S
60 2 13
JoomsportPredictionAjaxActions::jspred_private_reject()
S
59 2 13
JoomsportPredictionAjaxActions::jspred_private_leave()
S
59 2 13
JSPredictionLeagues_List_Table::delete_stage()
S
61 2 12
jsPredictionLeagueRow::getBasedLeague()
S
61 2 12
JSPredictionLeagues_Plugin::plugin_settings_page()
S
56 1 26
jsPredictionHelper::JsHistoryBox()
S
64 2 11
JSPredictionOpenLeagues_Plugin::plugin_settings_page()
S
58 1 24
JoomsportPredictionAjaxActions::ajaxInit()
S
53 1 22
jsPredictionMyLeagueActions::loadFromLeague()
S
67 2 7
jsPredictionLeagueRow::getActionsList()
S
66 2 9
JoomsportPredictionAjaxActions::checkToken()
S
67 2 7
JSPTScoreBonus::getScore()
S
68 2 7
JSPTScoreSideAndDiff::getScore()
S
68 2 7
jsPredictionMyLeagueActions::getParticipants()
S
63 2 10
jsPredictionHelperMail::replaceMailText()
S
65 2 8
JoomSportPredictionPostLeague::league_edit_form_after_title()
S
71 2 6
jsPredictionMyLeagueActions::removeFromLeague()
S
73 2 5
classJsportUserleague::getPoints()
S
67 2 7
JoomsportPredictionDelete::delete_joomsport_post()
S
66 2 9
JoomSportPredictionPostLeague::joomsport_season_validate()
S
65 2 9
JoomsportPredictionTemplates::joomsport_parse_request()
S
68 2 7
jsPredictionHelperMail::getMailSubject()
S
73 2 4
jsPredictionMyLeagues::getMyLeagues()
S
64 2 9
JoomSportPredictionPostRound::round_edit_form_after_title()
S
70 2 6
JSPredictionOpenLeagues_Plugin::get_instance()
S
71 2 6
JSPredictionLeagues_Plugin::get_instance()
S
71 2 6
classJsportPredictionController::__construct()
S
70 2 6
classJsportPrleaders::getPoints()
S
66 2 8
classJsportUserround::enableJoker()
S
73 2 4
jsPredictionHelperMail::getMailText()
S
73 2 4
jswp_round_custom_column_values()
S
67 2 8
JoomSportPredictionMetaLeague::output()
S
61 1 14
JoomSportPredictionAdminInstall::create_menu()
S
59 1 14
jsPredictionLeagueRow::getLink()
S
60 1 13
jsPredictionLeagueRow::getTitleLinked()
S
59 1 13
JoomSportPredictionAdminInstall::_defineTables()
S
61 1 12
JSPredictionLeagues_List_Table::prepare_items()
S
63 1 11
JoomsportPredictionAjaxActions::jspred_private_remove_part()
S
61 1 11
JSPredictionOpenLeagues_List_Table::prepare_items()
S
63 1 11
JSPredictionLeagues_List_Table::get_bulk_actions()
S
75 1 5
JSPredictionLeagues_Plugin::__construct()
S
78 1 3
JoomsportPredictionDelete::deleteMatch()
S
67 1 8
classJsportUserround::getHeader()
S
79 1 3
jsPredictionLeagueRow::getOwnerID()
S
65 1 9
JSPTScore::__construct()
S
91 1 2
JoomSportPredictionPostRound::init()
S
80 1 3
JSPredictionOpenLeagues_List_Table::no_items()
S
79 1 3
JoomSportPredictionPostTypes::__construct()
S
75 1 4
jsPredictionMyLeagues::getParticipateLeagues()
S
89 1 2
jsPredictionLeagueRow::__construct()
S
81 1 3
JSPredictionOpenLeagues_List_Table::get_bulk_actions()
S
75 1 5
ClassJsportPredictionKnockout::__construct()
S
72 1 5
JSPTScore::setValue()
S
81 1 3
jsPredictionMyLeagueActions::joinLeague()
S
66 1 8
JSPredictionOpenLeagues_List_Table::__construct()
S
67 1 8
classJsportPrleaders::getRow()
S
82 1 3
JoomSportPredictionPostLeague::init()
S
80 1 3
JoomSportPredictionMetaLeague::saveMetaPoints()
S
74 1 4
classJsportUserround::getVraag3()
S
75 1 4
classJsportPredictionController::getSLFooter()
S
91 1 2
jswp_prediction_user_stat::__construct()
S
73 1 5
JSPredictionLeagues_Plugin::set_screen()
S
81 1 3
classJsportUserround::Joker()
S
91 1 2
JSPTScoreSideAndDiff::__construct()
S
75 1 4
JoomSportPredictionPostTypes::register_taxonomies()
S
89 1 2
JoomSportPredictionAdminInstall::init()
S
73 1 5
jsPredictionHelper::isMobile()
S
78 1 3
classJsportUserleague::getRowSimple()
S
82 1 3
JoomSportPredictionAdminInstall::action()
S
89 1 2
JSPTScore::getTitle()
S
79 1 3
jsPredictionLeagueRow::getActionsListOwner()
S
69 1 6
jsPredictionLeagueRow::getActionsListLeave()
S
72 1 5
JSPredictionLeagues_List_Table::record_count()
S
63 1 10
classJsportUserleague::getFooter()
S
79 1 3
jsPredictionLeagueRow::getTitle()
S
66 1 8
JSPredictionOpenLeagues_Plugin::set_screen()
S
81 1 3
JoomSportPredictionMetaLeague::saveMetaSeason()
S
74 1 4
JSPTScoreWinner::__construct()
S
75 1 4
JSPTScore::getAdminView()
S
78 1 3
JoomsportPredictionAjaxActions::generateToken()
S
71 1 6
classJsportPrleaders::getFooter()
S
79 1 3
JSPredictionLeaguesNew_Plugin::jswprediction_invite()
S
61 1 10
JSPredictionOpenLeagues_Plugin::__construct()
S
78 1 3
JoomsportPredictionTemplates::init()
S
79 1 3
jsPredictionMyLeagueActions::__construct()
S
80 1 3
JSPredictionLeagues_List_Table::no_items()
S
79 1 3
JSPredictionLeagues_List_Table::__construct()
S
67 1 8
JoomSportPredictionAdminInstall::joomsport_languages()
S
70 1 5
classJsportPrleaders::getHeader()
S
79 1 3
classJsportUserround::getVraag()
S
75 1 4
JSPredictionsCalc::rankRound()
S
91 1 2
JSPTOutcome::getAdminView()
S
78 1 3
JSPTOutcome::getTitle()
S
79 1 3
JSPredictionOpenLeagues_List_Table::column_name()
S
70 1 6
JSPredictionOpenLeagues_List_Table::record_count()
S
66 1 8
classJsportPrleaders::getRowSimple()
S
82 1 3
JoomSportPredictionPostLeague::__construct()
S
91 1 2
JSPredictionLeagues_List_Table::get_columns()
S
67 1 8
JSPTOutcome::__construct()
S
75 1 4
jsPredictionLeagueRow::getActionsListPending()
S
69 1 6
jswp_prediction_joomsport_widget()
S
82 1 3
jsPredictionMyLeagueActions::leaveLeague()
S
81 1 3
joomsport_prediction_linkjs_notice()
S
68 1 9
classJsportUserround::getFooter()
S
79 1 3
classJsportUserround::getRow()
S
82 1 3
JSPTScore::getScore()
S
91 1 2
jsPredictionMyLeagueActions::inviteUsersByEmail()
S
79 1 3
JoomsportPredictionDelete::init()
S
74 1 4
JoomSportPredictionPostLeague::admin_init()
S
67 1 6
jsPredictionHelperMail::sendEmail()
S
78 1 3
JoomSportPredictionPostRound::__construct()
S
91 1 2
classJsportUserleague::getHeader()
S
79 1 3
JSPredictionOpenLeagues_List_Table::get_sortable_columns()
S
71 1 6
JoomsportPredictionAjaxActions::jspred_private_remove_league()
S
64 1 9
classJsportUserround::getVraag2()
S
75 1 4
classJsportPredictionController::getSLHeader()
S
91 1 2
JSPredictionOpenLeagues_List_Table::get_columns()
S
65 1 9
JSPredictionLeagues_List_Table::get_sortable_columns()
S
71 1 6
jsPredictionLeagueRow::getUsersCount()
S
63 1 10
JSPTScoreBonus::__construct()
S
75 1 4
classJsportUserleague::getRow()
S
82 1 3
JSPTOutcome::setValue()
S
81 1 3
classJsportUserround::getMatchJoker()
S
82 1 3
jswp_round_columns()
S
69 1 7
JoomSportPredictionAdminInstall::joomsport_admin_js()
S
72 1 5
JoomSportPredictionAdminInstall::joomsport_admin_css()
S
72 1 5
jsPredictionMyLeagueActions::rejectLeague()
S
66 1 8
JSPTScoreExact::__construct()
S
75 1 4
classJsportUserround::getRowSimple()
S
82 1 3