Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▼6.14ms] Passed 4 tests
An overview of server-side resources used by WF Cookie Consent
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 40.83 ▲5.01 |
Dashboard /wp-admin | 3.37 ▲0.03 | 45.79 ▼13.43 |
Posts /wp-admin/edit.php | 3.42 ▲0.07 | 43.23 ▼4.13 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.07 | 83.14 ▼11.61 |
Media Library /wp-admin/upload.php | 3.29 ▲0.07 | 40.21 ▲4.63 |
WF Cookie Consent /wp-admin/options-general.php?page=wf-cookieconsent | 3.26 | 31.39 |
Server storage [IO: ▲0.46MB] [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 |
---|
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for WF Cookie Consent
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,846 ▲111 | 14.46 ▲0.15 | 3.24 ▲1.31 | 43.82 ▼1.65 |
Dashboard /wp-admin | 2,210 ▲18 | 4.84 ▼0.08 | 113.33 ▼2.55 | 43.57 ▲2.29 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.05 ▲0.03 | 34.40 ▼7.33 | 34.24 ▼2.38 |
Add New Post /wp-admin/post-new.php | 1,531 ▲8 | 23.19 ▲0.16 | 649.28 ▼38.46 | 51.90 ▼1.56 |
Media Library /wp-admin/upload.php | 1,389 ▲4 | 4.12 ▼0.09 | 108.43 ▲6.30 | 46.70 ▲1.71 |
WF Cookie Consent /wp-admin/options-general.php?page=wf-cookieconsent | 867 | 2.18 | 25.02 | 33.44 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though no errors were found, this is by no means an exhaustive test
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
The following issues need your attention
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/wf-cookie-consent/wf-cookie-consent.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 81% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Please fix the following attributes:
- Tags: Please reduce the number of tags, currently 39 tag instead of maximum 10
- Screenshots: These screenshots require images: #1 (Example showing the wf-cookie-consent-bar), #2 (WF Cookie Consent options section), #3 (Multi-language support)
- Plugin Name: Please specify the plugin name on the first line (
=== wf-cookie-consent ===
)
wf-cookie-consent/wf-cookie-consent.php Passed 13 tests
The principal PHP file in "WF Cookie Consent" v. 1.2.0 is loaded by WordPress automatically on each request
76 characters long description:
The wunderfarm-way to show how your website complies with the EU Cookie Law.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Success! There were no dangerous files found in this plugin443 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 48 | 38 | 288 |
JavaScript | 2 | 35 | 15 | 155 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.63 |
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 | 15 | |
▷ Named functions | 15 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.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
3 PNG files occupy 0.42MB with 0.30MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-3.png | 167.23KB | 46.48KB | ▼ 72.20% |
screenshot-1.png | 131.17KB | 48.36KB | ▼ 63.13% |
screenshot-2.png | 136.55KB | 35.98KB | ▼ 73.65% |