Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.56MB] [CPU: ▲3.43ms] Passed 4 tests
Server-side resources used by RS Coming Soon
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.02 ▲0.56 | 48.43 ▲7.38 |
Dashboard /wp-admin | 3.90 ▲0.55 | 55.66 ▼6.63 |
Posts /wp-admin/edit.php | 3.94 ▲0.58 | 58.84 ▲12.63 |
Add New Post /wp-admin/post-new.php | 6.47 ▲0.58 | 98.81 ▲5.31 |
Media Library /wp-admin/upload.php | 3.79 ▲0.56 | 42.53 ▲7.65 |
Server storage [IO: ▲2.67MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 114 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_rscs |
New WordPress options |
---|
db_upgraded |
_cs_options |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by RS Coming Soon
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,156 ▲410 | 15.83 ▲1.46 | 5.79 ▲3.78 | 52.48 ▲13.40 |
Dashboard /wp-admin | 2,428 ▲240 | 7.11 ▲1.21 | 133.66 ▲33.66 | 99.35 ▲48.98 |
Posts /wp-admin/edit.php | 2,346 ▲257 | 3.69 ▲1.69 | 62.22 ▲27.54 | 73.52 ▲36.55 |
Add New Post /wp-admin/post-new.php | 1,610 ▲82 | 23.57 ▲5.23 | 660.48 ▲49.15 | 37.14 ▼21.30 |
Media Library /wp-admin/upload.php | 1,485 ▲94 | 4.83 ▲0.66 | 89.58 ▼8.87 | 84.00 ▲39.04 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- The uninstall procedure failed, leaving 1 table in the database
- wp_rscs
- This plugin did not uninstall successfully, leaving 7 options in the database
- widget_theysaidso_widget
- can_compress_scripts
- _cs_options
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
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
The following issues need your attention
- 3× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_js() in wp-content/plugins/rs-coming-soon/proccess.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_head() in wp-content/plugins/rs-coming-soon/rs-coming-soon-display.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/rs-coming-soon/admin/fields/date_picker/load.php:10
- > PHP Fatal error
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 93% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Please fix the following attributes:
- Tags: Please delete some tags, you are using 12 tag instead of maximum 10
rs-coming-soon/rs-coming-soon.php 92% from 13 tests
"RS Coming Soon" version 1.0.5's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
It is important to fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 145 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
There were no executable files found in this plugin29,184 lines of code in 88 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 2 | 0 | 0 | 12,928 |
JavaScript | 11 | 1,082 | 805 | 4,672 |
CSS | 8 | 181 | 51 | 4,548 |
PHP | 53 | 1,435 | 1,218 | 3,691 |
Sass | 5 | 318 | 0 | 1,952 |
SVG | 1 | 0 | 0 | 655 |
PO File | 6 | 261 | 285 | 601 |
Markdown | 2 | 21 | 0 | 137 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.54 |
Average class complexity | 13.12 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 87.00 |
Average method complexity | 4.88 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 31.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 33 | |
▷ Abstract classes | 2 | 6.06% |
▷ Concrete classes | 31 | 93.94% |
▷ Final classes | 0 | 0.00% |
Methods | 103 | |
▷ Static methods | 5 | 4.85% |
▷ Public methods | 103 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 61 | |
▷ Named functions | 61 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 12 | |
▷ Global constants | 12 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
9 PNG files occupy 0.79MB with 0.15MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/assets/images/chosen-sprite@2x.png | 0.85KB | 0.83KB | ▼ 3.10% |
assets/images/cloud_one.png | 191.31KB | 183.62KB | ▼ 4.02% |
assets/images/cloud_three.png | 280.07KB | 253.28KB | ▼ 9.57% |
admin/assets/images/chosen-sprite.png | 0.63KB | 0.88KB | 0.00% |
assets/images/social-icons.png | 22.69KB | 4.92KB | ▼ 78.33% |