Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.12MB] [CPU: ▼0.92ms] Passed 4 tests
This is a short check of server-side resources used by OpenSimulator Bridge
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.58 ▲0.12 | 37.21 ▲1.83 |
Dashboard /wp-admin | 3.42 ▲0.12 | 46.86 ▲2.11 |
Posts /wp-admin/edit.php | 3.54 ▲0.18 | 46.21 ▲1.14 |
Add New Post /wp-admin/post-new.php | 6.01 ▲0.11 | 82.05 ▼7.95 |
Media Library /wp-admin/upload.php | 3.35 ▲0.11 | 34.93 ▲1.29 |
OpenSimulator /wp-admin/options-general.php?page=wpos_settings | 3.31 | 35.33 |
Server storage [IO: ▲0.48MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 50 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for OpenSimulator Bridge
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.17 ▼0.26 | 1.72 ▲0.05 | 37.48 ▼4.36 |
Dashboard /wp-admin | 2,199 ▲22 | 5.49 ▼0.18 | 85.38 ▼2.43 | 40.16 ▼4.11 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.03 ▲0.02 | 34.01 ▼2.53 | 35.89 ▲0.06 |
Add New Post /wp-admin/post-new.php | 1,529 ▲3 | 23.36 ▲0.23 | 693.78 ▲17.46 | 58.84 ▲2.13 |
Media Library /wp-admin/upload.php | 1,401 ▲1 | 4.23 ▼0.01 | 105.12 ▲8.70 | 45.08 ▼1.94 |
OpenSimulator /wp-admin/options-general.php?page=wpos_settings | 810 | 2.02 | 26.66 | 32.55 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Almost there! Just fix the following items
- 3× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/opensimulator-bridge/vendor/phpxmlrpc/phpxmlrpc/debugger/index.php
- > /wp-content/plugins/opensimulator-bridge/vendor/phpxmlrpc/phpxmlrpc/debugger/action.php
- > /wp-content/plugins/opensimulator-bridge/vendor/phpxmlrpc/phpxmlrpc/debugger/controller.php
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function wposbridge\\add_action() in wp-content/plugins/opensimulator-bridge/class-profile.php:22
- > PHP Fatal error
Uncaught Error: Class 'PhpXmlRpc\\Exception\\PhpXmlrpcException' not found in wp-content/plugins/opensimulator-bridge/vendor/phpxmlrpc/phpxmlrpc/src/Exception/HttpException.php:5
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
5 plugin tags: opensimulator, second life, metaverse, opensim, xmlrpc
opensimulator-bridge/opensimulator-bridge.php 92% from 13 tests
The principal PHP file in "OpenSimulator Bridge" v. 0.1.4 is loaded by WordPress automatically on each request
You should first fix the following items:
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected7,132 lines of code in 43 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 34 | 899 | 2,878 | 6,042 |
Markdown | 3 | 372 | 0 | 706 |
Pascal | 3 | 66 | 305 | 263 |
JSON | 3 | 0 | 0 | 121 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.57 |
Average class complexity | 47.62 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 230.00 |
Average method complexity | 5.91 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 52.00 |
Code structure | ||
---|---|---|
Namespaces | 6 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 24 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 24 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 224 | |
▷ Static methods | 49 | 21.88% |
▷ Public methods | 197 | 87.95% |
▷ Protected methods | 24 | 10.71% |
▷ Private methods | 3 | 1.34% |
Functions | 11 | |
▷ Named functions | 4 | 36.36% |
▷ Anonymous functions | 7 | 63.64% |
Constants | 10 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 10 | 100.00% |
▷ Public constants | 10 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin