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
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.95MB] [CPU: ▼34.20ms] Passed 4 tests
A check of server-side resources used by Pop-up Ads Bottom Right Corner
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 39.71 ▼3.88 |
Dashboard /wp-admin | 2.99 ▼0.31 | 25.56 ▼25.50 |
Posts /wp-admin/edit.php | 3.00 ▼0.36 | 24.39 ▼26.03 |
Add New Post /wp-admin/post-new.php | 2.99 ▼2.89 | 27.10 ▼74.39 |
Media Library /wp-admin/upload.php | 2.99 ▼0.23 | 25.82 ▼10.86 |
Pop-up Ads Bottom Right Corner /wp-admin/options-general.php?page=PopupAdsBottomRightCorner | 3.00 | 22.28 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
Pop-up Ads Bottom Right Corner: 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,852 ▲106 | 13.31 ▼1.07 | 3.65 ▲1.68 | 46.41 ▼0.00 |
Dashboard /wp-admin | 2,207 ▲19 | 5.80 ▲0.83 | 109.44 ▼23.97 | 38.75 ▼24.05 |
Posts /wp-admin/edit.php | 2,093 ▲1 | 2.00 ▲0.01 | 40.26 ▼2.74 | 36.19 ▲0.26 |
Add New Post /wp-admin/post-new.php | 1,536 ▲17 | 23.00 ▼0.10 | 640.29 ▲1.86 | 49.99 ▲0.46 |
Media Library /wp-admin/upload.php | 1,395 ▲4 | 4.15 ▼0.04 | 97.89 ▼4.93 | 41.85 ▼5.92 |
Pop-up Ads Bottom Right Corner /wp-admin/options-general.php?page=PopupAdsBottomRightCorner | 696 | 1.53 | 6.57 | 21.29 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- 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
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
These server-side errors were triggered
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=PopupAdsBottomRightCorner
- > 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.
- > GET request to /wp-admin/options-general.php?page=PopupAdsBottomRightCorner
- > Notice in wp-content/plugins/pop-up-ads-bottom-right-corner/wppabrc_admin.php+7
Undefined index: wppabrc_hidden
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The following issues need your attention
- 3× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/pop-up-ads-bottom-right-corner/wppabrc_admin.php:18
- > PHP Notice
Undefined index: wppabrc_hidden in wp-content/plugins/pop-up-ads-bottom-right-corner/wppabrc_admin.php on line 7
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/pop-up-ads-bottom-right-corner/wppabrc_main.php:10
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that need to be fixed:
- Tested up to: Invalid plugin version format
pop-up-ads-bottom-right-corner/wppabrc_main.php 92% from 13 tests
The main PHP file in "Pop-up Ads Bottom Right Corner" ver. 1.0.0 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 ("pop-up-ads-bottom-right-corner.php" instead of "wppabrc_main.php")
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
There were no executable files found in this plugin123 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 0 | 33 | 123 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.07 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG images were found in this plugin