Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.02MB] [CPU: ▼5.55ms] Passed 4 tests
An overview of server-side resources used by Perfect Coming Soon Page
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 39.20 ▼2.19 |
Dashboard /wp-admin | 3.33 ▲0.02 | 46.08 ▼8.47 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 52.22 ▲0.23 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 86.89 ▼11.78 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 37.33 ▲0.77 |
Perfect Coming Soon Page /wp-admin/options-general.php?page=perfect-coming-soon | 3.21 | 36.51 |
Server storage [IO: ▲1.15MB] [DB: ▲0.07MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 11 new files
Database: no new tables, 8 new options
New WordPress options |
---|
title_main_heading |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
pcsp_bg_image_url |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by Perfect Coming Soon Page
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲7 | 14.37 ▲0.21 | 1.67 ▼0.12 | 45.67 ▲6.19 |
Dashboard /wp-admin | 2,199 ▲22 | 5.66 ▲0.06 | 92.66 ▲2.84 | 37.74 ▼8.04 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.00 ▼0.01 | 41.67 ▲4.10 | 38.14 ▲0.65 |
Add New Post /wp-admin/post-new.php | 1,553 ▲17 | 23.33 ▼0.22 | 677.34 ▲43.02 | 62.53 ▲10.25 |
Media Library /wp-admin/upload.php | 1,404 ▲1 | 4.21 ▲0.00 | 105.13 ▼3.71 | 49.36 ▲5.02 |
Perfect Coming Soon Page /wp-admin/options-general.php?page=perfect-coming-soon | 892 | 2.14 | 25.22 | 31.74 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 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: 8 options
- widget_theysaidso_widget
- title_main_heading
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- pcsp_bg_image_url
- can_compress_scripts
- theysaidso_admin_options
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)
Good news, no errors were detected
SRP 50% 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
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function bloginfo() in wp-content/plugins/perfect-coming-soon-page/templates/template-coming-soon-page.php:6
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that need to be fixed:
- Plugin Name: You should set the name of your plugin on the first line (
=== perfect-coming-soon-page ===
) - Screenshots: Add descriptions for screenshots #1, #2, #3 in perfect-coming-soon-page/assets to your readme.txt
perfect-coming-soon-page/perfect-coming-soon-page.php 92% from 13 tests
The main PHP script in "Perfect Coming Soon Page" version 1.0 is automatically included on every request by WordPress
Please take the time to fix the following:
- Description: The description should be shorter than 140 characters (currently 160 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Success! There were no dangerous files found in this plugin508 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 1 | 8 | 10 | 374 |
PHP | 2 | 29 | 11 | 134 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.04 |
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 | 6 | |
▷ Named functions | 4 | 66.67% |
▷ Anonymous functions | 2 | 33.33% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
5 compressed PNG files occupy 0.00MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/logo.png | 1.60KB | 0.86KB | ▼ 46.16% |
images/twitter.png | 0.60KB | 0.58KB | ▼ 2.94% |
images/facebook.png | 0.45KB | 0.43KB | ▼ 4.55% |
images/rss.png | 0.78KB | 0.86KB | 0.00% |
images/gpluse.png | 0.74KB | 0.80KB | 0.00% |