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
Install script ran successfully
Server metrics [RAM: ▲0.67MB] [CPU: ▲6.37ms] Passed 4 tests
This is a short check of server-side resources used by OMGF | GDPR/DSGVO Compliant, Faster Google Fonts. Easy.
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.92 ▲0.46 | 45.26 ▲6.80 |
Dashboard /wp-admin | 4.05 ▲0.74 | 52.18 ▲6.70 |
Posts /wp-admin/edit.php | 4.10 ▲0.74 | 53.34 ▲8.44 |
Add New Post /wp-admin/post-new.php | 6.63 ▲0.74 | 102.72 ▲3.52 |
Media Library /wp-admin/upload.php | 3.98 ▲0.74 | 46.00 ▲13.59 |
Optimize Google Fonts /wp-admin/options-general.php?page=optimize-webfonts | 4.02 | 39.05 |
Server storage [IO: ▲0.39MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 53 new files
Database: no new tables, 9 new options
New WordPress options |
---|
omgf_settings |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
omgf_cache_timestamp |
can_compress_scripts |
omgf_current_db_version |
Browser metrics Passed 4 tests
This is an overview of browser requirements for OMGF | GDPR/DSGVO Compliant, Faster Google Fonts. Easy.
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,819 ▲57 | 14.70 ▼0.01 | 1.87 ▲0.18 | 39.59 ▼3.17 |
Dashboard /wp-admin | 2,199 ▲21 | 5.58 ▼0.13 | 89.94 ▼18.49 | 43.61 ▲1.05 |
Posts /wp-admin/edit.php | 2,107 ▲10 | 2.02 ▲0.01 | 40.69 ▲6.28 | 35.64 ▲1.21 |
Add New Post /wp-admin/post-new.php | 1,529 ▲3 | 23.11 ▼0.45 | 665.14 ▲43.92 | 61.21 ▲6.67 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.19 ▲0.02 | 97.95 ▼6.83 | 44.40 ▲3.14 |
Optimize Google Fonts /wp-admin/options-general.php?page=optimize-webfonts | 1,214 | 2.32 | 25.46 | 94.95 |
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 9 options in the database
- omgf_current_db_version
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- omgf_cache_timestamp
- omgf_settings
- theysaidso_admin_options
- widget_recent-posts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test
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
Everything seems fine, however this is by no means an exhaustive test
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 97% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need to be fixed:
- Tags: There are too many tags (14 tag instead of maximum 10)
host-webfonts-local/host-webfonts-local.php Passed 13 tests
The main PHP file in "OMGF | GDPR/DSGVO Compliant, Faster Google Fonts. Easy." ver. 5.7.6 adds more information about the plugin and also serves as the entry point for this plugin
101 characters long description:
Increase GDPR/DSGVO compliance and leverage browser cache by automatically self-hosting Google Fonts.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
There were no executable files found in this plugin5,067 lines of code in 46 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 38 | 984 | 2,453 | 4,004 |
LESS | 1 | 74 | 26 | 356 |
CSS | 2 | 0 | 27 | 333 |
JavaScript | 2 | 62 | 93 | 299 |
XML | 1 | 9 | 3 | 45 |
JSON | 2 | 0 | 0 | 30 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 18.88 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 86.00 |
Average method complexity | 3.36 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 25.00 |
Code structure | ||
---|---|---|
Namespaces | 9 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 32 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 32 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 229 | |
▷ Static methods | 43 | 18.78% |
▷ Public methods | 175 | 76.42% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 54 | 23.58% |
Functions | 10 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 10 | 100.00% |
Constants | 58 | |
▷ Global constants | 10 | 17.24% |
▷ Class constants | 48 | 82.76% |
▷ Public constants | 48 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
2 PNG files occupy 0.07MB with 0.04MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/above-the-fold.png | 69.30KB | 29.20KB | ▼ 57.87% |
assets/images/logo.png | 5.29KB | 2.98KB | ▼ 43.74% |