Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.07MB] [CPU: ▼5.51ms] Passed 4 tests
An overview of server-side resources used by waitlisted.co
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 37.77 ▼6.71 |
Dashboard /wp-admin | 3.38 ▲0.08 | 48.83 ▼4.24 |
Posts /wp-admin/edit.php | 3.49 ▲0.14 | 60.52 ▲13.02 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 94.72 ▼10.38 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 38.27 ▼0.69 |
Waitlisted /wp-admin/options-general.php?page=waitlisted | 3.27 | 33.05 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 24 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for waitlisted.co
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,053 ▲292 | 14.07 ▼0.24 | 15.93 ▲14.13 | 37.58 ▼8.18 |
Dashboard /wp-admin | 2,222 ▲19 | 5.82 ▼0.07 | 100.92 ▼6.52 | 43.02 ▼7.12 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.01 ▲0.05 | 39.57 ▼1.10 | 38.22 ▲4.21 |
Add New Post /wp-admin/post-new.php | 1,529 ▼6 | 17.80 ▼5.29 | 674.07 ▲10.76 | 61.52 ▲6.73 |
Media Library /wp-admin/upload.php | 1,404 ▲7 | 4.24 ▲0.01 | 97.76 ▼17.81 | 48.26 ▼2.39 |
Waitlisted /wp-admin/options-general.php?page=waitlisted | 806 | 2.03 | 24.98 | 47.61 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 0% from 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
The following issues need your attention
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/waitlisted/public/partials/waitlisted-public-display.php
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/waitlisted/admin/partials/waitlisted-admin-display.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/waitlisted/includes/class-waitlisted-shortcodes.php:32
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 81% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Please fix the following attributes:
- Screenshots: Screenshot #1 (screenshot1.png) image missing
- Plugin Name: "Plugin Name" should be replaced with the name of your plugin on the first line (
=== waitlisted ===
) - Screenshots: Add a description for screenshot #0 in waitlisted/assets to your readme.txt
waitlisted/waitlisted.php Passed 13 tests
The principal PHP file in "waitlisted.co" v. 1.2.0 is loaded by WordPress automatically on each request
37 characters long description:
Easily use waitlisted with 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
Success! There were no dangerous files found in this plugin314 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 14 | 183 | 651 | 304 |
JavaScript | 2 | 2 | 27 | 10 |
CSS | 2 | 0 | 8 | 0 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.12 |
Average class complexity | 2.11 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 7.00 |
Average method complexity | 1.28 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 36 | |
▷ Static methods | 4 | 11.11% |
▷ Public methods | 29 | 80.56% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 7 | 19.44% |
Functions | 3 | |
▷ Named functions | 3 | 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
PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin