Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.15MB] [CPU: ▼2.39ms] Passed 4 tests
Analyzing server-side resources used by Coming Soon - Under Construction
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.63 ▲0.17 | 36.60 ▼0.64 |
Dashboard /wp-admin | 3.46 ▲0.11 | 44.95 ▼15.70 |
Posts /wp-admin/edit.php | 3.51 ▲0.15 | 45.37 ▲0.47 |
Add New Post /wp-admin/post-new.php | 6.06 ▲0.17 | 91.79 ▲6.32 |
Media Library /wp-admin/upload.php | 3.38 ▲0.15 | 40.81 ▲6.38 |
Server storage [IO: ▲4.97MB] [DB: ▲0.03MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 438 new files
Database: 10 new tables, 21 new options
New tables |
---|
wp_rich_web_cs_forms_options |
wp_rich_web_cs_font_family |
wp_rich_web_cs_forms_themes3 |
wp_rich_web_cs_forms_mails |
wp_rich_web_cs_forms_saved |
wp_rich_web_cs_form_fields |
wp_rich_web_cs_forms_cust_id |
wp_rich_web_cs_forms_themes2 |
wp_rich_web_cs_forms_info |
wp_rich_web_cs_forms_themes1 |
New WordPress options |
---|
widget_recent-comments |
rw_cs_button |
rw_cs_loader |
widget_theysaidso_widget |
rw_cs_background |
rw_cs_countdown |
rw_cs_footer |
widget_recent-posts |
rw_cs_description |
rw_cs_fic |
... |
Browser metrics 75% from 4 tests
A check of browser resources used by Coming Soon - Under Construction
Please improve the following
- Nodes: You must limit the number of DOM nodes under 25,000 (currently 27,703 on /wp-admin/admin.php?page=Rich-Web CS Admin)
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,003 ▲257 | 14.50 ▼0.15 | 14.07 ▲12.26 | 45.21 ▲5.78 |
Dashboard /wp-admin | 2,258 ▲109 | 5.13 ▼0.49 | 100.86 ▲5.69 | 82.35 ▲38.21 |
Posts /wp-admin/edit.php | 2,146 ▲57 | 2.28 ▲0.22 | 37.22 ▲0.58 | 35.76 ▲1.35 |
Add New Post /wp-admin/post-new.php | 1,718 ▲196 | 22.79 ▼0.58 | 696.13 ▲52.27 | 29.65 ▼28.11 |
Media Library /wp-admin/upload.php | 1,437 ▲55 | 4.42 ▲0.17 | 97.11 ▼2.87 | 73.40 ▲30.56 |
Coming Soon /wp-admin/admin.php?page=Rich-Web CS Admin | 27,703 | 21.08 | 1,325.35 | 130.67 |
Our Products /wp-admin/admin.php?page=Rich-Web Coming Soon Products | 998 | 1.92 | 25.54 | 34.17 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.03MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- The uninstall procedure failed, leaving 10 tables in the database
- wp_rich_web_cs_forms_cust_id
- wp_rich_web_cs_forms_themes2
- wp_rich_web_cs_forms_options
- wp_rich_web_cs_forms_saved
- wp_rich_web_cs_forms_themes1
- wp_rich_web_cs_forms_info
- wp_rich_web_cs_forms_themes3
- wp_rich_web_cs_forms_mails
- wp_rich_web_cs_form_fields
- wp_rich_web_cs_font_family
- This plugin did not uninstall successfully, leaving 21 options in the database
- rw_cs_info
- rw_cs_content
- rw_cs_loader
- rw_cs_background
- widget_theysaidso_widget
- rw_cs_order
- can_compress_scripts
- rw_cs_button
- rw_cs_logo
- rw_cs_countdown
- ...
Smoke tests 50% 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 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
The following issues need your attention
- 2× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/coming-soons/theme/RW_Footer_Theme.php
- > /wp-content/plugins/coming-soons/theme/index.php
- 13× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/coming-soons/theme/RW_Buttons_Theme.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/coming-soons/theme/RW_Countdown_Theme.php:46
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/coming-soons/theme/RW_Logo_Theme.php:2
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/coming-soons/theme/RW_Footer_Theme.php on line 4
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/coming-soons/theme/RW_Forms_Theme.php:20
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/coming-soons/theme/Rich-Web-CS-Ajax.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/coming-soons/theme/RW_Loader_Theme.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/coming-soons/theme/RW_Description_Theme.php:5
- > PHP Notice
Undefined variable: rw_cs_footer in wp-content/plugins/coming-soons/theme/RW_Footer_Theme.php on line 4
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/coming-soons/theme/RW_Seo_Theme.php:4
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
8 plugin tags: under construction, wp maintenance mode, coming soon page, coming soon plugin, maintenance mode...
coming-soons/coming-soon.php 92% from 13 tests
The entry point to "Coming Soon - Under Construction" version 1.2.0 is a PHP file that has certain tags in its header comment area
The following require your attention:
- Main file name: The principal plugin file should be the same as the plugin slug ("coming-soons.php" instead of "coming-soon.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Everything looks great! No dangerous files found in this plugin29,349 lines of code in 139 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 38 | 191 | 36 | 10,798 |
JavaScript | 80 | 790 | 493 | 8,995 |
CSS | 18 | 943 | 94 | 8,677 |
SVG | 3 | 0 | 0 | 879 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
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 | 15 | |
▷ Named functions | 14 | 93.33% |
▷ Anonymous functions | 1 | 6.67% |
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
PNG files should be compressed to save space and minimize bandwidth usage
261 compressed PNG files occupy 0.54MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
backend/Images/Flags/MN.png | 0.44KB | 0.48KB | 0.00% |
backend/Images/Flags/MK.png | 0.61KB | 0.57KB | ▼ 7.17% |
backend/Images/Flags/BS.png | 0.27KB | 0.28KB | 0.00% |
backend/Images/Flags/CW.png | 0.26KB | 0.25KB | ▼ 0.76% |
backend/Images/Flags/FI.png | 0.12KB | 0.12KB | ▼ 0.80% |