Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.25MB] [CPU: ▼3.01ms] Passed 4 tests
Server-side resources used by Aistore Multi Vendor Store
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.75 ▲0.25 | 42.03 ▲2.33 |
Dashboard /wp-admin | 3.60 ▲0.25 | 52.53 ▲2.23 |
Posts /wp-admin/edit.php | 3.71 ▲0.32 | 47.91 ▼2.67 |
Add New Post /wp-admin/post-new.php | 6.18 ▲0.25 | 87.95 ▼13.63 |
Media Library /wp-admin/upload.php | 3.52 ▲0.25 | 39.81 ▲2.05 |
Sells List /wp-admin/admin.php?page=aistore_sells_list | 3.49 | 36.29 |
Setting /wp-admin/admin.php?page=aistore_page_setting | 3.50 | 43.90 |
Product List /wp-admin/admin.php?page=vendor_store | 3.49 | 33.92 |
Add To Cart Report /wp-admin/admin.php?page=aistore_cart_list | 3.49 | 36.08 |
Server storage [IO: ▲0.18MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 30 new files
Database: 2 new tables, 6 new options
New tables |
---|
wp_aistore_multivendor_add_to_cart_report |
wp_aistore_multivendor_system_orders |
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Aistore Multi Vendor Store: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,828 ▲67 | 14.74 ▲0.39 | 1.79 ▼0.01 | 45.34 ▲1.41 |
Dashboard /wp-admin | 2,233 ▲59 | 5.50 ▼0.17 | 86.34 ▼4.25 | 38.21 ▼1.98 |
Posts /wp-admin/edit.php | 2,135 ▲38 | 1.99 ▼0.02 | 36.31 ▲0.53 | 33.04 ▼2.18 |
Add New Post /wp-admin/post-new.php | 1,554 ▲19 | 23.09 ▲4.55 | 597.10 ▼79.83 | 64.79 ▼0.52 |
Media Library /wp-admin/upload.php | 1,438 ▲38 | 4.18 ▼0.04 | 93.97 ▼18.14 | 40.93 ▼5.70 |
Sells List /wp-admin/admin.php?page=aistore_sells_list | 800 | 2.16 | 23.18 | 26.01 |
Setting /wp-admin/admin.php?page=aistore_page_setting | 1,012 | 1.99 | 32.54 | 32.95 |
Product List /wp-admin/admin.php?page=vendor_store | 817 | 1.99 | 25.41 | 24.85 |
Add To Cart Report /wp-admin/admin.php?page=aistore_cart_list | 801 | 2.02 | 24.90 | 25.65 |
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
Please fix the following items
- The uninstall procedure failed, leaving 2 tables in the database
- wp_aistore_multivendor_add_to_cart_report
- wp_aistore_multivendor_system_orders
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following items
- 12× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/aistore-multi-vendor-store/Setting/AistoreSettingsPage.class.php:337
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/aistore-multi-vendor-store/widthdrawal/Widthdrawal_requests.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/aistore-multi-vendor-store/hooks.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/aistore-multi-vendor-store/aistore_multivendor_wp_hooks/aistore_multivendor_hooks.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/aistore-multi-vendor-store/widthdrawal/Withdrawal.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/aistore-multi-vendor-store/Admin/users_setting.php:13
- > PHP Warning
require_once(ABSPATHwp-admin/includes/class-wp-list-table.php): failed to open stream: No such file or directory in wp-content/plugins/aistore-multi-vendor-store/widthdrawal/Widthdrawal_requests.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/aistore-multi-vendor-store/transaction_report.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/aistore-multi-vendor-store/aistore_multivendor_admin/AistoreSettingsPage.class.php:337
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/class-wp-list-table.php' (include_path='.:/usr/share/php') in wp-content/plugins/aistore-multi-vendor-store/widthdrawal/Widthdrawal_requests.php on line 3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
2 plugin tags: aistore, multi vendor store
aistore-multi-vendor-store/index.php 85% from 13 tests
The entry point to "Aistore Multi Vendor Store" version 1.0 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("aistore-multi-vendor-store.php" instead of "index.php")
- Requires at least: Required version must match the one declared in readme.txt ("5.3" instead of "5.5")
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
Success! There were no dangerous files found in this plugin3,815 lines of code in 24 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 22 | 2,355 | 226 | 3,803 |
JavaScript | 1 | 2 | 0 | 9 |
CSS | 1 | 0 | 0 | 3 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.17 |
Average class complexity | 14.58 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 58.00 |
Average method complexity | 4.13 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 17.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 | 52 | |
▷ Static methods | 13 | 25.00% |
▷ Public methods | 52 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 61 | |
▷ Named functions | 60 | 98.36% |
▷ Anonymous functions | 1 | 1.64% |
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
No PNG images were found in this plugin