Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
You still need to fix the following installer errors
- The plugin did not install without errors
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method WUKPRERENDER::activate() should not be called statically
Server metrics [RAM: ▼0.01MB] [CPU: ▼11.08ms] Passed 4 tests
A check of server-side resources used by wuk.ch DNS-Prefetch / Prerender
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.41 ▼0.05 | 23.67 ▼17.41 |
Dashboard /wp-admin | 3.33 ▼0.02 | 44.37 ▼17.02 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 46.78 ▲2.64 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 90.71 ▼10.38 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 36.35 ▲0.49 |
Server storage [IO: ▲0.20MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 3 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_wukstats |
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
wukprerender |
Browser metrics Passed 4 tests
An overview of browser requirements for wuk.ch DNS-Prefetch / Prerender
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,820 ▲74 | 14.39 ▲0.16 | 1.91 ▲0.19 | 55.97 ▲10.40 |
Dashboard /wp-admin | 2,203 ▲12 | 5.85 ▼0.16 | 97.94 ▼8.24 | 36.70 ▼6.14 |
Posts /wp-admin/edit.php | 2,086 ▼3 | 2.01 ▼0.01 | 39.14 ▼2.99 | 34.23 ▼2.92 |
Add New Post /wp-admin/post-new.php | 1,543 ▲14 | 18.42 ▲0.01 | 629.86 ▼5.40 | 52.98 ▲0.00 |
Media Library /wp-admin/upload.php | 1,382 ▼6 | 4.27 ▲0.07 | 94.93 ▼0.69 | 40.21 ▼3.87 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- The plugin did not uninstall gracefully
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method WUKPRERENDER::uninstall() should not be called statically
- This plugin does not fully uninstall, leaving 7 options in the database
- wukprerender
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Almost there! Just fix the following items
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wukch-dns-prefetch-prerender/wuk-prerender.php:145
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 93% 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 need to be fixed:
- Screenshots: These screenshots require images: #1 (Delete the content of the `/wp-content/plugins/preloader` directory), #2 (Connect to the database), #3 (Delete the standard tables `wp_wukstats`)
wukch-dns-prefetch-prerender/wuk-prerender.php 92% from 13 tests
"wuk.ch DNS-Prefetch / Prerender" version 1.1.4's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please make the necessary changes and fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("wukch-dns-prefetch-prerender.php" instead of "wuk-prerender.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
Everything looks great! No dangerous files found in this plugin117 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 13 | 25 | 117 |
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.73 |
Average class complexity | 36.00 |
▷ Minimum class complexity | 36.00 |
▷ Maximum class complexity | 36.00 |
Average method complexity | 6.83 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 25.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 | 6 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 5 | 83.33% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 16.67% |
Functions | 1 | |
▷ Named functions | 1 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG files were detected