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
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.44MB] [CPU: ▼4.19ms] Passed 4 tests
An overview of server-side resources used by zStore Manager Basic
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.90 ▲0.43 | 41.51 ▼3.14 |
Dashboard /wp-admin | 3.74 ▲0.44 | 48.00 ▼3.86 |
Posts /wp-admin/edit.php | 3.86 ▲0.50 | 49.27 ▼2.50 |
Add New Post /wp-admin/post-new.php | 6.34 ▲0.46 | 88.54 ▼5.66 |
Media Library /wp-admin/upload.php | 3.67 ▲0.44 | 35.42 ▼4.10 |
Server storage [IO: ▲0.12MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 14 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
zstore_basic_manager_settings |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
zStore Manager Basic: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,899 ▲113 | 13.51 ▼1.05 | 7.79 ▲5.08 | 38.94 ▼6.21 |
Dashboard /wp-admin | 2,222 ▲42 | 5.76 ▲0.09 | 88.75 ▼3.99 | 39.95 ▼0.02 |
Posts /wp-admin/edit.php | 2,130 ▲30 | 2.22 ▲0.25 | 35.18 ▼6.94 | 35.23 ▼0.49 |
Add New Post /wp-admin/post-new.php | 1,550 ▲24 | 23.32 ▲0.23 | 669.30 ▼7.60 | 55.90 ▼1.77 |
Media Library /wp-admin/upload.php | 1,427 ▲27 | 4.33 ▲0.18 | 98.29 ▼17.83 | 38.81 ▼13.44 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% 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
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
Smoke tests 75% 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 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please take a closer look at the following
- 10× PHP files trigger errors when accessed directly with GET requests:
- > PHP Warning
include_once(): Failed opening 'ABSPATHWPINC/feed.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/zstore-manager-basic/includes/storedisplay.php on line 11
- > PHP Warning
include_once(ABSPATHWPINC/feed.php): failed to open stream: No such file or directory in wp-content/plugins/zstore-manager-basic/includes/storedisplay.php on line 11
- > PHP Warning
include_once(ABSPATHWPINC/feed.php): failed to open stream: No such file or directory in wp-content/plugins/zstore-manager-basic/includes/storedisplay.php on line 11
- > PHP Fatal error
Uncaught Error: Call to undefined function zstore\\manager\\add_action() in wp-content/plugins/zstore-manager-basic/includes/storedisplay.php:1288
- > PHP Warning
Use of undefined constant WPINC - assumed 'WPINC' (this will throw an Error in a future version of PHP) in wp-content/plugins/zstore-manager-basic/includes/storedisplay.php on line 11
- > PHP Warning
Use of undefined constant WPINC - assumed 'WPINC' (this will throw an Error in a future version of PHP) in wp-content/plugins/zstore-manager-basic/includes/storedisplay.php on line 11
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/zstore-manager-basic/includes/storedisplay.php on line 11
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/zstore-manager-basic/includes/storedisplay.php on line 11
- > PHP Fatal error
Uncaught Error: Call to undefined function zstore\\manager\\add_action() in wp-content/plugins/zstore-manager-basic/includes/storedisplay.php:1288
- > PHP Warning
include_once(): Failed opening 'ABSPATHWPINC/feed.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/zstore-manager-basic/includes/storedisplay.php on line 11
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% 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
Please fix the following attributes:
- Screenshots: These screenshots lack descriptions #2, #3, #4 in zstore-manager-basic/assets to your readme.txt
zstore-manager-basic/zstore-manager.php 77% from 13 tests
The main file in "zStore Manager Basic" v. 3.311 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("zstore-manager-basic.php" instead of "zstore-manager.php")
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 379 characters long)
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
There were no executable files found in this plugin1,795 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 4 | 250 | 121 | 1,085 |
PHP | 4 | 221 | 83 | 637 |
CSS | 2 | 18 | 6 | 70 |
Markdown | 1 | 0 | 0 | 3 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 55.67 |
▷ Minimum class complexity | 15.00 |
▷ Maximum class complexity | 90.00 |
Average method complexity | 3.48 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 29.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 66 | |
▷ Static methods | 2 | 3.03% |
▷ Public methods | 49 | 74.24% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 17 | 25.76% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin