90% fast-getresponse

Code Review | Fast GetResponse

WordPress plugin Fast GetResponse scored90%from 54 tests.

About plugin

  • Plugin page: fast-getresponse
  • Plugin version: 1.1.1
  • PHP compatiblity: 7.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0-6.3
  • WordPress version: 6.3.1
  • First release: Nov 19, 2019
  • Latest release: Aug 10, 2023
  • Number of updates: 9
  • Update frequency: every 151.1 days
  • Top authors: fastflow (100%)

Code review

54 tests

User reviews

1 review

Install metrics

20+ active /824 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully

Server metrics [RAM: ▲0.08MB] [CPU: ▲0.03ms] Passed 4 tests

Analyzing server-side resources used by Fast GetResponse
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.55 ▲0.0945.34 ▲0.44
Dashboard /wp-admin3.39 ▲0.0848.67 ▼1.45
Posts /wp-admin/edit.php3.50 ▲0.1449.58 ▲1.08
Add New Post /wp-admin/post-new.php5.97 ▲0.0892.94 ▲0.05
Media Library /wp-admin/upload.php3.31 ▲0.0835.19 ▲3.69

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

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

Browser metrics Passed 4 tests

An overview of browser requirements for Fast GetResponse
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,841 ▲9513.25 ▼0.974.86 ▲3.1139.35 ▲1.74
Dashboard /wp-admin2,223 ▲354.93 ▼0.93131.55 ▲27.0551.24 ▲10.55
Posts /wp-admin/edit.php2,117 ▲252.02 ▲0.0139.56 ▲2.3741.00 ▲4.81
Add New Post /wp-admin/post-new.php1,391 ▼14223.30 ▲0.14523.00 ▼142.5256.08 ▲1.99
Media Library /wp-admin/upload.php1,408 ▲234.21 ▲0.0198.25 ▼0.6641.59 ▼2.02

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
  • The uninstall procedure has failed, leaving 6 options in the database
    • widget_recent-posts
    • can_compress_scripts
    • widget_recent-comments
    • db_upgraded
    • theysaidso_admin_options
    • widget_theysaidso_widget

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test

SRP Passed 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
Congratulations! This plugin passed the SRP test

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side

Optimizations

Plugin configuration Passed 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
5 plugin tags: marketing automation, getresponse, email automation, get response, email marketing

fast-getresponse/fast-getresponse.php Passed 13 tests

The main PHP script in "Fast GetResponse" version 1.1.1 is automatically included on every request by WordPress
31 characters long description:
GetResponse addon for Fast Flow

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
Good job! No executable or dangerous file extensions detected353 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP1328353

PHP code Passed 2 tests

A short review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.38
Average class complexity58.00
▷ Minimum class complexity58.00
▷ Maximum class complexity58.00
Average method complexity4.17
▷ Minimum method complexity1.00
▷ Maximum method complexity13.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods18
▷ Static methods00.00%
▷ Public methods18100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.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
There are no PNG files in this plugin