Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
You still need to fix the following installer errors
- Install procedure had errors
- > Warning in wp-content/plugins/acurax-on-click-pop-under/acx_onclick_popunder.php+29
include_once(wp-content/plugins/acurax-on-click-pop-under/function.php): failed to open stream: No such file or directory
Server metrics [RAM: ▼1.93MB] [CPU: ▼55.10ms] Passed 4 tests
A check of server-side resources used by Acurax On Click Pop Under
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.06 ▼1.41 | 4.81 ▼35.31 |
Dashboard /wp-admin | 2.08 ▼1.23 | 5.37 ▼45.16 |
Posts /wp-admin/edit.php | 2.08 ▼1.28 | 5.82 ▼40.36 |
Add New Post /wp-admin/post-new.php | 2.08 ▼3.81 | 5.84 ▼99.56 |
Media Library /wp-admin/upload.php | 2.08 ▼1.15 | 5.66 ▼30.20 |
Add-ons /wp-admin/admin.php?page=Acurax-Onclick-Popunder-Add-ons | 2.08 | 5.28 |
PopUnder /wp-admin/admin.php?page=Acurax-onclick-popunder-Settings | 2.08 | 6.77 |
Misc /wp-admin/admin.php?page=Acurax-Onclick-Popunder-Misc | 2.08 | 5.58 |
Server storage [IO: ▲0.33MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 26 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Acurax On Click Pop Under: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,819 ▲58 | 14.25 ▼0.02 | 2.10 ▲0.48 | 46.49 ▲1.55 |
Dashboard /wp-admin | 2,210 ▲30 | 5.58 ▼0.07 | 91.87 ▼0.37 | 81.61 ▲35.58 |
Posts /wp-admin/edit.php | 2,127 ▲24 | 1.98 ▼0.06 | 33.92 ▼4.49 | 34.70 ▼1.14 |
Add New Post /wp-admin/post-new.php | 1,566 ▲40 | 22.94 ▼0.26 | 702.47 ▲27.96 | 50.73 ▼0.56 |
Media Library /wp-admin/upload.php | 1,424 ▲24 | 4.28 ▲0.08 | 97.33 ▼0.72 | 79.11 ▲36.12 |
Add-ons /wp-admin/admin.php?page=Acurax-Onclick-Popunder-Add-ons | 783 | 2.00 | 24.13 | 23.33 |
PopUnder /wp-admin/admin.php?page=Acurax-onclick-popunder-Settings | 801 | 1.99 | 26.53 | 22.57 |
Misc /wp-admin/admin.php?page=Acurax-Onclick-Popunder-Misc | 801 | 1.99 | 23.30 | 23.54 |
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
These items require your attention
- The plugin did not uninstall gracefully
- > Warning in wp-content/plugins/acurax-on-click-pop-under/acx_onclick_popunder.php+29
include_once(wp-content/plugins/acurax-on-click-pop-under/function.php): failed to open stream: No such file or directory
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Smoke test failed, please fix the following
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=Acurax-Onclick-Popunder-Misc
- > Warning in wp-content/plugins/acurax-on-click-pop-under/acx_onclick_popunder.php+29
include_once(wp-content/plugins/acurax-on-click-pop-under/function.php): failed to open stream: No such file or directory
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=Acurax-Onclick-Popunder-Misc
- > Warning in wp-content/plugins/acurax-on-click-pop-under/acx_onclick_popunder.php+29
include_once(): Failed opening 'wp-content/plugins/acurax-on-click-pop-under/function.php' for inclusion (include_path='.:/usr/share/php')
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=Acurax-Onclick-Popunder-Misc
- > Warning in wp-content/plugins/acurax-on-click-pop-under/acx_onclick_popunder.php+30
include_once(wp-content/plugins/acurax-on-click-pop-under/includes/hooks.php): failed to open stream: No such file or directory
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=Acurax-Onclick-Popunder-Misc
- > Warning in wp-content/plugins/acurax-on-click-pop-under/acx_onclick_popunder.php+30
include_once(): Failed opening 'wp-content/plugins/acurax-on-click-pop-under/includes/hooks.php' for inclusion (include_path='.:/usr/share/php')
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=Acurax-Onclick-Popunder-Misc
- > Warning in wp-content/plugins/acurax-on-click-pop-under/acx_onclick_popunder.php+31
include_once(wp-content/plugins/acurax-on-click-pop-under/includes/hook_functions.php): failed to open stream: No such file or directory
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=Acurax-Onclick-Popunder-Misc
- > Warning in wp-content/plugins/acurax-on-click-pop-under/acx_onclick_popunder.php+31
include_once(): Failed opening 'wp-content/plugins/acurax-on-click-pop-under/includes/hook_functions.php' for inclusion (include_path='.:/usr/share/php')
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=Acurax-Onclick-Popunder-Misc
- > Warning in wp-content/plugins/acurax-on-click-pop-under/acx_onclick_popunder.php+32
include_once(wp-content/plugins/acurax-on-click-pop-under/includes/option_fields.php): failed to open stream: No such file or directory
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=Acurax-Onclick-Popunder-Misc
- > Warning in wp-content/plugins/acurax-on-click-pop-under/acx_onclick_popunder.php+32
include_once(): Failed opening 'wp-content/plugins/acurax-on-click-pop-under/includes/option_fields.php' for inclusion (include_path='.:/usr/share/php')
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=Acurax-Onclick-Popunder-Misc
- > Warning in wp-content/plugins/acurax-on-click-pop-under/acx_onclick_popunder.php+33
include_once(wp-content/plugins/acurax-on-click-pop-under/includes/acx-onclick_popunder-licence-activation.php): failed to open stream: No such file or directory
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=Acurax-Onclick-Popunder-Misc
- > Warning in wp-content/plugins/acurax-on-click-pop-under/acx_onclick_popunder.php+33
include_once(): Failed opening 'wp-content/plugins/acurax-on-click-pop-under/includes/acx-onclick_popunder-licence-activation.php' for inclusion (include_path='.:/usr/share/php')
- > GET request to /wp-admin/admin.php?page=Acurax-Onclick-Popunder-Add-ons
- > Warning in wp-content/plugins/acurax-on-click-pop-under/acx_onclick_popunder.php+43
include(wp-content/plugins/acurax-on-click-pop-under/includes/acx_onclick_popunder_addons.php): failed to open stream: No such file or directory
- > GET request to /wp-admin/admin.php?page=Acurax-Onclick-Popunder-Add-ons
- > Warning in wp-content/plugins/acurax-on-click-pop-under/acx_onclick_popunder.php+43
include(): Failed opening 'wp-content/plugins/acurax-on-click-pop-under/includes/acx_onclick_popunder_addons.php' for inclusion (include_path='.:/usr/share/php')
- > GET request to /wp-admin/admin.php?page=Acurax-onclick-popunder-Settings
- > Warning in wp-content/plugins/acurax-on-click-pop-under/acx_onclick_popunder.php+35
include_once(wp-content/plugins/acurax-on-click-pop-under/includes/acx_onclick_popunder_admin.php): failed to open stream: No such file or directory
- > GET request to /wp-admin/admin.php?page=Acurax-onclick-popunder-Settings
- > Warning in wp-content/plugins/acurax-on-click-pop-under/acx_onclick_popunder.php+35
include_once(): Failed opening 'wp-content/plugins/acurax-on-click-pop-under/includes/acx_onclick_popunder_admin.php' for inclusion (include_path='.:/usr/share/php')
- > GET request to /wp-admin/admin.php?page=Acurax-Onclick-Popunder-Misc
- > Warning in wp-content/plugins/acurax-on-click-pop-under/acx_onclick_popunder.php+39
include_once(wp-content/plugins/acurax-on-click-pop-under/includes/acx_onclick_popunder_misc.php): failed to open stream: No such file or directory
- > GET request to /wp-admin/admin.php?page=Acurax-Onclick-Popunder-Misc
- > Warning in wp-content/plugins/acurax-on-click-pop-under/acx_onclick_popunder.php+39
include_once(): Failed opening 'wp-content/plugins/acurax-on-click-pop-under/includes/acx_onclick_popunder_misc.php' for inclusion (include_path='.:/usr/share/php')
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please take a closer look at the following
- 4× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/acurax-on-click-pop-under/acx_onclick_popunder_admin.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/acurax-on-click-pop-under/acx_onclick_popunder_misc.php:26
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/acurax-on-click-pop-under/functions.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/acurax-on-click-pop-under/acx_onclick_popunder.php:25
- > 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 is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Please fix the following attributes:
- Tags: Too many tags (11 tag instead of maximum 10); only the first 5 tags are used in your directory listing
acurax-on-click-pop-under/acx_onclick_popunder.php 85% from 13 tests
The main PHP script in "Acurax On Click Pop Under" version 3.0 is automatically included on every request by WordPress
You should first fix the following items:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 291 characters long)
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("acurax-on-click-pop-under.php" instead of "acx_onclick_popunder.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
No dangerous file extensions were detected1,269 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 36 | 32 | 677 |
CSS | 1 | 0 | 4 | 350 |
SVG | 1 | 0 | 0 | 242 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 11.00 |
▷ Minimum class complexity | 11.00 |
▷ Maximum class complexity | 11.00 |
Average method complexity | 2.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 10 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 10 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 10 | |
▷ Named functions | 10 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.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
11 PNG files occupy 0.09MB with 0.03MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/admin.png | 3.28KB | 1.00KB | ▼ 69.42% |
images/ss_yes.png | 0.45KB | 0.41KB | ▼ 7.84% |
images/quick.png | 1.93KB | 1.63KB | ▼ 15.33% |
images/table_head_4.png | 14.24KB | 7.04KB | ▼ 50.55% |
images/des.png | 2.42KB | 1.88KB | ▼ 22.13% |