Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.03MB] [CPU: ▼3.28ms] Passed 4 tests
A check of server-side resources used by Product Launch Countdown Widget
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.03 | 40.31 ▼3.02 |
Dashboard /wp-admin | 3.34 ▲0.03 | 50.78 ▼2.74 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 54.44 ▲5.40 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 86.30 ▼11.48 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 41.21 ▲4.11 |
All Widgets /wp-admin/edit.php?post_type=plc-widget | 3.30 | 39.03 |
Add New /wp-admin/post-new.php?post_type=plc-widget | 3.40 | 53.94 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 28 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_productlaunchcountdown_widgets_widget |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Product Launch Countdown Widget
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,956 ▲210 | 13.74 ▼1.01 | 5.03 ▲3.14 | 39.38 ▼2.05 |
Dashboard /wp-admin | 2,251 ▲60 | 5.01 ▲0.11 | 115.89 ▲10.68 | 41.40 ▼3.02 |
Posts /wp-admin/edit.php | 2,137 ▲48 | 2.28 ▲0.14 | 41.09 ▲3.32 | 35.92 ▲1.18 |
Add New Post /wp-admin/post-new.php | 1,553 ▲20 | 23.19 ▲0.09 | 675.53 ▼10.66 | 66.31 ▲12.57 |
Media Library /wp-admin/upload.php | 1,433 ▲48 | 4.27 ▲0.02 | 100.65 ▼18.53 | 43.77 ▼4.10 |
All Widgets /wp-admin/edit.php?post_type=plc-widget | 1,098 | 2.22 | 36.69 | 28.46 |
Add New /wp-admin/post-new.php?post_type=plc-widget | 2,174 | 7.75 | 170.99 | 63.69 |
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
These items require your attention
- The uninstall procedure has failed, leaving 7 options in the database
- can_compress_scripts
- widget_productlaunchcountdown_widgets_widget
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
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
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/product-launch-countdown/includes/class-product-launch-countdown-widgets-widget.php:3
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/product-launch-countdown/includes/class-product-launch-countdown-widgets-widget.php:3
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
These are user-side errors you should fix
- > GET request to /wp-admin/edit.php?post_type=plc-widget
- > Console-api (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28609 "jQuery.Deferred exception: jQuery(...).ckeditor is not a function" "TypeError: jQuery(...).ckeditor is not a function\n at HTMLDocument.\u003Canonymous> (/wp-admin/edit.php?post_type=plc-widget:259:39)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:26990)\n at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:27292)" undefined
- 2 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=plc-widget
- > Javascript (severe) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28721 Uncaught TypeError: jQuery(...).ckeditor is not a function
- > GET request to /wp-admin/post-new.php?post_type=plc-widget
- > Console-api (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28609 "jQuery.Deferred exception: jQuery(...).ckeditor is not a function" "TypeError: jQuery(...).ckeditor is not a function\n at HTMLDocument.\u003Canonymous> (/wp-admin/post-new.php?post_type=plc-widget:398:39)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:26990)\n at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:27292)" undefined
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Attributes that need to be fixed:
- Donate link: Please fix this invalid url: ""
product-launch-countdown/product-launch-countdown-widgets.php 92% from 13 tests
"Product Launch Countdown Widget" version 1.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
The following require your attention:
- Main file name: The principal plugin file should be the same as the plugin slug ("product-launch-countdown.php" instead of "product-launch-countdown-widgets.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected502 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 44 | 51 | 260 |
JavaScript | 4 | 14 | 20 | 162 |
CSS | 2 | 10 | 0 | 80 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
Average class complexity | 11.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 22.00 |
Average method complexity | 4.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 16.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 7 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 7 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
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
18 PNG files occupy 0.03MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/custom_tr.png | 0.22KB | 0.14KB | ▼ 36.04% |
images/datepicker_t.png | 0.14KB | 0.12KB | ▼ 15.00% |
images/custom_tl.png | 0.16KB | 0.11KB | ▼ 33.33% |
images/custom_br.png | 0.22KB | 0.15KB | ▼ 32.16% |
images/custom_t.png | 0.16KB | 0.11KB | ▼ 32.08% |