90% fluidvids

Code Review | Fluidvids for WordPress

WordPress plugin Fluidvids for WordPress scored90%from 54 tests.

About plugin

  • Plugin page: fluidvids
  • Plugin version: 1.4.1
  • PHP version: 7.4.16
  • WordPress compatibility: 3.5-4.0
  • WordPress version: 6.3.1
  • First release: Dec 6, 2013
  • Latest release: Sep 4, 2014
  • Number of updates: 19
  • Update frequency: every 14.3 days
  • Top authors: grapplerulrich (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

100+ active /4,450 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▲0.04MB] [CPU: ▼8.24ms] Passed 4 tests

Server-side resources used by Fluidvids for WordPress
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.50 ▲0.0434.21 ▼8.86
Dashboard /wp-admin3.35 ▲0.0447.49 ▼5.40
Posts /wp-admin/edit.php3.40 ▲0.0450.55 ▼3.82
Add New Post /wp-admin/post-new.php5.93 ▲0.0487.25 ▼14.88
Media Library /wp-admin/upload.php3.27 ▲0.0437.81 ▼0.08

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

Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 9 new files
Database: no new tables, 7 new options
New WordPress options
widget_theysaidso_widget
theysaidso_admin_options
can_compress_scripts
widget_recent-posts
db_upgraded
fluidvids
widget_recent-comments

Browser metrics Passed 4 tests

Checking browser requirements for Fluidvids for WordPress
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,803 ▲4214.29 ▼0.072.45 ▲0.1739.12 ▼4.16
Dashboard /wp-admin2,195 ▲155.64 ▼0.0194.00 ▲2.3041.43 ▼4.64
Posts /wp-admin/edit.php2,100 ▼31.99 ▲0.0136.51 ▼5.0929.71 ▼6.80
Add New Post /wp-admin/post-new.php1,541 ▲1323.07 ▼0.16650.38 ▲9.2756.33 ▲2.90
Media Library /wp-admin/upload.php1,394 ▼34.23 ▲0.05103.83 ▼1.4942.55 ▼1.33

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
  • Zombie WordPress options were found after uninstall: 6 options
    • widget_recent-posts
    • widget_theysaidso_widget
    • can_compress_scripts
    • widget_recent-comments
    • db_upgraded
    • theysaidso_admin_options

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test

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
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 a shallow check for browser errors
There were no browser issues found

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
6 plugin tags: responsive, youtube, video, vimeo, iframe...

fluidvids/fluidvids.php 92% from 13 tests

The principal PHP file in "Fluidvids for WordPress" v. 1.4.1 is loaded by WordPress automatically on each request
You should first fix the following items:
  • Description: Keep the plugin description shorter than 140 characters (currently 157 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Good job! No executable or dangerous file extensions detected230 lines of code in 6 files:
LanguageFilesBlank linesComment linesLines of code
PHP489186169
JavaScript212261

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.25
Average class complexity14.00
▷ Minimum class complexity14.00
▷ Maximum class complexity14.00
Average method complexity1.87
▷ Minimum method complexity1.00
▷ Maximum method complexity5.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods15
▷ Static methods426.67%
▷ Public methods1280.00%
▷ Protected methods00.00%
▷ Private methods320.00%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG files were detected