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
Installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼9.58ms] Passed 4 tests
Analyzing server-side resources used by Local google fonts, host google fonts locally by Easyfonts
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.03 | 40.07 ▲2.28 |
Dashboard /wp-admin | 3.31 ▼0.03 | 42.70 ▼15.12 |
Posts /wp-admin/edit.php | 3.43 ▲0.07 | 48.66 ▼0.57 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 77.66 ▼18.32 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 31.23 ▼4.31 |
Easy Fonts /wp-admin/options-general.php?page=easyfonts | 3.20 | 31.13 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Local google fonts, host google fonts locally by Easyfonts
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.27 ▼0.02 | 1.67 ▲0.00 | 44.00 ▼0.18 |
Dashboard /wp-admin | 2,199 ▲19 | 5.62 ▼0.04 | 88.35 ▲1.99 | 35.80 ▼3.26 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.01 ▼0.01 | 39.53 ▲3.59 | 35.84 ▲2.82 |
Add New Post /wp-admin/post-new.php | 1,540 ▲12 | 18.33 ▼4.76 | 640.66 ▼7.19 | 65.24 ▲12.84 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.14 ▼0.01 | 91.87 ▼27.85 | 41.49 ▼9.83 |
Easy Fonts /wp-admin/options-general.php?page=easyfonts | 959 | 1.96 | 23.67 | 59.63 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need your attention:
- Donate link: Please fix this invalid URI: ""
easyfonts/easyfonts.php Passed 13 tests
The main file in "Local google fonts, host google fonts locally by Easyfonts" v. 1.1.2 serves as a complement to information provided in readme.txt and as the entry point to the plugin
63 characters long description:
Automatically Host existing google fonts locally on your server
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Everything looks great! No dangerous files found in this plugin2,368 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 437 | 383 | 2,212 |
CSS | 1 | 13 | 0 | 156 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.57 |
Average class complexity | 194.50 |
▷ Minimum class complexity | 139.00 |
▷ Maximum class complexity | 250.00 |
Average method complexity | 5.30 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 66.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 90 | |
▷ Static methods | 1 | 1.11% |
▷ Public methods | 75 | 83.33% |
▷ Protected methods | 15 | 16.67% |
▷ Private methods | 0 | 0.00% |
Functions | 28 | |
▷ Named functions | 24 | 85.71% |
▷ Anonymous functions | 4 | 14.29% |
Constants | 26 | |
▷ Global constants | 26 | 100.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
There are no PNG files in this plugin