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
Install script ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼3.79ms] Passed 4 tests
A check of server-side resources used by W8ing
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 35.65 ▼3.91 |
Dashboard /wp-admin | 3.32 ▲0.02 | 45.64 ▼5.95 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 47.08 ▼4.89 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 91.11 ▲2.33 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 34.16 ▼0.41 |
W8ing /wp-admin/options-general.php?page=w8ing | 3.19 | 30.15 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by W8ing
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,806 ▲71 | 13.25 ▼1.35 | 1.82 ▼0.37 | 41.36 ▼3.32 |
Dashboard /wp-admin | 2,209 ▲18 | 5.84 ▲0.95 | 94.40 ▼21.60 | 39.77 ▼5.47 |
Posts /wp-admin/edit.php | 2,098 ▲12 | 1.99 ▲0.00 | 41.59 ▲5.20 | 33.88 ▼2.57 |
Add New Post /wp-admin/post-new.php | 1,533 ▲5 | 23.30 ▲0.00 | 658.55 ▼19.05 | 51.07 ▲4.85 |
Media Library /wp-admin/upload.php | 1,394 ▲3 | 4.24 ▲0.07 | 98.24 ▼2.11 | 45.08 ▼1.37 |
W8ing /wp-admin/options-general.php?page=w8ing | 859 | 2.07 | 23.46 | 28.54 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Please fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=w8ing
- > Notice in wp-content/plugins/w8ing/w8ing_admin.php+63
Undefined variable: args
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/w8ing/w8ing_admin.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/w8ing/w8ing_admin.php:4
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Please take a look at the following user-side issues
- > GET request to /wp-admin/options-general.php?page=w8ing
- > Javascript (severe) in unknown
/wp-content/plugins/w8ing/w8ing_style.css?ver=6.3.1 0:0 Uncaught SyntaxError: Unexpected token '.'
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Please fix the following attributes:
- Plugin Name: You should set the name of your plugin on the first line (
=== w8ing ===
)
w8ing/w8ing.php Passed 13 tests
The principal PHP file in "W8ing" v. 1.0 is loaded by WordPress automatically on each request
49 characters long description:
A basic waiting/landing page plugin for Wordpress
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
Everything looks great! No dangerous files found in this plugin187 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 66 | 31 | 183 |
CSS | 1 | 0 | 0 | 4 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.67 |
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 | 14 | |
▷ Named functions | 14 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
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
PNG images were not found in this plugin