Code Analysis: Postie 1.9.69

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