10% sending-platform-for-getresponse

Code Review | Sending Platform for GetResponse

WordPress plugin Sending Platform for GetResponse scored 10% from 54 tests.

About plugin

  • Plugin page: sending-platform-...
  • Plugin version: 1.1
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0.1-4.5.2
  • WordPress version: 6.3.1
  • First release: Jun 7, 2016
  • Latest release: Jun 7, 2016
  • Number of updates: 4
  • Update frequency: N/A
  • Top authors: joerunweb (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 771 total downloads

Benchmarks

Plugin footprint 40% from 16 tests

Installer 0% from 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
Please fix the following installer errors
  • Install procedure had errors
    • > Compile warning in wp-content/plugins/sending-platform-for-getresponse/jsonRPCClient.php+275
    Unexpected character in input: '' (ASCII=1) state=0

Server metrics [RAM: ▲0.05MB] [CPU: ▼2.43ms] Passed 4 tests

Server-side resources used by Sending Platform for GetResponse
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.51 ▲0.0534.36 ▼7.15
Dashboard /wp-admin3.36 ▲0.0648.69 ▼4.22
Posts /wp-admin/edit.php3.41 ▲0.0549.66 ▲4.38
Add New Post /wp-admin/post-new.php5.96 ▲0.0787.36 ▲1.23
Media Library /wp-admin/upload.php3.28 ▲0.0534.89 ▲0.44

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

Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options
theysaidso_admin_options
can_compress_scripts
db_upgraded
widget_theysaidso_widget
widget_recent-comments
widget_recent-posts

Browser metrics Passed 4 tests

Checking browser requirements for Sending Platform for GetResponse
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,855 ▲12013.43 ▼0.941.64 ▼0.1642.31 ▼1.38
Dashboard /wp-admin2,232 ▲415.85 ▲0.9798.18 ▼8.5545.76 ▼1.22
Posts /wp-admin/edit.php2,124 ▲352.08 ▲0.1139.79 ▲3.0243.97 ▲8.16
Add New Post /wp-admin/post-new.php1,389 ▼14420.63 ▼2.35576.39 ▼84.6538.65 ▼17.67
Media Library /wp-admin/upload.php1,414 ▲234.27 ▲0.0395.40 ▼7.1945.63 ▲0.81

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
  • Uninstall procedure had uncaught errors
    • > Compile warning in wp-content/plugins/sending-platform-for-getresponse/jsonRPCClient.php+275
    Unexpected character in input: '' (ASCII=1) state=0
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • widget_theysaidso_widget
    • can_compress_scripts
    • widget_recent-posts
    • theysaidso_admin_options
    • db_upgraded
    • widget_recent-comments

Smoke tests 50% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test

SRP 0% from 2 tests

🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Almost there! Just fix the following items
  • 3× PHP files perform the task of outputting text when accessed with GET requests:
    • > /wp-content/plugins/sending-platform-for-getresponse/grsp.sendmessage.php
    • > /wp-content/plugins/sending-platform-for-getresponse/grsp.functions.php
    • > /wp-content/plugins/sending-platform-for-getresponse/grsp.php
  • 1× PHP files trigger server errors when accessed directly:
    • > PHP Warning
      Unexpected character in input: '\x01' (ASCII=1) state=0 in wp-content/plugins/sending-platform-for-getresponse/jsonRPCClient.php on line 275

User-side errors Passed 1 test

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

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
3 plugin tags: newsletter, getresponse, email

sending-platform-for-getresponse/grsp.php 92% from 13 tests

The primary PHP file in "Sending Platform for GetResponse" version 1.1 is used by WordPress to initiate all plugin functionality
You should first fix the following items:
  • Main file name: Please rename the main PHP file in this plugin to the plugin slug ("sending-platform-for-getresponse.php" instead of "grsp.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
There were no executable files found in this plugin385 lines of code in 6 files:
LanguageFilesBlank linesComment linesLines of code
PHP459140373
JavaScript1007
CSS1015

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.34
Average class complexity19.00
▷ Minimum class complexity19.00
▷ Maximum class complexity19.00
Average method complexity2.60
▷ Minimum method complexity1.00
▷ Maximum method complexity5.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods11
▷ Static methods00.00%
▷ Public methods763.64%
▷ Protected methods327.27%
▷ Private methods19.09%
Functions5
▷ Named functions5100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.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
No PNG images were found in this plugin