Benchmarks
Plugin footprint Passed 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.00MB] [CPU: ▼265.06ms] Passed 4 tests
A check of server-side resources used by Ezi GDPR EU Visitor Blocker
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.76 ▼0.07 | 29.02 ▼6.27 |
Dashboard /wp-admin | 3.09 ▲0.04 | 49.91 ▲4.33 |
Posts /wp-admin/edit.php | 3.14 ▲0.04 | 41.55 ▲1.14 |
Add New Post /wp-admin/post-new.php | 5.45 ▲0.02 | 92.33 ▼1,045.23 |
Media Library /wp-admin/upload.php | 3.03 ▲0.03 | 32.40 ▼9.88 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 2 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Ezi GDPR EU Visitor Blocker: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,700 ▲94 | 16.40 ▲0.46 | 9.15 ▲1.50 | 51.34 ▼0.14 |
Dashboard /wp-admin | 2,953 ▲100 | 5.92 ▲0.03 | 144.78 ▲12.14 | 116.72 ▲25.93 |
Posts /wp-admin/edit.php | 2,726 ▲20 | 2.69 ▼0.00 | 69.00 ▲0.87 | 95.44 ▼3.45 |
Add New Post /wp-admin/post-new.php | 1,669 ▲16 | 18.11 ▼0.59 | 366.57 ▼2.18 | 116.21 ▲5.05 |
Media Library /wp-admin/upload.php | 1,807 ▲35 | 5.02 ▲0.01 | 166.64 ▲10.20 | 115.48 ▼22.26 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The plugin uninstalled successfully, without leaving any zombie files or tables
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)
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following items
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/ezigdpr-eu-blocker/ezigdpr-eu-blocker.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
5 plugin tags: geolocation, eu, traffic blocker, gdpr, privacy
ezigdpr-eu-blocker/ezigdpr-eu-blocker.php 92% from 13 tests
Analyzing the main PHP file in "Ezi GDPR EU Visitor Blocker" version 1.1
You should first fix the following items:
- Description: Please keep the plugin description shorter than 140 characters (currently 242 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
There were no executable files found in this plugin153 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 44 | 53 | 153 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.13 |
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 | 13 | |
▷ Named functions | 13 | 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 1 test
Image compression Passed 1 test
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG files were detected