Code Analysis: eHive Access 2.3.4

Function Rating Maintainability Complexity Lines of code
Transport::get()
D
30 33 105
Account::__construct()
C
42 31 37
Transport::getAuthenticated()
B
31 16 127
DaoHelper::getObjectsQueryString()
B
39 20 66
Transport::put()
A
36 12 85
Transport::post()
A
36 12 83
ObjectRecord::__construct()
A
49 15 27
eHiveAccess::plugin_options_validate()
A
43 13 46
Transport::delete()
A
38 10 73
DaoHelper::getCommunitiesQueryString()
A
46 11 41
DaoHelper::getAccountsQueryString()
A
46 11 41
ObjectRecordFilesCollectionV3::__construct()
A
56 10 17
DaoHelper::urlWithCatalogueType()
A
57 9 16
Community::__construct()
S
58 8 14
FileV3::__construct()
S
62 8 10
eHiveAccess::ehive_plugin_update()
S
49 5 34
Comment::__construct()
S
64 7 9
CommentsCollection::__construct()
S
60 6 13
CommunitiesCollection::__construct()
S
60 6 13
AccountsCollection::__construct()
S
60 6 13
ObjectRecordsCollection::__construct()
S
60 6 13
ObjectRecordTagsCollection::__construct()
S
59 6 13
eHiveAccess::eHiveApi()
S
51 5 25
EHiveStatusMessage::__construct()
S
65 6 8
BadRequestMessage::__construct()
S
61 5 12
Field::__construct()
S
62 5 11
Media::__construct()
S
62 5 11
MediaSet::__construct()
S
62 5 11
FieldSet::__construct()
S
62 5 11
Field::getValues()
S
63 4 11
ObjectRecordTag::__construct()
S
70 4 6
TagCloud::__construct()
S
64 4 10
TagCloudTag::__construct()
S
70 4 6
Transport::__construct()
S
58 3 15
Transport::asOauthCredentials()
S
65 4 8
eHiveAccess::site_type_fn()
S
64 4 8
RequestField::__construct()
S
70 4 6
Attribute::__construct()
S
70 4 6
FieldRow::__construct()
S
64 4 10
MediaRow::__construct()
S
64 4 10
eHiveAccess::getSearchPrivateRecords()
S
73 3 4
Community::getMediaSetByIdentifier()
S
65 3 10
eHiveAccess::getAccountDetailsPageId()
S
71 3 5
eHiveAccess::getIsErrorNotificationEnabled()
S
66 3 8
ObjectRecord::getFieldSetByIdentifier()
S
65 3 10
FieldRow::getFieldByIdentifier()
S
65 3 10
eHiveAccess::account_details_page_fn()
S
62 3 10
eHiveAccess::getObjectDetailsPageId()
S
71 3 5
MediaRow::getMediaByIdentifier()
S
65 3 10
eHiveAccess::object_details_page_fn()
S
62 3 10
eHiveAccess::search_page_fn()
S
62 3 10
ObjectRecord::getMediaSetByIdentifier()
S
65 3 10
eHiveAccess::memcache_enabled_fn()
S
64 3 9
eHiveAccess::private_record_search_enabled_fn()
S
64 3 9
eHiveAccess::getSearchPageId()
S
71 3 5
eHiveAccess::ehive_api_error_notification_enabled_fn()
S
66 3 8
eHiveAccess::account_id_fn()
S
71 3 5
eHiveAccess::community_id_fn()
S
71 3 5
Account::getMediaSetByIdentifier()
S
65 3 10
eHiveAccess::ehive_access_options_help()
S
62 2 12
eHiveAccess::getSearchPageLink()
S
62 2 11
eHiveAccess::ehive_access_options_page()
S
62 1 16
Field::getWidth()
S
70 2 6
Field::getUrl()
S
70 2 6
Field::getTitle()
S
70 2 6
eHiveAccess::getAccountDetailsPageLink()
S
65 2 9
Media::getMediaAttribute()
S
67 2 8
eHiveAccess::getObjectDetailsPageLink()
S
65 2 9
Transport::createUrl()
S
66 2 8
TagCloudDao::getTagCloudInEHive()
S
65 2 8
TagCloudDao::getTagCloudInAccount()
S
65 2 8
TagCloudDao::getTagCloudInCommunity()
S
65 2 8
Field::getIdentifier()
S
70 2 6
Field::getFieldAttribute()
S
67 2 8
Field::getLabel()
S
70 2 6
Field::getHeight()
S
70 2 6
eHiveAccess::ehive_access_admin_options_init()
S
58 1 13
EHiveApi::getObjectRecordFiles()
S
69 1 6
CommentsDao::addObjectRecordComment()
S
67 1 7
Transport::setCredentialsCallback()
S
92 1 1
EHiveForbiddenException::__construct()
S
79 1 3
eHiveAccess::comment_section_text_fn()
S
83 1 3
eHiveAccess::memcached_servers_fn()
S
72 1 5
AccountsDao::getAccount()
S
68 1 7
eHiveAccess::memcache_expiry_fn()
S
72 1 5
AccountsDao::getAccountsInEHive()
S
67 1 7
AccountsDao::getAccountsInCommunity()
S
66 1 7
eHiveAccess::deactivate()
S
91 1 2
Transport::getOauthCredentials()
S
67 1 8
Transport::mecacheKey()
S
79 1 3
CommunitiesDao::getCommunitiesModeratedByAccount()
S
68 1 7
EHiveApi::getConfiguration()
S
83 1 3
CommunitiesDao::getCommunitiesInEHive()
S
67 1 7
InterestingObjectRecordsDao::__construct()
S
76 1 4
InterestingObjectRecordsDao::getInterestingObjectRecordsInEHive()
S
65 1 8
InterestingObjectRecordsDao::getInterestingObjectRecordsInAccount()
S
64 1 8
InterestingObjectRecordsDao::getInterestingObjectRecordsInCommunity()
S
65 1 8
InterestingObjectRecordsDao::getInterestingObjectRecordsInAccountInCommunity()
S
64 1 8
ObjectRecordsDao::__construct()
S
76 1 4
ObjectRecordsDao::getObjectRecord()
S
69 1 6
ObjectRecordsDao::getObjectRecordsInEHive()
S
66 1 7
ObjectRecordsDao::getObjectRecordsInAccount()
S
66 1 7
ObjectRecordsDao::getObjectRecordsInCommunity()
S
66 1 7
ObjectRecordsDao::getObjectRecordsInAccountInCommunity()
S
66 1 7
ObjectRecordsDao::getObjectRecordFiles()
S
69 1 6
ObjectRecordTagsDao::__construct()
S
76 1 4
ObjectRecordTagsDao::getObjectRecordTags()
S
67 1 7
ObjectRecordTagsDao::addObjectRecordTag()
S
67 1 7
ObjectRecordTagsDao::deleteObjectRecordTag()
S
67 1 7
Transport::setTrackingId()
S
92 1 1
EHiveApi::getInterestingObjectRecordsInAccount()
S
69 1 6
eHiveAccess::getSiteType()
S
75 1 4
EHiveApi::getInterestingObjectRecordsInCommunity()
S
69 1 6
eHiveAccess::activate()
S
91 1 2
EHiveApi::getRecentObjectRecordsInAccount()
S
69 1 6
EHiveApi::getRecentObjectRecordsInCommunity()
S
69 1 6
RecentObjectRecordsDao::getRecentObjectRecordsInCommunity()
S
65 1 8
eHiveAccess::ehive_access_admin_enqueue_styles()
S
82 1 3
RecentObjectRecordsDao::getRecentObjectRecordsInAccount()
S
64 1 8
CommentsDao::getObjectRecordComments()
S
65 1 8
Transport::setApiUrl()
S
92 1 1
Transport::setClientSecret()
S
92 1 1
EHiveApi::getPopularObjectRecordsInAccount()
S
69 1 6
EHiveApi::getCommunitiesModeratoredByAccount()
S
70 1 6
EHiveApi::getInterestingObjectRecordsInEHive()
S
69 1 6
EHiveApi::getPopularObjectRecordsInCommunity()
S
69 1 6
eHiveAccess::ehive_access_admin_menu()
S
64 1 8
EHiveApi::deleteObjectRecordTag()
S
69 1 6
eHiveAccess::oauth_section_text_fn()
S
71 1 5
PopularObjectRecordsDao::getPopularObjectRecordsInAccount()
S
64 1 8
eHiveAccess::ehive_api_error_message_fn()
S
72 1 5
RecentObjectRecordsDao::__construct()
S
76 1 4
EHiveApi::getAccountsInCommunity()
S
69 1 6
PopularObjectRecordsDao::getPopularObjectRecordsInEHive()
S
65 1 8
eHiveAccess::site_section_text_fn()
S
68 1 6
EHiveApi::addObjectRecordComment()
S
70 1 6
PopularObjectRecordsDao::getPopularObjectRecordsInCommunity()
S
65 1 8
EHiveApi::addObjectRecordTag()
S
70 1 6
EHiveApi::getPopularObjectRecordsInAccountInCommunity()
S
69 1 6
CommentsDao::__construct()
S
81 1 3
EHiveStatusMessage::toString()
S
77 1 3
eHiveAccess::getErrorMessage()
S
73 1 5
EHiveApi::getPopularObjectRecordsInEHive()
S
69 1 6
RecentObjectRecordsDao::getRecentObjectRecordsInEHive()
S
65 1 8
RecentObjectRecordsDao::getRecentObjectRecordsInAccountInCommunity()
S
64 1 8
EHiveBadRequestException::__construct()
S
74 1 5
EHiveApi::getObjectRecordTags()
S
70 1 6
PopularObjectRecordsDao::__construct()
S
76 1 4
eHiveAccess::client_secret_fn()
S
75 1 4
EHiveApi::__construct()
S
77 1 3
EHiveApi::getInterestingObjectRecordsInAccountInCommunity()
S
69 1 6
AccountsDao::__construct()
S
76 1 4
EHiveApi::getObjectRecordComments()
S
69 1 6
EHiveUnauthorizedException::__construct()
S
79 1 3
EHiveApi::getTagCloudInAccount()
S
69 1 6
EHiveApi::getObjectRecord()
S
70 1 6
EHiveApi::getObjectRecordsInAccountInCommunity()
S
68 1 6
EHiveApi::getObjectRecordsInEHive()
S
69 1 6
eHiveAccess::getCommunityId()
S
75 1 4
EHiveFatalServerException::__construct()
S
79 1 3
EHiveApi::getAccountsInEHive()
S
69 1 6
EHiveApi::getTagCloudInCommunity()
S
69 1 6
eHiveAccess::tracking_id_fn()
S
75 1 4
eHiveAccess::client_id_fn()
S
75 1 4
EHiveApi::getTagCloudInEHive()
S
70 1 6
AccountsDao::getAccountInCommunity()
S
67 1 7
EHiveApi::getRecentObjectRecordsInEHive()
S
69 1 6
EHiveApi::getAccount()
S
70 1 6
TagCloudDao::__construct()
S
76 1 4
eHiveAccess::ehive_api_section_fn()
S
66 1 7
EHiveApi::getObjectRecordsInAccount()
S
68 1 6
EHiveApi::getObjectRecordsInCommunity()
S
68 1 6
EHiveApi::getCommunitiesInEHive()
S
69 1 6
EHiveApi::getAccountInCommunity()
S
69 1 6
CommunitiesDao::__construct()
S
76 1 4
EHiveApi::getRecentObjectRecordsInAccountInCommunity()
S
69 1 6
eHiveAccess::__construct()
S
75 1 4
Transport::setOauthToken()
S
92 1 1
EHiveNotFoundException::__construct()
S
79 1 3
eHiveAccess::getAccountId()
S
75 1 4
eHiveAccess::ehive_access_plugin_action_links()
S
72 1 5
eHiveAccess::page_configuration_section_text_fn()
S
71 1 5
PopularObjectRecordsDao::getPopularObjectRecordsInAccountInCommunity()
S
64 1 8
EHiveApiException::__construct()
S
81 1 3
Transport::setClientId()
S
92 1 1