Code Analysis: Postie 1.9.59

Function Rating Maintainability Complexity Lines of code
fMailbox::handlePart()
D
21
64 170
simple_html_dom::read_tag()
D
22
57 178
PostieMessage::create_post()
D
23
41 175
simple_html_dom_node::seek()
D
33 44 75
filter_AttachmentTemplates()
D
27
37 130
Postie::postie_environment()
D
25
35 146
pSocketConnection::read()
C
36 32 67
PostieAutolink::autolink_do()
C
29
27 130
fCore::handleError()
C
34 30 78
Postie::test_config()
C
31 27 102
PostieMessage::get_attachment_icon()
C
36 29 63
pSocketConnection::open()
C
34 27 81
fEmail::send()
C
33 26 86
tag_Delay()
C
33 23 93
PostieMessage::save_attachment()
C
31 20 121
fCore::backtrace()
B
37 23 66
fEmail::getFQDN()
B
39 23 57
PostieMessage::get_author()
B
35 21 83
simple_html_dom::parse_charset()
B
40 20 57
fEmail::validate()
B
38 19 70
fEmail::createBody()
B
40 19 61
tag_Categories()
B
37 17 73
fMailbox::parseHeaders()
B
37 17 69
pPop3MailServer::listMessages()
B
36 16 79
PostieMessage::save_attachments_worker()
B
36 15 79
PostieMessage::process()
B
39 16 63
simple_html_dom_node::outertext()
B
43 17 46
simple_html_dom_node::parse_selector()
B
46 18 30
fEmail::createSMIMEBody()
B
38 15 64
pCurlConnection::read()
A
47 16 31
fMailbox::decodeHeader()
A
42 14 51
simple_html_dom_node::get_display_size()
A
43 14 50
PostieAutolink::autolink_email()
A
37 12 78
fEmail::makeQuotedPrintable()
A
41 14 47
Postie::get_mail()
A
42 14 46
fEmail::fixQmail()
A
41 13 57
simple_html_dom_node::find()
A
46 14 35
PostieInit::postie_warnings()
A
48 14 31
fCore::dump()
A
42 13 46
fException::dump()
A
42 13 46
fCore::checkOS()
A
50 14 26
simple_html_dom_node::is_utf8()
A
49 13 28
simple_html_dom_node::convert_text()
A
47 12 36
fEmail::createHeaders()
A
47 12 35
PostieMessage::__construct()
A
50 12 28
simple_html_dom_node::dump_node()
A
42 10 57
pMailServer::decodeHeader()
A
45 11 42
fMailbox::parseStructure()
A
45 11 38
PostieConfig::validate_settings()
A
47 11 35
fCore::checkDestination()
A
50 11 32
fCore::sendMessagesOnShutdown()
A
43 10 46
PostieMessage::media_handle_upload()
A
40 9 60
Postie::fetch_mail()
A
43 9 47
pImapMailServer::listMessages()
A
45 9 42
fMailbox::parseEmail()
A
45 9 41
simple_html_dom_node::text()
A
52 10 24
simple_html_dom::parse_attr()
A
49 9 29
pSocketConnection::write()
A
48 9 29
fException::__construct()
A
45 8 43
fMailbox::parseMessage()
A
45 8 40
filter_ReplaceInlineImage()
A
51 9 24
filter_RemoveSignatureWorker()
A
47 8 36
fException::splitMessage()
A
46 8 36
pCurlConnection::write()
A
42 7 50
PostieMessage::parse_template()
A
40 6 62
fEmail::makeEncodedWord()
A
42 7 47
filter_ReplaceImagePlaceHolders_worker()
A
43 7 46
pImapMailServer::parseResponse()
A
49 8 28
fMailbox::parseResponse()
A
49 8 28
fCore::handleException()
A
49 8 27
simple_html_dom_node::makeup()
A
51 8 25
postie_lookup_category_id()
A
46 7 40
filter_RemoveSignature()
A
46 7 38
PostieMessage::save_post()
A
42 6 53
fEmail::sign()
A
53 8 22
simple_html_dom_node::match()
A
54 8 20
Postie::postie_environment_encoding()
S
50 7 30
tag_Status()
S
51 7 26
pImapMailServer::fetchMessageSource()
S
51 7 25
tag_Tags()
S
52 7 24
PostieConfig::update_permissions()
S
53 7 23
fCore::sendMessageToDestination()
S
54 7 22
Postie::get_mailbox()
S
54 7 21
PostieMessage::get_parent_postid()
S
47 6 35
pMailServer::joinEmails()
S
55 7 19
tag_Date()
S
49 6 31
fException::reorderMessage()
S
49 6 29
filter_ReplaceImagePlaceHolders()
S
50 6 28
PostieMessage::extract_subject()
S
50 6 28
pConnection::__construct()
S
50 6 27
simple_html_dom::restore_noise()
S
51 6 25
PostieConfig::defaults()
S
34 1 99
simple_html_dom::copy_until_char_escape()
S
53 6 23
tag_AllowCommentsOnPost()
S
53 6 22
PostieMessage::email_error()
S
53 6 22
fException::prepare()
S
53 6 20
simple_html_dom_node::dump()
S
55 6 19
fEmail::extrapolateFileInfo()
S
56 6 19
simple_html_dom::remove_noise()
S
54 6 18
simple_html_dom_node::__set()
S
56 6 17
PostieMessage::is_filename_banned()
S
57 6 17
mb_str_replace()
S
56 6 16
simple_html_dom::__get()
S
60 6 15
simple_html_dom_node::__get()
S
59 6 14
filter_ReplaceImageCIDs()
S
52 5 25
filter_CleanHtml()
S
52 5 25
simple_html_dom_node::next_sibling()
S
58 5 17
PostieMessage::email_reject()
S
44 3 47
fCore::reset()
S
51 4 32
simple_html_dom::__construct()
S
58 5 17
PostieMessage::extract_subject_body()
S
56 5 17
PostieAdmin::boolean_select_html()
S
55 5 17
filter_Linkify()
S
50 4 31
PostieInit::postie_cron_hook()
S
58 5 16
simple_html_dom_node::find_ancestor_tag()
S
59 5 15
simple_html_dom::clear()
S
65 6 8
fValidationException::__construct()
S
59 5 13
fException::registerCallback()
S
61 5 12
tag_PostType()
S
51 4 26
fCore::stopErrorCapture()
S
55 4 20
fEmail::buildMultiAddressHeader()
S
55 4 19
PostieMessage::save_attachments()
S
56 4 19
tag_Excerpt()
S
56 4 18
postie_content_lines()
S
56 4 18
PostieAdmin::textarea_html()
S
56 4 17
simple_html_dom_node::prev_sibling()
S
64 5 9
simple_html_dom_node::__isset()
S
65 5 9
fCore::call()
S
62 5 10
fEmail::stringlike()
S
69 5 6
Postie::save_email_debug()
S
58 4 15
PostieAdmin::select_html2()
S
57 4 15
DebugEcho()
S
64 5 9
filter_Newlines()
S
51 3 30
PostieMessage::email_notify()
S
49 3 29
PostieMessage::extract_content()
S
60 4 14
fEmail::unindentExpand()
S
58 4 14
PostieAdmin::select_html()
S
58 4 14
fMailbox::handleSMIMEDecryption()
S
49 3 29
simple_html_dom::copy_until_char()
S
59 4 14
PostieInit::parse_request_action()
S
60 4 14
fException::compose()
S
60 4 13
PostieInit::__construct()
S
49 3 28
fMailbox::addSMIMEPair()
S
60 4 13
PostieMessage::get_name_from_email()
S
62 4 12
PostieInit::postie_HasFunctions()
S
63 4 11
simple_html_dom::search_noise()
S
63 4 11
fEmail::addCustomHeader()
S
62 4 11
postie_is_html()
S
62 4 11
simple_html_dom::prepare()
S
52 3 24
fCore::debug()
S
66 4 9
fCore::enableExceptionHandling()
S
59 3 15
fEmail::setBounceToEmail()
S
63 4 10
fMailbox::handleSMIMEVerification()
S
58 3 15
simple_html_dom_node::innertext()
S
66 4 8
DebugDump()
S
65 4 8
fValidationException::removeFieldNames()
S
58 3 14
filter_Start()
S
59 3 14
filter_End()
S
59 3 14
fCore::handleFatalError()
S
60 3 13
fEmail::combineNameEmail()
S
60 3 13
PostieMessage::get_clean_emailaddress()
S
61 3 12
fEmail::extractEmails()
S
62 3 12
fValidationException::formatErrorArray()
S
62 3 11
simple_html_dom_node::children()
S
64 3 11
fCore::expose()
S
62 3 11
pImapMailServer::countMessages()
S
61 3 11
fCore::enableErrorHandling()
S
63 3 11
fEmail::encrypt()
S
62 3 11
fEmail::loadBody()
S
63 3 11
fEmail::loadHTMLBody()
S
63 3 11
PostieMessage::get_author_details()
S
55 2 20
simple_html_dom::load()
S
57 2 17
PostieInit::test_turn_authorization_off()
S
57 2 17
PostieInit::test_delete_mail_after_processing()
S
57 2 17
PostieMessage::preprocess()
S
58 2 15
PostieMessage::is_emailaddress_authorized()
S
64 3 10
fCore::callback()
S
69 3 6
PostieMessage::revisions_disable()
S
66 3 8
simple_html_dom::copy_skip()
S
65 3 8
fEmail::generateNewFilename()
S
62 3 10
Postie::show_filters_for()
S
66 3 8
PostieAutolink::autolink_label()
S
66 3 9
fValidationException::setFieldFormat()
S
65 3 8
file_get_html()
S
62 3 10
str_get_html()
S
63 3 10
tag_CustomImageField()
S
64 3 9
fEmail::addRelatedFile()
S
60 2 13
fMailbox::fetchMessage()
S
61 2 12
simple_html_dom::parse()
S
62 2 11
fEmail::addAttachment()
S
63 2 11
fException::formatTrace()
S
60 2 11
PostieConfig::reset_to_default()
S
62 2 11
PostieMessage::do_shortcodes()
S
56 1 18
fCore::enableDynamicConstants()
S
69 2 6
postie_get_mail()
S
72 2 6
fMailbox::write()
S
70 2 6
PostieInit::init_action()
S
64 2 9
Postie::log_onscreen()
S
68 2 7
fEmail::setBody()
S
69 2 7
simple_html_dom::skip()
S
73 2 4
fCore::getDebug()
S
79 2 3
PostieMessage::revisions_restore()
S
71 2 6
fCore::compose()
S
66 2 8
PostieInit::postie_isMarkdownInstalled()
S
71 2 6
fMailbox::unfoldAssociativeArray()
S
67 2 8
PostieInit::plugin_row_meta_filter()
S
64 2 10
fEmail::addBCCRecipient()
S
69 2 7
pImapMailServer::close()
S
72 2 6
fEmail::createBoundary()
S
64 2 9
simple_html_dom::copy_until()
S
67 2 7
simple_html_dom_node::parent()
S
67 2 9
fCore::startErrorCapture()
S
64 2 10
simple_html_dom_node::last_child()
S
69 2 7
simple_html_dom::load_file()
S
66 2 8
fCore::checkVersion()
S
67 2 7
pCurlConnection::popoutput()
S
77 2 3
fEmail::setSenderEmail()
S
69 2 7
pPop3MailServer::deleteMessages()
S
70 2 6
simple_html_dom::save()
S
72 2 5
fCore::generateContext()
S
64 2 9
simple_html_dom::link_nodes()
S
68 2 8
simple_html_dom_node::first_child()
S
70 2 7
simple_html_dom::as_text_node()
S
65 2 8
simple_html_dom_node::__unset()
S
76 2 4
fEmail::compose()
S
64 2 10
pSocketConnection::close()
S
72 2 6
fEmail::addCCRecipient()
S
69 2 7
fEmail::addRecipient()
S
69 2 7
pPop3MailServer::close()
S
71 2 6
Postie::intermediate_image_sizes_advanced()
S
65 2 10
EchoError()
S
69 2 7
fEmail::setFromEmail()
S
69 2 7
fEmail::setReplyToEmail()
S
69 2 7
Postie::is_debugmode()
S
79 2 3
fException::getCSSClass()
S
64 2 9
PostieMessage::is_debugmode()
S
79 2 3
fMailbox::iconv()
S
64 2 9
postie_check()
S
72 2 6
fMailbox::__construct()
S
64 2 9
fMailbox::close()
S
68 2 8
fMailbox::read()
S
71 2 6
PostieInit::whitelist_options_filter()
S
66 2 9
Postie::connection_info()
S
60 1 13
filter_StripPGP()
S
64 1 11
PostieInit::site_status_tests_filter()
S
63 1 11
PostieInit::cron_schedules_filter()
S
60 1 11
simple_html_dom_node::parentNode()
S
92 1 1
simple_html_dom_node::__destruct()
S
83 1 3
simple_html_dom_node::getElementsByTagName()
S
90 1 1
postie_lookup_taxonomy_name()
S
68 1 7
pImapMailServer::deleteMessages()
S
72 1 5
pMailServer::countMessages()
S
100 1 0
simple_html_dom::createElement()
S
88 1 1
fException::setMessage()
S
81 1 3
PostieInit::postie_decron_hook()
S
81 1 3
pCurlConnection::__construct()
S
71 1 5
fEmail::clearRecipients()
S
72 1 6
simple_html_dom::loadFile()
S
90 1 1
PostieInit::postie_markdown_warning()
S
74 1 5
boolval()
S
82 1 3
PostieInit::admin_init_action()
S
74 1 4
fMailbox::__destruct()
S
82 1 3
simple_html_dom_node::childNodes()
S
92 1 1
pConnection::write()
S
100 1 0
fEmail::setSubject()
S
77 1 4
pCurlConnection::first2()
S
80 1 3
PostieInit::postie_iconv_warning()
S
74 1 5
PostieMessage::load_html()
S
78 1 3
dump_html_tree()
S
82 1 3
Postie::log_error()
S
77 1 4
pConnection::close()
S
100 1 0
RemoveExtraCharactersInEmailAddress()
S
72 1 5
simple_html_dom_node::getAttribute()
S
92 1 1
PostieConfig::config_read()
S
83 1 3
simple_html_dom::lastChild()
S
92 1 1
simple_html_dom_node::__toString()
S
82 1 3
PostieMessage::email_header_encode()
S
79 1 3
Postie::load_html()
S
78 1 3
simple_html_dom_node::hasAttribute()
S
92 1 1
simple_html_dom::firstChild()
S
92 1 1
PostieInit::admin_head_action()
S
100 1 9
simple_html_dom_node::previousSibling()
S
92 1 1
fValidationException::formatField()
S
79 1 3
simple_html_dom::createTextNode()
S
90 1 1
simple_html_dom::getElementByTagName()
S
90 1 1
pCurlConnection::open()
S
91 1 2
simple_html_dom_node::getAllAttributes()
S
94 1 1
pSocketConnection::isPersistant()
S
82 1 3
PostieMessage::postprocess()
S
78 1 4
PostieConfig::config_fetch()
S
76 1 4
fMailbox::countMessages()
S
81 1 3
fEmail::__construct()
S
76 1 3
pSocketConnection::__destruct()
S
82 1 3
PostieConfig::fix_permission_cron()
S
76 1 4
PostieInit::postie_activate_hook()
S
91 1 2
pMailServer::close()
S
100 1 0
PostieInit::postie_admin_styles()
S
82 1 3
fCore::disableContext()
S
80 1 3
fMailbox::listMessages()
S
79 1 3
simple_html_dom_node::setAttribute()
S
91 1 1
pMailServer::iconv()
S
78 1 3
PostieInit::query_filter()
S
77 1 4
fCore::__construct()
S
91 1 2
PostieInit::postie_curl_warning()
S
70 1 6
fMailbox::deleteMessages()
S
77 1 4
simple_html_dom_node::getElementsById()
S
89 1 1
PostieInit::admin_menu_action()
S
73 1 4
fEmail::reset()
S
73 1 5
fException::__get()
S
80 1 3
pPop3MailServer::__construct()
S
77 1 4
PostieConfig::arrayed_settings()
S
71 1 5
pConnection::read()
S
100 1 0
simple_html_dom::set_callback()
S
82 1 3
PostieInit::plugins_loaded_action()
S
78 1 3
PostieMessage::is_email_read()
S
81 1 3
fCore::registerDebugCallback()
S
79 1 3
pPop3MailServer::fetchMessageSource()
S
70 1 6
PostieConfig::__construct()
S
81 1 3
fCore::enableDebugging()
S
79 1 3
PostieInit::postie_adminuser_warning()
S
74 1 5
PostieAutolink::autolink()
S
69 1 6
simple_html_dom_node::removeAttribute()
S
91 1 1
PostieInit::plugin_action_links_filter()
S
77 1 4
simple_html_dom_node::nextSibling()
S
92 1 1
simple_html_dom_node::lastChild()
S
92 1 1
fnmatch()
S
71 1 4
lookup_category()
S
80 1 3
simple_html_dom::getElementsByTagName()
S
90 1 1
simple_html_dom_node::firstChild()
S
92 1 1
pMailServer::cleanDate()
S
68 1 7
simple_html_dom_node::has_child()
S
80 1 3
fException::sortMatchingArray()
S
77 1 3
simple_html_dom::__destruct()
S
83 1 3
pMailServer::deleteMessages()
S
100 1 0
simple_html_dom::find()
S
79 1 3
simple_html_dom_node::getElementById()
S
89 1 1
simple_html_dom::dump()
S
82 1 3
pPop3MailServer::countMessages()
S
65 1 8
simple_html_dom_node::hasChildNodes()
S
92 1 1
PostieInit::postie_php_warning()
S
73 1 5
simple_html_dom_node::getElementByTagName()
S
90 1 1
pCurlConnection::close()
S
91 1 2
pConnection::getMailbox()
S
82 1 3
fException::printMessage()
S
73 1 5
fMailbox::remove_utf8_bom()
S
71 1 5
fMailbox::reset()
S
80 1 3
simple_html_dom::childNodes()
S
92 1 1
fException::printTrace()
S
73 1 5
PostieInit::postie_show_config_page()
S
77 1 4
simple_html_dom::__toString()
S
82 1 3
pConnection::open()
S
100 1 0
fEmail::setHTMLBody()
S
77 1 4
simple_html_dom_node::__construct()
S
77 1 4
fEmail::__get()
S
80 1 3
simple_html_dom::getElementsById()
S
89 1 1
postie_config_read()
S
77 1 4
fEmail::makeBase64()
S
80 1 3
PostieInit::enable_post_by_email_configuration()
S
83 1 3
fMailbox::fetchMessageSource()
S
80 1 3
PostieInit::pre_post_update_action()
S
77 1 4
pMailServer::fetchMessageSource()
S
100 1 0
pSocketConnection::__construct()
S
74 1 4
PostieInit::postie_IsIconvInstalled()
S
76 1 4
PostieInit::postie_enter_info()
S
72 1 5
PostieMessage::is_email_empty()
S
81 1 3
PostieInit::query_vars_filter()
S
77 1 4
fMailbox::connect()
S
82 1 3
simple_html_dom_node::clear()
S
72 1 6
simple_html_dom_node::appendChild()
S
91 1 1
simple_html_dom_node::nodeName()
S
94 1 1
mb_str_replace()
S
79 1 3
pImapMailServer::__construct()
S
77 1 4
Postie::log_debug()
S
80 1 3
fUnexpectedException::printMessage()
S
70 1 7
pConnection::isPersistant()
S
100 1 0
fMailbox::enableDebugging()
S
80 1 3
simple_html_dom::remove_callback()
S
82 1 3
fCore::configureSMTP()
S
76 1 4
pMailServer::listMessages()
S
100 1 0
pCurlConnection::isPersistant()
S
82 1 3
fMailbox::cleanDate()
S
67 1 7
simple_html_dom_node::xmltext()
S
70 1 6
lookup_taxonomy()
S
81 1 3
simple_html_dom::getElementById()
S
89 1 1