84% fusion-extension-sidebar

Code Review | Fusion Page Builder : Extension - Sidebar

WordPress plugin Fusion Page Builder : Extension - Sidebar scored84%from 54 tests.

About plugin

  • Plugin page: fusion-extension-...
  • Plugin version: 1.1.3
  • PHP version: 7.4.16
  • WordPress compatibility: 3.9-4.9.1
  • WordPress version: 6.3.1
  • First release: Aug 4, 2016
  • Latest release: Dec 14, 2017
  • Number of updates: 16
  • Update frequency: every 31.5 days
  • Top authors: agencydominion (100%)

Code review

54 tests

User reviews

1 review

Install metrics

300+ active /5,975 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors

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

An overview of server-side resources used by Fusion Page Builder : Extension - Sidebar
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0242.98 ▲0.25
Dashboard /wp-admin3.32 ▲0.0247.19 ▼2.35
Posts /wp-admin/edit.php3.37 ▲0.0151.89 ▼0.77
Add New Post /wp-admin/post-new.php5.90 ▲0.0198.44 ▼5.30
Media Library /wp-admin/upload.php3.24 ▲0.0140.04 ▲3.78

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

Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options
theysaidso_admin_options
widget_theysaidso_widget
widget_recent-comments
can_compress_scripts
widget_recent-posts
db_upgraded

Browser metrics Passed 4 tests

An overview of browser requirements for Fusion Page Builder : Extension - Sidebar
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,802 ▲5613.23 ▼1.372.00 ▲0.1445.66 ▼2.64
Dashboard /wp-admin2,209 ▲244.87 ▼0.99113.45 ▲10.0041.64 ▼3.67
Posts /wp-admin/edit.php2,089 ▼02.04 ▲0.0542.36 ▲4.6635.65 ▼3.86
Add New Post /wp-admin/post-new.php1,514 ▼517.66 ▼5.42662.33 ▼49.0951.78 ▼5.98
Media Library /wp-admin/upload.php1,388 ▲64.30 ▲0.1595.68 ▼12.9240.65 ▼6.42

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

Smoke tests 75% from 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)
Good news, no errors were detected

SRP 50% from 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
Please fix the following
  • 2× PHP files trigger server-side errors or warnings when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/fusion-extension-sidebar/includes/extensions/sidebar.php:18
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/fusion-extension-sidebar/fusion-extension-sidebar.php:30

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

Optimizations

Plugin configuration 97% from 29 tests

readme.txt 94% from 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
These attributes need to be fixed:
  • Tags: Please delete some tags, you are using 16 tag instead of maximum 10
The official readme.txt might help

fusion-extension-sidebar/fusion-extension-sidebar.php Passed 13 tests

The principal PHP file in "Fusion Page Builder : Extension - Sidebar" v. 1.1.3 is loaded by WordPress automatically on each request
37 characters long description:
Sidebar Extension Package for Fusion.

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
No dangerous file extensions were detected69 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code
PHP2265361
CSS1238

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.24
Average class complexity1.00
▷ Minimum class complexity1.00
▷ Maximum class complexity1.00
Average method complexity1.00
▷ Minimum method complexity1.00
▷ Maximum method complexity1.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods3
▷ Static methods00.00%
▷ Public methods3100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions2
▷ Named functions2100.00%
▷ Anonymous functions00.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