WordPress plugin Filerobot scored 93% from 54 tests.

About plugin

  • Plugin page: filerobot-digital...
  • Plugin version: 1.5.0
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.8-5.4.0
  • WordPress version: 5.8.1
  • First release: Oct 22, 2019
  • Latest release: Apr 29, 2020
  • Number of updates: 27
  • Update frequency: every 7.2 days
  • Top authors: cloudimage (59.26%)cloudimageio (44.44%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 415 total downloads

Benchmarks

Plugin footprint Passed 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.17MB] [CPU: ▼143.27ms] Passed 4 tests

Server-side resources used by Filerobot
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /2.98 ▲0.1539.39 ▲6.60
Dashboard /wp-admin3.28 ▲0.2349.88 ▲3.41
Posts /wp-admin/edit.php3.33 ▲0.2245.75 ▼5.07
Add New Post /wp-admin/post-new.php5.59 ▲0.1697.81 ▼567.81
Media Library /wp-admin/upload.php3.16 ▲0.1536.71 ▼3.61

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

Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 16 new files
Database: no new tables, no new options

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 /3,736 ▲14016.06 ▲0.339.30 ▼1.1248.21 ▲1.66
Dashboard /wp-admin2,993 ▲596.07 ▲0.09143.94 ▼5.39120.83 ▲11.76
Posts /wp-admin/edit.php2,787 ▲482.73 ▲0.0163.34 ▼5.4388.36 ▲1.71
Add New Post /wp-admin/post-new.php1,707 ▲2418.37 ▼0.41386.87 ▼23.73106.56 ▼4.74
Media Library /wp-admin/upload.php1,781 ▼265.04 ▲0.00135.22 ▼35.90138.69 ▲26.74

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
This plugin's uninstaller ran successfully

Smoke tests 75% 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 50% 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
  • 2× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/filerobot-digital-asset-management-and-acceleration/filerobot_settings_page.php:16
    • > PHP Fatal error
      Uncaught Error: Call to undefined function load_plugin_textdomain() in wp-content/plugins/filerobot-digital-asset-management-and-acceleration/loader.php:20

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:
  • Plugin Name: "Plugin Name" should be replaced with the name of your plugin on the first line ( === Filerobot === )
Please take inspiration from this readme.txt

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

"Filerobot" version 1.5.0'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:
  • 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
  • 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")
  • Description: The description should be shorter than 140 characters (currently 170 characters long)
  • Plugin Name: Please shorten the plugin name (currently 73 characters long instead of max. 70)

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 plugin1,394 lines of code in 10 files:
LanguageFilesBlank linesComment linesLines of code
PHP43786861,007
CSS26010280
JavaScript3161372
Markdown110035

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.41
Average class complexity52.50
▷ Minimum class complexity11.00
▷ Maximum class complexity94.00
Average method complexity3.06
▷ Minimum method complexity1.00
▷ Maximum method complexity16.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes2
▷ Abstract classes00.00%
▷ Concrete classes2100.00%
▷ Final classes00.00%
Methods50
▷ Static methods24.00%
▷ Public methods3672.00%
▷ Protected methods24.00%
▷ Private methods1224.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
3 PNG files occupy 0.05MB with 0.03MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant
FileSize - originalSize - compressedSavings
assets/images/robot.png22.17KB7.62KB▼ 65.62%
assets/images/logo_filerobot.png30.11KB11.13KB▼ 63.05%
assets/images/robot-icon.png1.30KB1.00KB▼ 23.08%