Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.77MB] [CPU: ▼34.69ms] Passed 4 tests
An overview of server-side resources used by Online Status inSL
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.64 ▲0.18 | 39.04 ▼1.84 |
Dashboard /wp-admin | 3.17 ▼0.14 | 24.18 ▼28.61 |
Posts /wp-admin/edit.php | 3.17 ▼0.19 | 25.37 ▼24.29 |
Add New Post /wp-admin/post-new.php | 3.17 ▼2.72 | 27.73 ▼75.07 |
Media Library /wp-admin/upload.php | 3.17 ▼0.06 | 23.36 ▼10.80 |
Online Status inSL /wp-admin/options-general.php?page=Online_Status_InSL | 3.17 | 24.76 |
Server storage [IO: ▲0.15MB] [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: 12 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
widget_online_status_insl_widget |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Online Status inSL
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 13.25 ▼1.52 | 1.59 ▼0.15 | 40.44 ▼4.82 |
Dashboard /wp-admin | 2,207 ▲19 | 5.88 ▼0.02 | 102.34 ▼0.39 | 40.00 ▼0.83 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 1.99 ▼0.03 | 37.14 ▲0.86 | 36.63 ▲3.93 |
Add New Post /wp-admin/post-new.php | 1,531 ▲12 | 23.19 ▼0.19 | 653.20 ▲48.82 | 51.81 ▲2.33 |
Media Library /wp-admin/upload.php | 1,395 ▲7 | 4.40 ▲0.00 | 100.33 ▼5.11 | 41.94 ▼0.84 |
Online Status inSL /wp-admin/options-general.php?page=Online_Status_InSL | 972 | 2.07 | 23.58 | 32.85 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- The plugin did not uninstall gracefully
- > User deprecated in wp-includes/functions.php+5737
Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
- Zombie WordPress options were found after uninstall: 7 options
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- widget_online_status_insl_widget
- widget_theysaidso_widget
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Smoke test failed, please fix the following
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=Online_Status_InSL
- > User deprecated in wp-includes/functions.php+5737
Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following items
- 3× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/online-status-insl/class-online-status-insl.php
- > /wp-content/plugins/online-status-insl/online-status-insl.php
- > /wp-content/plugins/online-status-insl/class-online-status-insl-list-table.php
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function status_header() in wp-content/plugins/online-status-insl/save-channel.php:20
- > 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)
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
6 plugin tags: profile, status, online, second life, opensimulator...
online-status-insl/online-status-insl.php 92% from 13 tests
The main PHP file in "Online Status inSL" ver. 1.6.3 adds more information about the plugin and also serves as the entry point for this plugin
Please take the time to fix the following:
- Requires PHP: Required version must be the same as the one declared in readme.txt ("7.4" instead of "7.3")
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 detected1,642 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 123 | 528 | 1,193 |
PO File | 2 | 152 | 208 | 449 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 24.00 |
▷ Minimum class complexity | 21.00 |
▷ Maximum class complexity | 27.00 |
Average method complexity | 3.30 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 17.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 | 20 | |
▷ Static methods | 1 | 5.00% |
▷ Public methods | 18 | 90.00% |
▷ Protected methods | 1 | 5.00% |
▷ Private methods | 1 | 5.00% |
Functions | 12 | |
▷ Named functions | 12 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 2 | 66.67% |
▷ Class constants | 1 | 33.33% |
▷ 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