89% basepress-oxygen-integration

Code Review | BasePress Knowledge Base + Oxygen Visual Site Builder Integration

WordPress plugin BasePress Knowledge Base + Oxygen Visual Site Builder Integration scored 89% from 54 tests.

About plugin

  • Plugin page: basepress-oxygen-...
  • Plugin version: 1.0.2
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.5-5.7
  • WordPress version: 6.3.1
  • First release: Aug 15, 2019
  • Latest release: May 24, 2021
  • Number of updates: 14
  • Update frequency: every 46.4 days
  • Top authors: codesavory (100%)

Code review

54 tests

User reviews

3 reviews

Install metrics

70+ active / 1,545 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
Install script ran successfully

Server metrics [RAM: ▲0.01MB] [CPU: ▼0.60ms] Passed 4 tests

Analyzing server-side resources used by BasePress Knowledge Base + Oxygen Visual Site Builder Integration
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0144.64 ▲4.28
Dashboard /wp-admin3.32 ▲0.0151.84 ▼0.65
Posts /wp-admin/edit.php3.37 ▲0.0153.56 ▼2.39
Add New Post /wp-admin/post-new.php5.90 ▲0.01104.22 ▲6.90
Media Library /wp-admin/upload.php3.24 ▲0.0136.33 ▼3.63

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

Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options
widget_theysaidso_widget
widget_recent-comments
widget_recent-posts
can_compress_scripts
db_upgraded
theysaidso_admin_options

Browser metrics Passed 4 tests

BasePress Knowledge Base + Oxygen Visual Site Builder Integration: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲1113.66 ▲0.401.93 ▲0.1245.71 ▲2.55
Dashboard /wp-admin2,206 ▼35.88 ▼0.03111.72 ▲8.6139.60 ▼8.51
Posts /wp-admin/edit.php2,089 ▲32.05 ▲0.0140.59 ▲2.6937.06 ▲1.97
Add New Post /wp-admin/post-new.php1,540 ▲16122.90 ▲5.15673.47 ▲20.8055.86 ▲4.16
Media Library /wp-admin/upload.php1,388 ▼04.20 ▼0.02109.28 ▲13.4049.22 ▲7.55

Uninstaller [IO: ✅] [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 detected upon uninstall: 6 options
    • widget_recent-posts
    • widget_theysaidso_widget
    • widget_recent-comments
    • theysaidso_admin_options
    • can_compress_scripts
    • db_upgraded

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test

SRP Passed 2 tests

🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The SRP test was a success

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected

Optimizations

Plugin configuration 93% from 29 tests

readme.txt Passed 16 tests

The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
7 plugin tags: oxygen, knowledge base, site builder, page builder, help desk...

basepress-oxygen-integration/basepress-oxygen-integration.php 85% from 13 tests

The entry point to "BasePress Knowledge Base + Oxygen Visual Site Builder Integration" version 1.0.2 is a PHP file that has certain tags in its header comment area
The following require your attention:
  • Domain Path: The domain path points to a folder that does not exist ("/languages")
  • Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Everything looks great! No dangerous files found in this plugin34 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP2123334

PHP code Passed 2 tests

An overview of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity
Average complexity per logical line of code0.20
Average class complexity2.00
▷ Minimum class complexity2.00
▷ Maximum class complexity2.00
Average method complexity1.25
▷ Minimum method complexity1.00
▷ Maximum method complexity2.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

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