74% followize

Code Review | Followize

WordPress plugin Followize scored 74% from 54 tests.

About plugin

  • Plugin page: followize
  • Plugin version: 0.7.6
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0-5.8.1
  • WordPress version: 5.8.1
  • First release: Feb 2, 2016
  • Latest release: Sep 21, 2021
  • Number of updates: 41
  • Update frequency: every 50.2 days
  • Top authors: followize (100%)

Code review

54 tests

User reviews

1 review

Install metrics

100+ active / 1,459 total downloads


Plugin footprint 65% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors

Server metrics [RAM: ▲0.60MB] [CPU: ▼136.63ms] Passed 4 tests

Analyzing server-side resources used by Followize
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.42 ▲0.7035.86 ▲15.47
Dashboard /wp-admin3.66 ▲0.6148.90 ▲0.64
Posts /wp-admin/edit.php3.71 ▲0.6044.61 ▲3.32
Add New Post /wp-admin/post-new.php6.02 ▲0.5992.01 ▼556.23
Media Library /wp-admin/upload.php3.61 ▲0.6137.22 ▲5.76
Formulários /wp-admin/admin.php?page=followize-page3.5835.58
Adicionando/Editando Formulário /wp-admin/admin.php?page=followize-page-form3.6149.69
Configurações /wp-admin/admin.php?page=followize-config3.5734.87

Server storage [IO: ▲0.77MB] [DB: ▲0.01MB] Passed 3 tests

Filesystem and database footprint
No storage issues were detected
Filesystem: 142 new files
Database: 3 new tables, 1 new option
New tables
New WordPress options

Browser metrics Passed 4 tests

This is an overview of browser requirements for Followize
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,964 ▲36816.42 ▲0.5418.02 ▲8.1945.77 ▼2.84
Dashboard /wp-admin3,111 ▲1806.05 ▲0.11149.77 ▲9.64104.76 ▼5.31
Posts /wp-admin/edit.php2,880 ▲1412.77 ▲0.0463.96 ▼1.6687.85 ▲2.54
Add New Post /wp-admin/post-new.php1,710 ▲9518.50 ▼3.17381.87 ▲106.88114.62 ▲15.25
Media Library /wp-admin/upload.php1,877 ▲705.09 ▲0.05161.86 ▲11.93120.18 ▲2.43
Formulários /wp-admin/admin.php?page=followize-page1,3552.3660.8062.64
Adicionando/Editando Formulário /wp-admin/admin.php?page=followize-page-form2,9642.9781.3089.20
Configurações /wp-admin/admin.php?page=followize-config1,2662.1163.1683.15

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
  • Zombie tables detected upon uninstall: 3 tables
    • wp_followize_form_fields
    • wp_followize_form
    • wp_followize_fields
  • The uninstall procedure has failed, leaving 1 option in the database
    • widget_followize-form

Smoke tests 75% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Smoke test failed, please fix the following
  • 50 occurences, only the last one shown
    • > GET request to /wp-admin/admin.php?page=followize-page-form
    • > Notice in wp-content/plugins/followize/Model/form-field.php+146
    Undefined property: Followize\Field::$value

SRP Passed 2 tests

🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
No output text or server-side errors detected on direct access of PHP files

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side


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
Attributes that need to be fixed:
  • Screenshots: Please add images for these screenshots: #1 (Tela de configuração do plugin), #2 (Listagem dos formulários cadastrados), #3 (Edição de um formulário cadastrado)
The official readme.txt is a good inspiration

followize/followize.php 92% from 13 tests

This is the main PHP file of "Followize" version 0.7.6, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please make the necessary changes and fix the following:
  • Description: The description should be shorter than 140 characters (currently 397 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Everything looks great! No dangerous files found in this plugin5,270 lines of code in 42 files:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity
Average complexity per logical line of code0.29
Average class complexity17.76
▷ Minimum class complexity1.00
▷ Maximum class complexity117.00
Average method complexity2.36
▷ Minimum method complexity1.00
▷ Maximum method complexity19.00
Code structure
▷ Abstract classes25.88%
▷ Concrete classes3294.12%
▷ Final classes00.00%
▷ Static methods13632.38%
▷ Public methods31875.71%
▷ Protected methods4210.00%
▷ Private methods6014.29%
▷ Named functions00.00%
▷ Anonymous functions4100.00%
▷ Global constants00.00%
▷ Class constants18100.00%
▷ Public constants18100.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
6 compressed PNG files occupy 0.27MB
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings