Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲0.12MB] [CPU: ▼142.72ms] Passed 4 tests
An overview of server-side resources used by Who Is Online Now
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.95 ▲0.12 | 48.26 ▲9.84 |
Dashboard /wp-admin | 3.19 ▲0.13 | 48.27 ▲0.38 |
Posts /wp-admin/edit.php | 3.30 ▲0.19 | 46.67 ▼3.08 |
Add New Post /wp-admin/post-new.php | 5.54 ▲0.11 | 90.60 ▼574.74 |
Media Library /wp-admin/upload.php | 3.13 ▲0.13 | 33.32 ▲6.57 |
Who Is Online /wp-admin/options-general.php?page=wpmwo_settings_page | 3.10 | 28.47 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 9 new files
Database: 1 new table, 2 new options
New tables |
---|
wp_online_visitors |
New WordPress options |
---|
wpmwo_string_setting_sec |
wpmwo_general_setting_sec |
Browser metrics Passed 4 tests
Who Is Online Now: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,849 ▲277 | 16.46 ▲0.72 | 13.41 ▲1.89 | 46.13 ▼0.44 |
Dashboard /wp-admin | 2,994 ▲63 | 6.53 ▲0.54 | 145.19 ▼17.15 | 109.75 ▲4.61 |
Posts /wp-admin/edit.php | 2,791 ▲52 | 3.04 ▲0.33 | 73.83 ▲6.51 | 102.55 ▲18.81 |
Add New Post /wp-admin/post-new.php | 1,639 ▼44 | 21.45 ▲2.66 | 287.00 ▼103.48 | 110.08 ▼15.07 |
Media Library /wp-admin/upload.php | 1,850 ▲43 | 5.22 ▲0.20 | 144.87 ▼0.10 | 114.13 ▲1.78 |
Who Is Online /wp-admin/options-general.php?page=wpmwo_settings_page | 1,341 | 2.79 | 76.62 | 74.46 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- The uninstall procedure failed, leaving 1 table in the database
- wp_online_visitors
- Zombie WordPress options detected upon uninstall: 2 options
- wpmwo_string_setting_sec
- wpmwo_general_setting_sec
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Please fix the following attributes:
- Screenshots: Add descriptions for screenshots #1, #2, #3, #4, #5 in who-is-online-now/assets to your readme.txt
who-is-online-now/index.php 85% from 13 tests
"Who Is Online Now" version 1.0.2's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please make the necessary changes and fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("who-is-online-now.php" instead of "index.php")
- Domain Path: The domain path is invalid: folder "/languages/" does not exist
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Good job! No executable or dangerous file extensions detected646 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 162 | 177 | 609 |
CSS | 1 | 5 | 0 | 25 |
JavaScript | 1 | 0 | 2 | 12 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 23.00 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 43.00 |
Average method complexity | 2.42 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 31 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 31 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 9 | |
▷ Named functions | 9 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There are no PNG files in this plugin