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.31MB] [CPU: ▼1.84ms] Passed 4 tests
This is a short check of server-side resources used by Disable Google Fonts, Remove google fonts or Replace with Bunnyfonts
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.06 ▲0.32 | 43.95 ▲2.24 |
Dashboard /wp-admin | 3.89 ▲0.33 | 58.69 ▲2.85 |
Posts /wp-admin/edit.php | 3.94 ▲0.26 | 52.45 ▼0.63 |
Add New Post /wp-admin/post-new.php | 6.47 ▲0.33 | 89.00 ▼11.81 |
Media Library /wp-admin/upload.php | 3.81 ▲0.33 | 43.85 ▲5.87 |
Remove google fonts /wp-admin/options-general.php?page=remove-replace-gf | 3.72 | 40.53 |
Server storage [IO: ▲0.23MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 30 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Disable Google Fonts, Remove google fonts or Replace with Bunnyfonts
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.29 ▼0.09 | 2.06 ▲0.25 | 43.11 ▲3.92 |
Dashboard /wp-admin | 2,199 ▲22 | 5.60 ▼0.04 | 89.33 ▼2.11 | 38.93 ▼4.62 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.04 ▲0.05 | 34.92 ▼1.77 | 35.72 ▲1.94 |
Add New Post /wp-admin/post-new.php | 1,557 ▲26 | 18.24 ▼5.05 | 632.58 ▼67.75 | 60.31 ▲6.67 |
Media Library /wp-admin/upload.php | 1,401 ▲1 | 4.21 ▲0.02 | 100.24 ▼4.63 | 42.50 ▼3.26 |
Remove google fonts /wp-admin/options-general.php?page=remove-replace-gf | 864 | 2.06 | 24.39 | 30.36 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
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)
Good news, no errors were detected
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
The following issues need your attention
- 3× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/use-bunnyfont-host-google-fonts/inc/options.php:12
- > PHP Fatal error
require_once(): Failed opening required 'wp-content/plugins/use-bunnyfont-host-google-fonts/vendor/appsero/client/vendor/tareq1988/wp-php-cs-fixer/loader.php' (include_path='.:/usr/share/php') in wp-content/plugins/use-bunnyfont-host-google-fonts/vendor/appsero/client/.php-cs-fixer.dist.php on line 3
- > PHP Warning
require_once(wp-content/plugins/use-bunnyfont-host-google-fonts/vendor/appsero/client/vendor/tareq1988/wp-php-cs-fixer/loader.php): failed to open stream: No such file or directory in wp-content/plugins/use-bunnyfont-host-google-fonts/vendor/appsero/client/.php-cs-fixer.dist.php on line 3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed:
- Donate link: Invalid URI ("")
use-bunnyfont-host-google-fonts/bunnyfont.php 77% from 13 tests
"Disable Google Fonts, Remove google fonts or Replace with Bunnyfonts" version 1.5's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
You should first fix the following items:
- Main file name: The principal plugin file should be the same as the plugin slug ("use-bunnyfont-host-google-fonts.php" instead of "bunnyfont.php")
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
- Domain Path: The domain path points to an invalid folder, "/l10n" does not exist
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
No dangerous file extensions were detected2,918 lines of code in 24 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 17 | 604 | 1,085 | 2,403 |
Markdown | 1 | 82 | 0 | 255 |
JSON | 3 | 0 | 0 | 113 |
XML | 1 | 6 | 11 | 95 |
YAML | 1 | 6 | 0 | 32 |
JavaScript | 1 | 3 | 4 | 20 |
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.43 |
Average class complexity | 36.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 86.00 |
Average method complexity | 3.19 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 131 | |
▷ Static methods | 20 | 15.27% |
▷ Public methods | 94 | 71.76% |
▷ Protected methods | 6 | 4.58% |
▷ Private methods | 31 | 23.66% |
Functions | 21 | |
▷ Named functions | 18 | 85.71% |
▷ Anonymous functions | 3 | 14.29% |
Constants | 5 | |
▷ Global constants | 5 | 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
PNG images were not found in this plugin