84% orbisius-messenger

Code Review | Orbisius Messenger

WordPress plugin Orbisius Messenger scored84%from 54 tests.

About plugin

  • Plugin page: orbisius-messenger
  • Plugin version: 1.0.2
  • PHP version: 7.4.16
  • WordPress compatibility: 2.6-4.1
  • WordPress version: 6.3.1
  • First release: Jan 27, 2015
  • Latest release: Feb 3, 2015
  • Number of updates: 10
  • Update frequency: every 0.8 days
  • Top authors: lordspace (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /1,653 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▲0.11MB] [CPU: ▼10.51ms] Passed 4 tests

Analyzing server-side resources used by Orbisius Messenger
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.57 ▲0.1149.68 ▲10.53
Dashboard /wp-admin3.41 ▲0.1146.21 ▼5.95
Posts /wp-admin/edit.php3.46 ▲0.1145.07 ▲0.63
Add New Post /wp-admin/post-new.php5.99 ▲0.1192.12 ▼36.76
Media Library /wp-admin/upload.php3.34 ▲0.1135.60 ▲0.05
Orbisius Messenger /wp-admin/options-general.php?page=orbisius-messenger/orbisius-messenger.php3.3032.42

Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests

Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options
theysaidso_admin_options
db_upgraded
widget_recent-comments
widget_recent-posts
can_compress_scripts
widget_theysaidso_widget

Browser metrics Passed 4 tests

Checking browser requirements for Orbisius Messenger
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,973 ▲22714.02 ▼0.7211.11 ▲9.3046.41 ▲3.07
Dashboard /wp-admin2,212 ▲245.84 ▲0.9697.35 ▼24.1036.13 ▼11.00
Posts /wp-admin/edit.php2,098 ▲92.03 ▲0.0339.84 ▲0.8335.25 ▲2.30
Add New Post /wp-admin/post-new.php1,542 ▲2018.27 ▼4.91595.98 ▼49.6860.39 ▲4.03
Media Library /wp-admin/upload.php1,398 ▲164.25 ▲0.0294.46 ▼14.7143.50 ▼5.06
Orbisius Messenger /wp-admin/options-general.php?page=orbisius-messenger/orbisius-messenger.php1,5825.0098.3938.88

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
  • Zombie WordPress options were found after uninstall: 6 options
    • widget_recent-posts
    • db_upgraded
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • can_compress_scripts
    • widget_recent-comments

Smoke tests 75% from 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 50% 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
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 add_action() in wp-content/plugins/orbisius-messenger/orbisius-messenger.php:30

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 88% from 16 tests

Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need to be fixed:
  • Screenshots: Please add an image for screenshot #1 (Settings Page)
  • Tags: Too many tags (17 tag instead of maximum 10); only the first 5 tags are used in your directory listing
The official readme.txt might help

orbisius-messenger/orbisius-messenger.php Passed 13 tests

The primary PHP file in "Orbisius Messenger" version 1.0.2 is used by WordPress to initiate all plugin functionality
81 characters long description:
Makes the automated attempts to wait and then it shows an internal error message.

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
Everything looks great! No dangerous files found in this plugin625 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP114282619
JavaScript1016

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.21
Average class complexity21.50
▷ Minimum class complexity6.00
▷ Maximum class complexity37.00
Average method complexity4.42
▷ Minimum method complexity1.00
▷ Maximum method complexity20.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes2
▷ Abstract classes00.00%
▷ Concrete classes2100.00%
▷ Final classes00.00%
Methods12
▷ Static methods18.33%
▷ Public methods12100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin