83% maestro-connector

Code Review | Maestro Connector

WordPress plugin Maestro Connector scored83%from 54 tests.

About plugin

  • Plugin page: maestro-connector
  • Plugin version: 1.2.0
  • PHP compatiblity: 7.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.7-6.1
  • WordPress version: 6.3.1
  • First release: Apr 14, 2020
  • Latest release: Feb 6, 2023
  • Number of updates: 18
  • Update frequency: every 57.1 days
  • Top authors: BlueHost (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

1,000+ active /9,626 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully

Server metrics [RAM: ▲0.40MB] [CPU: ▼2.91ms] Passed 4 tests

Server-side resources used by Maestro Connector
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.81 ▲0.3536.21 ▲0.90
Dashboard /wp-admin3.74 ▲0.3946.63 ▼12.84
Posts /wp-admin/edit.php3.79 ▲0.4350.63 ▼2.12
Add New Post /wp-admin/post-new.php6.56 ▲0.6794.53 ▲4.14
Media Library /wp-admin/upload.php3.66 ▲0.4339.21 ▲2.43
Bluehost Maestro /wp-admin/users.php?page=bluehost-maestro3.5633.23

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

Filesystem and database footprint
This plugin installed successfully
Filesystem: 77 new files
Database: no new tables, 7 new options
New WordPress options
widget_recent-posts
theysaidso_admin_options
can_compress_scripts
newfold_active_modules
widget_theysaidso_widget
db_upgraded
widget_recent-comments

Browser metrics Passed 4 tests

An overview of browser requirements for Maestro Connector
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,804 ▲5813.21 ▼1.171.56 ▼0.2340.37 ▼4.37
Dashboard /wp-admin2,210 ▲224.85 ▼1.04107.62 ▼2.9340.71 ▼0.32
Posts /wp-admin/edit.php2,093 ▲42.00 ▼0.0239.23 ▲0.9634.47 ▲2.43
Add New Post /wp-admin/post-new.php1,517 ▼1617.46 ▼5.59642.46 ▼30.6549.31 ▼5.91
Media Library /wp-admin/upload.php1,392 ▲44.21 ▲0.0193.43 ▼7.4542.41 ▼0.25
Bluehost Maestro /wp-admin/users.php?page=bluehost-maestro8302.0424.7343.99

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

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
  • Zombie WordPress options detected upon uninstall: 7 options
    • widget_theysaidso_widget
    • db_upgraded
    • can_compress_scripts
    • widget_recent-posts
    • theysaidso_admin_options
    • widget_recent-comments
    • newfold_active_modules

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

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

SRP 50% from 2 tests

🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following items
  • 18× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
    • > PHP Fatal error
      Uncaught Error: Class 'WP_Forge\\Fluent\\Fluent' not found in wp-content/plugins/maestro-connector/vendor/newfold-labs/wp-module-loader/includes/Module.php:23
    • > PHP Fatal error
      Uncaught Error: Interface 'NewfoldLabs\\Container\\ContainerExceptionInterface' not found in wp-content/plugins/maestro-connector/vendor/newfold-labs/container/includes/ContainerException.php:12
    • > PHP Fatal error
      Uncaught Error: Class 'WP_REST_Controller' not found in wp-content/plugins/maestro-connector/vendor/newfold-labs/wp-module-maestro/includes/RestApi/WebProsController.php:15
    • > PHP Fatal error
      Uncaught Error: Class 'WP_REST_Controller' not found in wp-content/plugins/maestro-connector/vendor/newfold-labs/wp-module-maestro/includes/RestApi/ThemesController.php:18
    • > PHP Fatal error
      Uncaught Error: Class 'WP_REST_Controller' not found in wp-content/plugins/maestro-connector/vendor/newfold-labs/wp-module-maestro/includes/RestApi/SSOController.php:15
    • > PHP Fatal error
      Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/maestro-connector/inc/partials/requirements.php:2
    • > PHP Fatal error
      Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/maestro-connector/inc/partials/user-profile-section.php:1
    • > PHP Fatal error
      Uncaught Error: Class 'WP_REST_Controller' not found in wp-content/plugins/maestro-connector/vendor/newfold-labs/wp-module-maestro/includes/RestApi/SiteDetailsController.php:16
    • > PHP Fatal error
      Uncaught Error: Class 'WP_REST_Controller' not found in wp-content/plugins/maestro-connector/vendor/newfold-labs/wp-module-maestro/includes/RestApi/PluginsController.php:18
    • > PHP Fatal error
      Uncaught Error: Interface 'NewfoldLabs\\Container\otFoundExceptionInterface' not found in wp-content/plugins/maestro-connector/vendor/newfold-labs/container/includes/NotFoundException.php:12

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side

Optimizations

Plugin configuration 90% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need your attention: The official readme.txt is a good inspiration

maestro-connector/maestro-connector.php 85% from 13 tests

Analyzing the main PHP file in "Maestro Connector" version 1.2.0
It is important to fix the following:
  • Domain Path: Prefix the domain path with a forward slash character ("/languages")
  • Domain Path: Use only dashes and lowercase characters for the domain path ("languages")

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
Success! There were no dangerous files found in this plugin5,580 lines of code in 71 files:
LanguageFilesBlank linesComment linesLines of code
PHP551,1073,1964,167
Markdown62840700
JSON100333
CSS120146
JavaScript1130113
YAML3201112
SVG4009

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.37
Average class complexity13.39
▷ Minimum class complexity1.00
▷ Maximum class complexity73.00
Average method complexity2.62
▷ Minimum method complexity1.00
▷ Maximum method complexity22.00
Code structure
Namespaces13
Interfaces3
Traits0
Classes35
▷ Abstract classes00.00%
▷ Concrete classes35100.00%
▷ Final classes00.00%
Methods287
▷ Static methods4716.38%
▷ Public methods25789.55%
▷ Protected methods20.70%
▷ Private methods289.76%
Functions28
▷ Named functions1760.71%
▷ Anonymous functions1139.29%
Constants9
▷ Global constants666.67%
▷ Class constants333.33%
▷ Public constants3100.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

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