Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
These installer errors require your attention
- Install procedure validation failed for this plugin
- > Deprecated in wp-content/plugins/woocommerce-admin-theme-for-shop-manager/eshop_theme.php+659
Function create_function() is deprecated
Server metrics [RAM: ▼1.67MB] [CPU: ▼57.71ms] Passed 4 tests
This is a short check of server-side resources used by Woocommerce Admin Theme
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.31 ▼1.15 | 6.39 ▼42.52 |
Dashboard /wp-admin | 2.33 ▼0.97 | 6.61 ▼45.40 |
Posts /wp-admin/edit.php | 2.33 ▼1.02 | 6.20 ▼43.34 |
Add New Post /wp-admin/post-new.php | 2.33 ▼3.55 | 6.54 ▼99.56 |
Media Library /wp-admin/upload.php | 2.33 ▼0.89 | 6.79 ▼28.97 |
Reports /wp-admin/admin.php?page=woocommerce_reports | 2.33 | 7.55 |
Server storage [IO: ▲0.22MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 12 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by Woocommerce Admin Theme
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,117 ▼669 | 14.15 ▼0.20 | 1.26 ▼0.89 | 30.31 ▼14.08 |
Dashboard /wp-admin | 1,672 ▼508 | 5.56 ▼0.05 | 90.30 ▲1.82 | 34.25 ▼7.36 |
Posts /wp-admin/edit.php | 2,089 ▼11 | 2.47 ▲0.45 | 40.60 ▲3.59 | 35.96 ▼0.68 |
Add New Post /wp-admin/post-new.php | 1,511 ▼18 | 23.74 ▲0.72 | 650.98 ▲6.81 | 36.87 ▼20.67 |
Media Library /wp-admin/upload.php | 1,508 ▲114 | 4.34 ▲0.16 | 108.99 ▲7.82 | 45.38 ▲1.44 |
Reports /wp-admin/admin.php?page=woocommerce_reports | 28 | 0.42 | 0.08 | 3.80 |
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
You still need to fix the following
- Uninstall procedure had uncaught errors
- > Deprecated in wp-content/plugins/woocommerce-admin-theme-for-shop-manager/eshop_theme.php+659
Function create_function() is deprecated
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_recent-comments
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
These errors were triggered by the plugin
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=woocommerce_reports
- > Deprecated in wp-content/plugins/woocommerce-admin-theme-for-shop-manager/eshop_theme.php+865
Function create_function() is deprecated
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Almost there! Just fix the following items
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/woocommerce-admin-theme-for-shop-manager/eshop_theme.php:21
- > 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 browser errors
- > GET request to /wp-admin/admin.php?page=woocommerce_reports
- > Network (severe)
wp-admin/admin.php?page=woocommerce_reports - Failed to load resource: the server responded with a status of 403 (Forbidden)
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Please fix the following attributes:
- Tags: Please delete some tags, you are using 56 tag instead of maximum 10
woocommerce-admin-theme-for-shop-manager/eshop_theme.php 92% from 13 tests
The primary PHP file in "Woocommerce Admin Theme" version 1.0.1 is used by WordPress to initiate all plugin functionality
You should first fix the following items:
- Main file name: The principal plugin file should be the same as the plugin slug ("woocommerce-admin-theme-for-shop-manager.php" instead of "eshop_theme.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
There were no executable files found in this plugin1,582 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 1 | 892 | 3 | 883 |
PHP | 1 | 175 | 170 | 699 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.07 |
Average class complexity | 3.00 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 3.00 |
Average method complexity | 2.00 |
▷ Minimum method complexity | 2.00 |
▷ Maximum method complexity | 2.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 2 | |
▷ Static methods | 2 | 100.00% |
▷ Public methods | 2 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 48 | |
▷ Named functions | 48 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.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
6 PNG files occupy 0.05MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/glyphicons-halflings.png | 12.50KB | 10.35KB | ▼ 17.19% |
img/sidebar-icon-sprite-compact-0a9e6fad3dc7e5771f3c664333559b93.png | 5.97KB | 6.40KB | 0.00% |
img/main-header-icons-8ff0feb429509e85b8a65438c04174f1.png | 5.32KB | 4.75KB | ▼ 10.77% |
img/menu-active.png | 1.12KB | 0.15KB | ▼ 87.03% |
img/icons32.png | 12.68KB | 8.00KB | ▼ 36.94% |