89% fahrenheit-marketing-automation-with-sharpspring

Code Review | Fahrenheit Marketing Automation with SharpSpring

WordPress plugin Fahrenheit Marketing Automation with SharpSpring scored89%from 54 tests.

About plugin

  • Plugin page: fahrenheit-market...
  • Plugin version: 0.8.2
  • PHP version: 7.4.16
  • WordPress compatibility: 4.6-4.6
  • WordPress version: 6.3.1
  • First release: Feb 2, 2017
  • Latest release: Feb 3, 2017
  • Number of updates: 15
  • Update frequency: N/A
  • Top authors: fahrenheitmarketing (100%)

Code review

54 tests

User reviews

1 review

Install metrics

100+ active /1,717 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.09MB] [CPU: ▼2.27ms] Passed 4 tests

Server-side resources used by Fahrenheit Marketing Automation with SharpSpring
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.55 ▲0.0941.97 ▼1.25
Dashboard /wp-admin3.40 ▲0.0945.69 ▲1.02
Posts /wp-admin/edit.php3.51 ▲0.1548.23 ▼0.13
Add New Post /wp-admin/post-new.php5.98 ▲0.0984.96 ▼8.23
Media Library /wp-admin/upload.php3.32 ▲0.0937.43 ▲0.52
Fahrenheit Marketing Automation with SharpSpring /wp-admin/options-general.php?page=fm-ss-plugin3.2831.41

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

How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options
widget_theysaidso_widget
widget_recent-posts
can_compress_scripts
db_upgraded
theysaidso_admin_options
widget_recent-comments

Browser metrics Passed 4 tests

Checking browser requirements for Fahrenheit Marketing Automation with SharpSpring
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,809 ▲7414.45 ▲0.142.42 ▲0.2643.08 ▼4.86
Dashboard /wp-admin2,210 ▲225.86 ▼0.00103.49 ▲2.3539.61 ▲0.00
Posts /wp-admin/edit.php2,090 ▲11.99 ▼0.0236.30 ▼0.1133.14 ▼2.14
Add New Post /wp-admin/post-new.php1,517 ▼217.70 ▼5.43689.56 ▲13.4156.87 ▼3.62
Media Library /wp-admin/upload.php1,392 ▲44.20 ▼0.0493.98 ▼16.5139.85 ▼4.83
Fahrenheit Marketing Automation with SharpSpring /wp-admin/options-general.php?page=fm-ss-plugin8822.0622.8628.40

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
  • The uninstall procedure has failed, leaving 6 options in the database
    • widget_theysaidso_widget
    • can_compress_scripts
    • theysaidso_admin_options
    • db_upgraded
    • widget_recent-comments
    • widget_recent-posts

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Everything seems fine, however this is by no means an exhaustive test

SRP Passed 2 tests

🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Congratulations! This plugin passed the SRP test

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected

Optimizations

Plugin configuration 93% from 29 tests

readme.txt Passed 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
5 plugin tags: gravityforms, analytics, tracking, woocommerce, sharpspring

fahrenheit-marketing-automation-with-sharpspring/fahrenheit-marketing-automation-with-sharpspring.php 85% from 13 tests

Analyzing the main PHP file in "Fahrenheit Marketing Automation with SharpSpring" version 0.8.2
You should first fix the following items:
  • Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
  • Domain Path: The domain path points to an invalid folder, "/i18n/languages/" does not exist

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
There were no executable files found in this plugin460 lines of code in 6 files:
LanguageFilesBlank linesComment linesLines of code
PHP211119399
JavaScript312343
JSON10018

PHP code Passed 2 tests

This is a short overview of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.29
Average class complexity19.00
▷ Minimum class complexity13.00
▷ Maximum class complexity25.00
Average method complexity1.78
▷ Minimum method complexity1.00
▷ Maximum method complexity4.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes2
▷ Abstract classes00.00%
▷ Concrete classes2100.00%
▷ Final classes00.00%
Methods29
▷ Static methods26.90%
▷ Public methods29100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions4
▷ Named functions00.00%
▷ Anonymous functions4100.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
There are no PNG files in this plugin