Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼4.68ms] Passed 4 tests
A check of server-side resources used by GDPR / DSGVo Secure Google Maps
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 46.66 ▼1.65 |
Dashboard /wp-admin | 3.32 ▲0.02 | 49.81 ▼4.45 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 49.31 ▼6.99 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 97.35 ▼5.19 |
Media Library /wp-admin/upload.php | 3.24 ▲0.02 | 36.75 ▼2.10 |
GDPR / DSGVO Google Maps /wp-admin/options-general.php?page=ocgml | 3.18 | 31.97 |
Server storage [IO: ▲0.47MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 7 new files
Database: no new tables, 9 new options
New WordPress options |
---|
ocgml_option_name |
widget_recent-comments |
widget_recent-posts |
ocgml_title |
ocgml_sub_title |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for GDPR / DSGVo Secure Google Maps
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 13.30 ▼1.10 | 1.84 ▲0.25 | 42.21 ▼2.47 |
Dashboard /wp-admin | 2,210 ▲19 | 4.87 ▼1.02 | 108.18 ▲5.08 | 42.01 ▼1.20 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.01 ▼0.02 | 38.76 ▼1.66 | 32.86 ▼3.78 |
Add New Post /wp-admin/post-new.php | 1,545 ▲12 | 18.19 ▼4.94 | 612.50 ▼103.78 | 53.63 ▼4.46 |
Media Library /wp-admin/upload.php | 1,392 ▲1 | 4.14 ▼0.07 | 98.01 ▼3.17 | 44.00 ▼2.81 |
GDPR / DSGVO Google Maps /wp-admin/options-general.php?page=ocgml | 843 | 2.05 | 22.43 | 30.97 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- The uninstall procedure has failed, leaving 9 options in the database
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
- ocgml_title
- theysaidso_admin_options
- ocgml_option_name
- ocgml_sub_title
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Smoke test failed, please fix the following
- > GET request to /wp-admin/options-general.php?page=ocgml
- > User deprecated in wp-includes/functions.php+5463
Function screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/options-general.php?page=ocgml
- > User deprecated in wp-includes/functions.php+5463
Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.
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
Please take a closer look at the following
- 3× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/gdpr-dsgvo-google-maps/google_map_page.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/gdpr-dsgvo-google-maps/google_map_page.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/gdpr-dsgvo-google-maps/shortcode/google_map_shortcode.php:5
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that need to be fixed:
- Contributors: The plugin contributors field is missing
- Screenshots: Please add images for these screenshots: #1 (screenshot-1.png), #2 (screenshot-2.png), #3 (screenshot-3.png)
gdpr-dsgvo-google-maps/google-maps-load.php 92% from 13 tests
The entry point to "GDPR / DSGVo Secure Google Maps" version 1.0 is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("gdpr-dsgvo-google-maps.php" instead of "google-maps-load.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
There were no executable files found in this plugin95 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 11 | 14 | 95 |
PHP code Passed 2 tests
This is a short overview 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.00 |
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 | 4 | |
▷ Named functions | 4 | 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
3 PNG files occupy 0.46MB with 0.27MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-3.png | 347.44KB | 103.17KB | ▼ 70.31% |
screenshot-1.png | 74.82KB | 37.21KB | ▼ 50.26% |
screenshot-2.png | 48.87KB | 22.41KB | ▼ 54.15% |