10% bizconnector

Code Review | bizconnector

WordPress plugin bizconnector scored10%from 54 tests.

About plugin

  • Plugin page: bizconnector
  • Plugin version: 1.0.0
  • PHP version: 7.4.16
  • WordPress compatibility: 2.8-4.5.1
  • WordPress version: 6.3.1
  • First release: Jun 1, 2016
  • Latest release: May 30, 2016
  • Number of updates: 2
  • Update frequency: every 0.5 days
  • Top authors: colingoldbergatmacmicro (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /794 total downloads

Benchmarks

Plugin footprint 58% from 16 tests

Installer 0% from 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
These installer errors require your attention
  • Install procedure validation failed for this plugin
    • > Deprecated in wp-content/plugins/bizconnector/models/attachment.php+3
    Methods with the same name as their class will not be constructors in a future version of PHP; bizconnector_Attachment has a deprecated constructor

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

An overview of server-side resources used by bizconnector
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.49 ▲0.0241.32 ▼4.51
Dashboard /wp-admin3.32 ▼0.0348.40 ▼18.59
Posts /wp-admin/edit.php3.37 ▲0.0244.61 ▼6.46
Add New Post /wp-admin/post-new.php5.90 ▲0.0184.24 ▼13.17
Media Library /wp-admin/upload.php3.24 ▲0.0139.98 ▲2.05
bizconnector /wp-admin/options-general.php?page=bizconnector3.1931.32

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

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

Browser metrics Passed 4 tests

bizconnector: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,793 ▲714.41 ▼0.311.64 ▼0.3045.89 ▲2.94
Dashboard /wp-admin2,199 ▲225.56 ▲0.0387.84 ▼11.6141.59 ▲0.77
Posts /wp-admin/edit.php2,104 ▲72.00 ▲0.0134.94 ▼0.5638.61 ▲2.74
Add New Post /wp-admin/post-new.php1,529 ▲322.99 ▼0.02667.84 ▲6.6155.99 ▲0.14
Media Library /wp-admin/upload.php1,407 ▲164.20 ▲0.0498.10 ▲0.7647.34 ▲4.20
bizconnector /wp-admin/options-general.php?page=bizconnector7601.9923.8723.57

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
  • Zombie WordPress options were found after uninstall: 6 options
    • can_compress_scripts
    • widget_recent-comments
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • widget_recent-posts
    • db_upgraded

Smoke tests 50% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
These errors were triggered by the plugin
    • > GET request to /wp-admin/options-general.php?page=bizconnector
    • > Warning in wp-content/plugins/bizconnector/singletons/api.php+75
    include(bizc_admin.php): failed to open stream: No such file or directory
    • > GET request to /wp-admin/options-general.php?page=bizconnector
    • > Warning in wp-content/plugins/bizconnector/singletons/api.php+75
    include(): Failed opening 'bizc_admin.php' for inclusion (include_path='.:/usr/share/php')

SRP 50% from 2 tests

🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Almost there! Just 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/bizconnector/bizconnector.php:79

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side

Optimizations

Plugin configuration Passed 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
6 plugin tags: marketing automation, api, integration, json, blog post...

bizconnector/bizconnector.php Passed 13 tests

This is the main PHP file of "bizconnector" version 1.0.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
35 characters long description:
A plugin for BizConnector customers

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Everything looks great! No dangerous files found in this plugin3,834 lines of code in 41 files:
LanguageFilesBlank linesComment linesLines of code
PHP414694113,834

PHP code Passed 2 tests

This is a short overview of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity
Average complexity per logical line of code0.41
Average class complexity27.53
▷ Minimum class complexity1.00
▷ Maximum class complexity127.00
Average method complexity4.34
▷ Minimum method complexity1.00
▷ Maximum method complexity67.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes17
▷ Abstract classes00.00%
▷ Concrete classes17100.00%
▷ Final classes00.00%
Methods135
▷ Static methods00.00%
▷ Public methods12894.81%
▷ Protected methods75.19%
▷ Private methods00.00%
Functions7
▷ Named functions7100.00%
▷ Anonymous functions00.00%
Constants8
▷ Global constants8100.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
No PNG files were detected