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)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.89 ▲0.42 | 44.02 ▲3.95 |
Dashboard /wp-admin | 3.83 ▲0.48 | 575.26 ▲514.13 |
Posts /wp-admin/edit.php | 3.88 ▲0.52 | 558.40 ▲501.00 |
Add New Post /wp-admin/post-new.php | 6.41 ▲0.52 | 630.44 ▲523.16 |
Media Library /wp-admin/upload.php | 3.72 ▲0.49 | 521.22 ▲484.85 |
Welcome /wp-admin/admin.php?page=filerobot | 3.73 | 534.18 |
Support /wp-admin/admin.php?page=filerobot&tab=support | 3.73 | 520.28 |
Edit Image /wp-admin/admin.php?page=filerobot-image-edit | 3.73 | 501.62 |
Filerobot Logs /wp-admin/admin.php?page=filerobot&tab=logs | 3.74 | 717.54 |
General Settings /wp-admin/admin.php?page=filerobot&tab=settings | 3.76 | 628.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
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,963 ▲217 | 14.42 ▼0.13 | 1.57 ▼0.01 | 37.01 ▼6.43 |
Dashboard /wp-admin | 2,382 ▲205 | 6.18 ▲0.57 | 99.68 ▲12.98 | 94.99 ▲55.05 |
Posts /wp-admin/edit.php | 2,310 ▲210 | 3.36 ▲1.34 | 47.37 ▲7.03 | 70.72 ▲33.64 |
Add New Post /wp-admin/post-new.php | 1,723 ▲197 | 21.95 ▼0.99 | 696.47 ▲6.81 | 36.16 ▼17.12 |
Media Library /wp-admin/upload.php | 1,455 ▲61 | 4.35 ▲0.14 | 99.09 ▲1.90 | 68.53 ▲25.61 |
Welcome /wp-admin/admin.php?page=filerobot | 1,122 | 3.10 | 37.87 | 61.72 |
Support /wp-admin/admin.php?page=filerobot&tab=support | 1,100 | 3.19 | 37.40 | 59.38 |
Edit Image /wp-admin/admin.php?page=filerobot-image-edit | 994 | 3.10 | 38.78 | 124.21 |
Filerobot Logs /wp-admin/admin.php?page=filerobot&tab=logs | 1,308 | 3.66 | 41.65 | 70.74 |
General Settings /wp-admin/admin.php?page=filerobot&tab=settings | 1,394 | 3.16 | 41.30 | 59.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
- > PHP Fatal error
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
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:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 520 | 279 | 3,520 |
JavaScript | 4 | 134 | 80 | 751 |
PO File | 1 | 75 | 5 | 250 |
CSS | 5 | 24 | 4 | 235 |
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 code | 0.35 |
Average class complexity | 130.50 |
▷ Minimum class complexity | 21.00 |
▷ Maximum class complexity | 240.00 |
Average method complexity | 3.97 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 35.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 78 | |
▷ Static methods | 2 | 2.56% |
▷ Public methods | 57 | 73.08% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 21 | 26.92% |
Functions | 10 | |
▷ Named functions | 5 | 50.00% |
▷ Anonymous functions | 5 | 50.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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