84% fusion-extension-video

Code Review | Fusion Page Builder : Extension - Video

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

About plugin

  • Plugin page: fusion-extension-...
  • Plugin version: 1.5.0
  • PHP version: 7.4.16
  • WordPress compatibility: 3.9-4.9.8
  • WordPress version: 6.3.1
  • First release: Aug 4, 2016
  • Latest release: Oct 1, 2020
  • Number of updates: 31
  • Update frequency: every 49.2 days
  • Top authors: agencydominion (100%)

Code review

54 tests

User reviews

1 review

Install metrics

400+ active /8,631 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
Installer ran successfully

Server metrics [RAM: ▲0.05MB] [CPU: ▼9.17ms] Passed 4 tests

Server-side resources used by Fusion Page Builder : Extension - Video
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.52 ▲0.0639.24 ▲1.39
Dashboard /wp-admin3.36 ▲0.0546.69 ▼0.45
Posts /wp-admin/edit.php3.41 ▲0.0548.96 ▲1.53
Add New Post /wp-admin/post-new.php5.94 ▲0.0586.32 ▼35.43
Media Library /wp-admin/upload.php3.28 ▲0.0533.00 ▼2.18

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

Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 29 new files
Database: no new tables, 6 new options
New WordPress options
can_compress_scripts
db_upgraded
theysaidso_admin_options
widget_recent-comments
widget_recent-posts
widget_theysaidso_widget

Browser metrics Passed 4 tests

A check of browser resources used by Fusion Page Builder : Extension - Video
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,804 ▲3314.78 ▲0.131.62 ▼0.0938.24 ▼1.51
Dashboard /wp-admin2,206 ▲185.91 ▲1.0097.22 ▼8.5638.25 ▼0.70
Posts /wp-admin/edit.php2,092 ▲62.04 ▲0.0538.75 ▲2.6934.13 ▲3.57
Add New Post /wp-admin/post-new.php1,535 ▲1623.31 ▲0.25670.72 ▲66.3467.07 ▲14.90
Media Library /wp-admin/upload.php1,388 ▲34.17 ▼0.0495.77 ▲0.6042.74 ▼0.75

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
These items require your attention
  • The uninstall procedure has failed, leaving 6 options in the database
    • widget_recent-comments
    • widget_recent-posts
    • theysaidso_admin_options
    • can_compress_scripts
    • db_upgraded
    • widget_theysaidso_widget

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test

SRP 50% from 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
Almost there! Just fix the following items
  • 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-video/fusion-extension-video.php:30
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/fusion-extension-video/includes/extensions/video.php:18

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 on the user side

Optimizations

Plugin configuration 97% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that require attention:
  • Tags: Please reduce the number of tags, currently 17 tag instead of maximum 10
The official readme.txt might help

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

The main PHP script in "Fusion Page Builder : Extension - Video" version 1.5.0 is automatically included on every request by WordPress
35 characters long description:
Video Extension Package for Fusion.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Good job! No executable or dangerous file extensions detected6,622 lines of code in 23 files:
LanguageFilesBlank linesComment linesLines of code
JavaScript161,2813,4114,793
CSS329229774
LESS1144278755
PHP23868272
SVG10028

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.44
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%
Functions3
▷ Named functions3100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.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
No PNG files were detected