Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.09MB] [CPU: ▼293.33ms] Passed 4 tests
Server-side resources used by Coming Soon Landing Page and Maintenance Mode WordPress Plugin
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.69 ▲0.17 | 53.75 ▲2.10 |
Dashboard /wp-admin | 3.52 ▲0.12 | 34.04 ▲1.61 |
Posts /wp-admin/edit.php | 3.75 ▲0.11 | 37.96 ▲1.13 |
Add New Post /wp-admin/post-new.php | 6.98 ▲0.02 | 94.68 ▼1,175.80 |
Media Library /wp-admin/upload.php | 3.40 ▲0.11 | 25.74 ▼0.25 |
Server storage [IO: ▲8.35MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 74 new files
Database: 1 new table, 1 new option
New tables |
---|
wp_8degree_comingsoon |
New WordPress options |
---|
maintenance_settings |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Coming Soon Landing Page and Maintenance Mode WordPress Plugin
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,835 ▲91 | 15.89 ▲0.21 | 6.69 ▲0.67 | 2.38 ▲0.18 |
Dashboard /wp-admin | 2,922 ▲64 | 6.14 ▼0.01 | 114.94 ▼18.25 | 155.24 ▼6.28 |
Posts /wp-admin/edit.php | 2,718 ▲61 | 3.23 ▼0.00 | 62.66 ▼0.30 | 141.53 ▲6.61 |
Add New Post /wp-admin/post-new.php | 1,776 ▲65 | 22.64 ▲1.25 | 397.53 ▼42.05 | 156.18 ▼3.26 |
Media Library /wp-admin/upload.php | 1,728 ▲30 | 5.54 ▲0.03 | 140.59 ▲2.71 | 191.74 ▲5.50 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Zombie tables detected upon uninstall: 1 table
- wp_8degree_comingsoon
- Zombie WordPress options detected upon uninstall: 1 option
- maintenance_settings
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not 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
- 10× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/8-degree-coming-soon-page/inc/backend/save-settings.php
- > /wp-content/plugins/8-degree-coming-soon-page/inc/backend/boards/about.php
- > /wp-content/plugins/8-degree-coming-soon-page/inc/backend/settings.php
- > /wp-content/plugins/8-degree-coming-soon-page/inc/backend/index.php
- > /wp-content/plugins/8-degree-coming-soon-page/inc/backend/boards/how-to-use.php
- > /wp-content/plugins/8-degree-coming-soon-page/inc/backend/export-csv.php
- > /wp-content/plugins/8-degree-coming-soon-page/inc/backend/remove-subscriber.php
- > /wp-content/plugins/8-degree-coming-soon-page/inc/frontend/dynamic-style.php
- > /wp-content/plugins/8-degree-coming-soon-page/8-degree-coming-soon-page.php
- > /wp-content/plugins/8-degree-coming-soon-page/inc/backend/confirm.php
- 63× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Notice
Undefined variable: settings_data in wp-content/plugins/8-degree-coming-soon-page/inc/frontend/dynamic-style.php on line 75
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/8-degree-coming-soon-page/inc/frontend/dynamic-style.php on line 58
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/8-degree-coming-soon-page/inc/frontend/dynamic-style.php on line 66
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/8-degree-coming-soon-page/inc/frontend/dynamic-style.php on line 64
- > PHP Notice
Undefined variable: settings_data in wp-content/plugins/8-degree-coming-soon-page/inc/frontend/dynamic-style.php on line 35
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/8-degree-coming-soon-page/inc/backend/redirect.php:3
- > PHP Notice
Undefined variable: settings_data in wp-content/plugins/8-degree-coming-soon-page/inc/frontend/dynamic-style.php on line 74
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/8-degree-coming-soon-page/inc/frontend/dynamic-style.php on line 26
- > PHP Notice
Undefined variable: settings_data in wp-content/plugins/8-degree-coming-soon-page/inc/frontend/dynamic-style.php on line 67
- > PHP Notice
Undefined variable: settings_data in wp-content/plugins/8-degree-coming-soon-page/inc/frontend/dynamic-style.php on line 29
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 97% 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
Attributes that need to be fixed:
- Tags: You are using too many tags: 15 tag instead of maximum 10
8-degree-coming-soon-page/8-degree-coming-soon-page.php Passed 13 tests
The primary PHP file in "Coming Soon Landing Page and Maintenance Mode WordPress Plugin" version 2.2.0 is used by WordPress to initiate all plugin functionality
69 characters long description:
A plugin used for Under Construction | Coming Soon | Maintenance Mode
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
Success! There were no dangerous files found in this plugin13,069 lines of code in 33 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 7 | 1,012 | 1,029 | 8,071 |
CSS | 8 | 301 | 183 | 2,616 |
PHP | 17 | 348 | 241 | 1,697 |
SVG | 1 | 0 | 0 | 685 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 28.00 |
▷ Minimum class complexity | 28.00 |
▷ Maximum class complexity | 28.00 |
Average method complexity | 2.42 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 19 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 19 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 7 | |
▷ Global constants | 7 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
18 PNG files occupy 0.07MB with 0.03MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
css/images/ui-bg_glass_65_ffffff_1x400.png | 0.20KB | 0.09KB | ▼ 57.49% |
images/sub-lay2.png | 4.71KB | 3.14KB | ▼ 33.33% |
css/images/ui-bg_highlight-soft_75_cccccc_1x100.png | 0.27KB | 0.18KB | ▼ 35.00% |
css/images/ui-bg_glass_75_dadada_1x400.png | 0.26KB | 0.16KB | ▼ 38.93% |
css/images/ui-icons_222222_256x240.png | 6.76KB | 4.17KB | ▼ 38.24% |