Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Please fix the following installer errors
- Install procedure validation failed for this plugin
- > 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: ▼2.53MB] [CPU: ▼339.86ms] Passed 4 tests
Analyzing server-side resources used by Acurax On Click Pop Under
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 1.84 ▼1.67 | 3.95 ▼45.49 |
Dashboard /wp-admin | 1.86 ▼1.55 | 3.85 ▼29.48 |
Posts /wp-admin/edit.php | 1.86 ▼1.78 | 3.97 ▼33.19 |
Add New Post /wp-admin/post-new.php | 1.86 ▼5.11 | 4.04 ▼1,251.26 |
Media Library /wp-admin/upload.php | 1.86 ▼1.44 | 3.35 ▼20.77 |
Add-ons /wp-admin/admin.php?page=Acurax-Onclick-Popunder-Add-ons | 1.86 | 4.18 |
Misc /wp-admin/admin.php?page=Acurax-Onclick-Popunder-Misc | 1.86 | 4.68 |
PopUnder /wp-admin/admin.php?page=Acurax-onclick-popunder-Settings | 1.86 | 3.80 |
Server storage [IO: ▲0.33MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 26 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
A check of browser resources used by Acurax On Click Pop Under
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,803 ▲59 | 16.14 ▲0.50 | 6.07 ▲0.45 | 2.18 ▼0.01 |
Dashboard /wp-admin | 2,931 ▲70 | 6.12 ▼0.13 | 115.18 ▼19.64 | 176.36 ▼0.35 |
Posts /wp-admin/edit.php | 2,728 ▲34 | 3.12 ▼0.10 | 63.81 ▲0.65 | 149.29 ▲6.59 |
Add New Post /wp-admin/post-new.php | 1,685 ▲24 | 17.67 ▲0.92 | 382.70 ▼27.88 | 178.56 ▲23.19 |
Media Library /wp-admin/upload.php | 1,739 ▲41 | 5.49 ▼0.03 | 120.47 ▼19.70 | 209.50 ▲27.66 |
Add-ons /wp-admin/admin.php?page=Acurax-Onclick-Popunder-Add-ons | 990 | 2.39 | 51.28 | 87.98 |
Misc /wp-admin/admin.php?page=Acurax-Onclick-Popunder-Misc | 991 | 2.39 | 50.85 | 85.33 |
PopUnder /wp-admin/admin.php?page=Acurax-onclick-popunder-Settings | 986 | 2.38 | 50.76 | 95.33 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- Uninstall procedure had uncaught 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
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-Settings
- > 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-Settings
- > 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-Settings
- > 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-Settings
- > 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-Settings
- > 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-Settings
- > 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-Settings
- > 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-Settings
- > 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-Settings
- > 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-Settings
- > 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-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')
- > 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')
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
- 4× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > 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 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 plugin_dir_url() in wp-content/plugins/acurax-on-click-pop-under/acx_onclick_popunder.php:25
- > 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
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)
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that require attention:
- Tags: Please reduce the number of tags, currently 11 tag instead of maximum 10
acurax-on-click-pop-under/acx_onclick_popunder.php 85% from 13 tests
The main PHP file in "Acurax On Click Pop Under" ver. 3.0 adds more information about the plugin and also serves as the entry point for this plugin
It is important to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("acurax-on-click-pop-under.php" instead of "acx_onclick_popunder.php")
- Description: Keep the plugin description shorter than 140 characters (currently 291 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Success! There were no dangerous files found in this plugin1,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
An overview of cyclomatic complexity and code structure
All good! No complexity issues found
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
PNG files should be compressed to save space and minimize bandwidth usage
11 PNG files occupy 0.09MB with 0.04MB 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/girl.png | 53.77KB | 16.52KB | ▼ 69.28% |
images/quick.png | 1.93KB | 1.63KB | ▼ 15.33% |
images/table_head_3.png | 5.97KB | 1.46KB | ▼ 75.53% |
images/plug.png | 1.39KB | 1.29KB | ▼ 6.55% |