78% formilla-edge

Code Review | Formilla Edge Targeted Messaging Platform for Sales and Marketing

WordPress plugin Formilla Edge Targeted Messaging Platform for Sales and Marketing scored78%from 54 tests.

About plugin

  • Plugin page: formilla-edge
  • Plugin version: 1.1
  • PHP version: 7.4.16
  • WordPress compatibility: 2.7-6.3
  • WordPress version: 6.3.1
  • First release: Jul 29, 2016
  • Latest release: Aug 1, 2023
  • Number of updates: 38
  • Update frequency: every 67.3 days
  • Top authors: zgilyana (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

80+ active /4,967 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully

Server metrics [RAM: ▲0.03MB] [CPU: ▼5.50ms] Passed 4 tests

Analyzing server-side resources used by Formilla Edge Targeted Messaging Platform for Sales and Marketing
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.49 ▲0.0336.73 ▼3.14
Dashboard /wp-admin3.34 ▲0.0446.81 ▼0.08
Posts /wp-admin/edit.php3.39 ▲0.0343.49 ▼1.28
Add New Post /wp-admin/post-new.php5.92 ▲0.0382.61 ▼17.48
Media Library /wp-admin/upload.php3.26 ▲0.0338.23 ▲4.35
Formilla Edge Settings /wp-admin/options-general.php?page=formilla-edge3.2029.81

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

Filesystem and database footprint
The plugin installed successfully
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options
db_upgraded
widget_theysaidso_widget
widget_recent-comments
can_compress_scripts
theysaidso_admin_options
widget_recent-posts

Browser metrics Passed 4 tests

This is an overview of browser requirements for Formilla Edge Targeted Messaging Platform for Sales and Marketing
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,819 ▲7313.57 ▼0.811.64 ▼0.3640.90 ▼2.74
Dashboard /wp-admin2,228 ▲405.88 ▲0.0795.57 ▼6.1075.03 ▲31.79
Posts /wp-admin/edit.php2,105 ▲162.02 ▲0.0033.54 ▼1.5033.51 ▼5.80
Add New Post /wp-admin/post-new.php1,530 ▲1617.64 ▼0.09719.10 ▲60.1053.10 ▼2.64
Media Library /wp-admin/upload.php1,407 ▲254.23 ▼0.0597.58 ▼1.7458.27 ▲12.74
Formilla Edge Settings /wp-admin/options-general.php?page=formilla-edge8222.1523.2021.95

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
It is recommended to fix the following
  • This plugin does not fully uninstall, leaving 6 options in the database
    • widget_theysaidso_widget
    • can_compress_scripts
    • widget_recent-posts
    • widget_recent-comments
    • db_upgraded
    • theysaidso_admin_options

Smoke tests 50% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Please fix the following server-side errors
    • > GET request to /wp-admin/options-general.php?page=formilla-edge
    • > User deprecated in wp-includes/functions.php+5463
    Function screen_icon is deprecated since version 3.8.0 with no alternative available.
    • > GET request to /wp-admin/options-general.php?page=formilla-edge
    • > User deprecated in wp-includes/functions.php+5463
    Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.

SRP 50% from 2 tests

🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
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_option() in wp-content/plugins/formilla-edge/formilla-edge.php:11

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)
There were no browser issues found

Optimizations

Plugin configuration 97% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Attributes that require attention:
  • Tags: Too many tags (18 tag instead of maximum 10); only the first 5 tags are used in your directory listing
The official readme.txt might help

formilla-edge/formilla-edge.php Passed 13 tests

"Formilla Edge Targeted Messaging Platform for Sales and Marketing" version 1.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
89 characters long description:
Formilla Edge is a targeted email, and in-app messaging platform for sales and marketing.

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
Everything looks great! No dangerous files found in this plugin190 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP13219190

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity
Average complexity per logical line of code0.24
Average class complexity0.00
▷ Minimum class complexity0.00
▷ Maximum class complexity0.00
Average method complexity0.00
▷ Minimum method complexity0.00
▷ Maximum method complexity0.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes0
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
Methods0
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions10
▷ Named functions10100.00%
▷ Anonymous functions00.00%
Constants2
▷ Global constants2100.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
2 compressed PNG files occupy 0.00MB
Potential savings
Compression of 2 random PNG files using pngquant
FileSize - originalSize - compressedSavings
main-logo.png4.21KB3.10KB▼ 26.17%
logo.png0.52KB0.54KB0.00%