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
Installer ran successfully
Server metrics [RAM: ▲0.71MB] [CPU: ▼2.48ms] Passed 4 tests
Analyzing server-side resources used by WPshed Theme Extras
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.15 ▲0.69 | 44.93 ▲0.80 |
Dashboard /wp-admin | 4.08 ▲0.73 | 47.72 ▼10.02 |
Posts /wp-admin/edit.php | 4.13 ▲0.77 | 50.29 ▲4.14 |
Add New Post /wp-admin/post-new.php | 6.60 ▲0.71 | 94.68 ▼4.84 |
Media Library /wp-admin/upload.php | 3.94 ▲0.71 | 41.72 ▲9.60 |
Theme Extras /wp-admin/themes.php?page=wte | 4.05 | 34.14 |
Server storage [IO: ▲0.44MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 52 new files
Database: no new tables, 16 new options
New WordPress options |
---|
widget_user-profile-wte |
widget_theysaidso_widget |
widget_image-wte |
can_compress_scripts |
widget_social-icons-wte |
widget_services-wte |
widget_hero-wte |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
... |
Browser metrics Passed 4 tests
A check of browser resources used by WPshed Theme Extras
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,808 ▲62 | 13.23 ▼1.14 | 1.75 ▼0.11 | 44.01 ▲0.21 |
Dashboard /wp-admin | 2,210 ▲22 | 5.91 ▲0.01 | 108.36 ▼5.86 | 43.24 ▼3.99 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.04 ▲0.03 | 40.54 ▼1.32 | 35.31 ▼0.58 |
Add New Post /wp-admin/post-new.php | 1,517 ▲3 | 17.66 ▲0.06 | 679.00 ▼10.38 | 46.19 ▼11.18 |
Media Library /wp-admin/upload.php | 1,392 ▲1 | 4.19 ▼0.02 | 96.94 ▼5.58 | 41.27 ▼0.58 |
Theme Extras /wp-admin/themes.php?page=wte | 1,153 | 1.96 | 28.48 | 28.66 |
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
It is recommended to fix the following
- The uninstall procedure has failed, leaving 16 options in the database
- widget_recent-posts
- widget_recent-comments
- widget_image-wte
- widget_cta-wte
- widget_featured-page-wte
- db_upgraded
- widget_social-icons-wte
- widget_price-table-wte
- widget_featured-post-wte
- widget_hero-wte
- ...
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 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 following issues need your attention
- 25× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wpshed-theme-extras/inc/functions-admin-themes.php:11
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/wpshed-theme-extras/inc/widgets/social-widget.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wpshed-theme-extras/inc/functions-widgets.php:165
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/wpshed-theme-extras/inc/widgets/featured-page-widget.php:11
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/wpshed-theme-extras/inc/widgets/price-table-widget.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/wpshed-theme-extras/inc/functions-shortcodes.php:26
- > PHP Fatal error
Uncaught Error: Call to undefined function wte_get_option() in wp-content/plugins/wpshed-theme-extras/inc/post-type-portfolio.php:12
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/wpshed-theme-extras/inc/widgets/image-widget.php:11
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/wpshed-theme-extras/inc/widgets/call-to-action-widget.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wpshed-theme-extras/inc/functions-admin-settings.php:17
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
These are user-side errors you should fix
- > GET request to /wp-admin/themes.php?page=wte
- > Javascript (severe) in unknown
/wp-content/plugins/wpshed-theme-extras/js/admin.js?ver=1.0.3 4:32 Uncaught TypeError: $(...).sortable is not a function
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
9 plugin tags: widget, testimonials, image, shortcode, portfolio...
wpshed-theme-extras/wpshed-theme-extras.php 92% from 13 tests
This is the main PHP file of "WPshed Theme Extras" version 1.1.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please make the necessary changes and fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 222 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Good job! No executable or dangerous file extensions detected4,923 lines of code in 42 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 29 | 1,144 | 767 | 3,657 |
SVG | 1 | 0 | 3 | 534 |
CSS | 4 | 100 | 71 | 387 |
JavaScript | 7 | 88 | 37 | 206 |
Markdown | 1 | 79 | 0 | 139 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 5.58 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 20.00 |
Average method complexity | 2.12 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 12 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 12 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 49 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 49 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 84 | |
▷ Named functions | 84 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 7 | |
▷ Global constants | 7 | 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
2 compressed PNG files occupy 0.00MB
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/dot.png | 0.07KB | 0.10KB | 0.00% |
images/globe.png | 3.54KB | 2.65KB | ▼ 25.14% |