10% pedalo-connector

Code Review | Pedalo Connector

WordPress plugin Pedalo Connector scored10%from 54 tests.

About plugin

  • Plugin page: pedalo-connector
  • Plugin version: 2.0.5
  • PHP compatiblity: 7.2+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0-5.9
  • WordPress version: 6.3.1
  • First release: Mar 10, 2021
  • Latest release: Mar 29, 2022
  • Number of updates: 49
  • Update frequency: every 7.9 days
  • Top authors: pedaloagency (100%)

Code review

54 tests

User reviews

1 review

Install metrics

100+ active /4,044 total downloads

Benchmarks

Plugin footprint 40% from 16 tests

Installer 0% from 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
You still need to fix the following installer errors
  • This plugin did not install gracefully
    • > Notice in wp-content/plugins/pedalo-connector/public/class-pedalo_connector-public.php+61
    Undefined variable: _plugin_name

Server metrics [RAM: ▼1.96MB] [CPU: ▼54.02ms] Passed 4 tests

An overview of server-side resources used by Pedalo Connector
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /2.03 ▼1.444.42 ▼32.68
Dashboard /wp-admin2.05 ▼1.265.51 ▼43.74
Posts /wp-admin/edit.php2.05 ▼1.314.94 ▼42.47
Add New Post /wp-admin/post-new.php2.05 ▼3.845.69 ▼97.18
Media Library /wp-admin/upload.php2.05 ▼1.185.79 ▼27.66
Pedalo Connector /wp-admin/options-general.php?page=pedalo-connector2.055.68

Server storage [IO: ▲0.64MB] [DB: ▲0.07MB] Passed 3 tests

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

Browser metrics Passed 4 tests

This is an overview of browser requirements for Pedalo Connector
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,804 ▲5813.30 ▼1.081.83 ▼0.0145.10 ▲7.87
Dashboard /wp-admin2,210 ▲185.78 ▲0.8295.55 ▼15.0238.17 ▼6.85
Posts /wp-admin/edit.php2,090 ▲12.02 ▲0.0239.45 ▲2.3135.30 ▲3.18
Add New Post /wp-admin/post-new.php1,537 ▲2323.04 ▲5.48671.99 ▲20.9654.56 ▼2.46
Media Library /wp-admin/upload.php1,392 ▲14.22 ▼0.01110.10 ▲12.5342.52 ▲1.09
Pedalo Connector /wp-admin/options-general.php?page=pedalo-connector9784.4850.6836.54

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
  • The plugin did not uninstall gracefully
    • > Notice in wp-content/plugins/pedalo-connector/public/class-pedalo_connector-public.php+61
    Undefined variable: _plugin_name
  • Zombie WordPress options detected upon uninstall: 6 options
    • db_upgraded
    • widget_theysaidso_widget
    • widget_recent-comments
    • theysaidso_admin_options
    • can_compress_scripts
    • widget_recent-posts

Smoke tests 25% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
These server-side errors were triggered
    • > GET request to /wp-admin/options-general.php?page=pedalo-connector
    • > Notice in wp-content/plugins/pedalo-connector/public/class-pedalo_connector-public.php+61
    Undefined variable: _plugin_name
    • > GET request to /wp-admin/options-general.php?page=pedalo-connector
    • > Notice in wp-content/plugins/pedalo-connector/public/class-pedalo_connector-public.php+62
    Undefined variable: _version
    • > GET request to /wp-admin/options-general.php?page=pedalo-connector
    • > Notice in wp-content/plugins/pedalo-connector/public/class-pedalo_connector-public.php+121
    Undefined index: dd
    • > GET request to /wp-admin/options-general.php?page=pedalo-connector
    • > Warning in wp-content/plugins/pedalo-connector/admin/partials/dashboard.php+26
    file_get_contents(): php_network_getaddresses: getaddrinfo failed: Name or service not known
    • > GET request to /wp-admin/options-general.php?page=pedalo-connector
    • > Warning in wp-content/plugins/pedalo-connector/admin/partials/dashboard.php+26
    file_get_contents(http://pedalo-support.discovertheweb.co.uk/plugindashboard): failed to open stream: php_network_getaddresses: getaddrinfo failed: Name or service not known
    • > GET request to /wp-admin/options-general.php?page=pedalo-connector
    • > Notice in wp-content/plugins/pedalo-connector/admin/partials/results.php+6
    Trying to get property 'Insights_History_Data_for_Desktop' of non-object
  • 2 occurences, only the last one shown
    • > GET request to /wp-admin/options-general.php?page=pedalo-connector
    • > Warning in wp-content/plugins/pedalo-connector/admin/partials/results.php+13
    Invalid argument supplied for foreach()
    • > GET request to /wp-admin/options-general.php?page=pedalo-connector
    • > Notice in wp-content/plugins/pedalo-connector/admin/partials/results.php+13
    Trying to get property 'Insights_History_Data_for_Mobile' of non-object
  • 5 occurences, only the last one shown
    • > GET request to /wp-admin/options-general.php?page=pedalo-connector
    • > Notice in wp-content/plugins/pedalo-connector/admin/partials/ctas.php+106
    Trying to get property 'Critial_Severity_Issues' of non-object
    • > GET request to /wp-admin/options-general.php?page=pedalo-connector
    • > Notice in wp-content/plugins/pedalo-connector/admin/partials/results.php+37
    Trying to get property 'Security_Related_Plugin_Issues' of non-object
    • > GET request to /wp-admin/options-general.php?page=pedalo-connector
    • > Notice in wp-content/plugins/pedalo-connector/admin/partials/results.php+41
    Trying to get property 'Unpatched_Security_Vulnerability_Issues' of non-object
    • > GET request to /wp-admin/options-general.php?page=pedalo-connector
    • > Notice in wp-content/plugins/pedalo-connector/admin/partials/results.php+45
    Trying to get property 'Publicly_Accessible_Files' of non-object
    • > GET request to /wp-admin/options-general.php?page=pedalo-connector
    • > Notice in wp-content/plugins/pedalo-connector/admin/partials/results.php+49
    Trying to get property 'Removed_from_Wordpressorg' of non-object
    • > GET request to /wp-admin/options-general.php?page=pedalo-connector
    • > Notice in wp-content/plugins/pedalo-connector/admin/partials/results.php+53
    Trying to get property 'Files_Containing_Malicious_Code' of non-object
    • > GET request to /wp-admin/options-general.php?page=pedalo-connector
    • > Notice in wp-content/plugins/pedalo-connector/admin/partials/results.php+57
    Trying to get property 'Wordpress_Core_Update_Notices' of non-object
    • > GET request to /wp-admin/options-general.php?page=pedalo-connector
    • > Notice in wp-content/plugins/pedalo-connector/admin/partials/results.php+61
    Trying to get property 'Admin_Created_Outside_WP' of non-object
    • > GET request to /wp-admin/options-general.php?page=pedalo-connector
    • > Notice in wp-content/plugins/pedalo-connector/admin/partials/results.php+65
    Trying to get property 'Unknown_Files_in_WP_Core' of non-object
    • > GET request to /wp-admin/options-general.php?page=pedalo-connector
    • > Notice in wp-content/plugins/pedalo-connector/admin/partials/results.php+69
    Trying to get property 'Users_with_Weak_Passwords' of non-object
    • > GET request to /wp-admin/options-general.php?page=pedalo-connector
    • > Notice in wp-content/plugins/pedalo-connector/admin/partials/results.php+73
    Trying to get property 'Plugins_Requiring_an_Update' of non-object
    • > GET request to /wp-admin/options-general.php?page=pedalo-connector
    • > Notice in wp-content/plugins/pedalo-connector/admin/partials/results.php+77
    Trying to get property 'Abandoned_Plugins' of non-object
    • > GET request to /wp-admin/options-general.php?page=pedalo-connector
    • > Notice in wp-content/plugins/pedalo-connector/admin/partials/results.php+81
    Trying to get property 'Modified_Plugin_Files' of non-object
    • > GET request to /wp-admin/options-general.php?page=pedalo-connector
    • > Notice in wp-content/plugins/pedalo-connector/admin/partials/results.php+85
    Trying to get property 'Modified_Theme_Files' of non-object
    • > GET request to /wp-admin/options-general.php?page=pedalo-connector
    • > Notice in wp-content/plugins/pedalo-connector/admin/partials/results.php+89
    Trying to get property 'Plugin_Status' of non-object
    • > GET request to /wp-admin/options-general.php?page=pedalo-connector
    • > Notice in wp-content/plugins/pedalo-connector/admin/partials/results.php+93
    Trying to get property 'Total_Plugins' of non-object
    • > GET request to /wp-admin/options-general.php?page=pedalo-connector
    • > Notice in wp-content/plugins/pedalo-connector/admin/partials/results.php+97
    Trying to get property 'Active_Plugins' of non-object
  • 5 occurences, only the last one shown
    • > GET request to /wp-admin/options-general.php?page=pedalo-connector
    • > Notice in wp-content/plugins/pedalo-connector/admin/partials/ctas.php+119
    Trying to get property 'Inactive_Plugins' of non-object
  • 5 occurences, only the last one shown
    • > GET request to /wp-admin/options-general.php?page=pedalo-connector
    • > Notice in wp-content/plugins/pedalo-connector/admin/partials/ctas.php+119
    Trying to get property 'Available_Updates' of non-object
    • > GET request to /wp-admin/options-general.php?page=pedalo-connector
    • > Notice in wp-content/plugins/pedalo-connector/admin/partials/results.php+109
    Trying to get property 'Updates_Last_30_Days' of non-object
    • > GET request to /wp-admin/options-general.php?page=pedalo-connector
    • > Notice in wp-content/plugins/pedalo-connector/admin/partials/results.php+113
    Trying to get property 'Updates_Last_7_Days' of non-object
    • > GET request to /wp-admin/options-general.php?page=pedalo-connector
    • > Notice in wp-content/plugins/pedalo-connector/admin/partials/results.php+117
    Trying to get property 'Updates_Today' of non-object
  • 4 occurences, only the last one shown
    • > GET request to /wp-admin/options-general.php?page=pedalo-connector
    • > Notice in wp-content/plugins/pedalo-connector/admin/partials/results.php+124
    Trying to get property 'Uptime_Last_30_Days' of non-object
    • > GET request to /wp-admin/options-general.php?page=pedalo-connector
    • > Notice in wp-content/plugins/pedalo-connector/admin/partials/results.php+124
    Undefined variable: strUptimeTotal
  • 4 occurences, only the last one shown
    • > GET request to /wp-admin/options-general.php?page=pedalo-connector
    • > Notice in wp-content/plugins/pedalo-connector/admin/partials/results.php+130
    Trying to get property 'Uptime_Last_7_Days' of non-object
  • 4 occurences, only the last one shown
    • > GET request to /wp-admin/options-general.php?page=pedalo-connector
    • > Notice in wp-content/plugins/pedalo-connector/admin/partials/results.php+136
    Trying to get property 'Uptime_Today' of non-object
  • 10 occurences, only the last one shown
    • > GET request to /wp-admin/options-general.php?page=pedalo-connector
    • > Notice in wp-content/plugins/pedalo-connector/admin/partials/results.php+472
    Trying to get property 'Cumulative_Layout_Shift_CLS_Mobile' of non-object
    • > GET request to /wp-admin/options-general.php?page=pedalo-connector
    • > Notice in wp-content/plugins/pedalo-connector/admin/partials/results.php+143
    Undefined variable: strCoreWebVitalsMobileTotal
  • 10 occurences, only the last one shown
    • > GET request to /wp-admin/options-general.php?page=pedalo-connector
    • > Notice in wp-content/plugins/pedalo-connector/admin/partials/results.php+460
    Trying to get property 'Largest_Contentful_Paint_LCP_Mobile' of non-object
  • 5 occurences, only the last one shown
    • > GET request to /wp-admin/options-general.php?page=pedalo-connector
    • > Notice in wp-content/plugins/pedalo-connector/admin/partials/results.php+444
    Trying to get property 'First_Input_Delay_FID_Mobile' of non-object
  • 10 occurences, only the last one shown
    • > GET request to /wp-admin/options-general.php?page=pedalo-connector
    • > Notice in wp-content/plugins/pedalo-connector/admin/partials/results.php+436
    Trying to get property 'Cumulative_Layout_Shift_CLS_Desktop' of non-object
    • > GET request to /wp-admin/options-general.php?page=pedalo-connector
    • > Notice in wp-content/plugins/pedalo-connector/admin/partials/results.php+164
    Undefined variable: strCoreWebVitalsDesktopTotal
  • 10 occurences, only the last one shown
    • > GET request to /wp-admin/options-general.php?page=pedalo-connector
    • > Notice in wp-content/plugins/pedalo-connector/admin/partials/results.php+424
    Trying to get property 'Largest_Contentful_Paint_LCP_Desktop' of non-object
  • 5 occurences, only the last one shown
    • > GET request to /wp-admin/options-general.php?page=pedalo-connector
    • > Notice in wp-content/plugins/pedalo-connector/admin/partials/results.php+409
    Trying to get property 'First_Input_Delay_FID_Desktop' of non-object
    • > GET request to /wp-admin/options-general.php?page=pedalo-connector
    • > Notice in wp-content/plugins/pedalo-connector/admin/partials/results.php+182
    Trying to get property 'Certificate' of non-object
    • > GET request to /wp-admin/options-general.php?page=pedalo-connector
    • > Notice in wp-content/plugins/pedalo-connector/admin/partials/results.php+182
    Trying to access array offset on value of type null
    • > GET request to /wp-admin/options-general.php?page=pedalo-connector
    • > Notice in wp-content/plugins/pedalo-connector/admin/partials/results.php+182
    Trying to get property 'issuer' of non-object
  • 11 occurences, only the last one shown
    • > GET request to /wp-admin/options-general.php?page=pedalo-connector
    • > Notice in wp-content/plugins/pedalo-connector/admin/partials/results.php+484
    Trying to get property 'Performance_Desktop' of non-object
    • > GET request to /wp-admin/options-general.php?page=pedalo-connector
    • > Notice in wp-content/plugins/pedalo-connector/admin/partials/results.php+236
    Undefined variable: strInsightsDesktop
  • 11 occurences, only the last one shown
    • > GET request to /wp-admin/options-general.php?page=pedalo-connector
    • > Notice in wp-content/plugins/pedalo-connector/admin/partials/results.php+654
    Trying to get property 'Accessibility_Desktop' of non-object
  • 11 occurences, only the last one shown
    • > GET request to /wp-admin/options-general.php?page=pedalo-connector
    • > Notice in wp-content/plugins/pedalo-connector/admin/partials/results.php+678
    Trying to get property 'Best_Practice_Desktop' of non-object
  • 11 occurences, only the last one shown
    • > GET request to /wp-admin/options-general.php?page=pedalo-connector
    • > Notice in wp-content/plugins/pedalo-connector/admin/partials/results.php+702
    Trying to get property 'SEO_Desktop' of non-object
  • 11 occurences, only the last one shown
    • > GET request to /wp-admin/options-general.php?page=pedalo-connector
    • > Notice in wp-content/plugins/pedalo-connector/admin/partials/results.php+496
    Trying to get property 'Performance_Mobile' of non-object
    • > GET request to /wp-admin/options-general.php?page=pedalo-connector
    • > Notice in wp-content/plugins/pedalo-connector/admin/partials/results.php+264
    Undefined variable: strInsightsMobile
  • 11 occurences, only the last one shown
    • > GET request to /wp-admin/options-general.php?page=pedalo-connector
    • > Notice in wp-content/plugins/pedalo-connector/admin/partials/results.php+666
    Trying to get property 'Accessibility_Mobile' of non-object
  • 11 occurences, only the last one shown
    • > GET request to /wp-admin/options-general.php?page=pedalo-connector
    • > Notice in wp-content/plugins/pedalo-connector/admin/partials/results.php+690
    Trying to get property 'Best_Practice_Mobile' of non-object
  • 11 occurences, only the last one shown
    • > GET request to /wp-admin/options-general.php?page=pedalo-connector
    • > Notice in wp-content/plugins/pedalo-connector/admin/partials/results.php+714
    Trying to get property 'SEO_Mobile' of non-object
  • 2 occurences, only the last one shown
    • > GET request to /wp-admin/options-general.php?page=pedalo-connector
    • > Notice in wp-content/plugins/pedalo-connector/admin/partials/results.php+580
    Trying to get property 'Site_Crawl_Broken_Links' of non-object
  • 4 occurences, only the last one shown
    • > GET request to /wp-admin/options-general.php?page=pedalo-connector
    • > Notice in wp-content/plugins/pedalo-connector/admin/partials/ctas.php+200
    Trying to get property 'Site_Crawl_Multiple_H1' of non-object
  • 4 occurences, only the last one shown
    • > GET request to /wp-admin/options-general.php?page=pedalo-connector
    • > Notice in wp-content/plugins/pedalo-connector/admin/partials/ctas.php+200
    Trying to get property 'Site_Crawl_Title_Long' of non-object
  • 4 occurences, only the last one shown
    • > GET request to /wp-admin/options-general.php?page=pedalo-connector
    • > Notice in wp-content/plugins/pedalo-connector/admin/partials/ctas.php+200
    Trying to get property 'Site_Crawl_Title_Short' of non-object
  • 4 occurences, only the last one shown
    • > GET request to /wp-admin/options-general.php?page=pedalo-connector
    • > Notice in wp-content/plugins/pedalo-connector/admin/partials/ctas.php+200
    Trying to get property 'Site_Crawl_Description_Long' of non-object
  • 4 occurences, only the last one shown
    • > GET request to /wp-admin/options-general.php?page=pedalo-connector
    • > Notice in wp-content/plugins/pedalo-connector/admin/partials/ctas.php+200
    Trying to get property 'Site_Crawl_Description_Short' of non-object
  • 4 occurences, only the last one shown
    • > GET request to /wp-admin/options-general.php?page=pedalo-connector
    • > Notice in wp-content/plugins/pedalo-connector/admin/partials/ctas.php+200
    Trying to get property 'Site_Crawl_Image_Size' of non-object
  • 5 occurences, only the last one shown
    • > GET request to /wp-admin/options-general.php?page=pedalo-connector
    • > Notice in wp-content/plugins/pedalo-connector/admin/partials/ctas.php+136
    Trying to get property 'PHP_Update' of non-object
  • 4 occurences, only the last one shown
    • > GET request to /wp-admin/options-general.php?page=pedalo-connector
    • > Notice in wp-content/plugins/pedalo-connector/admin/partials/ctas.php+106
    Trying to get property 'High_Severity_Issues' of non-object
  • 4 occurences, only the last one shown
    • > GET request to /wp-admin/options-general.php?page=pedalo-connector
    • > Notice in wp-content/plugins/pedalo-connector/admin/partials/ctas.php+106
    Trying to get property 'Medium_Severity_Issues' of non-object
    • > GET request to /wp-admin/options-general.php?page=pedalo-connector
    • > Notice in wp-content/plugins/pedalo-connector/admin/partials/results.php+721
    Trying to get property 'Security_Summary' of non-object
    • > GET request to /wp-admin/options-general.php?page=pedalo-connector
    • > Notice in wp-content/plugins/pedalo-connector/admin/partials/ctas.php+6
    Trying to get property 'Site' of non-object
    • > GET request to /wp-admin/options-general.php?page=pedalo-connector
    • > Notice in wp-content/plugins/pedalo-connector/admin/partials/ctas.php+69
    Trying to get property 'Critial_Severity_Issuestitle' of non-object
    • > GET request to /wp-admin/options-general.php?page=pedalo-connector
    • > Notice in wp-content/plugins/pedalo-connector/admin/partials/ctas.php+80
    Trying to get property 'High_Severity_Issuestitle' of non-object
    • > GET request to /wp-admin/options-general.php?page=pedalo-connector
    • > Notice in wp-content/plugins/pedalo-connector/admin/partials/ctas.php+91
    Trying to get property 'Medium_Severity_Issuestitle' of non-object
    • > GET request to /wp-admin/options-general.php?page=pedalo-connector
    • > Notice in wp-content/plugins/pedalo-connector/admin/partials/ctas.php+107
    Trying to get property 'Security_Summarytitle' of non-object
    • > GET request to /wp-admin/options-general.php?page=pedalo-connector
    • > Notice in wp-content/plugins/pedalo-connector/admin/partials/ctas.php+138
    Trying to get property 'PHP_Versiontitle' of non-object
    • > GET request to /wp-admin/options-general.php?page=pedalo-connector
    • > Notice in wp-content/plugins/pedalo-connector/admin/partials/ctas.php+149
    Trying to get property 'Core_Web_Vitals_Desktoptitle' of non-object
    • > GET request to /wp-admin/options-general.php?page=pedalo-connector
    • > Notice in wp-content/plugins/pedalo-connector/admin/partials/ctas.php+160
    Trying to get property 'Core_Web_Vitals_Mobiletitle' of non-object
    • > GET request to /wp-admin/options-general.php?page=pedalo-connector
    • > Notice in wp-content/plugins/pedalo-connector/admin/partials/ctas.php+171
    Trying to get property 'Uptime_Statisticstitle' of non-object
    • > GET request to /wp-admin/options-general.php?page=pedalo-connector
    • > Notice in wp-content/plugins/pedalo-connector/admin/partials/ctas.php+182
    Trying to get property 'Insights_History_Data_for_Desktoptitle' of non-object
    • > GET request to /wp-admin/options-general.php?page=pedalo-connector
    • > Notice in wp-content/plugins/pedalo-connector/admin/partials/ctas.php+193
    Trying to get property 'Insights_History_Data_for_Mobiletitle' of non-object
    • > GET request to /wp-admin/options-general.php?page=pedalo-connector
    • > Notice in wp-content/plugins/pedalo-connector/admin/partials/dashboard.php+38
    Trying to get property 'Status' of non-object

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
The following issues need your attention
  • 5× PHP files output text when accessed directly:
    • > /wp-content/plugins/pedalo-connector/admin/partials/results-content-scan.php
    • > /wp-content/plugins/pedalo-connector/admin/partials/dashboard.php
    • > /wp-content/plugins/pedalo-connector/admin/partials/token-settings-display.php
    • > /wp-content/plugins/pedalo-connector/admin/partials/api-key-settings-display.php
    • > /wp-content/plugins/pedalo-connector/public/partials/pedalo_connector-public-display.php
  • 797× PHP files trigger server errors when accessed directly (only 10 are shown):
    • > PHP Notice
      Undefined variable: obj in wp-content/plugins/pedalo-connector/admin/partials/results.php on line 460
    • > PHP Notice
      Undefined variable: obj in wp-content/plugins/pedalo-connector/admin/partials/results.php on line 254
    • > PHP Notice
      Trying to get property 'Best_Practice_Desktop' of non-object in wp-content/plugins/pedalo-connector/admin/partials/results.php on line 678
    • > PHP Notice
      Undefined variable: obj in wp-content/plugins/pedalo-connector/admin/partials/results.php on line 653
    • > PHP Notice
      Trying to get property 'Inactive_Plugins' of non-object in wp-content/plugins/pedalo-connector/admin/partials/ctas.php on line 26
    • > PHP Notice
      Trying to get property 'Largest_Contentful_Paint_LCP_Desktop' of non-object in wp-content/plugins/pedalo-connector/admin/partials/results.php on line 422
    • > PHP Notice
      Undefined variable: obj in wp-content/plugins/pedalo-connector/admin/partials/results.php on line 283
    • > PHP Notice
      Trying to get property 'Largest_Contentful_Paint_LCP_Mobile' of non-object in wp-content/plugins/pedalo-connector/admin/partials/results.php on line 150
    • > PHP Notice
      Undefined variable: obj in wp-content/plugins/pedalo-connector/admin/partials/results.php on line 353
    • > PHP Notice
      Trying to get property 'Cumulative_Layout_Shift_CLS_Mobile' of non-object in wp-content/plugins/pedalo-connector/admin/partials/results.php on line 471

User-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found

Optimizations

Plugin configuration 90% from 29 tests

readme.txt 94% from 16 tests

It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need to be fixed:
  • Donate link: Invalid URI found ("www.pedalo.co.uk")
The official readme.txt is a good inspiration

pedalo-connector/pedalo_connector.php 85% from 13 tests

The principal PHP file in "Pedalo Connector" v. 2.0.5 is loaded by WordPress automatically on each request
Please take the time to fix the following:
  • Main file name: It is recommended to name the main PHP file as the plugin slug ("pedalo-connector.php" instead of "pedalo_connector.php")
  • Text Domain: The text domain name must use dashes instead of underscores, and it must be lowercase

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
Everything looks great! No dangerous files found in this plugin4,186 lines of code in 25 files:
LanguageFilesBlank linesComment linesLines of code
PHP194019082,527
CSS351161,449
JavaScript317103210

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.44
Average class complexity7.71
▷ Minimum class complexity1.00
▷ Maximum class complexity39.00
Average method complexity2.24
▷ Minimum method complexity1.00
▷ Maximum method complexity13.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes7
▷ Abstract classes00.00%
▷ Concrete classes7100.00%
▷ Final classes00.00%
Methods38
▷ Static methods25.26%
▷ Public methods3386.84%
▷ Protected methods00.00%
▷ Private methods513.16%
Functions4
▷ Named functions4100.00%
▷ Anonymous functions00.00%
Constants6
▷ Global constants6100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
17 PNG files occupy 0.33MB with 0.25MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
admin/images/pedalo_logo.png12.81KB3.02KB▼ 76.46%
admin/images/security-white.png47.46KB0.34KB▼ 99.28%
admin/images/fix-request-arrow-white.png0.40KB0.23KB▼ 43.83%
admin/images/award-icon.png4.18KB1.97KB▼ 52.85%
admin/images/key.png54.15KB0.23KB▼ 99.57%