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
Installer ran successfully
Server metrics [RAM: ▼0.11MB] [CPU: ▼21.16ms] Passed 4 tests
Server-side resources used by Coming Soon Master
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.01 | 36.57 ▼1.56 |
Dashboard /wp-admin | 3.27 ▼0.07 | 33.83 ▼34.02 |
Posts /wp-admin/edit.php | 3.34 ▼0.02 | 38.72 ▼10.09 |
Add New Post /wp-admin/post-new.php | 5.52 ▼0.37 | 72.20 ▼37.49 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 37.34 ▼3.05 |
Server storage [IO: ▲3.61MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 78 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Coming Soon Master
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,854 ▲108 | 14.23 ▼0.42 | 1.86 ▲0.22 | 39.70 ▼5.24 |
Dashboard /wp-admin | 2,220 ▲46 | 5.55 ▼0.12 | 84.06 ▼10.11 | 40.71 ▼1.70 |
Posts /wp-admin/edit.php | 2,131 ▲31 | 1.96 ▲0.00 | 36.57 ▼1.92 | 34.92 ▲0.43 |
Add New Post /wp-admin/post-new.php | 1,550 ▲24 | 22.64 ▼0.47 | 676.99 ▼16.92 | 52.93 ▼2.33 |
Media Library /wp-admin/upload.php | 1,422 ▲22 | 4.20 ▼0.01 | 98.95 ▼19.23 | 45.00 ▼6.82 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 0% 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
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/coming-soon-master/templates/assets/js/variable.php
- 35× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/coming-soon-master/pages/dashboard.php:30
- > PHP Notice
Undefined variable: csmTemplate in wp-content/plugins/coming-soon-master/templates/assets/js/variable.php on line 61
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/coming-soon-master/pages/products.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/coming-soon-master/pages/basic-styling.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/coming-soon-master/templates/assets/css/custom.php:20
- > PHP Notice
Undefined variable: pageSecOpacity in wp-content/plugins/coming-soon-master/templates/assets/js/variable.php on line 43
- > PHP Notice
Undefined variable: countdownTime in wp-content/plugins/coming-soon-master/templates/assets/js/variable.php on line 17
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/coming-soon-master/pages/social-profile.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/coming-soon-master/pages/help.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/coming-soon-master/pages/button.php:7
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need to be fixed:
- Screenshots: These screenshots need descriptions #3, #6 in coming-soon-master/assets to your readme.txt
- Tags: Please reduce the number of tags, currently 24 tag instead of maximum 10
coming-soon-master/coming-soon-master.php 92% from 13 tests
"Coming Soon Master" version 1.3.5's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
You should first fix the following items:
- Description: Keep the plugin description shorter than 140 characters (currently 157 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
No dangerous file extensions were detected27,568 lines of code in 47 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 10 | 2,766 | 231 | 17,297 |
JavaScript | 12 | 362 | 839 | 6,231 |
PHP | 23 | 465 | 118 | 2,829 |
SVG | 1 | 0 | 0 | 655 |
PO File | 1 | 257 | 285 | 556 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.10 |
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 | 16 | |
▷ Named functions | 16 | 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 Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
10 PNG files occupy 0.12MB with 0.04MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
dist/img/twitter.png | 1.27KB | 0.95KB | ▼ 25.37% |
templates/assets/img/webhunt-logo.png | 36.40KB | 10.45KB | ▼ 71.30% |
templates/assets/img/item/icon-email.png | 2.15KB | 1.99KB | ▼ 7.45% |
dist/img/dashboard-icon.png | 2.05KB | 1.50KB | ▼ 26.63% |
dist/img/page.png | 1.13KB | 0.57KB | ▼ 49.40% |