Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.29MB] [CPU: ▼3.22ms] Passed 4 tests
An overview of server-side resources used by Coming soon Page
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.78 ▲0.31 | 38.68 ▲1.21 |
Dashboard /wp-admin | 3.63 ▲0.32 | 45.78 ▼2.60 |
Posts /wp-admin/edit.php | 3.68 ▲0.32 | 45.68 ▼0.15 |
Add New Post /wp-admin/post-new.php | 6.15 ▲0.26 | 82.70 ▼11.33 |
Media Library /wp-admin/upload.php | 3.49 ▲0.25 | 38.19 ▲3.51 |
BW Coming Soon Page /wp-admin/options-general.php?page=bwcs_page | 3.47 | 37.72 |
Server storage [IO: ▲0.21MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 30 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
Coming soon Page: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,817 ▲56 | 14.17 ▼0.19 | 1.77 ▲0.26 | 37.72 ▼2.32 |
Dashboard /wp-admin | 2,223 ▲43 | 5.63 ▼0.03 | 85.29 ▼4.94 | 43.60 ▲4.45 |
Posts /wp-admin/edit.php | 2,126 ▲23 | 2.08 ▲0.09 | 35.42 ▲0.26 | 33.61 ▼2.42 |
Add New Post /wp-admin/post-new.php | 1,553 ▲25 | 23.27 ▲0.15 | 676.06 ▲7.00 | 50.70 ▼11.40 |
Media Library /wp-admin/upload.php | 1,425 ▲25 | 4.16 ▲0.00 | 101.89 ▲4.70 | 43.60 ▲0.80 |
BW Coming Soon Page /wp-admin/options-general.php?page=bwcs_page | 916 | 2.04 | 28.03 | 29.29 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
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
Almost there! Just fix the following items
- 5× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/bw-coming-soon-page/admin/settings-page.php:7
- > PHP Warning
require_once(wp-content/plugins/bw-coming-soon-page/vendor/appsero/client/vendor/tareq1988/wp-php-cs-fixer/loader.php): failed to open stream: No such file or directory in wp-content/plugins/bw-coming-soon-page/vendor/appsero/client/.php-cs-fixer.dist.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function admin_url() in wp-content/plugins/bw-coming-soon-page/admin/form.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/bw-coming-soon-page/includes/plugin-settings.php:66
- > PHP Fatal error
require_once(): Failed opening required 'wp-content/plugins/bw-coming-soon-page/vendor/appsero/client/vendor/tareq1988/wp-php-cs-fixer/loader.php' (include_path='.:/usr/share/php') in wp-content/plugins/bw-coming-soon-page/vendor/appsero/client/.php-cs-fixer.dist.php on line 3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
4 plugin tags: maintainance mode, maintainance, coming-soon, wordpress-coming-soon
bw-coming-soon-page/bw-coming-soon-page.php 77% from 13 tests
The main file in "Coming soon Page" v. 1.0.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
It is important to fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 145 characters long)
- Domain Path: The domain path points to a folder that does not exist ("/languages")
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
No dangerous file extensions were detected2,910 lines of code in 25 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 21 | 674 | 963 | 2,452 |
Markdown | 1 | 82 | 0 | 255 |
JSON | 2 | 0 | 0 | 108 |
XML | 1 | 6 | 11 | 95 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 33.33 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 84.00 |
Average method complexity | 3.16 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 136 | |
▷ Static methods | 19 | 13.97% |
▷ Public methods | 100 | 73.53% |
▷ Protected methods | 6 | 4.41% |
▷ Private methods | 30 | 22.06% |
Functions | 10 | |
▷ Named functions | 9 | 90.00% |
▷ Anonymous functions | 1 | 10.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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There are no PNG files in this plugin