89% followize-extension-gf

Code Review | Followize Extension - Gravity Forms

WordPress plugin Followize Extension - Gravity Forms scored89%from 54 tests.

About plugin

  • Plugin page: followize-extensi...
  • Plugin version: 0.2.6
  • PHP version: 7.4.16
  • WordPress compatibility: 4.6-6.2.2
  • WordPress version: 6.3.1
  • First release: Dec 7, 2016
  • Latest release: Aug 3, 2023
  • Number of updates: 23
  • Update frequency: every 105.6 days
  • Top authors: followize (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /1,482 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully

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

An overview of server-side resources used by Followize Extension - Gravity Forms
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.46 ▲0.0043.32 ▲7.39
Dashboard /wp-admin3.31 ▲0.0048.28 ▼2.86
Posts /wp-admin/edit.php3.36 ▲0.0047.14 ▼7.79
Add New Post /wp-admin/post-new.php5.89 ▲0.0087.54 ▼8.11
Media Library /wp-admin/upload.php3.23 ▲0.0036.93 ▲0.25

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

Filesystem and database footprint
No storage issues were detected
Filesystem: 96 new files
Database: no new tables, 6 new options
New WordPress options
db_upgraded
can_compress_scripts
widget_recent-posts
widget_theysaidso_widget
theysaidso_admin_options
widget_recent-comments

Browser metrics Passed 4 tests

An overview of browser requirements for Followize Extension - Gravity Forms
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,789 ▲2814.26 ▼0.091.70 ▲0.1444.34 ▲1.47
Dashboard /wp-admin2,195 ▲145.62 ▼0.0483.96 ▼17.6638.98 ▼5.69
Posts /wp-admin/edit.php2,100 ▼32.02 ▲0.0436.61 ▼4.5936.94 ▼7.96
Add New Post /wp-admin/post-new.php1,531 ▲123.22 ▲0.27649.94 ▼33.6749.06 ▼20.31
Media Library /wp-admin/upload.php1,400 ▼04.17 ▼0.01103.34 ▼4.1745.34 ▼5.52

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

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
  • Zombie WordPress options detected upon uninstall: 6 options
    • db_upgraded
    • widget_recent-comments
    • can_compress_scripts
    • widget_recent-posts
    • widget_theysaidso_widget
    • theysaidso_admin_options

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
Looking good! No server-side errors or output on direct access of PHP files

User-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 94% from 16 tests

Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need your attention:
  • Screenshots: Add images for these screenshots: #1 (Configurações gerais do plugin), #2 (Configuração do feed)
The official readme.txt might help

followize-extension-gf/followize-extension-gf.php 92% from 13 tests

"Followize Extension - Gravity Forms" version 0.2.6's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please make the necessary changes and fix the following:
  • Description: Please don't use more than 140 characters for the plugin description (currently 380 characters long)

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
No dangerous file extensions were detected852 lines of code in 23 files:
LanguageFilesBlank linesComment linesLines of code
PHP89420679
JavaScript1340149
JSON10024
CSS1210

PHP code Passed 2 tests

A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity
Average complexity per logical line of code0.26
Average class complexity6.75
▷ Minimum class complexity1.00
▷ Maximum class complexity22.00
Average method complexity1.72
▷ Minimum method complexity1.00
▷ Maximum method complexity8.00
Code structure
Namespaces1
Interfaces0
Traits0
Classes8
▷ Abstract classes00.00%
▷ Concrete classes8100.00%
▷ Final classes00.00%
Methods64
▷ Static methods1828.12%
▷ Public methods5078.12%
▷ Protected methods00.00%
▷ Private methods1421.88%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants6
▷ Global constants00.00%
▷ Class constants6100.00%
▷ Public constants6100.00%

Plugin size 50% from 2 tests

Image compression 50% from 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
4 PNG files occupy 0.67MB with 0.43MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant
FileSize - originalSize - compressedSavings
screenshot-2.png266.35KB95.32KB▼ 64.21%
trunk/screenshot-2.png266.35KB95.32KB▼ 64.21%
trunk/screenshot-1.png74.21KB25.77KB▼ 65.27%
screenshot-1.png74.21KB25.77KB▼ 65.27%