10% fast-convertkit

Code Review | Fast ConvertKit

WordPress plugin Fast ConvertKit scored10%from 54 tests.

About plugin

  • Plugin page: fast-convertkit
  • 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 20, 2019
  • Latest release: Aug 10, 2023
  • Number of updates: 8
  • Update frequency: every 169.9 days
  • Top authors: fastflow (100%)

Code review

54 tests

User reviews

1 review

Install metrics

100+ active /1,679 total downloads

Benchmarks

Plugin footprint 40% from 16 tests

Installer 0% from 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
You still need to fix the following installer errors
  • The plugin cannot be installed
    • > Notice in wp-content/plugins/fast-convertkit/fast-convertkit.php+379
    Undefined offset: 0

Server metrics [RAM: ▼1.76MB] [CPU: ▼49.01ms] Passed 4 tests

An overview of server-side resources used by Fast ConvertKit
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /2.22 ▼1.245.90 ▼33.95
Dashboard /wp-admin2.24 ▼1.0612.19 ▼35.43
Posts /wp-admin/edit.php2.24 ▼1.118.76 ▼31.41
Add New Post /wp-admin/post-new.php2.24 ▼3.646.65 ▼95.25
Media Library /wp-admin/upload.php2.24 ▼0.997.12 ▼27.49

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

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

Browser metrics Passed 4 tests

An overview of browser requirements for Fast ConvertKit
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,865 ▲11913.29 ▼0.981.57 ▼0.2133.93 ▼8.91
Dashboard /wp-admin2,237 ▲494.86 ▼0.05113.03 ▼1.6746.62 ▲1.72
Posts /wp-admin/edit.php2,122 ▲302.03 ▲0.0236.47 ▼2.1936.54 ▲0.91
Add New Post /wp-admin/post-new.php1,389 ▼12520.50 ▲2.86588.01 ▼36.9050.99 ▲3.66
Media Library /wp-admin/upload.php1,422 ▲344.23 ▲0.0297.52 ▼0.1239.49 ▼1.83

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
  • This plugin did not uninstall without warnings or errors
    • > Notice in wp-content/plugins/fast-convertkit/fast-convertkit.php+379
    Undefined offset: 0
  • Zombie WordPress options detected upon uninstall: 6 options
    • widget_recent-comments
    • widget_recent-posts
    • db_upgraded
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • can_compress_scripts

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested

SRP Passed 2 tests

🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Everything seems fine, however this is by no means an exhaustive test

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
5 plugin tags: email automation, marketing automation, convert kit, email marketing, convertkit

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

The principal PHP file in "Fast ConvertKit" v. 1.1.1 is loaded by WordPress automatically on each request
30 characters long description:
ConvertKit addon for Fast Flow

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected432 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP1388432

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.37
Average class complexity72.00
▷ Minimum class complexity72.00
▷ Maximum class complexity72.00
Average method complexity4.23
▷ Minimum method complexity1.00
▷ Maximum method complexity11.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods22
▷ Static methods00.00%
▷ Public methods2195.45%
▷ Protected methods00.00%
▷ Private methods14.55%
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
No PNG files were detected