Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The following installer errors require your attention
- Install procedure validation failed for this plugin
- > Warning in wp-content/plugins/merch-systems-storefront/includes/Merchsys_Store.php+2
require_once(wp-content/plugins/merch-systems-storefront/../merch-systems/includes/Merchsys_Settings.php): failed to open stream: No such file or directory
Server metrics [RAM: ▲0.00MB] [CPU: ▼5.55ms] Passed 4 tests
Server-side resources used by merch.systems Storefront
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 38.84 ▼1.10 |
Dashboard /wp-admin | 3.31 ▲0.00 | 45.79 ▼1.39 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 40.66 ▼5.74 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 80.14 ▼12.91 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 34.13 ▼2.14 |
Server storage [IO: ▲1.29MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 73 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
merch.systems Storefront: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲79 | 13.18 ▼1.27 | 5.41 ▲3.60 | 41.99 ▼4.86 |
Dashboard /wp-admin | 2,206 ▲21 | 5.91 ▲1.04 | 113.81 ▲8.79 | 42.34 ▲1.08 |
Posts /wp-admin/edit.php | 2,089 ▲3 | 2.00 ▲0.00 | 35.15 ▼2.56 | 35.85 ▲5.48 |
Add New Post /wp-admin/post-new.php | 1,514 ▼5 | 17.46 ▼5.90 | 681.21 ▲83.60 | 60.46 ▲11.22 |
Media Library /wp-admin/upload.php | 1,388 ▼3 | 4.16 ▼0.05 | 97.12 ▼4.89 | 41.83 ▼1.46 |
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
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
The smoke test was a success, however most plugin functionality was not tested
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
The following issues need your attention
- 28× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'MerchSysStore_Common_Header' not found in wp-content/plugins/merch-systems-storefront/public/includes/Shop/Header.php:2
- > PHP Fatal error
Uncaught Error: Class 'MerchSysStore_Common_Base' not found in wp-content/plugins/merch-systems-storefront/public/includes/Common/Form.php:2
- > PHP Fatal error
Uncaught Error: Class 'MerchSysStore_Common_Base' not found in wp-content/plugins/merch-systems-storefront/public/includes/Common/Header.php:15
- > PHP Fatal error
Uncaught Error: Class 'MerchSys_Shop_Base' not found in wp-content/plugins/merch-systems-storefront/public/includes/Shop/Categories.php:2
- > PHP Fatal error
Uncaught Error: Class 'MerchSysStore_Common_Base' not found in wp-content/plugins/merch-systems-storefront/public/includes/Shop/Base.php:2
- > PHP Fatal error
Uncaught Error: Class 'MerchSys_Admin' not found in wp-content/plugins/merch-systems-storefront/admin/MerchsysStore_Admin.php:2
- > PHP Fatal error
Uncaught Error: Class 'MerchSys_Shop_Base' not found in wp-content/plugins/merch-systems-storefront/public/includes/Shop/Images.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/merch-systems-storefront/includes/Merchsys_Store.php:2
- > PHP Fatal error
Uncaught Error: Class 'MerchSys_Shop_Base' not found in wp-content/plugins/merch-systems-storefront/public/includes/Shop/Products.php:2
- > PHP Fatal error
Uncaught Error: Class 'MerchSysStore_Common_Base' not found in wp-content/plugins/merch-systems-storefront/public/includes/Common/Field.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that require attention:
- Requires php: Invalid plugin version format
- Plugin Name: Write the name of your plugin instead of "Plugin Name" on the first line (
=== merch-systems-storefront ===
)
merch-systems-storefront/merchsys-store.php 92% from 13 tests
Analyzing the main PHP file in "merch.systems Storefront" version 1.0.10
The following require your attention:
- Main file name: The principal plugin file should be the same as the plugin slug ("merch-systems-storefront.php" instead of "merchsys-store.php")
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,991 lines of code in 60 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 1 | 0 | 0 | 2,671 |
PHP | 32 | 332 | 385 | 2,459 |
PO File | 2 | 226 | 263 | 489 |
Mustache | 21 | 0 | 0 | 324 |
JavaScript | 3 | 2 | 11 | 47 |
CSS | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 14.97 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 97.00 |
Average method complexity | 3.83 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 22.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 30 | |
▷ Abstract classes | 4 | 13.33% |
▷ Concrete classes | 26 | 86.67% |
▷ Final classes | 0 | 0.00% |
Methods | 148 | |
▷ Static methods | 6 | 4.05% |
▷ Public methods | 128 | 86.49% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 20 | 13.51% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 104 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 104 | 100.00% |
▷ Public constants | 104 | 100.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
No PNG files were detected