WordPress plugin Filerobot scored77%from 54 tests.

About plugin

  • Plugin page: filerobot-digital...
  • Plugin version: 3.8.7
  • PHP compatiblity: 5.3.3+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.8-6.2.2
  • WordPress version: 6.3.1
  • First release: Oct 22, 2019
  • Latest release: Aug 18, 2023
  • Number of updates: 36
  • Update frequency: every 38.9 days
  • Top authors: cloudimage (44.44%)cloudimageio (33.33%)scaleflex (27.78%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /1,022 total downloads

Benchmarks

Plugin footprint 82% 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.48MB] [CPU: ▲375.98ms] 50% from 4 tests

Server-side resources used by Filerobot
Please have a look at the following items
  • CPU: Total CPU usage should be kept under 500.00ms (currently 628.80ms on /wp-admin/admin.php?page=filerobot&tab=settings)
  • Extra CPU: The extra CPU usage must be under 200.00ms (currently 375.98ms on /wp-admin/admin.php?page=filerobot&tab=settings)
PageMemory (MB)CPU Time (ms)
Home /3.89 ▲0.4244.02 ▲3.95
Dashboard /wp-admin3.83 ▲0.48575.26 ▲514.13
Posts /wp-admin/edit.php3.88 ▲0.52558.40 ▲501.00
Add New Post /wp-admin/post-new.php6.41 ▲0.52630.44 ▲523.16
Media Library /wp-admin/upload.php3.72 ▲0.49521.22 ▲484.85
Welcome /wp-admin/admin.php?page=filerobot3.73534.18
Support /wp-admin/admin.php?page=filerobot&tab=support3.73520.28
Edit Image /wp-admin/admin.php?page=filerobot-image-edit3.73501.62
Filerobot Logs /wp-admin/admin.php?page=filerobot&tab=logs3.74717.54
General Settings /wp-admin/admin.php?page=filerobot&tab=settings3.76628.80

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

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

Browser metrics Passed 4 tests

An overview of browser requirements for Filerobot
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,963 ▲21714.42 ▼0.131.57 ▼0.0137.01 ▼6.43
Dashboard /wp-admin2,382 ▲2056.18 ▲0.5799.68 ▲12.9894.99 ▲55.05
Posts /wp-admin/edit.php2,310 ▲2103.36 ▲1.3447.37 ▲7.0370.72 ▲33.64
Add New Post /wp-admin/post-new.php1,723 ▲19721.95 ▼0.99696.47 ▲6.8136.16 ▼17.12
Media Library /wp-admin/upload.php1,455 ▲614.35 ▲0.1499.09 ▲1.9068.53 ▲25.61
Welcome /wp-admin/admin.php?page=filerobot1,1223.1037.8761.72
Support /wp-admin/admin.php?page=filerobot&tab=support1,1003.1937.4059.38
Edit Image /wp-admin/admin.php?page=filerobot-image-edit9943.1038.78124.21
Filerobot Logs /wp-admin/admin.php?page=filerobot&tab=logs1,3083.6641.6570.74
General Settings /wp-admin/admin.php?page=filerobot&tab=settings1,3943.1641.3059.01

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
  • This plugin does not fully uninstall, leaving 6 options in the database
    • widget_recent-posts
    • can_compress_scripts
    • widget_recent-comments
    • theysaidso_admin_options
    • db_upgraded
    • widget_theysaidso_widget

Smoke tests 50% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested

SRP 0% from 2 tests

🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please take a closer look at the following
  • 3× PHP files output non-empty strings when accessed directly via GET requests:
    • > /wp-content/plugins/filerobot-digital-asset-management-and-acceleration/filerobot_image_edit_page.php
    • > /wp-content/plugins/filerobot-digital-asset-management-and-acceleration/filerobot_support_page.php
    • > /wp-content/plugins/filerobot-digital-asset-management-and-acceleration/filerobot_fmaw_page.php
  • 9× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/filerobot-digital-asset-management-and-acceleration/filerobot_description_page.php:22
    • > PHP Fatal error
      Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/filerobot-digital-asset-management-and-acceleration/loader.php:16
    • > PHP Notice
      Undefined variable: sass in wp-content/plugins/filerobot-digital-asset-management-and-acceleration/filerobot_image_edit_page.php on line 88
    • > PHP Fatal error
      Uncaught Error: Call to a member function get_var() on null in wp-content/plugins/filerobot-digital-asset-management-and-acceleration/filerobot_log_page.php:6
    • > PHP Notice
      Undefined variable: post_id in wp-content/plugins/filerobot-digital-asset-management-and-acceleration/filerobot_image_edit_page.php on line 118
    • > PHP Fatal error
      Uncaught Error: Call to undefined function settings_errors() in wp-content/plugins/filerobot-digital-asset-management-and-acceleration/filerobot_main_admin_page.php:9
    • > PHP Notice
      Undefined variable: attachment_url in wp-content/plugins/filerobot-digital-asset-management-and-acceleration/filerobot_image_edit_page.php on line 61
    • > PHP Notice
      Undefined variable: upload_url in wp-content/plugins/filerobot-digital-asset-management-and-acceleration/filerobot_image_edit_page.php on line 104
    • > PHP Fatal error
      Uncaught Error: Call to undefined function settings_fields() in wp-content/plugins/filerobot-digital-asset-management-and-acceleration/filerobot_settings_page.php:14

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 83% 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
Please fix the following attributes:
  • Tags: Please reduce the number of tags, currently 12 tag instead of maximum 10
Please take inspiration from this readme.txt

filerobot-digital-asset-management-and-acceleration/loader.php 69% from 13 tests

"Filerobot" version 3.8.7's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
It is important to fix the following:
  • Requires PHP: Required version does not match the one declared in readme.txt ("5.6" instead of "5.3.3")
  • Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
  • Plugin Name: Please shorten the plugin name (currently 73 characters long instead of max. 70)
  • Main file name: Please rename the main PHP file in this plugin to the plugin slug ("filerobot-digital-asset-management-and-acceleration.php" instead of "loader.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Success! There were no dangerous files found in this plugin4,756 lines of code in 20 files:
LanguageFilesBlank linesComment linesLines of code
PHP105202793,520
JavaScript413480751
PO File1755250
CSS5244235

PHP code Passed 2 tests

An overview of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.35
Average class complexity130.50
▷ Minimum class complexity21.00
▷ Maximum class complexity240.00
Average method complexity3.97
▷ Minimum method complexity1.00
▷ Maximum method complexity35.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes2
▷ Abstract classes00.00%
▷ Concrete classes2100.00%
▷ Final classes00.00%
Methods78
▷ Static methods22.56%
▷ Public methods5773.08%
▷ Protected methods00.00%
▷ Private methods2126.92%
Functions10
▷ Named functions550.00%
▷ Anonymous functions550.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
PNG images were not found in this plugin