Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▼0.76MB] [CPU: ▼33.76ms] Passed 4 tests
This is a short check of server-side resources used by VK Poster Group
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.91 ▲0.17 | 47.64 ▲3.20 |
Dashboard /wp-admin | 3.46 ▼0.11 | 27.77 ▼24.74 |
Posts /wp-admin/edit.php | 3.46 ▼0.22 | 27.46 ▼23.38 |
Add New Post /wp-admin/post-new.php | 3.46 ▼2.69 | 28.74 ▼76.10 |
Media Library /wp-admin/upload.php | 3.46 ▼0.03 | 29.46 ▼10.80 |
VKPosterGP /wp-admin/options-general.php?page=vkposter-page | 3.46 | 30.62 |
Server storage [IO: ▲1.16MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 29 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for VK Poster Group
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.37 ▼0.05 | 1.93 ▲0.08 | 43.71 ▲0.26 |
Dashboard /wp-admin | 2,199 ▲22 | 5.67 ▲0.07 | 84.07 ▼16.36 | 48.37 ▲2.95 |
Posts /wp-admin/edit.php | 2,104 ▲1 | 2.03 ▼0.02 | 40.46 ▲2.91 | 38.45 ▲1.08 |
Add New Post /wp-admin/post-new.php | 1,529 ▼17 | 17.48 ▼5.83 | 620.32 ▼30.08 | 59.53 ▲1.64 |
Media Library /wp-admin/upload.php | 1,401 ▲7 | 4.29 ▲0.01 | 99.44 ▼5.45 | 40.71 ▼4.96 |
VKPosterGP /wp-admin/options-general.php?page=vkposter-page | 1,157 | 2.03 | 26.52 | 30.27 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- This plugin did not uninstall without warnings or errors
- > User deprecated in wp-includes/functions.php+5737
Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Smoke test failed, please fix the following
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=vkposter-page
- > User deprecated in wp-includes/functions.php+5737
Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Almost there! Just fix the following items
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/vk-poster-group/index-vkp.php:29
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
7 plugin tags: autopost, social, vkcom, auto post, vkontakte...
vk-poster-group/index-vkp.php 85% from 13 tests
"VK Poster Group" version 2.0.3's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
You should first fix the following items:
- Description: Please don't use more than 140 characters for the plugin description (currently 184 characters long)
- Main file name: The principal plugin file should be the same as the plugin slug ("vk-poster-group.php" instead of "index-vkp.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Good job! No executable or dangerous file extensions detected1,624 lines of code in 24 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 19 | 399 | 366 | 1,580 |
JSON | 2 | 0 | 0 | 22 |
CSS | 1 | 2 | 0 | 20 |
Markdown | 1 | 0 | 0 | 2 |
JavaScript | 1 | 2 | 26 | 0 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 24.86 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 51.00 |
Average method complexity | 3.16 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 78 | |
▷ Static methods | 18 | 23.08% |
▷ Public methods | 71 | 91.03% |
▷ Protected methods | 5 | 6.41% |
▷ Private methods | 2 | 2.56% |
Functions | 7 | |
▷ Named functions | 2 | 28.57% |
▷ Anonymous functions | 5 | 71.43% |
Constants | 19 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 19 | 100.00% |
▷ Public constants | 19 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
11 PNG files occupy 1.09MB with 0.70MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/help_9.png | 118.90KB | 41.08KB | ▼ 65.45% |
img/help_7.png | 43.69KB | 16.04KB | ▼ 63.28% |
img/help_4.png | 63.29KB | 25.85KB | ▼ 59.15% |
img/help_5.png | 116.69KB | 38.75KB | ▼ 66.79% |
img/help_2.png | 52.80KB | 18.89KB | ▼ 64.23% |