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
- The plugin did not install without errors
- > Notice in wp-content/plugins/wc-scheduled-catalog-mode/includes/Class/TimeValidation.php+10
date_default_timezone_set(): Timezone ID '' is invalid
Server metrics [RAM: ▼1.90MB] [CPU: ▼50.32ms] Passed 4 tests
This is a short check of server-side resources used by Scheduled Catalog Mode for Woocommerce
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.09 ▼1.37 | 4.29 ▼36.43 |
Dashboard /wp-admin | 2.11 ▼1.19 | 11.37 ▼35.89 |
Posts /wp-admin/edit.php | 2.11 ▼1.24 | 6.55 ▼40.96 |
Add New Post /wp-admin/post-new.php | 2.11 ▼3.78 | 5.53 ▼87.98 |
Media Library /wp-admin/upload.php | 2.11 ▼1.12 | 6.42 ▼28.07 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
Scheduled Catalog Mode for Woocommerce: 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,800 ▲43 | 13.31 ▼1.09 | 1.85 ▼0.39 | 40.85 ▼3.45 |
Dashboard /wp-admin | 2,206 ▲15 | 5.77 ▲0.87 | 109.38 ▼8.25 | 39.49 ▼2.42 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 1.99 ▼0.06 | 39.99 ▼0.03 | 34.85 ▼0.32 |
Add New Post /wp-admin/post-new.php | 1,542 ▼0 | 18.25 ▲0.03 | 631.47 ▲31.11 | 51.55 ▼0.29 |
Media Library /wp-admin/upload.php | 1,388 ▲6 | 4.20 ▼0.02 | 96.12 ▼7.10 | 44.01 ▼2.25 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- This plugin cannot be uninstalled
- > Notice in wp-content/plugins/wc-scheduled-catalog-mode/includes/Class/TimeValidation.php+10
date_default_timezone_set(): Timezone ID '' is invalid
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The following issues need your attention
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function scheduleCatalogTime\\Classes\\add_filter() in wp-content/plugins/wc-scheduled-catalog-mode/includes/Class/Options.php:14
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 80% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Please fix the following attributes:
- Plugin Name: Write the name of your plugin instead of "Plugin Name" on the first line (
=== Scheduled Catalog Mode for Woocommerce ===
)
wc-scheduled-catalog-mode/scheduled-catalog-mode.php 62% from 13 tests
"Scheduled Catalog Mode for Woocommerce" version 1.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
You should first fix the following items:
- Domain Path: Use only dashes and lowercase characters for the domain path ("/Languages")
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("wc-scheduled-catalog-mode.php" instead of "scheduled-catalog-mode.php")
- Requires PHP: The required version number must match the one declared in readme.txt ("7.3" instead of "7.2")
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
- Requires at least: The required version number must match the one declared in readme.txt ("3.0.1" instead of "5.2")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
No dangerous file extensions were detected258 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 66 | 60 | 185 |
PO File | 1 | 26 | 26 | 73 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 2.67 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 4.00 |
Average method complexity | 1.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 11 | |
▷ Static methods | 6 | 54.55% |
▷ Public methods | 10 | 90.91% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 9.09% |
Functions | 2 | |
▷ Named functions | 1 | 50.00% |
▷ Anonymous functions | 1 | 50.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG images were found in this plugin