Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.02MB] [CPU: ▼6.68ms] Passed 4 tests
Server-side resources used by Wheel Of Fortune By Ywp x NextWeb
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 45.87 ▲5.92 |
Dashboard /wp-admin | 3.35 ▼0.00 | 53.44 ▼10.87 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 51.83 ▼2.55 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.05 | 92.27 ▼18.79 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 39.57 ▲5.51 |
Server storage [IO: ▲2.29MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 77 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Wheel Of Fortune By Ywp x NextWeb: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,815 ▲69 | 14.38 ▲0.03 | 1.84 ▼0.07 | 45.04 ▲4.10 |
Dashboard /wp-admin | 2,206 ▲26 | 5.60 ▼0.05 | 85.55 ▼1.98 | 80.14 ▲38.66 |
Posts /wp-admin/edit.php | 2,129 ▲29 | 2.02 ▲0.07 | 37.54 ▲1.78 | 34.03 ▼1.48 |
Add New Post /wp-admin/post-new.php | 1,550 ▲24 | 23.61 ▼0.18 | 626.18 ▼55.33 | 52.71 ▲4.78 |
Media Library /wp-admin/upload.php | 1,417 ▲17 | 4.28 ▲0.10 | 96.80 ▼1.06 | 70.57 ▲25.99 |
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 detected upon uninstall: 6 options
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
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 plugin_dir_url() in wp-content/plugins/wheel-of-fortune-by-ywp/wheel-of-fortune-by-ywp.php:14
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need your attention:
- Tags: No tags were detected
wheel-of-fortune-by-ywp/wheel-of-fortune-by-ywp.php 92% from 13 tests
The entry point to "Wheel Of Fortune By Ywp x NextWeb" version 2.0.0 is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 173 characters long)
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
No dangerous file extensions were detected2,854 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 2 | 5 | 0 | 1,695 |
CSS | 1 | 19 | 0 | 861 |
PHP | 1 | 37 | 12 | 153 |
SVG | 5 | 0 | 0 | 145 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
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 | 10 | |
▷ Named functions | 10 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 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
3 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/image/menu.png | 2.37KB | 1.27KB | ▼ 46.47% |
assets/image/ww-logo.png | 2.82KB | 2.29KB | ▼ 18.78% |
assets/image/search.png | 0.40KB | 0.30KB | ▼ 25.36% |