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 gracefully, with no errors
Server metrics [RAM: ▲0.73MB] [CPU: ▼6.55ms] Passed 4 tests
Analyzing server-side resources used by Woo Coming Soon
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.31 ▲0.85 | 34.29 ▼4.01 |
Dashboard /wp-admin | 4.05 ▲0.70 | 55.12 ▼6.29 |
Posts /wp-admin/edit.php | 4.10 ▲0.74 | 48.82 ▲8.91 |
Add New Post /wp-admin/post-new.php | 6.64 ▲0.75 | 88.61 ▼19.59 |
Media Library /wp-admin/upload.php | 3.97 ▲0.74 | 42.38 ▲3.69 |
Coming Soon /wp-admin/options-general.php?page=woo_cs_general | 4.01 | 39.14 |
Server storage [IO: ▲4.92MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 55 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Woo Coming Soon
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,463 ▼298 | 14.30 ▼0.34 | 0.58 ▼1.05 | 18.73 ▼28.27 |
Dashboard /wp-admin | 2,207 ▲29 | 5.59 ▼0.11 | 89.78 ▼23.89 | 41.68 ▼4.60 |
Posts /wp-admin/edit.php | 2,109 ▲9 | 2.01 ▲0.07 | 36.95 ▼0.34 | 30.95 ▼6.65 |
Add New Post /wp-admin/post-new.php | 1,536 ▲1 | 23.23 ▲5.02 | 651.97 ▲12.79 | 81.78 ▼3.27 |
Media Library /wp-admin/upload.php | 1,409 ▲9 | 4.20 ▼0.01 | 97.35 ▲4.53 | 42.20 ▲2.40 |
Coming Soon /wp-admin/options-general.php?page=woo_cs_general | 1,008 | 3.26 | 38.34 | 77.48 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- 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
Even though no errors were found, this is by no means an exhaustive test
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
Please fix the following
- 8× PHP files trigger errors when accessed directly with GET requests:
- > PHP Warning
require(wp-content/plugins/woo-coming-soon/inc/templates/wp-blog-header.php): failed to open stream: No such file or directory in wp-content/plugins/woo-coming-soon/inc/templates/actual_index.php on line 17
- > PHP Fatal error
require(): Failed opening required 'wp-content/plugins/woo-coming-soon/inc/templates/wp-blog-header.php' (include_path='.:/usr/share/php') in wp-content/plugins/woo-coming-soon/inc/templates/actual_index.php on line 17
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/upgrade.php' (include_path='.:/usr/share/php') in wp-content/plugins/woo-coming-soon/index.php on line 16
- > PHP Warning
require(./wp-load.php): failed to open stream: No such file or directory in wp-content/plugins/woo-coming-soon/inc/templates/index.php on line 29
- > PHP Warning
require_once(ABSPATHwp-admin/includes/upgrade.php): failed to open stream: No such file or directory in wp-content/plugins/woo-coming-soon/index.php on line 16
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/woo-coming-soon/index.php on line 16
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/woo-coming-soon/inc/functions.php:37
- > PHP Fatal error
require(): Failed opening required './wp-load.php' (include_path='.:/usr/share/php') in wp-content/plugins/woo-coming-soon/inc/templates/index.php on line 29
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
4 plugin tags: products, coming soon, woocommerce, coming soon page
woo-coming-soon/index.php 92% from 13 tests
The primary PHP file in "Woo Coming Soon" version 1.4.4 is used by WordPress to initiate all plugin functionality
The following require your attention:
- Main file name: The principal plugin file should be the same as the plugin slug ("woo-coming-soon.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected14,907 lines of code in 22 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 3 | 0 | 12 | 9,445 |
PHP | 8 | 1,498 | 613 | 3,529 |
CSS | 5 | 76 | 65 | 1,569 |
PO File | 3 | 129 | 133 | 339 |
JavaScript | 3 | 4 | 11 | 25 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 21.42 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 69.00 |
Average method complexity | 3.57 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 19.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 19 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 19 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 151 | |
▷ Static methods | 61 | 40.40% |
▷ Public methods | 145 | 96.03% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 6 | 3.97% |
Functions | 29 | |
▷ Named functions | 28 | 96.55% |
▷ Anonymous functions | 1 | 3.45% |
Constants | 34 | |
▷ Global constants | 34 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
15 PNG files occupy 0.44MB with 0.11MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
css/images/ui-bg_glass_55_fbf9ee_1x400.png | 0.12KB | 0.14KB | 0.00% |
css/images/ui-icons_454545_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
css/images/cal_logo.png | 2.12KB | 0.97KB | ▼ 54.53% |
img/notice-styles.png | 30.85KB | 11.83KB | ▼ 61.66% |
css/images/ui-bg_highlight-soft_75_cccccc_1x100.png | 0.10KB | 0.17KB | 0.00% |