Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.39MB] [CPU: ▼4.36ms] Passed 4 tests
An overview of server-side resources used by WPC Product Timer for WooCommerce
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.86 ▲0.39 | 41.60 ▲1.19 |
Dashboard /wp-admin | 3.70 ▲0.35 | 49.78 ▼25.03 |
Posts /wp-admin/edit.php | 3.81 ▲0.45 | 51.88 ▲9.14 |
Add New Post /wp-admin/post-new.php | 6.30 ▲0.41 | 95.91 ▲5.24 |
Media Library /wp-admin/upload.php | 3.62 ▲0.39 | 35.79 ▲1.15 |
About /wp-admin/admin.php?page=wpclever | 3.58 | 31.63 |
Essential Kit /wp-admin/admin.php?page=wpclever-kit | 3.80 | 33.07 |
Server storage [IO: ▲0.33MB] [DB: ▲0.02MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 24 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
WPC Product Timer for WooCommerce: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,867 ▲120 | 14.23 ▼0.09 | 1.75 ▼0.09 | 43.96 ▼6.66 |
Dashboard /wp-admin | 2,260 ▲80 | 5.55 ▼0.16 | 89.73 ▼11.99 | 75.58 ▲35.68 |
Posts /wp-admin/edit.php | 2,184 ▲102 | 2.00 ▼0.03 | 39.18 ▲0.81 | 35.08 ▼1.90 |
Add New Post /wp-admin/post-new.php | 1,596 ▲70 | 23.51 ▲0.26 | 684.90 ▼17.08 | 55.14 ▲4.64 |
Media Library /wp-admin/upload.php | 1,468 ▲65 | 4.18 ▲0.01 | 99.41 ▲1.16 | 73.32 ▲32.41 |
About /wp-admin/admin.php?page=wpclever | 1,405 | 2.14 | 31.49 | 35.38 |
Essential Kit /wp-admin/admin.php?page=wpclever-kit | 5,735 | 2.16 | 35.80 | 58.20 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.02MB] 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 6 options in the database
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
SRP Passed 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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected
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
Please fix the following attributes:
- Screenshots: No descriptions were found for these screenshots #1, #2, #3, #4, #5 in woo-product-timer/assets to your readme.txt
woo-product-timer/wpc-product-timer.php 92% from 13 tests
The primary PHP file in "WPC Product Timer for WooCommerce" version 5.0.6 is used by WordPress to initiate all plugin functionality
The following require your attention:
- Main file name: Name the main plugin file the same as the plugin slug ("woo-product-timer.php" instead of "wpc-product-timer.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Success! There were no dangerous files found in this plugin6,913 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 4 | 484 | 89 | 2,705 |
PHP | 5 | 340 | 71 | 2,070 |
CSS | 4 | 307 | 19 | 1,671 |
PO File | 2 | 183 | 189 | 438 |
SVG | 1 | 0 | 0 | 29 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.55 |
Average class complexity | 118.25 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 425.00 |
Average method complexity | 8.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 52.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 67 | |
▷ Static methods | 20 | 29.85% |
▷ Public methods | 67 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 2 | 66.67% |
▷ Anonymous functions | 1 | 33.33% |
Constants | 11 | |
▷ Global constants | 11 | 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
There are no PNG files in this plugin