Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
These installer errors require your attention
- The plugin did not install without errors
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method CP_wooMoby_Core::woomoby_create_pages() should not be called statically
Server metrics [RAM: ▲0.56MB] [CPU: ▲0.25ms] Passed 4 tests
Analyzing server-side resources used by WooMoby
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.98 ▲0.52 | 46.25 ▲4.56 |
Dashboard /wp-admin | 3.92 ▲0.62 | 56.98 ▲5.94 |
Posts /wp-admin/edit.php | 3.99 ▲0.63 | 58.32 ▲10.58 |
Add New Post /wp-admin/post-new.php | 6.44 ▲0.55 | 95.74 ▼13.94 |
Media Library /wp-admin/upload.php | 3.78 ▲0.55 | 44.71 ▲4.44 |
Install Plugins /wp-admin/plugins.php?page=tgmpa-install-plugins | 3.95 | 36.71 |
Server storage [IO: ▲5.24MB] [DB: ▲0.00MB] 67% from 3 tests
How much does this plugin use your filesystem and database?
Please fix the following
- You have illegally modified 5 files (117.49KB) outside of "wp-content/plugins/woomoby/" and "wp-content/uploads/"
- (new file) wp-content/themes/twentytwentyone/mobileapp-account.php
- (new file) wp-content/themes/twentytwentyone/mobileapp-template.php
- (new file) wp-content/themes/twentytwentyone/mobileapp-checkout.php
- (new file) wp-content/themes/twentytwentyone/mobileapp-cart.php
- (new file) wp-content/themes/twentytwentyone/mobileapp-wishlist.php
Filesystem: 119 new files
Database: no new tables, 7 new options
New WordPress options |
---|
cp_settings_options |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by WooMoby
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,854 ▲108 | 13.30 ▼1.07 | 1.90 ▲0.21 | 40.48 ▲0.69 |
Dashboard /wp-admin | 2,248 ▲60 | 4.91 ▼0.11 | 106.84 ▲1.56 | 80.18 ▲36.03 |
Posts /wp-admin/edit.php | 2,157 ▲68 | 2.04 ▲0.05 | 39.21 ▼1.00 | 39.30 ▲2.52 |
Add New Post /wp-admin/post-new.php | 1,570 ▲56 | 22.78 ▲5.20 | 742.22 ▲37.50 | 46.75 ▼13.68 |
Media Library /wp-admin/upload.php | 1,447 ▲59 | 4.26 ▲0.07 | 98.68 ▼16.59 | 69.53 ▲19.89 |
Install Plugins /wp-admin/plugins.php?page=tgmpa-install-plugins | 1,054 | 2.06 | 24.16 | 30.23 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- This plugin did not uninstall without warnings or errors
- > User notice in wp-includes/functions.php+5905
Function wpdb::prepare was called incorrectly. Unsupported value type (object). Please see Debugging in WordPress for more information. (This message was added in version 4.8.2.)
- Zombie WordPress options detected upon uninstall: 7 options
- widget_recent-comments
- db_upgraded
- cp_settings_options
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 0% 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
Please fix the following items
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/woomoby/views/tabs/notifications.php
- 13× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/woomoby/views/tabs/sliders.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function get_page_by_path() in wp-content/plugins/woomoby/views/tabs/layout-woomoby.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/woomoby/views/tabs/custom-code.php:4
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/woomoby/views/navbar.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/woomoby/views/page-settings.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/woomoby/views/tabs/branding.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/woomoby/views/tabs/general.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/woomoby/views/options-page.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function did_action() in wp-content/plugins/woomoby/includes/class-tgm-plugin-activation.php:2076
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/woomoby/views/tabs/license-woomoby.php:9
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 81% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that require attention:
- Donate link: Please fix this invalid URI: ""
- Screenshots: A description for screenshot #1 is required in woomoby/assets to your readme.txt
- Stable tag: Not defined
woomoby/woomoby.php 92% from 13 tests
The primary PHP file in "WooMoby" version 1.3.14 is used by WordPress to initiate all plugin functionality
You should first fix the following items:
- Description: Please don't use more than 140 characters for the plugin description (currently 151 characters long)
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
There were no executable files found in this plugin19,557 lines of code in 59 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 6 | 803 | 115 | 6,933 |
PHP | 22 | 838 | 1,879 | 5,675 |
PO File | 17 | 1,449 | 1,993 | 4,842 |
SVG | 1 | 0 | 0 | 1,155 |
JavaScript | 13 | 54 | 132 | 952 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 39.80 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 206.00 |
Average method complexity | 4.08 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 34.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 10 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 10 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 126 | |
▷ Static methods | 9 | 7.14% |
▷ Public methods | 103 | 81.75% |
▷ Protected methods | 23 | 18.25% |
▷ Private methods | 0 | 0.00% |
Functions | 7 | |
▷ Named functions | 7 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 1 | 25.00% |
▷ Class constants | 3 | 75.00% |
▷ Public constants | 3 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
21 PNG files occupy 0.65MB with 0.33MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/menu-opener.png | 0.97KB | 0.11KB | ▼ 88.68% |
assets/images/list-view.png | 3.01KB | 1.60KB | ▼ 47.05% |
assets/images/best.png | 5.66KB | 5.23KB | ▼ 7.71% |
assets/images/cart.png | 4.58KB | 2.46KB | ▼ 46.21% |
assets/images/shir3.png | 54.57KB | 19.04KB | ▼ 65.10% |