Benchmarks
Plugin footprint 65% 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.00MB] [CPU: ▼13.55ms] Passed 4 tests
A check of server-side resources used by web3onlineusers
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.41 ▼0.06 | 27.81 ▼14.86 |
Dashboard /wp-admin | 3.34 ▼0.01 | 48.29 ▼20.07 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 50.23 ▼1.06 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 88.04 ▼15.89 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 32.98 ▼3.36 |
Web3 Online Users /wp-admin/admin.php?page=web3onlineusers_tracker | 3.23 | 32.46 |
Web3Plugins /wp-admin/admin.php?page=web3plugins | 3.20 | 34.24 |
Server storage [IO: ▲0.38MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 7 new files
Database: 1 new table, 6 new options
New tables |
---|
web3onlineusers_tlist |
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
web3onlineusers: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,488 ▼273 | 14.13 ▼0.10 | 0.90 ▼1.11 | 16.87 ▼25.86 |
Dashboard /wp-admin | 2,218 ▲38 | 5.57 ▼0.05 | 88.34 ▲0.42 | 39.61 ▼0.45 |
Posts /wp-admin/edit.php | 2,105 ▲5 | 2.04 ▲0.01 | 36.14 ▼1.56 | 33.97 ▲0.48 |
Add New Post /wp-admin/post-new.php | 1,550 ▲14 | 23.43 ▲0.32 | 681.70 ▲61.34 | 61.82 ▲5.33 |
Media Library /wp-admin/upload.php | 1,417 ▲17 | 4.22 ▲0.04 | 99.86 ▼1.07 | 46.81 ▲0.52 |
Web3 Online Users /wp-admin/admin.php?page=web3onlineusers_tracker | 843 | 1.89 | 28.12 | 53.12 |
Web3Plugins /wp-admin/admin.php?page=web3plugins | 797 | 1.99 | 23.41 | 31.52 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- This plugin does not fully uninstall, leaving 1 table in the database
- web3onlineusers_tlist
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Smoke test failed, please fix the following
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=web3onlineusers_tracker
- > POST request to /wp-admin/admin-ajax.php?action=web3onlineusers_trackerlive
- > Notice in wp-content/plugins/web3onlineusers/web3onlineusers.php+87
Undefined offset: 0
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=web3onlineusers_tracker
- > POST request to /wp-admin/admin-ajax.php?action=web3onlineusers_trackerlive
- > Notice in wp-content/plugins/web3onlineusers/web3onlineusers.php+87
Trying to access array offset on value of type null
- > GET request to /wp-admin/admin.php?page=web3plugins
- > Warning in wp-includes/class-wp-hook.php+310
call_user_func_array() expects parameter 1 to be a valid callback, function 'web3plugins' not found or invalid function name
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
Almost there! Just fix the following items
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_enqueue_style() in wp-content/plugins/web3onlineusers/view/showonlineusers.php:3
- > PHP Fatal error
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)
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need to be fixed:
- Tags: There are too many tags (16 tag instead of maximum 10)
web3onlineusers/web3onlineusers.php Passed 13 tests
"web3onlineusers" version 1.0.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
15 characters long description:
web3onlineusers
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
Success! There were no dangerous files found in this plugin122 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 77 | 13 | 120 |
CSS | 1 | 0 | 5 | 1 |
JavaScript | 1 | 0 | 12 | 1 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.20 |
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 | 7 | |
▷ Named functions | 7 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG files were detected