78% grooveally

Code Review | GrooveAlly for Infusionsoft

WordPress plugin GrooveAlly for Infusionsoft scored78%from 54 tests.

About plugin

  • Plugin page: grooveally
  • Plugin version: 1.0.0
  • PHP version: 7.4.16
  • WordPress version: 6.3.1
  • First release: Sep 20, 2016
  • Latest release: Sep 21, 2016
  • Number of updates: 6
  • Update frequency: every 0.2 days
  • Top authors: rli (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /561 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▲0.01MB] [CPU: ▼10.98ms] Passed 4 tests

A check of server-side resources used by GrooveAlly for Infusionsoft
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.49 ▲0.0339.61 ▼0.82
Dashboard /wp-admin3.32 ▼0.0343.52 ▼15.50
Posts /wp-admin/edit.php3.43 ▲0.0847.06 ▲0.69
Add New Post /wp-admin/post-new.php5.90 ▲0.0178.47 ▼27.23
Media Library /wp-admin/upload.php3.24 ▲0.0132.94 ▼0.36

Server storage [IO: ▲0.71MB] [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: 21 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-posts
can_compress_scripts
theysaidso_admin_options
widget_recent-comments
widget_theysaidso_widget
db_upgraded

Browser metrics Passed 4 tests

An overview of browser requirements for GrooveAlly for Infusionsoft
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,815 ▲6913.24 ▼1.511.82 ▲0.2644.81 ▲0.55
Dashboard /wp-admin2,224 ▲395.79 ▼0.0898.94 ▲0.8164.72 ▲20.70
Posts /wp-admin/edit.php2,104 ▲152.01 ▲0.0137.46 ▼2.5734.71 ▼2.40
Add New Post /wp-admin/post-new.php1,539 ▲2023.30 ▲0.13683.16 ▲105.6353.28 ▲0.46
Media Library /wp-admin/upload.php1,406 ▲184.21 ▲0.0294.91 ▼3.5571.91 ▲25.73

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
You still need to fix the following
  • Zombie WordPress options were found after uninstall: 6 options
    • widget_recent-comments
    • widget_theysaidso_widget
    • db_upgraded
    • widget_recent-posts
    • can_compress_scripts
    • theysaidso_admin_options

Smoke tests 50% from 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 0% 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
The following issues need your attention
  • 1× PHP files perform the task of outputting text when accessed with GET requests:
    • > /wp-content/plugins/grooveally/lib/infusionsoft-SDK/phpinfo.php
  • 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function _e() in wp-content/plugins/grooveally/resource/settings-display.php:2
    • > PHP Fatal error
      Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/grooveally/grooveally.php:27

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side

Optimizations

Plugin configuration 90% from 29 tests

readme.txt 88% from 16 tests

It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need to be fixed:
  • Plugin Name: Please specify the plugin name on the first line ( === grooveally === )
  • Requires at least: The plugin version is formatted incorrectly
You can take inspiration from this readme.txt

grooveally/grooveally.php 92% from 13 tests

The main file in "GrooveAlly for Infusionsoft" v. 1.0.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please make the necessary changes and fix the following:
  • Description: Please keep the plugin description shorter than 140 characters (currently 174 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
There were no executable files found in this plugin5,159 lines of code in 12 files:
LanguageFilesBlank linesComment linesLines of code
PHP105612,8335,001
CSS101152
JavaScript1006

PHP code Passed 2 tests

An overview of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.17
Average class complexity15.80
▷ Minimum class complexity1.00
▷ Maximum class complexity50.00
Average method complexity1.48
▷ Minimum method complexity1.00
▷ Maximum method complexity16.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes5
▷ Abstract classes00.00%
▷ Concrete classes5100.00%
▷ Final classes00.00%
Methods155
▷ Static methods2113.55%
▷ Public methods14895.48%
▷ Protected methods10.65%
▷ Private methods63.87%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants5
▷ Global constants00.00%
▷ Class constants5100.00%
▷ Public constants5100.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
6 PNG files occupy 0.15MB with 0.11MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
resource/img/info-icon.png1.17KB0.41KB▼ 65.24%
screenshot-1.png59.46KB33.33KB▼ 43.94%
resource/img/groove-ifs-custom-profile-icon.png15.16KB0.82KB▼ 94.59%
resource/img/ambitionally-logo.png24.33KB4.51KB▼ 81.45%
screenshot-2.png55.50KB19.96KB▼ 64.03%