Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
You still need to fix the following installer errors
- This plugin did not install gracefully
- > Warning in wp-content/plugins/waitpage/waitpage.php+9
require_once(vendor/autoload.php): failed to open stream: No such file or directory
Server metrics [RAM: ▲0.00MB] [CPU: ▼8.22ms] Passed 4 tests
An overview of server-side resources used by Waitpage.io
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 44.21 ▲3.41 |
Dashboard /wp-admin | 3.31 ▲0.00 | 48.87 ▼5.66 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 44.62 ▼10.79 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 84.39 ▼19.08 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 38.02 ▲2.67 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Waitpage.io
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.35 ▼0.13 | 2.03 ▲0.04 | 51.52 ▲3.77 |
Dashboard /wp-admin | 2,192 ▲15 | 5.57 ▼0.11 | 84.28 ▼12.41 | 37.31 ▼4.41 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.97 ▼0.00 | 37.39 ▼3.85 | 34.84 ▼3.88 |
Add New Post /wp-admin/post-new.php | 1,525 ▼3 | 23.43 ▲0.33 | 703.31 ▲67.99 | 69.48 ▲14.14 |
Media Library /wp-admin/upload.php | 1,403 ▲3 | 4.21 ▼0.00 | 99.50 ▼4.07 | 42.03 ▼2.93 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
SRP 50% 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
Please take a closer look at the following
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Warning
require_once(vendor/autoload.php): failed to open stream: No such file or directory in wp-content/plugins/waitpage/waitpage.php on line 9
- > PHP Fatal error
require_once(): Failed opening required 'vendor/autoload.php' (include_path='.:/usr/share/php') in wp-content/plugins/waitpage/waitpage.php on line 9
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 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
4 plugin tags: woocommerce, queue, traffic, wait
waitpage/waitpage.php Passed 13 tests
The entry point to "Waitpage.io" version 1.0 is a PHP file that has certain tags in its header comment area
24 characters long description:
The only plugin you need
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
No dangerous file extensions were detected277 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 62 | 26 | 254 |
Markdown | 1 | 5 | 0 | 16 |
JSON | 1 | 0 | 0 | 7 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
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 | 20 | |
▷ Named functions | 19 | 95.00% |
▷ Anonymous functions | 1 | 5.00% |
Constants | 1 | |
▷ Global constants | 1 | 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
There were not PNG files found in your plugin