Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.00MB] [CPU: ▼1.02ms] Passed 4 tests
Analyzing server-side resources used by Advance Waitlist
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 42.79 ▲3.43 |
Dashboard /wp-admin | 3.31 ▲0.00 | 45.21 ▼6.33 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 46.85 ▼0.27 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 93.13 ▲1.17 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 31.08 ▲1.35 |
Server storage [IO: ▲0.18MB] [DB: ▲0.07MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 16 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Advance Waitlist
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 14.48 ▲0.12 | 2.06 ▲0.18 | 42.60 ▼4.03 |
Dashboard /wp-admin | 2,209 ▲21 | 4.87 ▼0.92 | 109.90 ▼5.98 | 41.61 ▼4.12 |
Posts /wp-admin/edit.php | 2,089 ▼3 | 2.00 ▼0.00 | 39.42 ▲5.09 | 34.25 ▲0.51 |
Add New Post /wp-admin/post-new.php | 1,521 ▼8 | 23.00 ▼0.18 | 576.14 ▼50.27 | 47.43 ▼8.34 |
Media Library /wp-admin/upload.php | 1,391 ▲9 | 4.17 ▼0.07 | 93.89 ▼5.72 | 40.89 ▼1.95 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, 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 fix the following items
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Class 'WP_Query' not found in wp-content/plugins/advance-waitlist/templates/admin-oos_prod.php:5
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
10 plugin tags: add to waitlist, woocommerce waitlist, advance waitlist, notified when in stock, out of stock...
advance-waitlist/ced_waitlist.php 85% from 13 tests
This is the main PHP file of "Advance Waitlist" version 2.0.2, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
The following require your attention:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("advance-waitlist.php" instead of "ced_waitlist.php")
- Description: Keep the plugin description shorter than 140 characters (currently 146 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected2,187 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 277 | 654 | 1,668 |
CSS | 3 | 14 | 12 | 221 |
JavaScript | 1 | 37 | 16 | 171 |
PO File | 1 | 48 | 48 | 127 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 29.67 |
▷ Minimum class complexity | 8.00 |
▷ Maximum class complexity | 53.00 |
Average method complexity | 3.87 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 20.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 | 30 | |
▷ Static methods | 1 | 3.33% |
▷ Public methods | 30 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 48 | |
▷ Named functions | 48 | 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 Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG images were found in this plugin