Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.09MB] [CPU: ▼9.25ms] Passed 4 tests
A check of server-side resources used by WP-Waitlist
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.01 | 37.68 ▼5.75 |
Dashboard /wp-admin | 3.32 ▲0.02 | 48.06 ▼5.44 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 47.49 ▼1.55 |
Add New Post /wp-admin/post-new.php | 5.46 ▼0.42 | 79.57 ▼22.24 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 33.12 ▼3.55 |
WP-Waitlist /wp-admin/options-general.php?page=wp-waitlist_settings | 3.21 | 34.87 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
WP-Waitlist: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,823 ▲77 | 13.68 ▼0.63 | 1.66 ▼0.44 | 40.11 ▼4.78 |
Dashboard /wp-admin | 2,229 ▲23 | 5.98 ▲1.08 | 110.60 ▲5.51 | 40.24 ▼5.56 |
Posts /wp-admin/edit.php | 2,111 ▲11 | 2.01 ▲0.01 | 39.36 ▲2.72 | 34.27 ▼0.11 |
Add New Post /wp-admin/post-new.php | 6,346 ▲4,815 | 26.13 ▲2.93 | 913.33 ▲244.78 | 54.59 ▲2.28 |
Media Library /wp-admin/upload.php | 1,405 ▲5 | 4.27 ▲0.08 | 100.44 ▼5.75 | 42.73 ▼0.78 |
WP-Waitlist /wp-admin/options-general.php?page=wp-waitlist_settings | 814 | 2.06 | 26.90 | 29.26 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 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 were found after uninstall: 6 options
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
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 items
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/wp-waitlist/wp-waitlist.php:17
- > 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=wp-waitlist_settings
- > Network (severe)
wp-content/plugins/wp-waitlist/wp-waitlist.css?ver=6.3.1 - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
3 plugin tags: user lists, user management, developer
wp-waitlist/wp-waitlist.php 92% from 13 tests
The main PHP file in "WP-Waitlist" ver. 0.1 adds more information about the plugin and also serves as the entry point for this plugin
Please make the necessary changes and fix the following:
- Domain Path: The domain path folder was not found ("/languages")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Success! There were no dangerous files found in this plugin440 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 41 | 65 | 392 |
JavaScript | 1 | 2 | 2 | 48 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 45.00 |
▷ Minimum class complexity | 45.00 |
▷ Maximum class complexity | 45.00 |
Average method complexity | 2.38 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 32 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 20 | 62.50% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 12 | 37.50% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
PNG files should be compressed to save space and minimize bandwidth usage
No PNG files were detected