Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲1.68MB] [CPU: ▼123.60ms] Passed 4 tests
A check of server-side resources used by Easy VKontakte Connect
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.19 ▲1.47 | 44.35 ▲18.35 |
Dashboard /wp-admin | 4.82 ▲1.76 | 60.55 ▲17.76 |
Posts /wp-admin/edit.php | 4.93 ▲1.82 | 55.77 ▲9.22 |
Add New Post /wp-admin/post-new.php | 7.17 ▲1.74 | 109.49 ▼533.92 |
Media Library /wp-admin/upload.php | 4.76 ▲1.76 | 46.89 ▲12.54 |
Настройки VK API /wp-admin/admin.php?page=evc | 4.73 | 43.17 |
Социальный замок /wp-admin/admin.php?page=evc-lock | 4.73 | 42.61 |
Автопостинг /wp-admin/admin.php?page=evc-autopost | 4.74 | 48.48 |
Сайдбары /wp-admin/admin.php?page=evc-sidebar | 4.73 | 42.77 |
Анализ групп /wp-admin/admin.php?page=evc-stats | 4.74 | 41.61 |
Комментарии /wp-admin/admin.php?page=evc-comments | 4.73 | 45.14 |
Кнопки и виджеты /wp-admin/admin.php?page=evc-widgets | 4.73 | 44.43 |
Лог /wp-admin/admin.php?page=evc-log | 4.73 | 41.31 |
Server storage [IO: ▲1.76MB] [DB: ▲0.01MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 44 new files
Database: no new tables, 12 new options
New WordPress options |
---|
evc_widget_auth |
evc_lock |
evc_widget_buttons |
widget_vk_group |
evc_comments_pro |
evc_sidebar_overlay |
evc_version |
evc_activation_date |
evc_widget_community_messages |
evc_autopost |
... |
Browser metrics Passed 4 tests
An overview of browser requirements for Easy VKontakte Connect
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 4,104 ▲508 | 17.10 ▲1.52 | 14.85 ▲2.33 | 50.96 ▲2.98 |
Dashboard /wp-admin | 3,214 ▲280 | 7.30 ▲1.29 | 142.65 ▼18.40 | 138.90 ▲26.98 |
Posts /wp-admin/edit.php | 2,867 ▲128 | 2.90 ▲0.18 | 80.00 ▲16.83 | 116.81 ▲22.31 |
Add New Post /wp-admin/post-new.php | 2,114 ▲242 | 25.18 ▲6.13 | 334.95 ▼31.64 | 134.87 ▲23.54 |
Media Library /wp-admin/upload.php | 1,852 ▲45 | 5.70 ▲0.68 | 127.76 ▼27.52 | 140.88 ▲22.08 |
Настройки VK API /wp-admin/admin.php?page=evc | 1,779 | 3.16 | 81.43 | 93.36 |
Социальный замок /wp-admin/admin.php?page=evc-lock | 1,613 | 3.38 | 67.71 | 125.52 |
Автопостинг /wp-admin/admin.php?page=evc-autopost | 2,466 | 3.07 | 75.90 | 143.36 |
Сайдбары /wp-admin/admin.php?page=evc-sidebar | 2,287 | 3.11 | 70.79 | 134.23 |
Анализ групп /wp-admin/admin.php?page=evc-stats | 1,520 | 3.00 | 64.81 | 110.31 |
Комментарии /wp-admin/admin.php?page=evc-comments | 2,222 | 3.27 | 77.89 | 118.92 |
Кнопки и виджеты /wp-admin/admin.php?page=evc-widgets | 2,499 | 3.41 | 84.95 | 142.08 |
Лог /wp-admin/admin.php?page=evc-log | 1,447 | 3.13 | 74.33 | 111.46 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- The uninstall procedure has failed, leaving 12 options in the database
- evc_sidebar_slide
- evc_lock
- widget_vk_group
- evc_autopost
- evc_sidebar_overlay
- evc_activation_date
- evc_version
- evc_widget_community_messages
- evc_comments
- evc_widget_buttons
- ...
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Almost there! Just fix the following items
- 13× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/easy-vkontakte-connect/inc/evc-api.php:287
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/easy-vkontakte-connect/evc-base.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/easy-vkontakte-connect/evc-albums.php:99
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/easy-vkontakte-connect/inc/evc-api.php:287
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/easy-vkontakte-connect/evc-lock.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/easy-vkontakte-connect/evc-stats.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/easy-vkontakte-connect/evc-share.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/easy-vkontakte-connect/evc.php:32
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/easy-vkontakte-connect/evc-buttons.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/easy-vkontakte-connect/evc-polls.php:104
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Please take a look at the following user-side issues
- > GET request to /wp-admin/admin.php?page=evc-stats
- > Console-api (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=5.8.1 1:31592 "jQuery.Deferred exception: $(...).live is not a function" "TypeError: $(...).live is not a function\n at HTMLDocument.\u003Canonymous> (/wp-content/plugins/easy-vkontakte-connect/js/evc.js?ver=1.0:10:13)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=5.8.1:2:30038)\n at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=5.8.1:2:30340)" undefined
- > GET request to /wp-admin/admin.php?page=evc-stats
- > Javascript (severe) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=5.8.1 1:31702 Uncaught TypeError: $(...).live is not a function
- > GET request to /wp-admin/admin.php?page=evc-comments
- > Javascript (severe) in unknown
http://vk.com/js/api/openapi.js 1404:26 Uncaught Error: VK not initialized. Please use VK.init
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that require attention:
- Screenshots: These screenshots do not have images: #1 (Social Likes Buttons Themes and Variation.), #2 (VK API Settings.), #3 (Sidebars Settings.), #4 (Autopost Settings.), #5 (VK Community Widget.), #6 (Edit Post Page.), #7 (VKontakte Wall Analytics page.)
- Tags: Please delete some tags, you are using 12 tag instead of maximum 10
easy-vkontakte-connect/evc.php 85% from 13 tests
The main PHP file in "Easy VKontakte Connect" ver. 2.6.1 adds more information about the plugin and also serves as the entry point for this plugin
Please take the time to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("easy-vkontakte-connect.php" instead of "evc.php")
- Description: Keep the plugin description shorter than 140 characters (currently 198 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected14,009 lines of code in 32 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 15 | 1,974 | 855 | 8,145 |
CSS | 7 | 1,000 | 29 | 5,221 |
JavaScript | 10 | 122 | 170 | 643 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 25.80 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 75.00 |
Average method complexity | 3.06 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 23.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 51 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 51 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 242 | |
▷ Named functions | 240 | 99.17% |
▷ Anonymous functions | 2 | 0.83% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
10 PNG files occupy 0.97MB with 0.37MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-7.png | 744.59KB | 253.42KB | ▼ 65.97% |
screenshot-3.png | 55.21KB | 33.85KB | ▼ 38.69% |
img/vk-logo.png | 0.47KB | 0.36KB | ▼ 24.69% |
img/glyphicons-halflings.png | 12.50KB | 10.35KB | ▼ 17.19% |
screenshot-6.png | 8.15KB | 4.47KB | ▼ 45.12% |