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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.11MB] [CPU: ▼6.64ms] Passed 4 tests
An overview of server-side resources used by Genesis Design Palette Pro - Google Web Fonts
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.58 ▲0.11 | 40.16 ▲2.03 |
Dashboard /wp-admin | 3.41 ▲0.11 | 51.15 ▲0.14 |
Posts /wp-admin/edit.php | 3.52 ▲0.17 | 49.18 ▼2.96 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.11 | 85.70 ▼25.73 |
Media Library /wp-admin/upload.php | 3.33 ▲0.10 | 37.79 ▲2.01 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for Genesis Design Palette Pro - Google Web Fonts
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.72 ▲0.43 | 1.69 ▼0.29 | 45.68 ▲3.36 |
Dashboard /wp-admin | 2,198 ▲21 | 5.67 ▲0.05 | 84.18 ▼3.35 | 39.39 ▼6.08 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.00 ▲0.02 | 33.96 ▼2.98 | 37.47 ▲2.15 |
Add New Post /wp-admin/post-new.php | 1,531 ▲5 | 23.19 ▲0.13 | 663.89 ▲42.60 | 51.21 ▼0.50 |
Media Library /wp-admin/upload.php | 1,400 ▲6 | 4.21 ▲0.03 | 96.73 ▼13.17 | 48.34 ▲3.22 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
Smoke tests 75% from 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 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 fix the following items
- 6× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function DPP\\Webfonts\\add_action() in wp-content/plugins/gppro-google-webfonts/lib/class-legacy.php:46
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/gppro-google-webfonts/lib/legacy-font-stacks.php:623
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/gppro-google-webfonts/lib/setting-api-key.php:32
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/gppro-google-webfonts/lib/admin.php:56
- > PHP Fatal error
Uncaught Error: Class 'DPP\\Admin\\Fonts\\Source' not found in wp-content/plugins/gppro-google-webfonts/lib/class-google.php:34
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/gppro-google-webfonts/gppro-google-webfonts.php:32
- > 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 Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
3 plugin tags: google web fonts, genesis design, design palette pro
gppro-google-webfonts/gppro-google-webfonts.php Passed 13 tests
Analyzing the main PHP file in "Genesis Design Palette Pro - Google Web Fonts" version 2.0.1
60 characters long description:
Adds a set of popular Google Web Fonts to Design Palette Pro
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
Good job! No executable or dangerous file extensions detected1,330 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 295 | 458 | 1,137 |
PO File | 1 | 58 | 58 | 141 |
Markdown | 1 | 24 | 0 | 52 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 30.33 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 52.00 |
Average method complexity | 3.75 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 32 | |
▷ Static methods | 7 | 21.88% |
▷ Public methods | 18 | 56.25% |
▷ Protected methods | 13 | 40.62% |
▷ Private methods | 1 | 3.12% |
Functions | 12 | |
▷ Named functions | 12 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG files were detected