72% integromat-connector

Code Review | Make Connector

WordPress plugin Make Connector scored72%from 54 tests.

About plugin

  • Plugin page: integromat-connector
  • Plugin version: 1.5.8
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0-6.2
  • WordPress version: 6.3.1
  • First release: Feb 17, 2021
  • Latest release: May 22, 2023
  • Number of updates: 33
  • Update frequency: every 27.3 days
  • Top authors: integromat (100%)

Code review

54 tests

User reviews

17 reviews

Install metrics

10,000+ active /60,154 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully

Server metrics [RAM: ▲0.16MB] [CPU: ▼4.92ms] Passed 4 tests

Analyzing server-side resources used by Make Connector
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.66 ▲0.1540.84 ▼2.99
Dashboard /wp-admin3.52 ▲0.1352.57 ▼9.72
Posts /wp-admin/edit.php3.63 ▲0.2352.00 ▲1.88
Add New Post /wp-admin/post-new.php6.12 ▲0.1998.73 ▼8.85
Media Library /wp-admin/upload.php3.44 ▲0.1741.66 ▲6.46
Make /wp-admin/admin.php?page=integromat3.4137.79
Custom Taxonomies /wp-admin/admin.php?page=integromat_custom_toxonomies3.4235.09
Custom API Fields /wp-admin/admin.php?page=integromat_custom_fields3.5142.23

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

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

Browser metrics Passed 4 tests

Make Connector: an overview of browser usage
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,851 ▲9014.78 ▲0.431.68 ▼0.2041.67 ▲2.20
Dashboard /wp-admin2,257 ▲805.57 ▼0.1293.59 ▲3.9546.44 ▲3.19
Posts /wp-admin/edit.php2,162 ▲622.06 ▲0.0636.57 ▼3.0532.88 ▼5.33
Add New Post /wp-admin/post-new.php1,557 ▲3123.08 ▼0.52679.80 ▼24.0353.46 ▼0.20
Media Library /wp-admin/upload.php1,462 ▲624.28 ▲0.04102.08 ▼13.2247.79 ▼0.40
Make /wp-admin/admin.php?page=integromat8931.8928.5030.65
Custom Taxonomies /wp-admin/admin.php?page=integromat_custom_toxonomies8461.7826.4324.95
Custom API Fields /wp-admin/admin.php?page=integromat_custom_fields1,1931.9933.3732.48

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
  • Zombie WordPress options were found after uninstall: 6 options
    • can_compress_scripts
    • widget_recent-posts
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • db_upgraded
    • widget_recent-comments

Smoke tests 25% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Please fix the following server-side errors
  • 33 occurences, only the last one shown
    • > GET request to /wp-admin/admin.php?page=integromat_custom_fields
    • > Warning in wp-content/plugins/easy-age-verifier/lib/extras/wpApi.php+48
    file_get_contents(): php_network_getaddresses: getaddrinfo failed: Name or service not known
  • 33 occurences, only the last one shown
    • > GET request to /wp-admin/admin.php?page=integromat_custom_fields
    • > Warning in wp-content/plugins/easy-age-verifier/lib/extras/wpApi.php+48
    file_get_contents(http://www.fillyourtaproom.com/wp-json/wp/v2/posts?per_page=10): failed to open stream: php_network_getaddresses: getaddrinfo failed: Name or service not known

SRP 0% from 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
Almost there! Just fix the following items
  • 5× PHP files output non-empty strings when accessed directly via GET requests:
    • > /wp-content/plugins/integromat-connector/settings/events.php
    • > /wp-content/plugins/integromat-connector/api/authentication.php
    • > /wp-content/plugins/integromat-connector/index.php
    • > /wp-content/plugins/integromat-connector/api/response.php
    • > /wp-content/plugins/integromat-connector/settings/render.php
  • 5× PHP files trigger errors when accessed directly with GET requests:
    • > PHP Fatal error
      Uncaught Error: Class 'Integromat\\Meta_Object' not found in wp-content/plugins/integromat-connector/settings/object-types/class-post-meta.php:5
    • > PHP Fatal error
      Uncaught Error: Class 'Integromat\\Meta_Object' not found in wp-content/plugins/integromat-connector/settings/object-types/class-term-meta.php:5
    • > PHP Fatal error
      Uncaught Error: Call to undefined function Integromat\\add_filter() in wp-content/plugins/integromat-connector/settings/class-controller.php:58
    • > PHP Fatal error
      Uncaught Error: Class 'Integromat\\Meta_Object' not found in wp-content/plugins/integromat-connector/settings/object-types/class-user-meta.php:5
    • > PHP Fatal error
      Uncaught Error: Class 'Integromat\\Meta_Object' not found in wp-content/plugins/integromat-connector/settings/object-types/class-comments-meta.php:5

User-side errors Passed 1 test

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

Optimizations

Plugin configuration 96% 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
10 plugin tags: endpoint, data, api, endpoints, rest api...

integromat-connector/index.php 92% from 13 tests

"Make Connector" version 1.5.8's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
It is important to fix the following:
  • Main file name: It is recommended to name the main PHP file as the plugin slug ("integromat-connector.php" instead of "index.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
No dangerous file extensions were detected1,239 lines of code in 25 files:
LanguageFilesBlank linesComment linesLines of code
PHP221901181,054
CSS13010136
JavaScript17237
SVG10012

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.34
Average class complexity8.31
▷ Minimum class complexity1.00
▷ Maximum class complexity36.00
Average method complexity2.88
▷ Minimum method complexity1.00
▷ Maximum method complexity17.00
Code structure
Namespaces1
Interfaces0
Traits0
Classes12
▷ Abstract classes00.00%
▷ Concrete classes12100.00%
▷ Final classes00.00%
Methods33
▷ Static methods2678.79%
▷ Public methods2163.64%
▷ Protected methods00.00%
▷ Private methods1236.36%
Functions34
▷ Named functions25.88%
▷ Anonymous functions3294.12%
Constants7
▷ Global constants342.86%
▷ Class constants457.14%
▷ Public constants4100.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin