Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.04MB] [CPU: ▼7.78ms] Passed 4 tests
This is a short check of server-side resources used by Filestack Official
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 40.21 ▲0.02 |
Dashboard /wp-admin | 3.35 ▲0.04 | 44.49 ▼10.21 |
Posts /wp-admin/edit.php | 3.46 ▲0.10 | 45.49 ▼3.27 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 82.19 ▼17.67 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 35.38 ▲0.83 |
Shortcode Generator /wp-admin/admin.php?page=filestack-shortcode-generator | 3.29 | 32.80 |
Settings /wp-admin/admin.php?page=filestack-settings | 3.40 | 33.31 |
FAQ /wp-admin/admin.php?page=filestack-faq | 3.27 | 30.49 |
Server storage [IO: ▲1.65MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 33 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
widget_filestack_file_convert |
widget_recent-comments |
theysaidso_admin_options |
widget_filestack_videotoaudio_convert |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Filestack Official
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,983 ▲226 | 14.53 ▼0.10 | 9.06 ▲7.38 | 42.15 ▼2.75 |
Dashboard /wp-admin | 2,235 ▲47 | 5.61 ▼0.23 | 102.74 ▼1.42 | 77.76 ▲33.57 |
Posts /wp-admin/edit.php | 2,130 ▲41 | 2.59 ▲0.43 | 38.73 ▼2.13 | 33.43 ▼0.51 |
Add New Post /wp-admin/post-new.php | 1,568 ▲49 | 23.61 ▲0.31 | 660.15 ▼25.19 | 36.04 ▼28.53 |
Media Library /wp-admin/upload.php | 1,426 ▲44 | 4.92 ▲0.72 | 97.66 ▼12.65 | 73.65 ▲23.90 |
Shortcode Generator /wp-admin/admin.php?page=filestack-shortcode-generator | 1,376 | 2.49 | 27.86 | 51.19 |
Settings /wp-admin/admin.php?page=filestack-settings | 2,217 | 2.37 | 31.74 | 23.87 |
FAQ /wp-admin/admin.php?page=filestack-faq | 986 | 2.48 | 26.97 | 30.97 |
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
- Zombie WordPress options were found after uninstall: 8 options
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_filestack_videotoaudio_convert
- can_compress_scripts
- widget_filestack_file_convert
- widget_recent-comments
- db_upgraded
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
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
Almost there! Just fix the following items
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/filestack-upload/lib/admin-faq.php
- 13× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/filestack-upload/widget/file-type-convert.php:11
- > PHP Fatal error
require_once(): Failed opening required 'FILESTACK_PLUGIN_PATH/filestack-wordpress-upload.php' (include_path='.:/usr/share/php') in wp-content/plugins/filestack-upload/lib/admin-settings.php on line 2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/filestack-upload/lib/filestack_ajax.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/filestack-upload/filestack-wordpress-upload.php:25
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/filestack-upload/lib/scripts.php:10
- > PHP Fatal error
require_once(): Failed opening required 'FILESTACK_PLUGIN_PATH/filestack-wordpress-upload.php' (include_path='.:/usr/share/php') in wp-content/plugins/filestack-upload/lib/admin-shortcode-generator.php on line 2
- > PHP Warning
Use of undefined constant FILESTACK_PLUGIN_PATH - assumed 'FILESTACK_PLUGIN_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/filestack-upload/lib/admin-settings.php on line 2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/filestack-upload/lib/admin_integration.php:9
- > PHP Warning
require_once(FILESTACK_PLUGIN_PATH/filestack-wordpress-upload.php): failed to open stream: No such file or directory in wp-content/plugins/filestack-upload/lib/admin-settings.php on line 2
- > PHP Warning
Use of undefined constant FILESTACK_PLUGIN_PATH - assumed 'FILESTACK_PLUGIN_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/filestack-upload/lib/admin-shortcode-generator.php on line 2
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Please take a look at the following user-side issues
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=filestack-faq
- > Javascript (severe) in unknown
/wp-content/plugins/filestack-upload/js/filestack-3.25.0.js?ver=6.3.1 40:131447 Uncaught Error: An apikey is required to initialize the Filestack client
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need your attention:
- Screenshots: Please add descriptions for these screenshots #2, #3, #4, #5, #6, #7 in filestack-upload/assets to your readme.txt
filestack-upload/filestack-wordpress-upload.php 77% from 13 tests
"Filestack Official" version 2.0.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please take the time to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("filestack-upload.php" instead of "filestack-wordpress-upload.php")
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
- Description: Please keep the plugin description shorter than 140 characters (currently 161 characters long)
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
Everything looks great! No dangerous files found in this plugin6,236 lines of code in 25 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 1 | 0 | 0 | 2,671 |
PHP | 12 | 194 | 934 | 1,722 |
JavaScript | 7 | 164 | 140 | 958 |
CSS | 5 | 158 | 5 | 885 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.48 |
Average class complexity | 29.33 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 59.00 |
Average method complexity | 9.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 32.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 10 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 10 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 18 | |
▷ Named functions | 15 | 83.33% |
▷ Anonymous functions | 3 | 16.67% |
Constants | 5 | |
▷ Global constants | 5 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
fsicon.png | 0.62KB | 0.28KB | ▼ 55.31% |