Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.04MB] [CPU: ▼9.32ms] Passed 4 tests
Server-side resources used by Yeloni Exit Popup | (Free) GDPR Compliance
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 39.22 ▲3.26 |
Dashboard /wp-admin | 3.36 ▲0.01 | 47.30 ▼11.52 |
Posts /wp-admin/edit.php | 3.47 ▲0.12 | 43.39 ▼9.23 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 78.81 ▼19.79 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 37.49 ▲4.38 |
Server storage [IO: ▲2.97MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 126 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by Yeloni Exit Popup | (Free) GDPR Compliance
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,815 ▲69 | 13.63 ▼0.75 | 1.72 ▲0.05 | 43.61 ▲1.62 |
Dashboard /wp-admin | 2,209 ▲27 | 5.82 ▲0.94 | 99.90 ▼3.61 | 66.71 ▲22.53 |
Posts /wp-admin/edit.php | 2,101 ▲12 | 2.00 ▼0.02 | 33.80 ▼4.88 | 34.41 ▲3.62 |
Add New Post /wp-admin/post-new.php | 1,681 ▲148 | 22.30 ▼0.94 | 720.69 ▲39.02 | 49.18 ▼9.38 |
Media Library /wp-admin/upload.php | 1,403 ▲18 | 4.13 ▼0.11 | 96.53 ▼6.72 | 72.85 ▲26.39 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following items
- 4× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/yeloni-free-exit-popup/wordpress/yetience_config.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/yeloni-free-exit-popup/wordpress/yetience-class.php:25
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/yeloni-free-exit-popup/wordpress/admin-load.php:4
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/yeloni-free-exit-popup/wordpress/client-load.php:1
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that need to be fixed:
- Tags: You are using too many tags: 26 tag instead of maximum 10
yeloni-free-exit-popup/yetience-plugin.php 85% from 13 tests
Analyzing the main PHP file in "Yeloni Exit Popup | (Free) GDPR Compliance" version 9.5.0
The following require your attention:
- Description: Please don't use more than 140 characters for the plugin description (currently 146 characters long)
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("yeloni-free-exit-popup.php" instead of "yetience-plugin.php")
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
No dangerous file extensions were detected15,913 lines of code in 65 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 5 | 1,459 | 1,443 | 6,319 |
CSS | 3 | 897 | 696 | 4,335 |
SVG | 2 | 0 | 0 | 2,959 |
HTML | 41 | 225 | 285 | 1,776 |
PHP | 6 | 160 | 128 | 421 |
JSON | 8 | 4 | 0 | 103 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 42.00 |
▷ Minimum class complexity | 42.00 |
▷ Maximum class complexity | 42.00 |
Average method complexity | 2.64 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 17.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 | 25 | |
▷ Static methods | 7 | 28.00% |
▷ Public methods | 24 | 96.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 4.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
41 PNG files occupy 0.21MB with 0.09MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
common/images/social-icons/round/whatsapp.png | 8.71KB | 3.20KB | ▼ 63.29% |
admin-interface/images/goal-icons/email.png | 1.30KB | 1.19KB | ▼ 8.48% |
admin-interface/images/admin-icons/cross.png | 3.02KB | 0.44KB | ▼ 85.44% |
admin-interface/images/social.png | 0.70KB | 0.59KB | ▼ 15.59% |
common/images/social-icons/round/twitter.png | 4.94KB | 2.74KB | ▼ 44.41% |