Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.08MB] [CPU: ▼2.54ms] Passed 4 tests
Server-side resources used by Instant WordPress CDN - WP Godspeed
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 39.13 ▼1.12 |
Dashboard /wp-admin | 3.38 ▲0.08 | 49.77 ▼0.51 |
Posts /wp-admin/edit.php | 3.49 ▲0.14 | 53.62 ▲7.24 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.09 | 91.43 ▼15.75 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 41.37 ▲7.29 |
Status /wp-admin/admin.php?page=wp-godspeed-status | 3.17 | 28.62 |
Setup /wp-admin/admin.php?page=wp-godspeed-setup | 3.19 | 64.60 |
Options /wp-admin/admin.php?page=wp-godspeed-options | 3.17 | 27.26 |
Server storage [IO: ▲9.85MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 727 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
wpgods_status |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Instant WordPress CDN - WP Godspeed
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,855 ▲109 | 13.57 ▼0.88 | 1.82 ▲0.03 | 40.76 ▼2.44 |
Dashboard /wp-admin | 2,261 ▲75 | 5.37 ▲0.39 | 113.85 ▲5.75 | 37.97 ▼4.21 |
Posts /wp-admin/edit.php | 2,145 ▲70 | 2.45 ▲0.40 | 40.83 ▲1.28 | 35.94 ▲3.19 |
Add New Post /wp-admin/post-new.php | 1,554 ▲19 | 23.25 ▼0.09 | 614.97 ▼38.90 | 55.90 ▲8.19 |
Media Library /wp-admin/upload.php | 1,446 ▲58 | 4.53 ▲0.35 | 101.94 ▲1.68 | 44.39 ▲0.33 |
Status /wp-admin/admin.php?page=wp-godspeed-status | 1,145 | 3.18 | 83.15 | 84.58 |
Setup /wp-admin/admin.php?page=wp-godspeed-setup | 996 | 2.71 | 42.55 | 36.75 |
Options /wp-admin/admin.php?page=wp-godspeed-options | 908 | 2.69 | 36.42 | 36.07 |
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
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
Smoke tests 0% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
These errors were triggered by the plugin
- 6 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=wp-godspeed-options
- > Notice in wp-content/plugins/wp-godspeed/admin/class-wp-godspeed-admin.php+269
Undefined property: WP_Godspeed_Admin::$plugin_name_
- > GET request to /wp-admin/admin.php?page=wp-godspeed-status
- > Warning in wp-content/plugins/wp-godspeed/admin/class-wp-godspeed-admin.php+805
Division by zero
- > GET request to /wp-admin/admin.php?page=wp-godspeed-setup
- > Notice in wp-content/plugins/wp-godspeed/admin/partials/wp-godspeed-admin-setup.php+91
Undefined index: reset
- > GET request to /wp-admin/admin.php?page=wp-godspeed-options
- > Warning in wp-admin/includes/template.php+1771
call_user_func() expects parameter 1 to be a valid callback, class 'WP_Godspeed_Admin' does not have a method 'wpgods_general_cb'
SRP 0% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following items
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/wp-godspeed/public/partials/wp-godspeed-public-display.php
- 6× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'WP_Godspeed_Admin' not found in wp-content/plugins/wp-godspeed/includes/class-wp-godspeed-cron.php:23
- > PHP Fatal error
Uncaught Error: Call to undefined function get_site_url() in wp-content/plugins/wp-godspeed/admin/partials/wp-godspeed-admin-setup.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/wp-godspeed/admin/partials/wp-godspeed-admin-options.php:15
- > PHP Fatal error
Uncaught Error: Class 'WP_Godspeed_Admin' not found in wp-content/plugins/wp-godspeed/includes/class-wp-godspeed-cdn-stack.php:25
- > PHP Fatal error
Uncaught Error: Class 'WP_Godspeed_Admin' not found in wp-content/plugins/wp-godspeed/includes/class-wp-godspeed-lazyload.php:25
- > PHP Fatal error
Uncaught Error: Call to undefined function get_site_url() in wp-content/plugins/wp-godspeed/admin/partials/wp-godspeed-admin-status.php:15
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Please fix the following user-side errors
- > GET request to /wp-admin/admin.php?page=wp-godspeed-setup
- > Javascript (severe) in unknown
/wp-content/plugins/wp-godspeed/admin/js/jqueryui-editable.min.js?ver=1.5.1 5:12470 Uncaught TypeError: Cannot read properties of undefined (reading 'tooltip')
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
6 plugin tags: content delivery network, godspeed cdn, cdn, content distrubution network, lazy load...
wp-godspeed/wp-godspeed.php Passed 13 tests
The principal PHP file in "Instant WordPress CDN - WP Godspeed" v. 0.9.7 is loaded by WordPress automatically on each request
43 characters long description:
The premiere free CDN plugin for WordPress.
Code Analysis 5% from 3 tests
File types 0% from 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Please fix the following items
- For security reasons, never distribute binary or executable files with your plugin
- .ps1 - Windows PowerShell Cmdlet in Windows
- ☣ wp-content/plugins/wp-godspeed/vendor/twbs/bootstrap/nuget/MyGet.ps1
- .ps1 - Windows PowerShell Cmdlet in Windows
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
Markdown | 91 | 3,440 | 0 | 17,128 |
CSS | 34 | 1,522 | 221 | 14,653 |
JavaScript | 57 | 3,515 | 2,724 | 13,617 |
JSON | 14 | 10 | 0 | 13,368 |
Sass | 118 | 1,429 | 1,210 | 7,721 |
HTML | 69 | 596 | 228 | 5,633 |
SVG | 18 | 21 | 0 | 2,743 |
PHP | 24 | 406 | 947 | 2,599 |
LESS | 14 | 34 | 44 | 1,758 |
YAML | 11 | 127 | 7 | 1,219 |
XML | 5 | 7 | 2 | 109 |
Bourne Shell | 2 | 14 | 19 | 50 |
make | 1 | 3 | 0 | 12 |
PowerShell | 1 | 4 | 5 | 9 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 16.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 100.00 |
Average method complexity | 3.19 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 26.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 16 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 16 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 114 | |
▷ Static methods | 6 | 5.26% |
▷ Public methods | 105 | 92.11% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 9 | 7.89% |
Functions | 6 | |
▷ Named functions | 5 | 83.33% |
▷ Anonymous functions | 1 | 16.67% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
76 compressed PNG files occupy 1.66MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
vendor/twbs/bootstrap/assets/img/favicons/mstile-144x144.png | 1.44KB | 1.54KB | 0.00% |
vendor/twbs/bootstrap/docs/4.1/examples/screenshots/dashboard.png | 25.93KB | 27.82KB | 0.00% |
vendor/twbs/bootstrap/site/docs/4.1/examples/screenshots/album.png | 25.75KB | 28.24KB | 0.00% |
vendor/twbs/bootstrap/site/docs/4.1/assets/img/favicons/mstile-310x150.png | 1.71KB | 1.81KB | 0.00% |
vendor/twbs/bootstrap/docs/4.1/examples/screenshots/sticky-footer.png | 9.44KB | 11.06KB | 0.00% |