Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.01MB] [CPU: ▼3.12ms] Passed 4 tests
This is a short check of server-side resources used by Cool Coming Soon
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 37.75 ▼0.39 |
Dashboard /wp-admin | 3.32 ▲0.01 | 45.85 ▼0.60 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 43.09 ▼5.99 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 82.74 ▼5.48 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 34.51 ▲1.27 |
Cool Coming Soon /wp-admin/options-general.php?page=cool-coming-soon-settings | 3.36 | 35.84 |
Server storage [IO: ▲3.08MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 18 new files
Database: no new tables, 8 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
cool_coming_soon_data |
db_upgraded |
theysaidso_admin_options |
cool_coming_soon_display |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by Cool Coming Soon
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲69 | 13.74 ▼0.64 | 1.84 ▼0.16 | 44.17 ▲3.80 |
Dashboard /wp-admin | 2,210 ▲22 | 4.87 ▼0.98 | 104.12 ▼12.93 | 38.84 ▼10.03 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 1.99 ▼0.02 | 35.76 ▼5.53 | 32.53 ▼4.03 |
Add New Post /wp-admin/post-new.php | 1,536 ▼0 | 23.29 ▲0.12 | 659.58 ▼12.29 | 55.58 ▼0.63 |
Media Library /wp-admin/upload.php | 1,395 ▲7 | 4.16 ▼0.08 | 96.85 ▼16.95 | 40.48 ▼1.73 |
Cool Coming Soon /wp-admin/options-general.php?page=cool-coming-soon-settings | 1,791 | 7.14 | 119.39 | 111.83 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Please fix the following attributes:
- Tags: Too many tags (13 tag instead of maximum 10); only the first 5 tags are used in your directory listing
cool-coming-soon/cool-coming-soon.php 92% from 13 tests
This is the main PHP file of "Cool Coming Soon" version 2.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please make the necessary changes and fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 146 characters long)
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
Everything looks great! No dangerous files found in this plugin464 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 96 | 10 | 397 |
JavaScript | 2 | 19 | 13 | 67 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.59 |
Average class complexity | 2.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3.00 |
Average method complexity | 2.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.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 | 2 | |
▷ Static methods | 2 | 100.00% |
▷ Public methods | 2 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 7 | |
▷ Named functions | 7 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 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
1 PNG file occupies 0.03MB with 0.02MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
inc/assets/img/logo.png | 29.26KB | 10.02KB | ▼ 65.75% |