84% fast-clickfunnels

Code Review | Fast ClickFunnels

WordPress plugin Fast ClickFunnels scored84%from 54 tests.

About plugin

  • Plugin page: fast-clickfunnels
  • Plugin version: 1.1
  • PHP compatiblity: 7.4+
  • PHP version: 7.4.16
  • WordPress version: 6.3.1
  • First release: Jul 24, 2015
  • Latest release: Aug 10, 2023
  • Number of updates: 38
  • Update frequency: every 77.6 days
  • Top authors: fastflow (100%)

Code review

54 tests

User reviews

1 review

Install metrics

1,000+ active /20,649 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully

Server metrics [RAM: ▲0.00MB] [CPU: ▼5.44ms] Passed 4 tests

Analyzing server-side resources used by Fast ClickFunnels
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0043.07 ▼0.94
Dashboard /wp-admin3.31 ▲0.0150.45 ▼1.83
Posts /wp-admin/edit.php3.36 ▲0.0049.23 ▼3.78
Add New Post /wp-admin/post-new.php5.89 ▲0.0085.44 ▼15.19
Media Library /wp-admin/upload.php3.23 ▲0.0038.90 ▼0.11

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

Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options
can_compress_scripts
widget_recent-comments
widget_recent-posts
theysaidso_admin_options
db_upgraded
widget_theysaidso_widget

Browser metrics Passed 4 tests

An overview of browser requirements for Fast ClickFunnels
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲2913.25 ▼1.051.81 ▼0.3244.27 ▼1.40
Dashboard /wp-admin2,209 ▲244.85 ▼1.01105.28 ▼12.7446.21 ▲3.44
Posts /wp-admin/edit.php2,089 ▼02.04 ▲0.0234.48 ▼1.2033.46 ▼2.95
Add New Post /wp-admin/post-new.php1,533 ▼023.11 ▼0.04659.44 ▼14.9457.25 ▲1.99
Media Library /wp-admin/upload.php1,388 ▼04.24 ▲0.0098.39 ▼9.7743.04 ▼1.85

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
The following items require your attention
  • The uninstall procedure has failed, leaving 6 options in the database
    • can_compress_scripts
    • theysaidso_admin_options
    • widget_recent-comments
    • widget_theysaidso_widget
    • db_upgraded
    • widget_recent-posts

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test

SRP 50% from 2 tests

🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following
  • 1× PHP files trigger server-side errors or warnings when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function get_bloginfo() in wp-content/plugins/fast-clickfunnels/fast-clickfunnels.php:24

User-side errors Passed 1 test

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

Optimizations

Plugin configuration 97% from 29 tests

readme.txt 94% from 16 tests

Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Please fix the following attributes:
  • Requires at least: Invalid plugin version format
The official readme.txt might help

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

The main PHP script in "Fast ClickFunnels" version 1.1 is automatically included on every request by WordPress
40 characters long description:
ClickFunnels integration with FastMember

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
No dangerous file extensions were detected290 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code
PHP310012290

PHP code Passed 2 tests

A short review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.45
Average class complexity32.50
▷ Minimum class complexity18.00
▷ Maximum class complexity47.00
Average method complexity10.00
▷ Minimum method complexity1.00
▷ Maximum method complexity43.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes2
▷ Abstract classes00.00%
▷ Concrete classes2100.00%
▷ Final classes00.00%
Methods7
▷ Static methods00.00%
▷ Public methods7100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions1
▷ Named functions1100.00%
▷ Anonymous functions00.00%
Constants6
▷ Global constants6100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There are no PNG files in this plugin