10% inwebo-login

Code Review | InWebo Login

WordPress plugin InWebo Login scored10%from 54 tests.

About plugin

  • Plugin page: inwebo-login
  • Plugin version: 1.2.1
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0-3.3.2
  • WordPress version: 6.3.1
  • First release: May 21, 2012
  • Latest release: May 23, 2012
  • Number of updates: 12
  • Update frequency: every 0.6 days
  • Top authors: Emmanuel_N (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /1,287 total downloads

Benchmarks

Plugin footprint 58% from 16 tests

Installer 0% from 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
It is recommended to fix the following installer errors
  • This plugin did not install gracefully
    • > User deprecated in wp-includes/functions.php+5653
    File registration.php is deprecated since version 3.1.0 with no alternative available. This file no longer needs to be included.

Server metrics [RAM: ▲0.00MB] [CPU: ▼7.51ms] Passed 4 tests

A check of server-side resources used by InWebo Login
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.51 ▲0.0041.23 ▼6.04
Dashboard /wp-admin3.35 ▲0.0048.24 ▼4.27
Posts /wp-admin/edit.php3.40 ▲0.0051.33 ▲2.82
Add New Post /wp-admin/post-new.php5.93 ▲0.0083.27 ▼18.09
Media Library /wp-admin/upload.php3.27 ▲0.0036.19 ▼1.62

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

A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 13 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-comments
theysaidso_admin_options
db_upgraded
widget_recent-posts
widget_theysaidso_widget
can_compress_scripts

Browser metrics Passed 4 tests

A check of browser resources used by InWebo Login
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,814 ▲5314.27 ▼0.081.99 ▲0.2544.53 ▼1.61
Dashboard /wp-admin2,195 ▲185.67 ▲0.1485.91 ▼17.1738.03 ▼5.90
Posts /wp-admin/edit.php2,100 ▼02.03 ▲0.0634.33 ▼3.3536.06 ▲0.84
Add New Post /wp-admin/post-new.php1,537 ▲618.17 ▼5.22651.24 ▼24.5868.57 ▲13.16
Media Library /wp-admin/upload.php1,400 ▼04.20 ▼0.02100.97 ▼4.6544.97 ▲2.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
Please fix the following items
  • Zombie WordPress options were found after uninstall: 6 options
    • widget_recent-comments
    • widget_recent-posts
    • widget_theysaidso_widget
    • can_compress_scripts
    • theysaidso_admin_options
    • db_upgraded

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test

SRP 50% from 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
Please fix the following items
  • 3× GET requests to PHP files trigger server-side errors or Error 500 responses:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/inwebo-login/inwebo.php:33
    • > PHP Fatal error
      Uncaught Error: Class 'SoapClient' not found in wp-content/plugins/inwebo-login/includes/AuthenticationService.php:37
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/inwebo-login/inwebometa.php:62

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found

Optimizations

Plugin configuration 93% from 29 tests

readme.txt Passed 16 tests

The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
5 plugin tags: authentication, one-time-password, saas, sso, security

inwebo-login/inwebo.php 85% from 13 tests

The main PHP script in "InWebo Login" version 1.2.1 is automatically included on every request by WordPress
You should first fix the following items:
  • Main file name: The principal plugin file should be the same as the plugin slug ("inwebo-login.php" instead of "inwebo.php")
  • Description: Please improve your description making it at least 10 characters long (currently 0 characters long)

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
No dangerous file extensions were detected441 lines of code in 10 files:
LanguageFilesBlank linesComment linesLines of code
PHP9103213345
XML157296

PHP code Passed 2 tests

A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.21
Average class complexity1.67
▷ Minimum class complexity1.00
▷ Maximum class complexity5.00
Average method complexity1.67
▷ Minimum method complexity1.00
▷ Maximum method complexity3.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes6
▷ Abstract classes00.00%
▷ Concrete classes6100.00%
▷ Final classes00.00%
Methods6
▷ Static methods00.00%
▷ Public methods6100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions13
▷ Named functions13100.00%
▷ Anonymous functions00.00%
Constants5
▷ Global constants5100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin