Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The following installer errors require your attention
- The plugin did not install without errors
- > Deprecated in wp-content/plugins/areyoupop-playpops/classes/settings.php+469
Function create_function() is deprecated
Server metrics [RAM: ▼1.87MB] [CPU: ▼57.01ms] Passed 4 tests
This is a short check of server-side resources used by Areyoupop Playpops Lite
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.12 ▼1.34 | 5.39 ▼45.82 |
Dashboard /wp-admin | 2.14 ▼1.17 | 8.60 ▼44.04 |
Posts /wp-admin/edit.php | 2.14 ▼1.22 | 7.01 ▼46.77 |
Add New Post /wp-admin/post-new.php | 2.14 ▼3.75 | 6.35 ▼91.40 |
Media Library /wp-admin/upload.php | 2.14 ▼1.09 | 6.04 ▼28.27 |
PlayPops for WordPress /wp-admin/options-general.php?page=playpops_plugin_options | 2.14 | 6.05 |
Server storage [IO: ▲0.26MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 29 new files
Database: no new tables, 7 new options
New WordPress options |
---|
playpops_general_settings |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
Areyoupop Playpops Lite: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,891 ▲130 | 14.62 ▲0.24 | 90.92 ▲89.19 | 44.18 ▲0.34 |
Dashboard /wp-admin | 2,249 ▲49 | 5.11 ▼0.71 | 112.50 ▼3.28 | 44.94 ▲1.79 |
Posts /wp-admin/edit.php | 2,136 ▲36 | 2.45 ▲0.43 | 42.05 ▲5.94 | 37.22 ▲0.51 |
Add New Post /wp-admin/post-new.php | 6,303 ▲4,772 | 26.28 ▲2.93 | 942.94 ▲268.82 | 41.46 ▼22.14 |
Media Library /wp-admin/upload.php | 1,434 ▲40 | 4.46 ▲0.22 | 96.79 ▼7.72 | 44.21 ▼2.57 |
PlayPops for WordPress /wp-admin/options-general.php?page=playpops_plugin_options | 1,039 | 2.43 | 41.56 | 31.30 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- This plugin did not uninstall without warnings or errors
- > Deprecated in wp-content/plugins/areyoupop-playpops/classes/settings.php+469
Function create_function() is deprecated
- Zombie WordPress options detected upon uninstall: 7 options
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- playpops_general_settings
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
These errors were triggered by the plugin
- > GET request to /wp-admin/options-general.php?page=playpops_plugin_options
- > Deprecated in wp-content/plugins/areyoupop-playpops/classes/settings.php+469
Function create_function() is deprecated
- > GET request to /wp-admin/options-general.php?page=playpops_plugin_options
- > User deprecated in wp-includes/functions.php+5463
Function screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/options-general.php?page=playpops_plugin_options
- > User deprecated in wp-includes/functions.php+5463
Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.
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
Please fix the following items
- 3× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/areyoupop-playpops/classes/settings.php:469
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/areyoupop-playpops/classes/settings.php:469
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/areyoupop-playpops/classes/playpops_meta.php:13
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that need to be fixed:
- Screenshots: These screenshots need descriptions #1, #2, #3, #4, #5 in areyoupop-playpops/assets to your readme.txt
areyoupop-playpops/playpops.php 85% from 13 tests
"Areyoupop Playpops Lite" version 2.0.2 lite...'s main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please take the time to fix the following:
- Version: Use periods and digits only for your plugin's version number (ex. "1.0.3" instead of "2.0.2 lite...")
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("areyoupop-playpops.php" instead of "playpops.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Success! There were no dangerous files found in this plugin1,090 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 748 | 310 | 717 |
JavaScript | 3 | 113 | 100 | 205 |
CSS | 1 | 21 | 12 | 105 |
XML | 9 | 0 | 0 | 63 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 23.67 |
▷ Minimum class complexity | 8.00 |
▷ Maximum class complexity | 42.00 |
Average method complexity | 2.66 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 16.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 41 | |
▷ Static methods | 2 | 4.88% |
▷ Public methods | 40 | 97.56% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 2.44% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 5 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
11 PNG files occupy 0.19MB with 0.10MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/digg.png | 4.04KB | 2.04KB | ▼ 49.49% |
images/pinterest.png | 6.03KB | 3.13KB | ▼ 48.07% |
images/google-plus.png | 5.98KB | 2.93KB | ▼ 50.93% |
images/close.png | 144.45KB | 40.46KB | ▼ 71.99% |
images/linkedin.png | 4.12KB | 2.58KB | ▼ 37.38% |