Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.11MB] [CPU: ▲0.54ms] Passed 4 tests
Server-side resources used by Boostimer - Product Availability Countdown And Scheduler For WooCommerce
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.58 ▲0.12 | 39.44 ▼0.40 |
Dashboard /wp-admin | 3.42 ▲0.11 | 47.86 ▲0.10 |
Posts /wp-admin/edit.php | 3.53 ▲0.17 | 51.30 ▲1.72 |
Add New Post /wp-admin/post-new.php | 6.00 ▲0.11 | 95.37 ▲3.24 |
Media Library /wp-admin/upload.php | 3.34 ▲0.11 | 38.70 ▲0.73 |
Server storage [IO: ▲0.47MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 64 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_recent-comments |
boostimer_installed |
widget_theysaidso_widget |
boostimer_version |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for Boostimer - Product Availability Countdown And Scheduler For WooCommerce
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,831 ▲74 | 14.47 ▼0.18 | 1.70 ▼0.20 | 41.18 ▼8.58 |
Dashboard /wp-admin | 2,237 ▲49 | 5.83 ▲0.74 | 104.95 ▲0.62 | 50.09 ▲9.96 |
Posts /wp-admin/edit.php | 2,120 ▲31 | 2.01 ▼0.02 | 40.65 ▲4.86 | 42.21 ▲7.87 |
Add New Post /wp-admin/post-new.php | 1,562 ▲43 | 22.98 ▼0.27 | 617.15 ▼62.07 | 64.64 ▲7.97 |
Media Library /wp-admin/upload.php | 1,422 ▲34 | 4.26 ▲0.08 | 99.12 ▼8.32 | 52.52 ▲5.43 |
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
The following items require your attention
- The uninstall procedure has failed, leaving 8 options in the database
- boostimer_installed
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- boostimer_version
- db_upgraded
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Almost there! Just fix the following items
- 18× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Boostimer\\Abstracts\\BaseManager' not found in wp-content/plugins/boostimer/includes/Frontend/PromptDate/Manager.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_add_inline_script() in wp-content/plugins/boostimer/templates/countdown-timer.php:14
- > PHP Fatal error
Uncaught Error: Class 'Boostimer\\Abstracts\\BaseManager' not found in wp-content/plugins/boostimer/includes/Admin/Manager.php:12
- > PHP Fatal error
Uncaught Error: Class 'Boostimer\\Abstracts\\ProductData' not found in wp-content/plugins/boostimer/includes/Admin/ProductData/Stock.php:14
- > PHP Fatal error
Uncaught Error: Class 'Boostimer\\Frontend\\PromptDate\\PromptDate' not found in wp-content/plugins/boostimer/includes/Frontend/PromptDate/Stock.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function woocommerce_wp_checkbox() in wp-content/plugins/boostimer/templates/admin/stock-product-data.php:17
- > PHP Fatal error
Uncaught Error: Class 'Boostimer\\Abstracts\\BaseManager' not found in wp-content/plugins/boostimer/includes/Admin/ProductData/Manager.php:12
- > PHP Fatal error
Uncaught Error: Class 'Boostimer\\Abstracts\\ProductData' not found in wp-content/plugins/boostimer/includes/Admin/ProductData/Sale.php:12
- > PHP Fatal error
Uncaught Error: Class 'Boostimer\\Abstracts\\BaseManager' not found in wp-content/plugins/boostimer/includes/Frontend/Manager.php:14
- > PHP Fatal error
Uncaught Error: Class 'Boostimer\\Api\\Controllers\\Base' not found in wp-content/plugins/boostimer/includes/Api/Controllers/Settings.php:13
- > PHP Fatal error
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 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
7 plugin tags: woo, product availability, countdown, woocommerce, scheduler...
boostimer/boostimer.php 92% from 13 tests
The principal PHP file in "Boostimer - Product Availability Countdown And Scheduler For WooCommerce" v. 1.3.0 is loaded by WordPress automatically on each request
It is important to fix the following:
- Plugin Name: It is recommended to keep the plugin name shorter than 70 characters (currently 72 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected2,138 lines of code in 59 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 47 | 519 | 1,386 | 1,817 |
JSON | 2 | 0 | 0 | 271 |
Markdown | 1 | 10 | 0 | 32 |
JavaScript | 5 | 2 | 57 | 12 |
CSS | 4 | 0 | 12 | 6 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 5.97 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 47.00 |
Average method complexity | 2.17 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 11 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 35 | |
▷ Abstract classes | 6 | 17.14% |
▷ Concrete classes | 29 | 82.86% |
▷ Final classes | 1 | 3.45% |
Methods | 160 | |
▷ Static methods | 22 | 13.75% |
▷ Public methods | 134 | 83.75% |
▷ Protected methods | 16 | 10.00% |
▷ Private methods | 10 | 6.25% |
Functions | 9 | |
▷ Named functions | 8 | 88.89% |
▷ Anonymous functions | 1 | 11.11% |
Constants | 9 | |
▷ Global constants | 9 | 100.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
No PNG images were found in this plugin