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.08MB] [CPU: ▼3.34ms] Passed 4 tests
This is a short check of server-side resources used by Sooon.page - Site Under Construction
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.08 | 42.94 ▲2.25 |
Dashboard /wp-admin | 3.38 ▲0.08 | 48.72 ▼0.27 |
Posts /wp-admin/edit.php | 3.43 ▲0.07 | 48.14 ▲2.79 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.07 | 85.60 ▼16.55 |
Media Library /wp-admin/upload.php | 3.31 ▲0.07 | 35.09 ▲1.23 |
Sooon.page /wp-admin/options-general.php?page=soon-site-under-construction | 3.27 | 32.34 |
Server storage [IO: ▲1.57MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 25 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Sooon.page - Site Under Construction
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,806 ▲60 | 13.17 ▼1.09 | 1.87 ▲0.13 | 43.25 ▲0.07 |
Dashboard /wp-admin | 2,206 ▲18 | 6.04 ▲0.14 | 100.23 ▼12.98 | 39.66 ▼7.69 |
Posts /wp-admin/edit.php | 2,095 ▲6 | 2.00 ▼0.03 | 35.73 ▼4.14 | 33.20 ▲0.06 |
Add New Post /wp-admin/post-new.php | 1,519 ▼0 | 23.17 ▼0.12 | 611.97 ▼72.83 | 53.31 ▼9.30 |
Media Library /wp-admin/upload.php | 1,397 ▲6 | 4.23 ▲0.02 | 109.45 ▲4.51 | 45.78 ▲0.71 |
Sooon.page /wp-admin/options-general.php?page=soon-site-under-construction | 1,008 | 2.05 | 26.21 | 55.86 |
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
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 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
3 plugin tags: coming soon, under construction, landing page
sooon-page-site-under-construction/sooon_site_under_construction.php 85% from 13 tests
The entry point to "Sooon.page - Site Under Construction" version 0.2 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("sooon-page-site-under-construction.php" instead of "sooon_site_under_construction.php")
- Text Domain: Please use dashes and lowercase characters for text domains
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
Good job! No executable or dangerous file extensions detected773 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 3 | 81 | 87 | 319 |
PHP | 6 | 43 | 58 | 283 |
CSS | 1 | 29 | 2 | 168 |
SVG | 1 | 0 | 0 | 3 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
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 | 10 | |
▷ Named functions | 10 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
4 PNG files occupy 0.23MB with 0.13MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-1.png | 230.60KB | 71.55KB | ▼ 68.97% |
assets/icon-256x256.png | 3.92KB | 1.94KB | ▼ 50.36% |
assets/icon-128x128.png | 1.86KB | 1.00KB | ▼ 46.12% |
assets/brand/logo_sooon_240.png | 3.62KB | 1.82KB | ▼ 49.70% |