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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.45MB] [CPU: ▼3.06ms] Passed 4 tests
Server-side resources used by Orbisius CyberStore
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.94 ▲0.48 | 45.14 ▲6.49 |
Dashboard /wp-admin | 3.80 ▲0.46 | 56.81 ▼10.56 |
Posts /wp-admin/edit.php | 3.86 ▲0.50 | 53.86 ▲11.19 |
Add New Post /wp-admin/post-new.php | 6.32 ▲0.44 | 94.93 ▼16.28 |
Media Library /wp-admin/upload.php | 3.66 ▲0.44 | 44.49 ▲8.11 |
Products /wp-admin/admin.php?page=orbisius-cyberstore/menu.products.php | 3.65 | 36.34 |
Help /wp-admin/admin.php?page=orbisius-cyberstore/menu.support.php | 3.64 | 36.40 |
Dashboard /wp-admin/admin.php?page=orbisius-cyberstore/menu.dashboard.php | 3.65 | 43.90 |
Add Product /wp-admin/admin.php?page=orbisius-cyberstore/menu.product.add.php | 3.69 | 36.61 |
Extensions /wp-admin/admin.php?page=orbisius-cyberstore/menu.extensions.php | 3.63 | 36.17 |
Settings /wp-admin/admin.php?page=orbisius-cyberstore/menu.settings.php | 3.75 | 38.75 |
FAQ /wp-admin/admin.php?page=orbisius-cyberstore/menu.faq.php | 3.63 | 34.13 |
About /wp-admin/admin.php?page=orbisius-cyberstore/menu.about.php | 3.63 | 33.41 |
Server storage [IO: ▲1.52MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 47 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_orb_cyber_store_products |
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
orb_cyber_store_db_version |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Orbisius CyberStore
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,930 ▲159 | 13.28 ▼1.11 | 8.58 ▲6.26 | 43.36 ▼2.21 |
Dashboard /wp-admin | 2,241 ▲64 | 5.58 ▼0.10 | 95.90 ▲2.53 | 65.20 ▲22.29 |
Posts /wp-admin/edit.php | 2,158 ▲58 | 2.02 ▲0.02 | 35.17 ▼4.83 | 37.83 ▼1.40 |
Add New Post /wp-admin/post-new.php | 1,577 ▲42 | 22.75 ▲4.55 | 677.69 ▲22.81 | 62.37 ▼4.29 |
Media Library /wp-admin/upload.php | 1,458 ▲61 | 4.13 ▼0.07 | 100.41 ▼3.98 | 75.43 ▲31.35 |
Products /wp-admin/admin.php?page=orbisius-cyberstore/menu.products.php | 877 | 1.99 | 23.86 | 26.48 |
Help /wp-admin/admin.php?page=orbisius-cyberstore/menu.support.php | 1,605 | 8.24 | 203.42 | 55.57 |
Dashboard /wp-admin/admin.php?page=orbisius-cyberstore/menu.dashboard.php | 1,564 | 3.96 | 82.20 | 47.79 |
Add Product /wp-admin/admin.php?page=orbisius-cyberstore/menu.product.add.php | 1,569 | 3.99 | 79.38 | 44.17 |
Extensions /wp-admin/admin.php?page=orbisius-cyberstore/menu.extensions.php | 877 | 2.04 | 27.61 | 25.33 |
Settings /wp-admin/admin.php?page=orbisius-cyberstore/menu.settings.php | 1,872 | 4.03 | 72.34 | 36.06 |
FAQ /wp-admin/admin.php?page=orbisius-cyberstore/menu.faq.php | 919 | 2.30 | 22.95 | 29.78 |
About /wp-admin/admin.php?page=orbisius-cyberstore/menu.about.php | 853 | 1.98 | 25.17 | 20.88 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP 0% 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
Almost there! Just fix the following items
- 2× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/orbisius-cyberstore/orbisius-cyberstore.php
- > /wp-content/plugins/orbisius-cyberstore/zzz_contact_form.php
- 18× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to a member function get() on null in wp-content/plugins/orbisius-cyberstore/menu.faq.php:13
- > PHP Warning
include_once(): Failed opening 'ORBISIUS_DIGISHOP_BASE_DIR/zzz_contact_form.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/orbisius-cyberstore/menu.contact.php on line 1
- > PHP Fatal error
Uncaught Error: Call to a member function get() on null in wp-content/plugins/orbisius-cyberstore/menu.product.add.php:6
- > PHP Notice
Undefined variable: orbisius_digishop_obj in wp-content/plugins/orbisius-cyberstore/zzz_admin_sidebar.php on line 7
- > PHP Fatal error
Uncaught Error: Call to a member function get() on null in wp-content/plugins/orbisius-cyberstore/menu.support.php:10
- > PHP Fatal error
Uncaught Error: Call to a member function get() on null in wp-content/plugins/orbisius-cyberstore/zzz_admin_sidebar.php:7
- > PHP Fatal error
Uncaught Error: Call to a member function get() on null in wp-content/plugins/orbisius-cyberstore/menu.settings.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function current_user_can() in wp-content/plugins/orbisius-cyberstore/menu.products.php:2
- > PHP Notice
Undefined variable: orbisius_digishop_obj in wp-content/plugins/orbisius-cyberstore/menu.support.php on line 10
- > PHP Fatal error
Uncaught Error: Call to undefined function has_action() in wp-content/plugins/orbisius-cyberstore/menu.extensions.php:15
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 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
Attributes that require attention:
- Tags: You are using too many tags: 30 tag instead of maximum 10
- Screenshots: These screenshots require images: #1 (Plugin icon when editing post/page), #2 (Dashboard), #3 (Products), #4 (Add Product), #5 (Settings), #6 (FAQ), #7 (Help), #8 (Extensions), #9 (About), #10 (Buy Now Button), #11 (Buy Now Button after the transaction with the success message.), #12 (Screenshot showing variable products, download button for a free product and simple product)
orbisius-cyberstore/orbisius-cyberstore.php Passed 13 tests
The main file in "Orbisius CyberStore" v. 2.1.7 serves as a complement to information provided in readme.txt and as the entry point to the plugin
96 characters long description:
Start selling digital products such as e-books, plugins, themes, reports in less than 3 minutes.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
There were no executable files found in this plugin3,637 lines of code in 21 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 13 | 803 | 727 | 3,238 |
HTML | 2 | 38 | 9 | 173 |
XML | 2 | 0 | 0 | 121 |
CSS | 2 | 15 | 1 | 72 |
JavaScript | 2 | 6 | 19 | 33 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 77.25 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 220.00 |
Average method complexity | 4.43 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 62.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 89 | |
▷ Static methods | 25 | 28.09% |
▷ Public methods | 88 | 98.88% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 1.12% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 9 | |
▷ Global constants | 3 | 33.33% |
▷ Class constants | 6 | 66.67% |
▷ Public constants | 6 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
20 PNG files occupy 1.26MB with 0.64MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/icon.png | 0.62KB | 0.63KB | 0.00% |
screenshot-6.png | 98.67KB | 34.30KB | ▼ 65.24% |
screenshot-8.png | 77.34KB | 25.79KB | ▼ 66.65% |
images/example_paypal_non_ssl_site_warning.png | 28.08KB | 12.68KB | ▼ 54.83% |
screenshot-9.png | 65.72KB | 23.17KB | ▼ 64.74% |