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.04MB] [CPU: ▼139.28ms] Passed 4 tests
Server-side resources used by Quick Coming Soon
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.84 ▲0.01 | 44.81 ▲1.07 |
Dashboard /wp-admin | 3.17 ▲0.12 | 54.69 ▲2.74 |
Posts /wp-admin/edit.php | 3.22 ▲0.11 | 56.38 ▲4.45 |
Add New Post /wp-admin/post-new.php | 5.44 ▲0.01 | 98.58 ▼565.37 |
Media Library /wp-admin/upload.php | 3.03 ▲0.03 | 41.93 ▲5.51 |
Quick Coming Soon /wp-admin/options-general.php?page=quick_coming_soon | 3.03 | 41.10 |
Server storage [IO: ▲1.42MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 15 new files
Database: no new tables, 1 new option
New WordPress options |
---|
qcs_basic |
Browser metrics Passed 4 tests
A check of browser resources used by Quick Coming Soon
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,926 ▲354 | 17.92 ▲2.37 | 10.73 ▲2.30 | 55.81 ▼1.69 |
Dashboard /wp-admin | 3,187 ▲256 | 8.32 ▲2.39 | 193.22 ▲42.75 | 138.30 ▲17.09 |
Posts /wp-admin/edit.php | 2,988 ▲249 | 4.37 ▲1.65 | 91.18 ▲19.07 | 99.82 ▼0.47 |
Add New Post /wp-admin/post-new.php | 1,705 ▲22 | 16.06 ▼2.59 | 403.49 ▼9.08 | 131.97 ▲9.58 |
Media Library /wp-admin/upload.php | 1,837 ▲30 | 4.92 ▼0.14 | 119.19 ▼34.33 | 128.99 ▼2.79 |
Quick Coming Soon /wp-admin/options-general.php?page=quick_coming_soon | 1,397 | 4.14 | 96.82 | 86.47 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- Zombie WordPress options detected upon uninstall: 1 option
- qcs_basic
Smoke tests 75% 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 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please take a closer look at the following
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function bloginfo() in wp-content/plugins/quick-coming-soon/quick-coming-soon.php:8
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need to be fixed:
- Screenshots: Please add images for these screenshots: #1 (How this will look), #2 (Setting Page)
- Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line (
=== quick-coming-soon ===
)
quick-coming-soon/main.php 92% from 13 tests
Analyzing the main PHP file in "Quick Coming Soon" version 2.0.4
Please make the necessary changes and fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("quick-coming-soon.php" instead of "main.php")
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 detected788 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 155 | 191 | 565 |
CSS | 1 | 29 | 3 | 223 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 19.33 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 49.00 |
Average method complexity | 2.34 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 15.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 41 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 41 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
3 PNG files occupy 1.15MB with 0.73MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/images/social.png | 7.62KB | 3.81KB | ▼ 49.96% |
screenshot-2.png | 91.90KB | 28.02KB | ▼ 69.51% |
screenshot-1.png | 1,080.45KB | 320.86KB | ▼ 70.30% |