Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.04MB] [CPU: ▼3.65ms] Passed 4 tests
An overview of server-side resources used by Coming Soon Page & Maintenance Mode
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 34.23 ▼4.60 |
Dashboard /wp-admin | 3.36 ▲0.01 | 49.96 ▼11.56 |
Posts /wp-admin/edit.php | 3.41 ▲0.05 | 46.76 ▲0.43 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 90.76 ▲5.56 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 33.25 ▲1.13 |
Server storage [IO: ▲4.71MB] [DB: ▲0.01MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 192 new files
Database: no new tables, 20 new options
New WordPress options |
---|
wpsm_rcs_plugin_options_about_us |
wpsm_rcs_plugin_options_contact_us |
wpsm_rcs_review |
wpsm_rcs_plugin_options_templates |
wpsm_rcs_plugin_options_dashboard |
db_upgraded |
wpsm_rcs_plugin_options_social |
widget_theysaidso_widget |
widget_recent-posts |
wpsm_rcs_plugin_options_header |
... |
Browser metrics Passed 4 tests
A check of browser resources used by Coming Soon Page & Maintenance Mode
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,806 ▲59 | 14.24 ▼0.10 | 1.67 ▼0.03 | 37.45 ▼7.21 |
Dashboard /wp-admin | 2,214 ▲34 | 5.63 ▼0.05 | 87.73 ▼3.59 | 40.77 ▼3.53 |
Posts /wp-admin/edit.php | 2,116 ▲13 | 2.03 ▲0.06 | 39.84 ▼3.20 | 35.94 ▼1.47 |
Add New Post /wp-admin/post-new.php | 1,539 ▲13 | 23.21 ▼0.29 | 675.06 ▼13.16 | 55.96 ▼0.61 |
Media Library /wp-admin/upload.php | 1,413 ▲13 | 4.20 ▼0.02 | 99.22 ▲1.13 | 44.63 ▲1.79 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- The uninstall procedure has failed, leaving 20 options in the database
- wpsm_rcs_plugin_options_general
- widget_theysaidso_widget
- wpsm_rcs_plugin_options_social
- wpsm_rcs_plugin_options_dashboard
- db_upgraded
- wpsm_rcs_plugin_options_countdown
- widget_recent-comments
- wpsm_rcs_plugin_options_background
- wpsm_rcs_plugin_options_contact_us
- wpsm_rcs_plugin_options_text_and_color
- ...
Smoke tests 50% 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 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please take a closer look at the following
- 2× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/responsive-coming-soon/includes/fs.php
- > /wp-content/plugins/responsive-coming-soon/includes/content.php
- 28× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/responsive-coming-soon/responsive-coming-soon.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/responsive-coming-soon/includes/settings/page-settings.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/responsive-coming-soon/includes/pro/pro.php:83
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/responsive-coming-soon/includes/social/social.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/responsive-coming-soon/includes/settings/countdown.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/responsive-coming-soon/includes/import-export/import-export.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/responsive-coming-soon/includes/dashboard/dashboard.php:3
- > PHP Notice
Undefined variable: wpsm_rcs_plugin_options_background in wp-content/plugins/responsive-coming-soon/templates/template1/assets/js/main.php on line 75
- > PHP Notice
Undefined variable: wpsm_rcs_plugin_options_background in wp-content/plugins/responsive-coming-soon/templates/template1/assets/js/main.php on line 71
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/responsive-coming-soon/templates/template1/assets/php/data-var.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need to be fixed:
- Tags: Too many tags (27 tag instead of maximum 10); only the first 5 tags are used in your directory listing
responsive-coming-soon/responsive-coming-soon.php 92% from 13 tests
The main file in "Coming Soon Page & Maintenance Mode" v. 2.2.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 159 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin27,585 lines of code in 100 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 20 | 1,811 | 334 | 15,265 |
JavaScript | 24 | 605 | 1,259 | 5,056 |
PHP | 27 | 613 | 160 | 3,956 |
Sass | 14 | 29 | 26 | 1,376 |
LESS | 14 | 29 | 35 | 1,367 |
SVG | 1 | 0 | 0 | 565 |
PHP code Passed 2 tests
An overview 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.26 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 10 | |
▷ Named functions | 10 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
61 PNG files occupy 1.20MB with 0.38MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/overlay/overlay-8.png | 0.14KB | 0.11KB | ▼ 26.03% |
images/pro.png | 3.49KB | 0.08KB | ▼ 97.70% |
img/overlay/overlay-10.png | 0.13KB | 0.10KB | ▼ 22.63% |
img/overlay/overlay-14.png | 0.13KB | 0.12KB | ▼ 13.87% |
images/demo/demo-6.png | 48.92KB | 52.72KB | 0.00% |