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.13MB] [CPU: ▼7.56ms] Passed 4 tests
A check of server-side resources used by Analytics Germanized for Google Analytics (GDPR / DSGVO)
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.63 ▲0.16 | 48.30 ▲8.38 |
Dashboard /wp-admin | 3.43 ▲0.08 | 47.08 ▼14.28 |
Posts /wp-admin/edit.php | 3.54 ▲0.18 | 47.69 ▲0.21 |
Add New Post /wp-admin/post-new.php | 6.03 ▲0.14 | 89.84 ▼16.32 |
Media Library /wp-admin/upload.php | 3.35 ▲0.12 | 36.40 ▲0.16 |
Google Analytics /wp-admin/options-general.php?page=ga-germanized | 3.52 | 39.02 |
Server storage [IO: ▲0.29MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 27 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Analytics Germanized for Google Analytics (GDPR / DSGVO)
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,974 ▲228 | 13.80 ▼0.49 | 11.34 ▲9.59 | 47.87 ▲4.22 |
Dashboard /wp-admin | 2,214 ▲26 | 5.89 ▲1.00 | 108.05 ▼11.28 | 39.32 ▼5.99 |
Posts /wp-admin/edit.php | 2,103 ▲14 | 2.03 ▼0.00 | 40.71 ▲5.27 | 34.68 ▼0.49 |
Add New Post /wp-admin/post-new.php | 1,547 ▲33 | 18.74 ▲1.15 | 599.91 ▼39.71 | 53.19 ▼0.56 |
Media Library /wp-admin/upload.php | 1,402 ▲11 | 4.24 ▼0.07 | 95.54 ▲1.50 | 40.49 ▼1.48 |
Google Analytics /wp-admin/options-general.php?page=ga-germanized | 3,033 | 16.44 | 487.59 | 113.36 |
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
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please take a closer look at the following
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_locale() in wp-content/plugins/ga-germanized/inc/tpl/about-us.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/ga-germanized/inc/tpl/options_page.php:6
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need to be fixed:
- Tags: Too many tags (16 tag instead of maximum 10); only the first 5 tags are used in your directory listing
ga-germanized/ga-germanized.php 92% from 13 tests
"Analytics Germanized for Google Analytics (GDPR / DSGVO)" version 1.6.2's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please take the time to fix the following:
- Description: The description should be shorter than 140 characters (currently 146 characters long)
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 plugin3,224 lines of code in 20 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 426 | 61 | 1,770 |
CSS | 2 | 3 | 2 | 430 |
Sass | 1 | 92 | 0 | 424 |
PO File | 1 | 125 | 171 | 377 |
JavaScript | 4 | 58 | 6 | 164 |
YAML | 1 | 4 | 0 | 47 |
XML | 1 | 0 | 0 | 11 |
SVG | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.60 |
Average class complexity | 18.14 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 41.00 |
Average method complexity | 4.64 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 20.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 33 | |
▷ Static methods | 30 | 90.91% |
▷ Public methods | 33 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
3 PNG files occupy 0.08MB with 0.05MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/bajorat-media.png | 8.51KB | 3.68KB | ▼ 56.78% |
assets/img/erecht24-siegel-agenturpartner.png | 19.88KB | 8.40KB | ▼ 57.77% |
assets/img/google-analytics-germanized.png | 50.81KB | 17.79KB | ▼ 64.98% |