99% ud-connector-for-oxygen

Code Review | UD Connector for Oxygen

WordPress plugin UD Connector for Oxygen scored 99% from 54 tests.

About plugin

  • Plugin page: ud-connector-for-...
  • Plugin version: 0.1.3
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.2.4-5.3.2
  • WordPress version: 5.8.1
  • First release: Mar 24, 2020
  • Latest release: Mar 24, 2020
  • Number of updates: 2
  • Update frequency: every 2.0 days
  • Top authors: luciandinu (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 213 total downloads

Benchmarks

Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors

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

An overview of server-side resources used by UD Connector for Oxygen
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /2.84 ▲0.1237.50 ▲6.42
Dashboard /wp-admin3.06 ▲0.0147.47 ▲2.39
Posts /wp-admin/edit.php3.12 ▼0.0052.21 ▼11.92
Add New Post /wp-admin/post-new.php5.42 ▼0.0193.23 ▼593.45
Media Library /wp-admin/upload.php3.01 ▲0.0133.69 ▼1.91

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

Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 12 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

UD Connector for Oxygen: an overview of browser usage
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,679 ▲4215.99 ▼0.048.11 ▼1.7944.98 ▼7.29
Dashboard /wp-admin2,967 ▲335.85 ▼0.10141.43 ▼15.42111.41 ▼12.33
Posts /wp-admin/edit.php2,739 ▼02.69 ▼0.0169.35 ▼3.3497.49 ▼4.81
Add New Post /wp-admin/post-new.php1,670 ▼1319.16 ▲0.50393.24 ▲15.31117.57 ▼10.86
Media Library /wp-admin/upload.php1,810 ▲35.04 ▲0.01155.44 ▲1.92125.47 ▲2.51

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The plugin uninstalled successfully, without leaving any zombie files or tables

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)
Good news, no errors were detected

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
Looking good! No server-side errors or output on direct access of PHP files

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 94% 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 your attention:
  • Donate link: Invalid URI found ("")
You can take inspiration from this readme.txt

ud-connector-for-oxygen/udesign-connector.php 92% from 13 tests

The entry point to "UD Connector for Oxygen" version 0.1.3 is a PHP file that has certain tags in its header comment area
It is important to fix the following:
  • Main file name: Please rename the main PHP file in this plugin to the plugin slug ("ud-connector-for-oxygen.php" instead of "udesign-connector.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
No dangerous file extensions were detected203 lines of code in 11 files:
LanguageFilesBlank linesComment linesLines of code
SVG80067
JavaScript1112362
CSS110343
PHP1121431

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.40
Average class complexity4.00
▷ Minimum class complexity4.00
▷ Maximum class complexity4.00
Average method complexity1.75
▷ Minimum method complexity1.00
▷ Maximum method complexity3.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods4
▷ Static methods00.00%
▷ Public methods4100.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

Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG images were found in this plugin