Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.32MB] [CPU: ▼2.27ms] Passed 4 tests
This is a short check of server-side resources used by WPC Countdown Timer for WooCommerce
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.78 ▲0.32 | 43.55 ▲3.87 |
Dashboard /wp-admin | 3.62 ▲0.31 | 48.56 ▲0.12 |
Posts /wp-admin/edit.php | 3.73 ▲0.38 | 46.21 ▼0.89 |
Add New Post /wp-admin/post-new.php | 6.22 ▲0.33 | 82.91 ▼7.77 |
Media Library /wp-admin/upload.php | 3.54 ▲0.31 | 35.19 ▼0.54 |
Essential Kit /wp-admin/admin.php?page=wpclever-kit | 3.72 | 31.86 |
About /wp-admin/admin.php?page=wpclever | 3.51 | 31.43 |
Server storage [IO: ▲0.74MB] [DB: ▲0.02MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 31 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by WPC Countdown Timer for WooCommerce
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,866 ▲80 | 14.24 ▼0.31 | 1.69 ▼0.23 | 44.13 ▲3.86 |
Dashboard /wp-admin | 2,275 ▲104 | 5.61 ▲0.07 | 79.04 ▼7.51 | 76.08 ▲33.05 |
Posts /wp-admin/edit.php | 2,181 ▲81 | 2.03 ▲0.05 | 35.81 ▲0.26 | 32.52 ▼2.06 |
Add New Post /wp-admin/post-new.php | 1,600 ▲74 | 23.10 ▼0.57 | 720.70 ▲54.38 | 51.55 ▲2.34 |
Media Library /wp-admin/upload.php | 1,477 ▲77 | 4.19 ▲0.02 | 91.77 ▼20.06 | 90.60 ▲44.65 |
Essential Kit /wp-admin/admin.php?page=wpclever-kit | 5,741 | 2.12 | 34.82 | 53.68 |
About /wp-admin/admin.php?page=wpclever | 1,396 | 2.14 | 30.10 | 35.41 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.02MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Please fix the following attributes:
- Screenshots: These screenshots lack descriptions #1, #2, #3 in wpc-countdown-timer/assets to your readme.txt
wpc-countdown-timer/wpc-countdown-timer.php Passed 13 tests
The main PHP file in "WPC Countdown Timer for WooCommerce" ver. 3.0.2 adds more information about the plugin and also serves as the entry point for this plugin
92 characters long description:
WPC Countdown Timer helps you display countdown timer in single product pages and shop page.
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 detected13,730 lines of code in 24 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 11 | 1,310 | 530 | 8,408 |
CSS | 6 | 415 | 27 | 2,768 |
PHP | 5 | 222 | 59 | 1,387 |
Sass | 1 | 131 | 0 | 1,138 |
SVG | 1 | 0 | 0 | 29 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 50.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 152.00 |
Average method complexity | 5.08 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 21.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 | 48 | |
▷ Static methods | 4 | 8.33% |
▷ Public methods | 48 | 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 | 10 | |
▷ Global constants | 10 | 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
No PNG files were detected