Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
These installer errors require your attention
- Install procedure had errors
- > Deprecated in wp-content/plugins/halloween-countdown-widget/hallocount.php+28
Methods with the same name as their class will not be constructors in a future version of PHP; hallocount has a deprecated constructor
Server metrics [RAM: ▼1.93MB] [CPU: ▼51.55ms] Passed 4 tests
A check of server-side resources used by Halloween Countdown Widget
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.06 ▼1.40 | 4.66 ▼33.54 |
Dashboard /wp-admin | 2.08 ▼1.22 | 5.58 ▼39.78 |
Posts /wp-admin/edit.php | 2.08 ▼1.28 | 5.78 ▼42.46 |
Add New Post /wp-admin/post-new.php | 2.08 ▼3.81 | 6.28 ▼90.43 |
Media Library /wp-admin/upload.php | 2.08 ▼1.15 | 5.60 ▼28.37 |
Server storage [IO: ▲0.20MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 8 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
widget_hallocount |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for Halloween Countdown Widget
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.42 ▼0.20 | 1.74 ▲0.19 | 43.93 ▲3.47 |
Dashboard /wp-admin | 2,198 ▲21 | 5.63 ▼0.02 | 92.58 ▲6.71 | 44.19 ▲1.08 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.99 ▼0.13 | 39.60 ▲1.11 | 37.21 ▲1.03 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.16 ▲0.08 | 667.79 ▲5.00 | 53.18 ▼23.15 |
Media Library /wp-admin/upload.php | 1,403 ▲3 | 4.27 ▼0.03 | 98.79 ▲2.08 | 45.57 ▼0.70 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- The plugin did not uninstall gracefully
- > Deprecated in wp-content/plugins/halloween-countdown-widget/hallocount.php+28
Methods with the same name as their class will not be constructors in a future version of PHP; hallocount has a deprecated constructor
- This plugin does not fully uninstall, leaving 7 options in the database
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- widget_hallocount
- can_compress_scripts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
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
Please fix the following items
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/halloween-countdown-widget/hallocount.php:28
- > PHP Fatal error
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 93% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Please fix the following attributes:
- Screenshots: These screenshots require images: #1 (Upload plugin and install.), #2 (On the plugins panel activate the Halloween Countdown Widget.), #3 (In the widgets menu drag the Halloween Countdown Widget to your sidebar.), #4 (The Halloween Countdown Widget displays a cute Vampire countdown to Halloween in your sidebar!)
halloween-countdown-widget/hallocount.php 92% from 13 tests
"Halloween Countdown Widget" version 2.4's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
The following require your attention:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("halloween-countdown-widget.php" instead of "hallocount.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Good job! No executable or dangerous file extensions detected73 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 17 | 17 | 73 |
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.11 |
Average class complexity | 3.00 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 3.00 |
Average method complexity | 1.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
6 PNG files occupy 0.19MB with 0.12MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/vampy.png | 14.63KB | 6.65KB | ▼ 54.56% |
screenshot-4.png | 106.24KB | 46.16KB | ▼ 56.55% |
screenshot-1.png | 22.93KB | 8.89KB | ▼ 61.21% |
screenshot-3.png | 25.11KB | 7.46KB | ▼ 70.27% |
screenshot-2.png | 14.74KB | 6.67KB | ▼ 54.71% |