Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.23MB] [CPU: ▼4.64ms] Passed 4 tests
Analyzing server-side resources used by WalkTheWeb
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.68 ▲0.22 | 41.19 ▲2.21 |
Dashboard /wp-admin | 3.53 ▲0.23 | 45.80 ▼5.90 |
Posts /wp-admin/edit.php | 3.65 ▲0.29 | 44.26 ▼1.34 |
Add New Post /wp-admin/post-new.php | 6.13 ▲0.24 | 81.00 ▼11.45 |
Media Library /wp-admin/upload.php | 3.45 ▲0.22 | 35.37 ▲0.15 |
Add 3D Host /wp-admin/admin.php?page=walktheweb_add3dhost | 3.41 | 38.06 |
Dashboard /wp-admin/admin.php?page=walktheweb_dashboard | 3.40 | 31.04 |
WalkTheWeb 3D Host /wp-admin/admin.php?page=walktheweb_wtw3dhost | 3.43 | 26.52 |
Marketplace Downloads /wp-admin/admin.php?page=walktheweb_downloadcommunity | 3.43 | 31.57 |
3D Hosts /wp-admin/admin.php?page=walktheweb_3dhosts | 3.43 | 33.05 |
About WalkTheWeb /wp-admin/admin.php?page=walktheweb_about | 3.42 | 33.56 |
Add 3D Website /wp-admin/admin.php?page=walktheweb_add3dwebsite | 3.42 | 38.59 |
3D Websites /wp-admin/admin.php?page=walktheweb_3dwebsites | 3.43 | 32.84 |
Server storage [IO: ▲23.56MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 63 new files
Database: no new tables, 9 new options
New WordPress options |
---|
walktheweb_version |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
walktheweb_activated |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
recovery_mode_email_last_sent |
Browser metrics Passed 4 tests
An overview of browser requirements for WalkTheWeb
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,893 ▲132 | 14.63 ▲0.49 | 2.10 ▲0.31 | 49.64 ▲5.27 |
Dashboard /wp-admin | 2,240 ▲60 | 5.64 ▲0.01 | 82.43 ▼6.42 | 31.26 ▼5.79 |
Posts /wp-admin/edit.php | 2,157 ▲54 | 2.00 ▼0.02 | 36.61 ▲0.43 | 43.80 ▲8.23 |
Add New Post /wp-admin/post-new.php | 1,573 ▲47 | 23.28 ▲0.08 | 653.62 ▼46.13 | 62.41 ▲10.69 |
Media Library /wp-admin/upload.php | 1,445 ▲45 | 4.20 ▼0.02 | 91.25 ▼17.39 | 38.05 ▼9.85 |
Add 3D Host /wp-admin/admin.php?page=walktheweb_add3dhost | 905 | 2.18 | 22.32 | 36.80 |
Dashboard /wp-admin/admin.php?page=walktheweb_dashboard | 726 | 1.51 | 6.40 | 19.40 |
WalkTheWeb 3D Host /wp-admin/admin.php?page=walktheweb_wtw3dhost | 725 | 1.51 | 6.36 | 15.13 |
Marketplace Downloads /wp-admin/admin.php?page=walktheweb_downloadcommunity | 945 | 2.00 | 24.91 | 26.09 |
3D Hosts /wp-admin/admin.php?page=walktheweb_3dhosts | 898 | 2.32 | 22.93 | 24.58 |
About WalkTheWeb /wp-admin/admin.php?page=walktheweb_about | 1,508 | 13.05 | 266.40 | 59.13 |
Add 3D Website /wp-admin/admin.php?page=walktheweb_add3dwebsite | 893 | 1.89 | 29.92 | 27.84 |
3D Websites /wp-admin/admin.php?page=walktheweb_3dwebsites | 887 | 2.12 | 22.66 | 24.99 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- This plugin cannot be uninstalled
- > Warning in wp-content/plugins/walktheweb/uninstall.php+27
Invalid argument supplied for foreach()
- This plugin does not fully uninstall, leaving 7 options in the database
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- recovery_mode_email_last_sent
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/admin.php?page=walktheweb_add3dhost
- > Notice in wp-content/plugins/walktheweb/pages/walktheweb_add3dhost.php+44
Undefined variable: zhostid
- > GET request to /wp-admin/admin.php?page=walktheweb_dashboard
- > Error in wp-content/plugins/walktheweb/classes/class-wtw-forms.php+123
Uncaught Error: Call to undefined function wc_rand_hash() in wp-content/plugins/walktheweb/classes/class-wtw-forms.php:123
Stack trace:
#0 wp-includes/class-wp-hook.php(310): WTW_Forms->walktheweb_dashboard_page()
#1 wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters()
#2 wp-includes/plugin.php(517): WP_Hook->do_action()
#3 wp-admin/admin.php(259): do_action()
#4 {main}
thrown- > GET request to /wp-admin/admin.php?page=walktheweb_wtw3dhost
- > Error in wp-content/plugins/walktheweb/pages/walktheweb_wtw3dhost.php+18
Uncaught Error: Call to undefined method WTW_Functions::getDDLWooKeyDescriptions() in wp-content/plugins/walktheweb/pages/walktheweb_wtw3dhost.php:18
Stack trace:
#0 wp-content/plugins/walktheweb/classes/class-wtw-forms.php(342): require_once()
#1 wp-includes/class-wp-hook.php(310): WTW_Forms->walktheweb_wtw3dhost_page()
#2 wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters()
#3 wp-includes/plugin.php(517): WP_Hook->do_action()
#4 wp-admin/admin.php(259): do_action()
#5 {main}
thrown
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
The following issues need your attention
- 23× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to a member function getHosts() on null in wp-content/plugins/walktheweb/pages/walktheweb_dashboard.php:5
- > PHP Fatal error
Uncaught Error: Call to a member function getDDLWooKeyDescriptions() on null in wp-content/plugins/walktheweb/pages/walktheweb_wtw3dhost.php:18
- > PHP Warning
Use of undefined constant WTW_PLUGIN_URL - assumed 'WTW_PLUGIN_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/walktheweb/pages/walktheweb_downloadavatar.php on line 16
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/walktheweb/pages/walktheweb_downloadavatar.php:16
- > PHP Warning
Use of undefined constant WTW_PLUGIN_URL - assumed 'WTW_PLUGIN_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/walktheweb/pages/walktheweb_downloadcommunity.php on line 16
- > PHP Notice
Trying to get property 'functions' of non-object in wp-content/plugins/walktheweb/pages/walktheweb_3dhosts.php on line 10
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/walktheweb/pages/walktheweb_add3dwebsite.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/walktheweb/pages/walktheweb_downloadthing.php:16
- > PHP Warning
Use of undefined constant WTW_PLUGIN_URL - assumed 'WTW_PLUGIN_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/walktheweb/pages/walktheweb_add3dwebsite.php on line 12
- > PHP Notice
Trying to get property 'functions' of non-object in wp-content/plugins/walktheweb/pages/walktheweb_dashboard.php on line 5
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Please fix the following attributes:
- Tags: There are too many tags (47 tag instead of maximum 10)
walktheweb/walktheweb.php 92% from 13 tests
"WalkTheWeb" version 2.0.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please take the time to fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 295 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin5,462 lines of code in 25 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 22 | 178 | 172 | 2,494 |
JavaScript | 2 | 128 | 24 | 1,890 |
CSS | 1 | 5 | 0 | 1,078 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 54.67 |
▷ Minimum class complexity | 42.00 |
▷ Maximum class complexity | 66.00 |
Average method complexity | 4.22 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 16.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 1 | 33.33% |
Methods | 50 | |
▷ Static methods | 3 | 6.00% |
▷ Public methods | 42 | 84.00% |
▷ Protected methods | 1 | 2.00% |
▷ Private methods | 7 | 14.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 8 | |
▷ Global constants | 8 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
34 PNG files occupy 23.07MB with 15.39MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/demo14.png | 1,625.55KB | 514.70KB | ▼ 68.34% |
assets/images/col1.png | 0.82KB | 0.26KB | ▼ 68.14% |
assets/images/col4set.png | 0.65KB | 0.25KB | ▼ 62.03% |
assets/images/demo2.png | 1,074.48KB | 330.58KB | ▼ 69.23% |
assets/images/demo4.png | 1,594.10KB | 546.17KB | ▼ 65.74% |