Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.06MB] [CPU: ▼4.10ms] Passed 4 tests
Server-side resources used by Zedna Cookies Bar
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 39.00 ▼2.93 |
Dashboard /wp-admin | 3.37 ▲0.07 | 44.49 ▼6.07 |
Posts /wp-admin/edit.php | 3.42 ▲0.06 | 44.57 ▼1.12 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 95.01 ▼6.26 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 35.00 ▲4.42 |
Zedna Cookies Bar /wp-admin/options-general.php?page=zedna-cookies-bar-settings | 3.26 | 45.40 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Zedna Cookies Bar
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,843 ▲86 | 13.64 ▼0.64 | 2.23 ▼0.24 | 42.66 ▼9.91 |
Dashboard /wp-admin | 2,229 ▲41 | 5.97 ▲1.05 | 98.29 ▼6.85 | 37.06 ▼6.16 |
Posts /wp-admin/edit.php | 2,117 ▲31 | 2.28 ▲0.27 | 41.04 ▲1.33 | 34.14 ▼3.82 |
Add New Post /wp-admin/post-new.php | 1,379 ▼163 | 19.57 ▲1.22 | 523.07 ▼86.30 | 28.36 ▼27.83 |
Media Library /wp-admin/upload.php | 1,414 ▲26 | 4.44 ▲0.23 | 97.69 ▲1.79 | 40.95 ▲0.63 |
Zedna Cookies Bar /wp-admin/options-general.php?page=zedna-cookies-bar-settings | 1,683 | 3.08 | 69.55 | 34.97 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP Passed 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
The SRP test was a success
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please take a look at the following user-side issues
- > GET request to /wp-admin/options-general.php?page=zedna-cookies-bar-settings
- > Javascript (severe) in unknown
/wp-content/plugins/zedna-cookies-bar/js/zedna-cookies-bar.js?ver=6.3.1 2:46 Uncaught TypeError: Cannot read properties of null (reading 'style')
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
These attributes need to be fixed:
- Tags: Please reduce the number of tags, currently 13 tag instead of maximum 10
zedna-cookies-bar/zedna-cookies-bar.php 92% from 13 tests
The main PHP file in "Zedna Cookies Bar" ver. 1.4.2 adds more information about the plugin and also serves as the entry point for this plugin
The following require your attention:
- Domain Path: The domain path points to a folder that does not exist ("/languages")
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
There were no executable files found in this plugin321 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 9 | 13 | 232 |
CSS | 1 | 5 | 0 | 51 |
JavaScript | 1 | 0 | 0 | 32 |
XML | 1 | 0 | 0 | 6 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
Average class complexity | 1.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 1.00 |
Average method complexity | 1.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 1.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 | 1 | |
▷ Static methods | 1 | 100.00% |
▷ Public methods | 1 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 7 | |
▷ Named functions | 7 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There are no PNG files in this plugin