Code Analysis: Nepali Date Converter 3.0.5

Function Rating Maintainability Complexity Lines of code
NDC_Nepali_Calendar::eng_to_nep()
B
26
12 185
NDC_Post_Date::convert_post_date_to_nepali()
B
42 16 48
ndc_ajax_callback()
A
46 15 32
NDC_Nepali_Calendar::nep_to_eng()
A
39 9 70
ndc_human_time_diff()
A
47 8 37
NDC_Frontend::selection_options()
A
49 8 29
ndc_shortcode()
A
42 5 62
Widget_NDC::form()
S
37 2 102
ndc_today_shortcode()
S
43 5 56
NDC_Post_Date::init()
S
51 7 26
NDC_Nepali_Calendar::validate_nepali_date()
S
57 7 17
NDC_Nepali_Calendar::validate_english_date()
S
57 7 17
NDC_Post_Date::should_use_human_time_diff()
S
66 8 7
Widget_NDC_Today::form()
S
39 2 90
NDC_Post_Date::sanitize_options()
S
53 6 20
NDC_Post_Date::fix_time_display()
S
61 6 12
NDC_Post_Date::render_date_format_field()
S
46 3 45
NDC_Post_Date::add_settings_js()
S
48 2 59
ndc_widget_wp_footer()
S
45 1 71
NDC_Post_Date::register_settings()
S
44 1 60
NDC_Frontend::today_date()
S
52 3 28
NDC_Frontend::nepali_date_converter()
S
52 3 26
Widget_NDC_Today::update()
S
61 4 11
NDC_Post_Date::get_nepali_date_preview()
S
51 3 25
NDC_Post_Date::render_human_time_diff_field()
S
46 1 51
NDC_Post_Date::render_post_types_field()
S
55 3 21
ndc_get_post_types()
S
56 3 18
NDC_Post_Date::ajax_get_date_format()
S
59 3 14
Widget_NDC::update()
S
62 3 11
NDC_Post_Date::render_active_field()
S
49 1 40
NDC_Frontend::get_current_english_date()
S
54 2 22
NDC_Nepali_Calendar::get_two_char_str()
S
66 3 9
ndc_array_key_exists()
S
67 3 8
Widget_NDC::__construct()
S
61 2 13
Widget_NDC::widget()
S
51 1 28
Widget_NDC_Today::widget()
S
53 1 24
NDC_Frontend::get_current_nepali_date()
S
57 1 18
ndc_eng_to_nep_date()
S
65 2 9
NDC_Frontend::display_eng_to_nep_converter()
S
58 1 15
NDC_Nepali_Calendar::get_instance()
S
71 2 6
NDC_Nepali_Calendar::is_leap_year()
S
71 2 6
NDC_Post_Date::get_instance()
S
71 2 6
NDC_Frontend::get_nep_num()
S
70 2 6
NDC_Frontend::get_instance()
S
71 2 6
NDC_Frontend::output_if_set()
S
73 2 5
ndc_nep_to_eng_date()
S
65 2 9
NDC_Frontend::display_nep_to_eng_converter()
S
58 1 14
NDC_Post_Date::render_force_format_field()
S
63 1 13
ndc_convert_eng_to_nep()
S
62 1 12
ndc_convert_nep_to_eng()
S
63 1 11
NDC_Nepali_Calendar::get_english_date_range()
S
68 1 7
NDC_Frontend::get_bar()
S
78 1 3
ndc_widget_scripts()
S
77 1 4
NDC_Post_Date::render_settings_section()
S
71 1 6
ndc_nepali_calendar()
S
82 1 3
Widget_NDC_Today::__construct()
S
65 1 10
NDC_Post_Date::render_nonce_field()
S
80 1 3
NDC_Frontend::get_months()
S
78 1 3
NDC_Post_Date::add_settings_link()
S
65 1 9
NDC_Frontend::get_mahina()
S
78 1 3
register_ndc_widget()
S
82 1 3
nepali_date_converter_load_textdomain()
S
68 1 6
ndc_post_date()
S
82 1 3
register_ndc_today_widget()
S
82 1 3
NDC_Nepali_Calendar::get_nepali_date_range()
S
67 1 8
NDC_Post_Date::run()
S
67 1 7
ndc_frontend()
S
82 1 3